Repository navigation
feat(compare): compare multiple offline runs with HTML and Markdown reports - #353
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
JHWang-1997
left a comment
There was a problem hiding this comment.
Reviewed HEAD babe52d. Full go test -race ./... passes on macOS arm64 / Go 1.26.5, and CI, Extended CI, CodeQL, and Docs checks are successful. One remaining HTML comparison issue is reproduced in the inline comment: the cross-run case viewer drops the post-condition grading/evidence that the normal viewer synthesizes for a multi-turn case that failed before judging. Please preserve that fallback in the pair viewer and add regression coverage.
JHWang-1997
left a comment
There was a problem hiding this comment.
LGTM. Re-reviewed the latest changes and verified that the previous cross-run grading issue is fixed: both comparison columns now preserve failed/error turn reasons when grading and judge_results are absent, with escaping and existing grading precedence retained.
The focused compare, CLI, and report race tests passed, including execution of the actual pair-view JavaScript regression covering both side orders and missing cases. I also checked primary-case selection, gate behavior, missing measurements, and source-file overwrite protection. Current CI and extended checks are passing; no new blocking findings.
Summary
Add
skill-up compare <result.json> <result.json>...to review two or more completed evaluations without running an Agent or Judge. Export HTML, Markdown, text, or JSON. HTML extends the existing report with a cross-file overview and interactive selection of any two results; the original single-run and with/without-Skill report output remains unchanged.Related issues
Closes #175. Related to #349.
Changes
with_skill, otherwise a non-baseline configuration, falling back towithout_skillonly when nothing else is available. Document this rule and expose configuration identity.Test plan
make verifypasses, including full lint and commit-hook checks.make test: all packages pass except the existinginternal/runtimetestTestNoneRuntime_ExecStaleLockDoesNotHangNextCommand(none_test.go:491, stale child reportsALIVE). Reproduced from an unmodified archive of base commit99894b3.Notes for reviewers
The pairwise comparison core builds on the unmerged implementation in #183. HTML pre-renders ordered pair summaries with the Go comparison engine, so summary size grows quadratically with input count; original-run details and canonical primary-case snapshots are embedded once per input. Cross-file case details are read-only; normal comparison-mode run feedback is isolated per run and exported locally.
Run IDs are positional within an invocation. Run-level total tokens include all configurations; input/output tokens and pass rates use primary cases. Aggregate deltas include each run's full case set; only shared case IDs are classified as fixed or regressed. Missing suite, Skill revision, or judge/rubric provenance remains unknown.