Repository navigation
fix(reporting): explain each dimension, its evidence and baseline in reports - #376
Conversation
…reports HTML and BENCHMARK.md reports now say what every Tier 3 dimension measures, where its evidence comes from, and whether the run has a no-skill baseline for it. Unscored, not-applicable and baseline-only dimensions stay visible with the reason instead of disappearing or reading 'Not available', and both reports gain a short key that separates the verdict, scores, Skill Lift, pass@k, the Tier 1 Quality Score and publication eligibility. Signed-off-by: Christopher Kevin <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 4 findings (0 P1, 2 P2, 2 P3); 4 posted inline.
Checked the new HTML and BENCHMARK.md explanations against the code they describe (the dimension verdict gate, lift.json's Overall lift, _build_dimensions), with probes on paired, judge-fallback, not-applicable, --skip-baseline, failed-agent and custom_only payloads, comparing against main where the text or cells changed.
Tests: tests/reporting/test_dimension_explanations.py and tests/golden/test_benchmark_card.py, 191 passed; six related reporting suites (unavailable-lift labels, saved-run applicability, report redesign, scoped and unified Tier 3 reports, advisory skip verdict), 626 passed; ruff clean on the changed files.
Merges cleanly onto main. Against other open PRs, the one real file conflict is with #373 in src/skillevaluator/reporting/benchmark.py (the Overall row); the rest is CHANGELOG.md only.
Overlap with #373 and #386: their docs say the Overall lift in a standard run is lift.json's shared-dimension delta, not the difference of the arm scores, which the new Skill Lift definition here contradicts. Suggested order: merge #373 first, then this PR with the definition aligned. After #373 the BENCHMARK Overall row shows lift.json's shared-dimension pair (46.7% → 66.7% for a paired run whose five-dimension mean is 60.0%), so this PR's key line "Overall row: the equal-weight mean of the five dimension scores with the skill" also needs rewording during that rebase.
Overlap with #384: once it lands, the new "Baseline in this run" column says "Yes, a no-skill baseline was scored" for a baseline reused from an earlier run.
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: |
Signed-off-by: Christopher Kevin <[email protected]>
…n-language-dimensions Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md # docs/reports.mdx # src/skillevaluator/reporting/templates/report.html.j2
Signed-off-by: Christopher Kevin <[email protected]>
…n-language-dimensions Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
…n-language-dimensions Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
NVIDIA#376 moved the dimension cells into _dimension_cell and added a baseline-only case to the same functions this branch changed. Keep both: the baseline-only text from main, and the baseline N/A text for a dimension a no-skill baseline can't score, now checked inside _dimension_cell. NVIDIA#395 fails a case whose goal accuracy is below 1.0, so the default-run fixture in the test scores the with-skill goal accuracy 1.0 and behavior check 0.8. The five-dimension and three-dimension scores still differ, 0.94 and 0.9333, and the expected lift and the two rejection cases move with them. Signed-off-by: Saibernard Yogendran <[email protected]>
…tests Main now writes the Correctness row of BENCHMARK.md as "Not applicable" with a reason (#376), and the Markdown report's verdict line names Skill Lift instead of composite lift (#397). The end-to-end FAIL tests checked the old wording; they now check the new prefixes. The verdicts they pin are unchanged. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
… another is N/A (#414) * fix(tier3): report FAIL when a scored dimension is below 0.40 even if another is N/A _agent_quality_verdict returned NEUTRAL at the first dimension without a finite with-skill score, before the below-0.40 check ran. Correctness has no score when no case defines ground_truth, so an agent with Security 0.0 got a NEUTRAL verdict and BENCHMARK.md read INCOMPLETE. Collect the finite scores, mark a missing or non-finite dimension as incomplete, return FAIL when any finite score is below 0.40, and otherwise NEUTRAL when a dimension is missing or below 0.50. A missing dimension still never gives PASS, and a never-activated agent stays INCONCLUSIVE. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say a dimension with no score does not hide a FAIL Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): pin the 0.40 boundary and peer agents beside a missing dimension With Correctness missing, Security exactly 0.40 stays NEUTRAL and 0.3999 is FAIL. An agent that fails with a missing dimension leaves the run NEUTRAL next to a NEUTRAL peer, FAIL next to a failing or never-activated peer, and PASS next to a passing peer. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): check the result status, terminal line and HTML card on a FAIL For a no-ground_truth run with a destructive_command finding, the Tier 3 entry in the JSON report's results has status failed, the final render context's Tier 3 status is failed and publication reads Not eligible, and the HTML Tier 3 card reads Failed (advisory), or Changes required when Tier 3 blocks. The JSON overall_status still follows the Tier 3 gate. Move the payload into a helper shared with the BENCHMARK.md test. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): list every output the FAIL verdict changes The CHANGELOG entry now says the HTML Tier 3 card reads Failed (advisory), or Changes required with --block-on-agent-eval, rather than FAIL, and adds the Tier 3 result's JSON status and the terminal's Tier 3 line. The docs paragraph notes that a never-activated agent stays INCONCLUSIVE. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): pin the Markdown report and tier3 evaluate outputs on a FAIL The no-ground_truth destructive_command run now also checks the --format markdown report (publication status FAIL, Failed count 1, verdict FAIL) and the HTML summary lead (Completed-agent result: FAIL). A new test renders the report pair that tier3 evaluate writes: its HTML Tier 3 card reads Changes required, since that report sets no gating, and tier3-benchmark.md reads FAIL. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(changelog): name the Markdown and tier3 evaluate outputs the FAIL verdict changes The entry said only that the HTML card reads Failed (advisory) or, with --block-on-agent-eval, Changes required. The tier3 evaluate report sets no gating, so its card reads Changes required too, and its tier3-benchmark.md reads FAIL. The --format markdown report's publication status, Failed count and verdict change as well, and the HTML summary opens with the completed-agent FAIL line in place of the Neutral verdict. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): match main's report wording in the no-ground_truth FAIL tests Main now writes the Correctness row of BENCHMARK.md as "Not applicable" with a reason (#376), and the Markdown report's verdict line names Skill Lift instead of composite lift (#397). The end-to-end FAIL tests checked the old wording; they now check the new prefixes. The verdicts they pin are unchanged. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): pin the no-ground_truth FAIL on a dimension the required checks do not cover Since the security required check landed, a destructive-command run with collector pass@k data already fails through that check. The end-to-end fixture now gives the agent the collector's pass@k summaries and fails it on Efficiency 0.1 with Security 1.0, so its required checks pass and only the dimension gate can return FAIL. A separate test pins the destructive-command case both ways: with required-check counts it fails through the check, and without them, as in an older run artifact, it fails through the dimension gate. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(changelog): use an Efficiency example for the no-ground_truth FAIL The entry's example was an agent with Security 0.0 after a `destructive_command` finding. The required-check change under Changed already fails that run for any run with required-check counts, so the example credited this fix with that change's behavior. Use an agent with Efficiency 0.1 whose required checks pass, and say that a failed required check already gives FAIL. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(changelog): keep required checks out of the 0.8.0 example The entry said that in 0.8.0 an agent with Efficiency 0.1 "and every required check passed" got a NEUTRAL verdict. Required checks are not in 0.8.0; they are the Unreleased change under Changed. Describe the 0.8.0 example by its Efficiency score only, and say in the closing sentences that the FAIL also applies when every required check passes, while a failed required check already gives FAIL. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
A skill author should be able to read a Tier 3 report without translating evaluator names or opening the docs. Current reports already show dimension hints, signal names and baseline/lift columns, but a few gaps remain:
BENCHMARK.mdshows such cells as a bareNot available, and baseline-only cards showNot availablefor every row.not_applicable_dimensions) appear in neither report.This PR:
not scored with the skill,baseline not run,with-skill unavailable,No verdict,Not applicable). Each dimension now shows anEvidence:line, and the intro text explains Score, Baseline, Skill Lift and the pass/fail bands in plain words. A collapsed What each number means panel under the Tier 3 overview cards defines Verdict, Overall Score, Skill Lift, pass@k, the Tier 1 Quality Score and publication eligibility.Not scored with the skill — baseline 50.0%; uplift unavailable,Not applicable — no eval case gave its signals anything to judge, orBaseline 67.0% — baseline-only run; no with-skill score or uplift. The Scoring Methodology table becomesDimension | What it measures | Scored signals | Evidence source | Baseline in this run, followed by a short "which number answers which question" key. Invalid (out-of-range or non-finite) scores still readNot available.SIGNAL_EVIDENCE_SOURCESinconstants.py, and both reporters use it.Scores, verdicts, thresholds, publication gates and JSON payloads are unchanged. The new cells never form a
x% → y%transition, so the public benchmark gate still applies, and it accepts the new goldens.Verification
tests/reporting/test_dimension_explanations.pycovers no-baseline, multiple agents with mixed baselines, an unscored dimension, missing and not-applicable dimensions, and baseline-only cards in both reports, plus the gate. TheBENCHMARK.mdgoldens were regenerated.docs/reports.mdx)make lintmake test. Instead I ran the reporting, golden, tier3, evaluation, ci, cli, benchmark-gate and OSS packaging/hygiene suites (about 13.4k tests, all passing).make buildI also rendered HTML and
BENCHMARK.mdfrom payloads covering paired, no-baseline, multiple-agent, unscored-metric and baseline-only runs and read them in a browser.Release Impact
CHANGELOG.md