Skip to content

docs(reports): explain completed-agent results in incomplete multi-agent Tier 3 runs - #417

Merged
rng1995 merged 9 commits into
mainfrom
naren/port-docs-tier3-completed-agent-results
Nov 12, 2026
Merged

rng1995 merged 9 commits into
mainfrom
naren/port-docs-tier3-completed-agent-results

Conversation

@rng1995

@rng1995 rng1995 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

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 current main. 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:
    • the run's execution_status is failed, summary.overall_score is null, and the publication assessment does not change;
    • which agent is shown: the run's best agent (the successful agent with the highest with-skill score; an agent that never activated the skill only when no other agent qualifies), and only when its evidence is complete;
    • what each report shows: the HTML hero warning and the Completed Agent Score card; the agent, score, comparable lift and Needs attention line in tier3-benchmark.md; and the same lines in a validate BENCHMARK.md under its unchanged verdict;
    • that after --stop-on-pass the HTML (in Run details & provenance), tier3-benchmark.md and a validate BENCHMARK.md give the shown agent's own recovered timeout count, not other agents' counts. The HTML and tier3-benchmark.md also give it when every agent finished;
    • that in a standalone report the Tier 3 quality chip and Quality Verdict card describe that one agent. The command status in the same hero still reads Changes required;
    • when evidence counts as complete, when lift is shown, that the reports never fall back to another agent, and that tier3-benchmark.md reads Tier 3: No complete agent result when no agent qualifies;
    • that the HTML still names the best agent and shows its lift in the Skill Lift card and the Best-agent lift line, even when its evidence is incomplete. The payload keeps that lift in summary.overall_lift and records the failed run's verdict as neutral;
    • that a whole-run result needs a rerun with every agent.
  • 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.md is 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 a validate run that also ran Tiers 1 and 2. At the end of every Tier 3 run, from tier3 evaluate or a validate run that includes Tier 3, if tier3-benchmark.md cannot be written, report.html is removed too, and result.json records the reason in warnings with report_status: "degraded". view regenerates only a missing report.html.
  • docs/tier3-live-evaluation.mdx: a paragraph after "Missing metrics are never coerced to 0.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.
  • CHANGELOG entry under Unreleased > Documentation.
  • New tests/reporting/test_tier3_completed_agent_docs.py checks 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 inside validate.

Kept from public

  • No code changes. completed_agent_result, the HTML template, BenchmarkReporter, render_agent_eval_html_report and view_results are unchanged. The docs describe them as they are on main, 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.
  • The branch merges main at 35ef01e6, 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 as main renders them.
  • No existing paragraph is reworded. The new subsection comes after the pass@k subsection rather than at the end of "Reading the final status", because Keep report navigation persistent and evidence accessible #352 added its Tier 2 subsection there. The live-eval paragraph sits after "Missing metrics are never coerced to 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.
  • The docs and CHANGELOG hunks merge cleanly with current main and, checked with git merge-tree after merging each into main, 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.
  • The pair-writing rule is already tested by test_standard_report_pair_and_unsafe_companion_destination; the new test only adds the same check through validate's Tier 3 step. The run that fails on agents scored on different metric sets is already tested in tests/test_issue55_collector_truth.py.
  • Please squash-merge. The title of commit d458d1d says the section moved to the live evaluation guide, but it moved within docs/reports.mdx.

Tests

  • New tests/reporting/test_tier3_completed_agent_docs.py (9 tests):
    • A run with a failed peer and one recovered timeout attempt. The quoted labels (Tier 3 quality, Quality Verdict, Completed Agent Score, the hero warning, Run details & provenance, Best performing agent, Skill Lift, Best-agent lift) appear both in the docs subsection and in the rendered HTML. The hero reads Tier 3 quality: Passed and the command status Changes required. The recovered count and Best-agent lift: +0.40 sit in Run details & provenance. tier3-benchmark.md and validate BENCHMARK.md (verdict FAIL) carry the Needs attention and recovered lines. The payload stays failed with a null overall score, overall_lift 0.4 and verdict neutral.
    • Three agents, where the best agent is complete and a lower complete agent recovered two timeouts: no report shows a recovered count.
    • A run where every agent finished: the HTML and tier3-benchmark.md show the recovered count, and validate BENCHMARK.md does not.
    • Three agents, where the best agent's baseline is one attempt short, a lower agent is complete and one agent failed: tier3-benchmark.md reads 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.
    • view on a run without report.html writes report.html and no tier3-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 with include_benchmark=True into <results>/demo/<run>/, leaves neither report.html nor tier3-benchmark.md, and result.json records report_status: "degraded" with the reason in warnings.
    • The docs give the reason tier3-benchmark.md itself gives for NOT ASSESSED (it covers Tier 3 only).
    • The results tree lists tier3-benchmark.md, the pair rule covers tier3 evaluate and a validate run that includes Tier 3, both pages link to the subsection anchor, and the live-eval paragraph says when the verdict table applies.
    • The CHANGELOG entry says the best agent's score shows only when that agent's evidence is complete, and that every Tier 3 run writes the pair.
  • Fail-before: against the main docs and CHANGELOG, 8 of the 9 fail; the validate pair test passes, because it checks code that main already 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.
  • Mutation checks, each run on a temporary copy: a completed_agent_result that falls back to another complete agent fails the no-fallback test. A recovered count summed over every agent fails the own-count test. A view that also writes tier3-benchmark.md fails the view test. An engine that renders without include_benchmark, or a renderer that keeps report.html when tier3-benchmark.md cannot be written, fails the validate pair test.
  • Branch: tests/reporting (including the new test and test_tier3_scoped_reports.py), tests/test_ci_workflows.py, tests/test_issue55_collector_truth.py and 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), plus tests/test_evaluation_service.py and tests/test_tier3_max_cases.py for the validate path: 2652 passed, 4 skipped.
  • fern check reports 0 errors. Its one warning is the skipped redirects check that needs a Fern login, the same as on main.
  • ruff check and ruff format --check are clean on the new test, and scripts/check_oss_boundary.py passes.

🤖 Generated with Claude Code

rng1995 and others added 7 commits November 7, 2026 20:54
…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 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Found one broken published-documentation link while checking the new completed-agent guidance.

Comment thread docs/tier3-live-evaluation.mdx Resolved

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Updating this branch to current main exposes two stale report-contract statements in the new guidance.

Comment thread docs/reports.mdx Resolved

@rng1995 rng1995 left a comment •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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.

@rng1995
rng1995 merged commit b38b71b into main Nov 12, 2026
22 checks passed
@rng1995
rng1995 deleted the naren/port-docs-tier3-completed-agent-results branch November 12, 2026 19:59
rng1995 added a commit that referenced this pull request Nov 12, 2026
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]>
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.

1 participant