Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
86f5fd1
Merge main into naren/fix-tier3-dataset-fairness-followups
rng1995 Nov 14, 2026
295bb1e
fix(tier3): close dataset fairness gaps for negative cases, located S…
rng1995 Nov 14, 2026
48c6a9f
fix(tier3): narrow the located SKILL.md and negative-case skips
rng1995 Nov 14, 2026
6fd513d
fix(tier3): read only real paths after "at" and "within"
rng1995 Nov 14, 2026
aaf1bf5
docs(tier3): say a null expected_skill negative case needs should_tri…
rng1995 Nov 14, 2026
b813a65
Merge main into naren/fix-tier3-dataset-fairness-followups
rng1995 Nov 14, 2026
8b0889a
fix(tier3): keep checking the graded text of negative cases in full
rng1995 Nov 14, 2026
ea21af5
fix(tier3): keep variables and skill install paths after "at" flagged
rng1995 Nov 14, 2026
def47b2
fix(tier3): read a path through the skill-named directory after "in" …
rng1995 Nov 14, 2026
688965b
docs(tier3): say a description that names another place keeps its SKI…
rng1995 Nov 14, 2026
45346ee
docs(tier3): say which located SKILL.md prompts tier3 validate accepts
rng1995 Nov 14, 2026
5194358
Merge main into naren/fix-tier3-dataset-fairness-followups
rng1995 Nov 14, 2026
7b0732b
revert(tier3): keep tier3 validate's SKILL.md location wording as on …
rng1995 Nov 14, 2026
b9a7144
test(tier3): find the my SKILL.md CHANGELOG entry in any section
rng1995 Nov 14, 2026
6b4ff17
fix(tier3): match script names in template descriptions as tier3 vali…
rng1995 Nov 14, 2026
82157e7
docs(tier3): name the place words that keep a description's SKILL.md
rng1995 Nov 14, 2026
6bd230f
test(tier3): restore tier3 validate's lowercase fullwidth script case
rng1995 Nov 14, 2026
3b7452c
docs(tier3): say which read SKILL.md stays and when the task is generic
rng1995 Nov 14, 2026
75c56ff
Merge main (0d5e35658) into naren/fix-tier3-dataset-fairness-followups
rng1995 Nov 14, 2026
1dc2097
docs(tier3): say a connective before a format noun keeps the SKILL.md…
rng1995 Nov 14, 2026
0ee0cdd
docs(tier3): name every word that keeps the SKILL.md rename before a …
rng1995 Nov 14, 2026
59866aa
fix(tier3): give the generic task when the skill's name comes before …
rng1995 Nov 14, 2026
afabad2
test(tier3): cover the LLM starter case for a description that names …
rng1995 Nov 14, 2026
9e1aa8c
docs(tier3): say when the starter case uses the script-free outcome text
rng1995 Nov 14, 2026
d771283
docs(tier3): say every bare SKILL.md is renamed and which words after…
rng1995 Nov 14, 2026
a4af953
fix(tier3): keep generic wording before SKILL.md for a skill named af…
rng1995 Nov 14, 2026
a8fefdc
docs(tier3): say a description that only names the skill's SKILL.md i…
rng1995 Nov 14, 2026
c9c7a7f
fix(tier3): give the generic task when the skill's name precedes [SKI…
rng1995 Nov 14, 2026
ef9ff2e
docs(tier3): say the skill's name before any SKILL.md gives the gener…
rng1995 Nov 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,18 @@ All notable changes to SkillEvaluator are documented in this file.
`tier3/dataset_sufficiency.py`, the default quality config and the bundled
grader suite, so retuning any of them fails CI instead of rotting the page.

- The eval dataset docs now say that a template prompt calls a `SKILL.md`
`my SKILL.md` only when the skill's description reads, opens, loads,
consults or follows that file, or otherwise points at the skill's own
`SKILL.md` as a prompt `tier3 validate` warns about would. The description
keeps its `SKILL.md` when `in`, `of`, `from`, `under` or `inside` another
place comes right after it, such as `in ./pdf-tools`. Other place words,
such as `at` or `within`, do not count. The docs said any `SKILL.md` in the
description was renamed, but "Validates `SKILL.md` frontmatter fields" and
"Reads `SKILL.md` files" keep their `SKILL.md`, and "Keeps
`<name>/SKILL.md` in sync" gets the generic task "handle a typical
request".

### Fixed

- The Copilot CLI `CP-NO-FRONTMATTER` finding and the plugin component findings
Expand Down Expand Up @@ -640,6 +652,13 @@ All notable changes to SkillEvaluator are documented in this file.
Fixed entry that starts "The interactive Tier 3 progress view
(`--progress rich`, or `auto` in a terminal) now keeps one height".

- Template cases from `create-eval-dataset` and the autopilot starter case no
Comment thread
rng1995 marked this conversation as resolved.
Resolved
longer quote a skill description that names one of the skill's scripts
without running it, such as "Checks release manifests with review.py and
reports blockers", in the expected output and first assertion. The no-skill
baseline does not have the script. The graded text is now the generic
outcome; the prompt still quotes the description.

## 0.9.0 - 2026-11-13

### Fixed
Expand Down
25 changes: 22 additions & 3 deletions docs/eval-datasets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,28 @@ expected output or assertion that the agent read `SKILL.md`, ran the skill's
script, or used the skill, cannot be met by the baseline and inflates lift.
`skill_execution` scores skill use separately (see
[How standard grading judges a trial](/skills/skillevaluator/tier3-live-evaluation#how-standard-grading-judges-a-trial)).
Template cases from `create-eval-dataset` are outcome-only; when the skill's
description mentions `SKILL.md`, the template prompt calls it `my SKILL.md`.
Its LLM prompts ask for outcome checks. It prints a warning for each generated
Template cases from `create-eval-dataset` are outcome-only. When the skill's
description reads, opens, loads, consults or follows `SKILL.md` with no path
before it, or otherwise points at the skill's own `SKILL.md` as a prompt
`tier3 validate` warns about would (such as `cat SKILL.md` or "uses the
skill's `SKILL.md`"), the template prompt calls it `my SKILL.md`. Reading
Comment thread
rng1995 marked this conversation as resolved.
Resolved
`SKILL.md` does not count when the wording means another `SKILL.md` or the
file format: "a `SKILL.md`", "the following `SKILL.md`", or a format noun such
as `files`, `format`, `spec` or `template` right after it or after one other
word, as in "reads `SKILL.md` files" or "follows the `SKILL.md` frontmatter
format". That other word cannot be `and`, `or`, `then`, `but`, `before`,
`after`, `to`, `for` or `with`, so "reads `SKILL.md` for format errors" is
still renamed but "reads `SKILL.md` on format errors" is not. Reading also
does not count when `in`, `of`, `from`, `under` or `inside` another place
Comment thread
rng1995 marked this conversation as resolved.
Resolved
comes right after `SKILL.md`, such as `in ./pdf-tools`. Other place words,
such as `at` or `within`, do not count: "reads `SKILL.md` at ./pdf-tools" is
still renamed. A description that only names `SKILL.md` without reading it,
such as "validates `SKILL.md` frontmatter", keeps it too. When the
description still points at the skill's files after the rename, such as
`<name>/SKILL.md`, `skills/<name>` or "uses the installed skill", the
template prompt asks for the generic task "handle a typical request" and the
graded text is generic. `create-eval-dataset`'s LLM prompts ask for outcome
checks. It prints a warning for each generated
case that still grades skill use, and the autopilot starter case leaves such
text out. `tier3 validate` warns when a prompt points at `skills/<name>`,
`<name>/SKILL.md`, reading or following `SKILL.md`, the named skill, or one of
Expand Down
50 changes: 42 additions & 8 deletions src/skillevaluator/tier3/generate_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,32 @@ def _script_file_names(skill: dict[str, Any]) -> tuple[str, ...]:
def _template_task(skill: dict[str, Any]) -> tuple[str, str | None]:
"""The task template prompts ask for, and the outcome their graded text quotes.

Both come from the description. A bare SKILL.md in it becomes "my SKILL.md",
so the prompt names the user's file rather than the skill's; a description
that still points at the skill's files (skills/<name>, <name>/SKILL.md)
gives a generic task. The outcome is None, and graded text generic, when
quoting the task would grade skill use: "The release-review skill checks
manifests" or "Runs review.py on ..." names the skill or its script, and
the no-skill baseline is graded on the expected output and assertions too.
Both come from the description. When it reads, opens, loads, consults or
follows SKILL.md with no path before it, or otherwise points at the
skill's own SKILL.md as a prompt `tier3 validate` flags would ("cat
SKILL.md", "uses the skill's SKILL.md"), each bare SKILL.md in it becomes
"my SKILL.md", so the prompt names the user's file rather than the
skill's. Reading SKILL.md does not count when the wording means another
SKILL.md or the file format: "a SKILL.md", "the following SKILL.md", or a
format noun such as files, format, spec or template right after it or
after one other word ("reads SKILL.md files", "follows the SKILL.md
frontmatter format"). That other word cannot be and, or, then, but,
before, after, to, for or with, so "reads SKILL.md for format errors" is
still renamed but "reads SKILL.md on format errors" is not. Reading also
does not count when in, of, from, under or inside another place comes
right after SKILL.md ("in ./pdf-tools"). Other place words, such as at or
within, do not count: "reads SKILL.md at ./pdf-tools" is still renamed. A
description that only names SKILL.md without reading it ("validates
SKILL.md frontmatter") keeps it too. When the description still points at
the skill's files after the rename (<name>/SKILL.md, skills/<name>, "uses
the installed skill") or calls the skill "the <name> skill" ("the
Comment thread
rng1995 marked this conversation as resolved.
Resolved
release-review skill checks manifests"), the task is the generic "handle a
typical request" and the outcome is None. The outcome is also None, and
graded text generic, when quoting the task would grade skill use or name
one of the skill's scripts: "Uses release-review for manifests" grades
skill use, and "Checks manifests with review.py" names a script the
no-skill baseline does not have, which is graded on the expected output
and assertions too.
"""
name = skill["name"]
task = _description_lower(skill)
Expand All @@ -389,11 +408,26 @@ def _template_task(skill: dict[str, Any]) -> tuple[str, str | None]:
task = _BARE_SKILL_MD_RE.sub("my SKILL.md", task)
if evals_spec._prompt_skill_files_match(task, name, script_names):
return _GENERIC_TASK, None
if evals_spec._skill_use_match(task, name, _script_file_names(skill)):
if evals_spec._skill_use_match(task, name, script_names) or _names_skill_script(task, script_names):
return task, None
return task, task


def _names_skill_script(text: str, scripts: Sequence[str]) -> bool:
"""Whether text names one of the skill's script files, run or not ("checks manifests with review.py").

The text and names are also checked as `tier3 validate` normalizes them,
so a zero-width or fullwidth spelling of a script name counts too.
"""
texts = {text, evals_spec._normalized_match_text(text)}
names = {name for script in scripts for name in (script, evals_spec._normalized_match_text(script))}
return any(
re.search(rf"(?<![\w.-]){re.escape(name)}(?![\w-]|\.\w)", candidate, re.IGNORECASE)
for name in names
for candidate in texts
)


def _outcome_ground_truth(outcome: str | None) -> str:
return f"A correct, complete result for: {outcome}" if outcome else "A correct, complete result for the request"

Expand Down
Loading
Loading