Skip to content

fix(tier3): report FAIL when a scored dimension is below 0.40 even if another is N/A - #414

Merged
rng1995 merged 13 commits into
mainfrom
naren/port-tier3-verdict-fail-precedence
Nov 12, 2026
Merged

rng1995 merged 13 commits into
mainfrom
naren/port-tier3-verdict-fail-precedence

Conversation

@rng1995

@rng1995 rng1995 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • _agent_quality_verdict in evaluation/tier3_report.py now reads every dimension before it decides. A missing or non-finite with-skill score marks the agent incomplete instead of returning NEUTRAL at once.
  • The order of the checks is now:
    • not succeeded: NEUTRAL (unchanged)
    • skill never activated: INCONCLUSIVE (unchanged)
    • a failed required check: FAIL (unchanged)
    • any scored dimension below 0.40: FAIL
    • a dimension with no score, or any below 0.50: NEUTRAL
    • otherwise PASS
  • A dimension with no score still never gives PASS.
  • _overall_verdict_from_agents and the completed-agent result in reporting/tier3_scope.py call this function, so they pick up the change as is.
  • Docs: one paragraph under the verdict table in docs/tier3-live-evaluation.mdx. It says a dimension with no score blocks PASS but does not hide a dimension below 0.40, and that a never-activated agent stays INCONCLUSIVE. CHANGELOG entry under Unreleased > Fixed.

Why

On main the function returned NEUTRAL at the first dimension without a finite score, before the below-0.40 check. Correctness is scored only by accuracy, and accuracy is N/A when a case has no ground_truth. So a Tier 3 run on a dataset without reference answers could not get a FAIL verdict from the dimension gate.

Since #395, a run with pass@k data already fails through the security required check when the with-skill arm has a security issue. For example, Security 0.0 from a destructive_command finding gives fail on main, with the reason 1 of 1 cases failed: 1 security issue. So this branch changes the verdict for the dimensions the required checks do not cover, such as Efficiency and Discoverability, and for run artifacts that have no required-check counts.

Example: one case without ground_truth. The with-skill arm scores Security 1.0 and Efficiency (skill_efficiency) 0.1, and its required checks pass (1 of 1). On main:

  • agent_eval.verdict and the JSON report's tier3.verdict are neutral.
  • BENCHMARK.md reads Overall verdict: INCOMPLETE — Required evidence is missing, and publication_status is incomplete.
  • The Tier 3 entry in the JSON report's results has status passed, and the terminal reads Tier 3: Neutral evidence; 1 of 1 checks passed and Publication eligibility: Incomplete.
  • The --format markdown report reads Publication status: ⚠️ INCOMPLETE, a Failed count of 0 and Verdict: NEUTRAL.
  • The tier3-benchmark.md that tier3 evaluate writes reads Tier 3 completed-agent result: NEUTRAL.
  • The HTML Tier 3 card reads Neutral, in validate and in the tier3 evaluate report, and the Tier 3 summary opens with Verdict at a glance: Neutral.

With this change:

  • agent_eval.verdict, tier3.verdict and publication_status are fail, and BENCHMARK.md reads Overall verdict: FAIL.
  • The Tier 3 result's status is failed, and the terminal reads Tier 3: 0 of 1 checks passed; 1 failed and Publication eligibility: Not eligible.
  • The Markdown report reads Publication status: ❌ FAIL, a Failed count of 1 and Verdict: FAIL.
  • tier3-benchmark.md reads Tier 3 completed-agent result: FAIL, and its Tier 3 row reads FAIL.
  • The HTML Tier 3 card reads Failed (advisory) in a default validate run, and Changes required with --block-on-agent-eval and in the tier3 evaluate report, which sets no gating.
  • The HTML Tier 3 summary opens with Completed-agent result: FAIL and says other execution failures need attention. main already shows this for a FAIL with every dimension scored (see Kept from public).

The verdict table in the docs already says Fail when every successful agent has a dimension below 0.40. When every dimension is scored, nothing changes.

Exit codes do not change. Tier 3 is advisory by default, and the JSON report's overall_passed and overall_status are the same as on main with Tier 3 advisory, blocking or ungated. validate --block-on-agent-eval already fails unless the verdict is PASS, and this change never turns a PASS into another verdict or the reverse. The exit code of tier3 evaluate does not depend on the verdict.

Kept from public

  • The never-activated INCONCLUSIVE check and the required-check FAIL stay ahead of the dimension gate.
  • _finite_float still decides what counts as a score, so booleans, NaN and infinity count as no score.
  • _overall_verdict_from_agents is unchanged, including its INCONCLUSIVE branch.
  • The publication checks in reporting/base.py (agent_eval_dimension_verdict, passes_required_gate) are unchanged. A publication PASS still needs every dimension. A FAIL verdict now takes precedence over the missing dimension, as it already did when every dimension had a score.
  • The result schema, score policy and lift bands are unchanged.
  • The tier3 evaluate terminal headline is unchanged. Its per-agent QUALITY VERDICT and its fallback RUN QUALITY VERDICT follow required checks only, so they show neither a fully scored dimension FAIL on main nor the FAIL this branch adds.
  • The HTML report's FAIL presentation is unchanged. For any Tier 3 FAIL it sets the execution status to failed, so the report also says "Other execution failures need attention" even when every trial ran. main shows the same text for a fully scored run with Security 0.0. This PR sends more runs there, but the fix belongs in the HTML FAIL path, so it is left for a separate change.

#395 has merged. It added a required-check FAIL to _agent_quality_verdict, after the never-activated check. This branch now sits on that code: a failed required check still gives FAIL before the dimension gate runs, and the docstring keeps both descriptions. No open PR changes _agent_quality_verdict. Open docs PRs edit other parts of docs/tier3-live-evaluation.mdx.

The docs change for completed agents in an incomplete run (#417) adds its paragraph further down, after "Missing metrics are never coerced to 0.0", so the two merge cleanly in either order. Other pending fixes also append to the end of Unreleased > Fixed in the CHANGELOG; keep every entry.

Tests

  • tests/evaluation/test_tier3_benchmark_contract.py, 17 new tests:
    • Security 0.3 or 0.0 with Correctness missing: FAIL for the agent and the run (2)
    • Security 0.0 with Correctness None, NaN, infinity or True: FAIL (4)
    • every other dimension 0.9 with Correctness missing, None or NaN: NEUTRAL, never PASS (3)
    • with Correctness missing, Security exactly 0.40 is NEUTRAL and 0.3999 is FAIL (2)
    • an agent that fails with Correctness missing, next to a second agent: the run is NEUTRAL beside a NEUTRAL agent, FAIL beside a failing one, PASS beside a passing one, and FAIL beside a never-activated one (4)
    • a never-activated agent with Security 0.0 and Correctness missing stays INCONCLUSIVE (1)
    • build_agent_eval_payload with accuracy N/A in both arms, Security 0.0 and no pass@k required-check counts: no Correctness dimension, and the verdict is fail in the payload and its summary (1)
  • tests/test_public_benchmark_gate.py, 6 new end-to-end tests. Trial rewards record accuracy and goal_accuracy as N/A, and the payload has a publication target. The agent carries the pass@k summaries that the collector's _pass_summary builds from those rewards, so it has required-check counts as a current run does. Four tests use the Why example: Security 1.0 and Efficiency 0.1, with required checks passed 1 of 1.
    • One test checks the payload's not_applicable_metrics, its Security and Efficiency scores, required checks passed 1 of 1 with no verdict reason, **Overall verdict: FAIL, the Tier 3 **FAIL** row, Required checks passed | 1/1 and Correctness | Not applicable in BENCHMARK.md, publication_status and tier3.verdict of fail in the JSON report, and no offenders from the public benchmark gate.
    • Two tests, with Tier 3 advisory and blocking, check that the Tier 3 entry in the JSON report's results has status failed, overall_status follows the Tier 3 gate (passed, failed), and the terminal's Tier 3 status is failed with Not eligible for publication. In the HTML report the Tier 3 card reads Failed (advisory) or Changes required and the summary opens with Completed-agent result: FAIL. The Markdown report reads publication status FAIL, a Failed count of 1 and Verdict: FAIL.
    • One test renders the tier3 evaluate report pair through render_agent_eval_html_report with include_benchmark=True. It stubs only the run-directory loader. The HTML Tier 3 card reads Changes required, the summary opens with Completed-agent result: FAIL, and tier3-benchmark.md reads Tier 3 completed-agent result: FAIL with a FAIL Tier 3 row.
    • Two tests give the with-skill arm a destructive_command finding and Security 0.0. With the pass@k summaries the verdict is fail with the reason 1 of 1 cases failed: 1 security issue, as on main. Without them, as in a run artifact with no required-check counts, the verdict is fail from the dimension gate.
  • Fail-before: with src/ from main (d717f22) and this PR's tests, 15 of the 23 new tests fail and 8 pass. The 8 pin behavior this PR keeps: a missing dimension stays NEUTRAL (3), a never-activated agent stays INCONCLUSIVE (1), Security exactly 0.40 stays NEUTRAL (1), the run stays NEUTRAL beside a NEUTRAL agent and PASS beside a passing one (2), and a destructive-command run with required-check counts fails through the required check (1).
  • The 2 changed test modules on the branch: 567 passed.
  • The 39 test modules outside tests/reporting that use tier3_report or the agent_eval payload, plus tests/reporting: 4740 passed, 6 skipped, 2 failed. Both failures are the parametrized tests/ci/test_feedback.py launcher test, which fails the same way on main in this environment.
  • tests/test_ci_workflows.py and the 41 modules that read files under docs/ or the CHANGELOG, tests/test_oss_packaging.py and tests/test_ci_change_classifier.py among them: 6151 passed, 5 skipped.
  • The branch includes main at d717f22, and git merge-tree of the branch and d717f22 is clean. The merge conflicted only in the _agent_quality_verdict docstring and in CHANGELOG.md, and both sides are kept in each.
  • ruff check is clean on the changed Python files. ruff format --check is clean on tier3_report.py and the contract test module. In tests/test_public_benchmark_gate.py it reports 2 hunks that main already has, outside this PR's hunks; CI runs only ruff check. scripts/check_oss_boundary.py passed.

🤖 Generated with Claude Code

rng1995 and others added 7 commits November 7, 2026 20:24
… 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]>
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…imension

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]>
…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]>
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]>
…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]>
…L 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]>
rng1995 and others added 6 commits November 9, 2026 20:03
Main rewrote the Skill Lift sentence in docs/tier3-live-evaluation.mdx
(#398) right after the paragraph this branch adds. Both are kept: this
branch's paragraph on unscored dimensions, then main's Skill Lift text.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
…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]>
… 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]>
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]>
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]>

@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 failure precedence with missing/non-finite dimensions, threshold boundaries, never-activated agents and aggregate verdicts, including callers and the PR test coverage. No additional actionable findings.

Validation on a clean merge candidate with current main (ce52a098), using the repository lockfile: 47 passed in15.30s. The exact PR head 453496919028 has all 10 required CI checks successful and merges without conflicts. The remote head is unchanged by this review.

@rng1995
rng1995 merged commit bb6faad into main Nov 12, 2026
22 checks passed
@rng1995
rng1995 deleted the naren/port-tier3-verdict-fail-precedence branch November 12, 2026 18:29
rng1995 added a commit that referenced this pull request Nov 16, 2026
…eports and docs (#561)

* fix(reporting): name the exception Harbor recorded under a failed Tier 3 job

When a Harbor job's statistics miss a trial, the collector names the
first trial or step exception Harbor recorded under it as
`trial <label> recorded <Type>: <message>`, and that job failure is the
arm's first error. The coverage notice only looked for an exception type
at the start of an error or after `: `, so a step exception such as
`RewardFileNotFoundError` left `failure` null, and a later typed error
could be named instead of the first one.

Also accept a type that follows ` recorded `. The type still has to be a
CamelCase name ending in Error or Exception and be followed by `:` or the
end of the error, so a typeless recorded message or a trial label shaped
like a type names nothing.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(tier3): limit the empty expected_output rejection to the object shape

The N/A section said `tier3 ./my-skill` and `tier3 init-harbor-task`
reject an empty `expected_output`. Only a `{"skill_name", "evals"}`
dataset is checked for it. A flat dataset (a JSON or YAML list,
`{"cases": [...]}`, or any `evals.jsonl`) loads as legacy, so an empty
or whitespace-only `expected_output` or `ground_truth` is accepted there
and makes `accuracy` and `goal_accuracy` N/A.

Say so, and pin the wording with a test that runs `init-harbor-task` on
each shape.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(reporting): name only the shared outcome of a Not applicable dimension

A Not applicable row in the HTML Tier 3 dimension table ended with "It
has no score, so the agent's verdict stays NEUTRAL and cannot PASS.",
and docs/reports.mdx said the same twice. Since #414 an agent with a
scored dimension below 0.40 is FAIL even when another dimension has no
score, so the row contradicted the report's own verdict. The reason
before that sentence also had no closing period.

The row and the docs now say only "It has no score, so the agent cannot
PASS.", the wording docs/tier3-live-evaluation.mdx already uses, and the
row adds the missing period after the reason. A test renders a failing
run with a Not applicable dimension, and a docs test keeps verdict names
out of the reports page's Not applicable sentences. The CHANGELOG entry
also covers the coverage notice fix for an exception Harbor recorded.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reporting): say how the HTML labels a failed run's verdict

docs/reports.mdx said a failed run keeps `neutral`, "which the HTML
labels Changes required". The HTML labels `neutral` as Neutral. A
failed run reads Changes required because the HTML report turns its
verdict into `fail`, also in the full Tier 3 payload it embeds; only
the run's payload keeps `neutral`.

Say that, and that a successful run's `neutral` verdict reads Neutral.
The completed-agent docs test now checks both runs against the rendered
HTML and the embedded payload.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(reporting): say when the loaded results cannot confirm a judge-mixed lift

An evaluator card with no lift said its judge-mixed cases left "no
comparable result". The lift is also withheld when the loaded rewards
cannot confirm the comparison, for example when a logical trial's rows
name two cases or `lift.json` records more mixed cases than the rewards
identify. Matching-judge cases can still exist then.

Keep "no comparable result remains" for a card whose comparison basis
records `contributing_attempts` as 0, which needs a complete load. Any
other card with no lift now says "the loaded results cannot confirm the
comparison". Update docs/reports.mdx and the Unreleased CHANGELOG entry
from #418 to match.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(changelog): quote only the end of a recorded Tier 3 job failure

The Fixed entry for the coverage notice said the collector reports the
job failure as `trial <label> recorded <Type>: <message>`. The job
failure opens with `Harbor evaluation statistics account for N/M
completed trials; `, so that clause is only how it ends. The entry now
says so, and a test checks the live job failure and the entry.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(changelog): say plainly when a card with no lift cannot confirm it

The Unreleased entry for the judge-mixed lift note said a card with no
lift says the loaded results cannot confirm the comparison "when they
do not show that no attempt was left to compare". It now says the card
says no comparable result remains when the loaded results show that no
attempt fed the lift, and otherwise that they cannot confirm the
comparison. A test checks that wording in the entry and the matching
docs/reports.mdx paragraph.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(changelog): rewrap the judge-mixed lift entry

The previous wording change left one line of the Unreleased entry for
the judge-mixed lift note over 90 characters. Rewrap the rest of the
paragraph. The text is unchanged.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): name the JSON report's Tier 3 payload as the one that keeps neutral

The completed-agent section said "The payload keeps `neutral` for a failed
run" in the same sentence that says the payload embedded in the HTML report
records `fail`, so a reader could not tell which payload keeps `neutral`.
Name the `tier3` object of a `validate --tier3` JSON report. The later
lift sentence also said the payload records the failed run's verdict as
`neutral`, which the HTML-embedded payload does not; it now says only that
both payloads keep the lift in `summary.overall_lift`.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(changelog): record the two Tier 3 docs corrections under Documentation

The branch corrects two docs sentences but recorded neither in the
changelog. Add Unreleased Documentation entries: the live evaluation guide
now limits the empty expected_output rejection to the {"skill_name",
"evals"} dataset, and Reports & Results now says the HTML report and its
embedded Tier 3 payload show a failed run's verdict as fail (Changes
required) while the JSON report's tier3 object keeps neutral. Tests pin
both entries' text and their place under Unreleased Documentation.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(tier3): pin the empty expected_output rule for the tier3 PATH dataset step

The docs say both `skillevaluator tier3 ./my-skill` and `tier3 init-harbor-task`
reject an empty `expected_output` only in a {"skill_name", "evals"} dataset.
The test ran only `init-harbor-task`, so a stricter check added only to the
`tier3 PATH` dataset step would not have failed it.

The test now also runs that step on each dataset shape: it accepts the flat
JSON list, `{"cases": [...]}` in .json and .yml, the YAML list and the JSONL
file, rejects the object shape in .json and .yml, and leaves the evals folder
unchanged. The object shape in YAML and `{"cases": [...]}` in .yml are new
cases for both commands.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test: let the two docs-correction CHANGELOG checks survive a release cut

Two tests required their CHANGELOG entries to sit under Unreleased, so a
release that moves Unreleased into a dated section would fail them. They
now find each entry by its opening words in any section, still require
the Documentation subsection, and fail only when the entry sits in 0.9.0
or an older released section.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): say which Tier 3 reports label a failed run Changes required

A default `validate --tier3` run keeps Tier 3 advisory, so its report
labels a failed run's `fail` verdict Failed (advisory), and its command
status follows the required tiers. Only the standalone Tier 3 report.html
and the report of a `validate --block-on-agent-eval` run read Changes
required. Reports & Results and the CHANGELOG entry now say so.

The CHANGELOG entry also no longer implies that every failed run keeps
`neutral` in the JSON `tier3` object: a `validate --block-on-agent-eval`
run without a valid Tier 3 source fails before any agent runs and records
`fail` there too.

Tests run `validate --tier3` with and without --block-on-agent-eval, and
without a valid Tier 3 source, and check the texts against its reports.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): say when a failed Tier 3 run keeps neutral in the JSON report

The `tier3` object of a `validate --tier3` JSON report keeps `neutral`
when the run's collected results record the failure, for example when
one of several agents fails. When the execution backend reports a
failure after the agents scored, such as a Harbor job that exits with an
error after its trials, the run is marked failed but the payload keeps
those scores, its `summary.overall_score` and the verdict they give,
such as `pass` or `fail`, in advisory and blocking runs alike. A
blocking run without a valid Tier 3 source is no longer described as
the only failed run that records `fail` there.

The CHANGELOG entry and Reports & Results now say this, and a test runs
`validate --tier3` on a scored run the backend marks failed to pin the
JSON verdict, the agent status, the HTML labels and the documented text.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): shorten the failed Tier 3 run entry and note budget-stopped runs

The CHANGELOG entry for the failed-run label correction now gives the
rule: the HTML reports show a failed run's verdict as `fail`, labelled
Changes required in the standalone Tier 3 report.html and in a
`validate --block-on-agent-eval` report, and Failed (advisory) in a
default `validate --tier3` report, while the `tier3` object of the JSON
report can still record `neutral` or the verdict the agents' scores give.
Reports & Results keeps the per-case detail.

A failed run whose budget left planned attempts not run records
`incomplete` in the `tier3` object, and the HTML reports label its
verdict Incomplete; the standalone report's command status reads
Incomplete too. Reports & Results and the entry now say so. A new test
runs that case, for a failed peer agent and for a backend error, through
`validate --tier3` with and without `--block-on-agent-eval`.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(changelog): shorten the failed Tier 3 run entry to the rule

The entry now states the rule and points to Reports & Results for the detail: the HTML reports show a failed run as fail, labelled Changes required or Failed (advisory) by gate, while the JSON tier3 object can still carry neutral or the verdict the scores give. The tests pin the shorter wording.

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

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Christopher Kevin <[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