Skip to content

feat(tier3): case-first CLI summary and case-based report findings - #255

Merged
chrisknvidia merged 8 commits into
mainfrom
feat/christopherk/case-first-tier3-output
Oct 29, 2026
Merged

chrisknvidia merged 8 commits into
mainfrom
feat/christopherk/case-first-tier3-output

Conversation

@chrisknvidia

Copy link
Copy Markdown
Collaborator

Summary

tier3 evaluate output was metric-first: aggregate evaluator and dimension tables plus generic suggestions, with no way to see which eval case failed or why. This PR makes the CLI and report.html case-first.

CLI

  • A verdict line (skill helps / skill hurts / mixed / no clear effect / inconclusive) and one row per evals.json case, comparing with and without the skill. One agent: 2/2 ✓✓ (0.82) per condition plus an effect column. Several agents: one column per agent, ✗✗ → ✓✓ +100 (without → with skill, pass-rate change in pp).
  • "How to improve": at most 3 issues ranked by attempts lost, each with case, agent, issue type (skill, skill not used, skill hurts, missing input, eval case, environment, run error, goal not met), one fix and an evidence path. It is saved to what_to_fix.json, and the CLI prints "nothing to fix" when the list is empty.
  • goal not met flags with-skill attempts that pass on aggregate score while goal accuracy is 0.00 (for example, the agent only asked for details).
  • The per-evaluator and per-dimension tables and the metric findings move behind the new --verbose flag.

report.html (same layout, colors and sections; data only)

  • "Verdict at a glance" adds the per-case result, the highest-scoring agent vs the biggest skill lift, and the goal-not-met count.
  • "Conclusion & Next Steps" and the Insights recommendations list the what_to_fix.json fixes, or "Nothing to fix".
  • Pass@K shows attempts passed. A passing dimension that regressed reads "PASS · regressed" and names its weakest signal. Resource totals get units and percent change.
  • Attempt Details groups each case's with/without rows and marks passes that missed the goal. Error Recovery lists only trials with faults, retries or warnings.

Verified by re-rendering 17 real Tier 3 runs on public skills (Claude Code, Codex, OpenCode; k=2). The goal-not-met check fired on 10 of them, where passing scores hid unfinished tasks.

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 (15,626 passed; the 4 failures are environment-specific same-inode mtime and PR-merge-ref tests that also fail on main)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Release Impact

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

Lead `tier3 evaluate` with a verdict line and one row per eval case
(with vs without the skill), plus a ranked "How to improve" list that
names the case, agent, issue type, one fix and an evidence path. The
list is saved to what_to_fix.json. A new `goal not met` type flags
attempts that pass on aggregate score while goal accuracy is 0.00.
Per-evaluator tables and metric findings move behind `--verbose`.

report.html keeps its layout and styles and leads with the same
findings: the verdict adds the per-case result, highest score vs
biggest lift and the goal-not-met count; Next Steps and the Insights
recommendations list the fixes. Pass@K shows attempts passed, a
regressed passing dimension reads "PASS · regressed" with its weakest
signal, resource totals get units and percent change, Attempt Details
groups each case's rows and marks goal-not-met passes, and Error
Recovery lists only trials with faults.

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.

Reviewed the complete PR and current discussion at b6d5565. No remaining code blockers after the review corrections pushed to this branch.

The case summary now respects activation, execution, score-contract, coverage and retained-detail limits before reporting overall effects. Complete matched cases retain their own diagnostic comparison. Credential redaction covers displayed/saved advice and the advisory model prompt; retained artifact reads are bounded and anchored, and the advisory cache is replaced safely. Goal-miss counts use logical native multi-step attempts, remain independent of the three-item fix list, and keep agent identity in HTML. Truncated attempt details no longer invent pass counts; empty feedback describes only the available evidence.

Validation: 181 targeted judge/report/resource/activation/result-display/CLI tests passed, including 40 focused case-summary/HTML tests. An independent reviewer also passed those 40 tests and exercised real collector-native multi-step fixtures. Ruff and both sdist/wheel builds passed. A broader reporting/evaluation run was interrupted after 141 passed and 2 skipped, with no failures observed; this is not a full-suite pass. CI is still running on this commit. Approval does not merge the PR.

Only treat a goal miss as "stopped for input" on real ask phrases, keep
the canned fix for a merged item only when every merged item asked,
report goal misses on cases that also lost attempts, and count them as
"missed the goal" rather than "lost".

Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia
chrisknvidia force-pushed the feat/christopherk/case-first-tier3-output branch from 13a3d5a to 884eb92 Compare October 29, 2026 22:56
@chrisknvidia
chrisknvidia merged commit 2813968 into main Oct 29, 2026
20 checks passed
@chrisknvidia
chrisknvidia deleted the feat/christopherk/case-first-tier3-output branch October 29, 2026 23:58
chrisknvidia added a commit that referenced this pull request Oct 30, 2026
)

* feat(tier3): case-first CLI summary and case-based report findings
* fix(tier3): show evidence paths with forward slashes on Windows
* fix(tier3): tighten goal-not-met detection and wording

Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
)

* fix(tier3): keep case reports faithful to retained evidence

Signed-off-by: Narendran Raghavan <[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.

2 participants