Repository navigation
feat(tier3): case-first CLI summary and case-based report findings - #255
Conversation
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]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
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]>
13a3d5a to
884eb92
Compare
) * 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]>
) * fix(tier3): keep case reports faithful to retained evidence Signed-off-by: Narendran Raghavan <[email protected]>
Summary
tier3 evaluateoutput 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 andreport.htmlcase-first.CLI
skill helps/skill hurts/mixed/no clear effect/inconclusive) and one row perevals.jsoncase, 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).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 towhat_to_fix.json, and the CLI prints "nothing to fix" when the list is empty.goal not metflags with-skill attempts that pass on aggregate score while goal accuracy is 0.00 (for example, the agent only asked for details).--verboseflag.report.html (same layout, colors and sections; data only)
what_to_fix.jsonfixes, or "Nothing to fix".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
make lintmake test(15,626 passed; the 4 failures are environment-specific same-inode mtime and PR-merge-ref tests that also fail onmain)make buildRelease Impact
CHANGELOG.md