Repository navigation
fix(report): disclose recovered agent judge calls - #332
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8c3f5b75c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
zpzjzj
left a comment
There was a problem hiding this comment.
The implementation addresses #321: recovery metadata survives the single-judge report path and grouped judge outcomes, while grading.json stays unchanged and provider error text is not serialized. Local go test -race ./internal/judge ./internal/report ./internal/runner ./internal/evaluator passed. Additional temporary checks for recovered correction calls and healthy correction calls also passed.
Please address the CI blocker before merging. I also recommend adding the correction-path assertions below to the permanent regression coverage. The earlier changelog feedback has already been addressed in this head.
|
Thanks — addressed in
The earlier changelog feedback remains included. Please let me know if you would like any further adjustments. |
6715808 to
1c263fe
Compare
1c263fe to
4be10ec
Compare
|
Rebased onto the current |
Summary
judge_recoverymarker inreport.jsonwhenagent_judgeaccepts a valid final message after an agent-call erroragent_call_errorandcorrection_call_errorwithout serializing provider error textgrading.jsonunchangedValidation
go test ./internal/judge ./internal/report -count=1go test ./internal/evaluator -run TestMultiJudge -count=1go test ./internal/judge ./internal/report ./internal/runner ./internal/evaluator -run 'Test(AgentJudge_RecoversTimedOutSessionWithValidJSON|JSONReporter_RecordsRecoveredJudgeCall|GroupedEvaluationReportsKeepJudgeIdentity|BuildReportInput_RecordsRecoveredJudgeCall|MultiJudgeRecordsRecoveredAgentJudgeCall)$' -count=1go vet ./internal/judge ./internal/report ./internal/runner ./internal/evaluatorgit diff --checkgo test -racecould not run in this Windows environment becauseCGO_ENABLEDis disabled. The full./internal/runnersuite also has an existing Windows symlink-permission prerequisite failure (A required privilege is not held by the client); the targeted runner regression passes.Related to #321.
Slai Agent Runtime assisted with investigation, implementation, and testing. The account owner reviewed and authorized this contribution.