Repository navigation
feat(reports): show how many cases and attempts each score rests on - #406
Conversation
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 9 findings (0 P1, 0 P2, 9 P3); 9 posted inline.
Checked the evidence-volume line from the collector summary and the saved-run loader through tier3 evaluate, validate, the HTML overview and both BENCHMARK.md scopes at 218fa33, with probes on real collect_harbor_results output: partial, multi-agent, stop-on-pass, multi-step, Harbor-named and v0.7.x-format runs, plus large HTML previews.
Tests at 218fa33: evidence-volume, dataset-sufficiency (logic and rendering), Tier 3 failure-reason and result-display rendering, Harbor metrics truth, collector runtime failures, benchmark source provenance and public benchmark gate, 1,069 passed; legacy results location, Harbor timeout recovery, collector truth and runner artifacts, 294 passed and 4 skipped; saved-run applicability and activation/benchmark HTML regressions, 21 passed.
Merges cleanly into main (86f1a1f) and into its #400 base. Real file conflicts from this PR's own changes: #405 in reporting/benchmark.py, reporting/cli.py, reporting/html.py and tier3/result_display.py, on top of the report.html.j2 and generate_dataset.py conflicts #405 already has with #400 (land one of #405/#406, then rebase the other); #397 (reporting/benchmark.py); #395 (result_display.py import, tests/reporting/test_tier3_failure_reasons.py); and import lines in reporting/benchmark.py, cli.py and html.py with #384/#387/#388.
The runner.py conflict with #404, the generate_dataset.py conflict with #401 and the docs/reports.mdx conflict with #399 come from #400. The other open PRs conflict in CHANGELOG.md at most, apart from files where they already conflict with main. Merge after #400.
#404: execution_failures is planned minus scored minus judge failures, with no not-run category, so attempts #404 skips as budget_exhausted are reported as execution failures under "Limited evidence" in tier3 evaluate.
#377/#381: this line uses #400's 10-case minimum, while #377's next steps stop asking for more cases at 5 skill cases and #381 labels only one-case starters, so the same run gets different sufficiency messages.
Signed-off-by: Christopher Kevin <[email protected]>
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: |
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 2 findings (0 P1, 0 P2, 2 P3); 2 posted inline.
Re-checked our 9 comments at head 9a5a3aa, plus fix commit c4af59e and #400's 66e69a6 through the base.
7 of 9 are fixed. Two are partly fixed: per-step judge failures are still overcounted when the step names don't start with step, and the PR description still claims the N of M attempts scored form for validate, HTML and BENCHMARK.md, while the provisional test uses a payload the collector never produces.
Focused tests at 9a5a3aa: the four test files this PR touches gave 286 passed, and #400's dataset-sufficiency rendering tests gave 12 passed. tests/reporting plus the result display tests gave 1915 passed. The collector, metrics and dataset-sufficiency tests gave 500 passed and 4 skipped. ruff check is clean on the changed files.
The branch contains its base feat/christopherk/dataset-sufficiency at a90a05b, and GitHub reports it mergeable (clean). It lands after its base PR #400.
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Signed-off-by: Christopher Kevin <[email protected]>
…aset-sufficiency Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…iency' into feat/christopherk/evidence-volume Signed-off-by: Christopher Kevin <[email protected]>
…aset-sufficiency Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…opherk/evidence-volume Signed-off-by: Christopher Kevin <[email protected]>
…aset-sufficiency Signed-off-by: Christopher Kevin <[email protected]>
…istopherk/evidence-volume Signed-off-by: Christopher Kevin <[email protected]>
…aset-sufficiency Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…aset-sufficiency Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md # src/skillevaluator/reporting/templates/report.html.j2 # src/skillevaluator/tier3/generate_dataset.py
…iency' into feat/christopherk/evidence-volume Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # src/skillevaluator/reporting/benchmark.py # src/skillevaluator/reporting/cli.py # src/skillevaluator/reporting/html.py # src/skillevaluator/reporting/templates/report.html.j2 # src/skillevaluator/tier3/result_display.py
Signed-off-by: Christopher Kevin <[email protected]>
Summary
A score from 3 cases repeated 10 times can look as solid as one from 30 different cases. This PR shows the amount of evidence next to the headline score on every report.
evidence_volumepayload records distinct cases, planned and scored attempts, execution failures and judge failures, overall and per arm. Repeated attempts count a case once. Collector summaries now keep an exact judge-failure count, so truncated failure samples don't undercount.tier3 evaluate, thevalidateAGENT_EVAL section, the HTML overview next to Skill Lift, and BENCHMARK.md when the run is complete:Based on 10 cases × 2 attempts = 20 scored attempts (0 execution failures, 0 judge failures); by arm: …Limited evidence: Based on 3 cases × 10 attempts = 30 scored attempts …when the dataset-sufficiency case-count minimum isn't met. It reuses the policy constants from feat(tier3): report whether a dataset is big enough for its claims #400.tier3 evaluateshows theN of M attempts scoredform, for example19 of 20 attempts scored (0 execution failures, 1 judge failure). The other report surfaces don't show an evidence line for incomplete runs.Verification
make lint(ruff check and format on the changed files)make test(focused: 262 passed)make buildRelease Impact
CHANGELOG.md