Repository navigation
feat(tier3): report dataset coverage and label one-case starters - #381
Conversation
tier3 validate now prints an informational coverage summary (case count, positive and negative trigger cases, expected outcomes, assertions and concrete gaps) in text and JSON output. Newly generated autopilot starters say they are a starting point, list their gaps and point to full dataset generation and validation. Signed-off-by: Christopher Kevin <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 3 findings (0 P1, 1 P2, 2 P3); 3 posted inline.
Checked the new coverage summary in tier3/dataset_coverage.py, its use in tier3 validate (text and --json) and in the starter guidance printed by autopilot and the direct workflow, against the CHANGELOG and docs/eval-datasets.mdx and docs/tier3-live-evaluation.mdx, with probes on this head and origin/main.
Tests run on the head: tests/tier3/test_dataset_coverage.py, test_dataset_generation_progress.py and test_workflow.py (82 tests) pass except the FIFO subprocess tests, which hit their 5s timeout on a loaded host (2 failed in one run, 1 in another; importing the CLI alone took 6.8s). Timed directly, head and origin/main reject the FIFO the same way, and this PR adds no module to that import path, so those failures are not caused by it. The validate-related tests in test_harbor_case_id_safety.py, test_cli.py and test_commands.py gave 83 passed. ruff check is clean on the touched Python files; ruff format --check flags only a hunk at tests/tier3/test_workflow.py:663 that is the same on origin/main and outside this PR's lines.
Merges onto current main without conflicts. Against other open PRs it conflicts in CHANGELOG.md only.
Overlap with #377: its run-level next steps give the same dataset-gap advice, but re-implement resolve_should_trigger as next_steps._routing and count unlabeled cases differently, so validate and the #377 report can give different counts for the same dataset. Whichever lands second should reuse summarize_dataset.
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
SkillEvaluator CI resultsRequired gate: Skipped Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.
Commit: |
…aset-coverage Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…aset-coverage Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
Summary
Authors could not tell from
tier3 validatewhether a dataset was a one-case starter or something closer to a representative evaluation, and autopilot generated a starter case with only a generic "review evals/" note.tier3 validateadds an informational Dataset coverage block: case count, positive (should-trigger), negative/non-trigger and unlabeled-trigger counts, cases with an expected output, cases with assertions/expected behaviors, and concrete gaps (for example "no negative case that should not trigger the skill", or which metrics are N/A because judge references are missing). It reuses the existing dataset normalization and trigger resolution.--jsonstays a list of check objects; coverage is appended as one extraokentry (evals/evals.json#coverage) with the usualpath/status/messagefields plus a structuredcoverageobject. Existing entries, warnings and--strictexit codes are unchanged. Native Harbor task sources are skipped.skillevaluator create-eval-dataset <skill> --fullandskillevaluator tier3 validate <skill>commands to stderr. Quiet mode stays quiet; reused sources are not reported as generated.Example (one-case reference skill):
Verification
tests/tier3/test_dataset_coverage.py, plus message assertions in the workflow and generation-progress tests)docs/eval-datasets.mdx,docs/tier3-live-evaluation.mdx)make lintmake test— 47 failures, all of which also fail on a cleanorigin/maincheckout in the same environment (CI onboarding origin checks, plugin dependency resolution, secure-fs/helpers, and a timing-sensitive MCP staging test); none are in touched codemake buildAlso ran
skillevaluator tier3 validate(text and--json) against the bundled calculator and text-analyzer reference skills.Release Impact
CHANGELOG.md