Repository navigation
docs(reports): explain completed-agent results in incomplete multi-agent Tier 3 runs - #417
Conversation
…ent Tier 3 runs When one of several agents fails, the HTML report and tier3-benchmark.md show the best completed agent's score with a needs-attention warning, while the run stays failed and its whole-run score stays null. No user guide said what that score means. Add a "Completed agents in an incomplete run" subsection to Reports & Results, list tier3-benchmark.md in the results tree with its pair-writing rule, and link the section from the Tier 3 verdict table. A docs test pins the quoted labels to the rendered reports. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Put "Completed agents in an incomplete run" at the end of "Reading a live-eval report", beside the other Tier 3 reading topics, and keep a one-paragraph pointer after the publication eligibility paragraph. The section no longer shares an insertion point with the Tier 2 subsection that main added at the end of "Reading the final status". Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
The completed-agent docs quote report labels that #352 changed on main, such as the Tier 3 quality chip and the Run details & provenance panel. Merge main so the docs test checks the labels the reports render now. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-run rule The cross-link paragraph sat right after the Tier 3 verdict table, where the verdict-precedence port adds its own paragraph, so whichever landed second would conflict. Move it after "Missing metrics are never coerced to 0.0", which already covers a null overall_score and execution_status. Also correct its claim: the table applies only when the run succeeds. A run where every agent finished but the agents were scored on different metric sets fails too, with a null overall_score and a neutral verdict. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
The section stays in docs/reports.mdx at the end of "Reading a live-eval report"; d458d1d moved it there, although its title names the live evaluation guide. - Name the hero chip **Tier 3 quality**, as #352 relabeled it, and say the command status in the same hero still reads Changes required. - The recovered-timeout count is the shown agent's own. Name the three outputs that give it, say the HTML moved it to Run details & provenance, and that the HTML and tier3-benchmark.md also give it when every agent finished. - Say that the HTML still names the best agent and shows its lift in the Skill Lift card and Best-agent lift line even when its evidence is incomplete, and that the payload keeps summary.overall_lift and records the failed run's verdict as neutral. - The report pair rule holds at the end of a tier3 evaluate run; view regenerates only a missing report.html. - A whole-run result needs a rerun with every agent, not of the failed agent alone. The docs test now uses a third, lower-scoring complete agent, so a fallback to another agent fails it, and pins the recovered count to the shown agent, the count in a run where every agent finished, and view writing report.html alone. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tier3 evaluate A validate run that includes Tier 3 uses the same engine as tier3 evaluate, so it also writes report.html and tier3-benchmark.md into the results tree, follows the same pair rule and records report_status "degraded" when the pair cannot be written. tier3-benchmark.md reads NOT ASSESSED because it covers Tier 3 only, which holds even when validate ran Tiers 1 and 2. A new test runs validate's Tier 3 step through the engine with the Harbor edges stubbed and checks the pair rule there. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nce is complete The entry said the reports show the best agent's score when one of several agents fails. When that agent's evidence is incomplete, they show no score and do not fall back to a lower complete agent. A new test pins the entry's wording to the docs. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Found one broken published-documentation link while checking the new completed-agent guidance.
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Updating this branch to current main exposes two stale report-contract statements in the new guidance.
…icts Signed-off-by: Narendran Raghavan <[email protected]>
There was a problem hiding this comment.
Reviewed the new guidance against actual current-main report behavior. Fixed the broken published-page link and reconciled two stale verdict/no-result statements in 8c37b68. Both inline threads are resolved. Validation: the link assertion failed before the fix; two old contract assertions exposed main integration drift; the final docs and scoped-report suites passed 25 tests. make lint and pinned Fern check passed. Main merged without conflicts; reporting behavior is unchanged. This PR remains open.
Brings in main through b38b71b (#416, #417, #420, #422, #423, #428, #429, #467). Merged without conflicts; CHANGELOG, docs, decoys.py and eval_core/checks.py auto-merged with both sides' edits in separate hunks. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Since #223 (0.7.0), when one of several agents fails, Tier 3 reports still show the best agent's score when that agent's evidence is complete, with a needs-attention warning. The run stays failed and its whole-run score stays
null. The only description of this is the 0.7.0 CHANGELOG entry. This PR documents what the reports do on currentmain. There are no code changes.docs/reports.mdx: new "Completed agents in an incomplete run" subsection at the end of "Reading a live-eval report". It says:execution_statusisfailed,summary.overall_scoreisnull, and the publication assessment does not change;tier3-benchmark.md; and the same lines in avalidateBENCHMARK.mdunder its unchanged verdict;--stop-on-passthe HTML (in Run details & provenance),tier3-benchmark.mdand avalidateBENCHMARK.mdgive the shown agent's own recovered timeout count, not other agents' counts. The HTML andtier3-benchmark.mdalso give it when every agent finished;tier3-benchmark.mdreads Tier 3: No complete agent result when no agent qualifies;summary.overall_liftand records the failed run'sverdictasneutral;docs/reports.mdx, "Reading the final status": a short paragraph after the publication eligibility paragraph links to the new subsection.docs/reports.mdx, "Tier 3 results on disk":tier3-benchmark.mdis now in the file tree and has its own bullet. It shows publication as NOT ASSESSED because it covers Tier 3 only, even when it comes from avalidaterun that also ran Tiers 1 and 2. At the end of every Tier 3 run, fromtier3 evaluateor avalidaterun that includes Tier 3, iftier3-benchmark.mdcannot be written,report.htmlis removed too, andresult.jsonrecords the reason inwarningswithreport_status: "degraded".viewregenerates only a missingreport.html.docs/tier3-live-evaluation.mdx: a paragraph after "Missing metrics are never coerced to0.0" says that the verdict table applies only when the run succeeds. A run fails when one of several agents fails, or when the agents were scored on different metric sets. The paragraph links to the new subsection.tests/reporting/test_tier3_completed_agent_docs.pychecks each label and claim the docs quote against the rendered reports.Why
A user who runs several agents can see an agent's score, and in a standalone report a Passed quality chip, on a run that failed. No guide says that this is one agent's result, why the whole-run score is withheld, or when no score is shown. The HTML lift card can also show the best agent's lift on a failed run where no completed-agent result qualifies. The results tree also left out
tier3-benchmark.md, which every Tier 3 run writes, including one insidevalidate.Kept from public
completed_agent_result, the HTML template,BenchmarkReporter,render_agent_eval_html_reportandview_resultsare unchanged. The docs describe them as they are onmain, including the HTML lift card on a failed run. That card could carry a completed-agent label in a later code change; this PR only documents it.mainat35ef01e6, because Keep report navigation persistent and evidence accessible #352 relabeled the hero chip to Tier 3 quality and moved the recovered-timeout and Best-agent lift lines into Run details & provenance. The docs test checks those labels asmainrenders them.0.0", not after the verdict table, where fix(tier3): report FAIL when a scored dimension is below 0.40 even if another is N/A #414 adds its own paragraph.mainand, checked withgit merge-treeafter merging each intomain, with every open PR from a branch of this repository, fix(reporting): describe a failed Tier 3 arm as incomplete, not as not run #407 included. PRs from forks, such as feat(tier3): add fixed-source skill interaction evaluation #392, were not checked.test_standard_report_pair_and_unsafe_companion_destination; the new test only adds the same check throughvalidate's Tier 3 step. The run that fails on agents scored on different metric sets is already tested intests/test_issue55_collector_truth.py.docs/reports.mdx.Tests
tests/reporting/test_tier3_completed_agent_docs.py(9 tests):Tier 3 quality: Passedand the command statusChanges required. The recovered count andBest-agent lift: +0.40sit in Run details & provenance.tier3-benchmark.mdandvalidateBENCHMARK.md(verdictFAIL) carry the Needs attention and recovered lines. The payload staysfailedwith anulloverall score,overall_lift0.4 and verdictneutral.tier3-benchmark.mdshow the recovered count, andvalidateBENCHMARK.mddoes not.tier3-benchmark.mdreads Tier 3: No complete agent result and has no completed-agent line. The HTML has no completed-agent score but still names the best agent and shows its +0.40 lift.viewon a run withoutreport.htmlwritesreport.htmland notier3-benchmark.md.validate's Tier 3 step (_run_agent_eval_or_skip) runs the engine with the Harbor edges stubbed and the benchmark write failing. The engine renders withinclude_benchmark=Trueinto<results>/demo/<run>/, leaves neitherreport.htmlnortier3-benchmark.md, andresult.jsonrecordsreport_status: "degraded"with the reason inwarnings.tier3-benchmark.mditself gives for NOT ASSESSED (it covers Tier 3 only).tier3-benchmark.md, the pair rule coverstier3 evaluateand avalidaterun that includes Tier 3, both pages link to the subsection anchor, and the live-eval paragraph says when the verdict table applies.maindocs and CHANGELOG, 8 of the 9 fail; thevalidatepair test passes, because it checks code thatmainalready has. Against the docs and CHANGELOG of 217ce35 on this branch, the 3 tests for the NOT ASSESSED reason, the pair rule's scope and the CHANGELOG entry fail.completed_agent_resultthat falls back to another complete agent fails the no-fallback test. A recovered count summed over every agent fails the own-count test. Aviewthat also writestier3-benchmark.mdfails theviewtest. An engine that renders withoutinclude_benchmark, or a renderer that keepsreport.htmlwhentier3-benchmark.mdcannot be written, fails thevalidatepair test.tests/reporting(including the new test andtest_tier3_scoped_reports.py),tests/test_ci_workflows.py,tests/test_issue55_collector_truth.pyand the docs and CHANGELOG reader tests (tests/test_harbor_claude_refusal_fallback.py,tests/test_accuracy_arithmetic.py,tests/test_oss_packaging.py,tests/test_tier3_public_runtime.py,tests/test_benchmark_rollout_docs.py,tests/test_ci_change_classifier.py,tests/ci/test_image_build.py,tests/tier3/test_private_loose_source.py), plustests/test_evaluation_service.pyandtests/test_tier3_max_cases.pyfor thevalidatepath: 2652 passed, 4 skipped.fern checkreports 0 errors. Its one warning is the skipped redirects check that needs a Fern login, the same as onmain.ruff checkandruff format --checkare clean on the new test, andscripts/check_oss_boundary.pypasses.🤖 Generated with Claude Code