Repository navigation
fix(tier3): rank baseline-only agents by "baseline" for root dataset sufficiency - #450
Merged
Merged
Conversation
…sufficiency The root dataset_sufficiency fallback ranked canonical agent payloads by "without_skill", but those payloads carry the baseline-only score as "baseline". With two or more agents and --skip-with-skill, no agent ranked, so result.json and the tier3 evaluate summary dropped the dataset-size status while BENCHMARK.md still showed one. Use "baseline", as the canonical report does, and add a two-agent regression test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
requested review from
chrisknvidia,
mosheabr and
rmalani-nv
as code owners
November 10, 2026 16:44
rng1995
added a commit
that referenced
this pull request
Nov 11, 2026
Brings in main up to d717f22 (#450). Conflicts: - src/skillevaluator/evaluation/tier3_report.py: both sides rewrote the _agent_quality_verdict docstring. Main (#395) added a required-check FAIL after the never-activated check; the branch lets a dimension below 0.40 fail the agent when another dimension has no score. Kept main's summary line ("required checks, then dimensions") and the branch's explanation of the missing-dimension rule. The function body merged without conflict: main's required-check FAIL runs first, then the branch's dimension gate. - CHANGELOG.md: both sides appended to Unreleased > Fixed. Kept main's tier3 compare entry and put this branch's verdict entry after it. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#400 added a root
dataset_sufficiencyblock to Tier 3 results. When the report's findings picker returns no agent, the runner falls back to the canonical best-agent picker. In a baseline-only run (--skip-with-skill), that fallback ranked agents by"without_skill". Canonical agent payloads carry the baseline-only score as"baseline"(see_build_agentandbuild_agent_eval_payloadinevaluation/tier3_report.py), so no agent ranked. The fallback only covered the single-agent case.The effect: a
--skip-with-skillrun with two or more agents left the dataset-size status out ofresult.jsonand thetier3 evaluatesummary, while BENCHMARK.md still showed one. This PR ranks by"baseline", as the canonical report does, so the root block comes from the agent with the best baseline score.--skip-with-skill, 2+ agentsdataset_sufficiency; noDataset size:lineDataset size:shown--skip-with-skill, 1 agentThis was the remaining part of a #400 review follow-up (multi-agent
--skip-with-skill). Two independent re-checks reproduced it after #400 merged.Verification
make lint(ruff checkandruff format --checkon the changed files)make test(subset below)make buildTests:
test_skipped_with_skill_agents_rank_root_dataset_sufficiency_by_baseline(two--skip-with-skillagents). It fails onmainwithKeyError: 'dataset_sufficiency'and passes with the fix.tests/test_tier3_progress.py,tests/reporting/test_dataset_sufficiency_rendering.pyandtests/tier3/test_dataset_sufficiency.py: 174 passed.tests/tier3,tests/reporting,tests/test_tier3_progress.pyandtests/test_tier3_result_display.py: 12,504 passed and 13 failed. The 13 failures are intests/tier3/test_judge_failure_artifacts.py. Their generated scripts run under the host's Python 3.9python3and fail the same way onmain.Release Impact
CHANGELOG.md(Unreleased → Fixed)🤖 Generated with Claude Code