Skip to content

fix(reporting): publish the same Overall lift in BENCHMARK.md as every other output - #373

Merged
chrisknvidia merged 7 commits into
mainfrom
fix/christopherk/overall-consistency
Nov 10, 2026
Merged

chrisknvidia merged 7 commits into
mainfrom
fix/christopherk/overall-consistency

Conversation

@chrisknvidia

Copy link
Copy Markdown
Collaborator

Summary

When a metric is N/A in only one arm (the skill metrics in a baseline run without the skill), Skill Lift compares the two arms on the dimensions both scored, so the scores it subtracts differ from the arm overall scores. lift.json and the JSON, HTML, Markdown and terminal reports published that lift, but the BENCHMARK.md Overall row subtracted the arm overall scores and published a different uplift. Example from the new test: every other output says +0.10; BENCHMARK.md said 56.7% → 60.0% (+3.3 points).

  • The canonical report records, per agent, the pair the overall lift subtracts as lift_overall (with_skill, baseline); it is null when no overall lift is published.
  • The BENCHMARK.md Overall row renders from that pair (56.7% → 66.7% (+10.0 points)) and adds a note when it differs from the arm overall scores. Arm scores, verdicts, the scoring policy and legacy/custom-only/incomplete handling are unchanged.
  • New tests/test_overall_cross_format_consistency.py runs one synthetic standard-grading run through collection and every writer and checks that arm Overall, score_policy and lift agree across arm summary.json, lift.json, the canonical report, JSON, HTML, Markdown, BENCHMARK.md and the terminal report. It covers the one-arm N/A case and a case where a six-metric mean would give a passing +0.10 lift, but the five-dimension policy gives a failing -0.08.

Not covered here: tier3 compare output is not part of the new test, and no credentialed live evaluation was run.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test (47 failures in test_ci_onboarding, plugin dependency/discovery, secure_fs, utils/test_helpers, input staging and results-location tests; the same files also fail on a clean origin/main checkout in this environment, and none touch reporting)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

The new test fails on origin/main and passes with this change. Ran tests/reporting, tests/evaluation, tests/test_judge_lift_integrity.py and tests/test_harbor_metrics_truth.py (1,992 passed).

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

…y other output

When a metric is N/A in only one arm (the skill metrics in a baseline without
the skill), Skill Lift compares the two arms on the dimensions both scored, so
the scores it subtracts differ from the arm overall scores. BENCHMARK.md
subtracted the arm overall scores instead and published a different uplift
than lift.json and the JSON, HTML, Markdown and terminal reports.

Record the pair the overall lift subtracts per agent as lift_overall in the
canonical report and render the BENCHMARK.md Overall row from it, with a note
when it differs from the arm overall scores. Add a cross-format test that
reconciles arm Overall scores, recorded score policy and lift across reward
summaries, lift.json, the canonical and JSON reports, HTML, Markdown,
BENCHMARK.md and the terminal report, including a case where a six-metric mean
would reverse the lift.

Signed-off-by: Christopher Kevin <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review: 2 findings (0 P1, 0 P2, 2 P3); 2 posted inline.

Checked the lift_overall pair and the BENCHMARK.md Overall row against lift.json with synthetic collected runs on the PR head and origin/main: one-arm N/A (default and legacy policy), a mixed-judge case, custom-only and missing-lift inputs.
Tests: tests/test_overall_cross_format_consistency.py 2 passed on the head and 2 failed on an origin/main copy; tests/golden/test_benchmark_card.py, test_judge_lift_integrity.py and four tests/reporting files (unavailable lift labels, scoped reports, applicability saved runs, activation benchmark HTML) 244 passed; ruff check and format clean on the three changed Python files. A wider reporter run did not finish under machine load.
Merge with main: CHANGELOG.md only. With other open PRs: a real conflict with #376 in reporting/benchmark.py, where both rewrite the Overall row (keep this PR's lift_overall pair and #376's baseline_only argument; merge this PR first), and a CHANGELOG.md conflict with #225; the rest merge cleanly once #333 is rebased on main.
#386 fixes the same Overall lift for tier3 compare by recomputing from arm summaries instead of reading lift.json: with a judge fallback in one arm, compare shows +0.20 while lift.json and this PR's lift_overall give +0.4833, so BENCHMARK.md and compare still disagree after both merge unless #386 reads lift.json's overall delta.
#376's new HTML definition of Skill Lift ("the overall score with the skill minus the baseline") contradicts the docs/reports.mdx text added here for runs with a metric N/A in one arm, and #376's new BENCHMARK.md legend ("Overall row: the equal-weight mean of the five dimension scores with the skill") is wrong for this PR's Overall row whenever it shows the lift_overall pair (66.7% against a 60.0% with-skill overall in the PR description's example). #388's lift history shows arm scores next to the paired lift, the mismatch this PR removes from BENCHMARK.md.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Evaluation run

SkillEvaluator CI results

Required gate: Skipped

Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.

Skill Tier 1: Static and Security Validation Tier 2: Deduplication Tier 3: Live Agent Evaluation Report
No skills evaluated SKIPPED · issues unknown · No selected skills changed; Tier 1 evaluation did not run. INCOMPLETE · issues unknown · The tier did not produce retained evidence; inspect its failed or cancelled CI job. INCOMPLETE · issues unknown · The tier did not produce retained evidence; inspect its failed or cancelled CI job. Report

Commit: 6722adeaebd6ae82377ed69b221bef2c15efc470 · Environment: docker

…all-consistency

Signed-off-by: Christopher Kevin <[email protected]>

# Conflicts:
#	docs/reports.mdx
…all-consistency

Signed-off-by: Christopher Kevin <[email protected]>

# Conflicts:
#	CHANGELOG.md
@chrisknvidia
chrisknvidia merged commit 8b25e5e into main Nov 10, 2026
22 checks passed
@chrisknvidia
chrisknvidia deleted the fix/christopherk/overall-consistency branch November 10, 2026 05:41
Saibernard added a commit to Saibernard/SkillEvaluator that referenced this pull request Nov 11, 2026
NVIDIA#373 now builds the Overall row from the lift_overall pair, which for a
baseline without the skill is the same comparison over the dimensions
the baseline scored, 65.0% → 91.7% (+26.7 points) for the run in the
test. Resolve the conflict by keeping main's row and note, drop this
branch's own Overall helper and note, and check main's note in the
test. Keep both CHANGELOG entries, with the Overall sentence left to

Signed-off-by: Saibernard Yogendran <[email protected]>
NVIDIA#373's.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants