Skip to content

fix: rerun only failed Codex MCP benchmark cases - #326

Open
seyoung4503 wants to merge 1 commit into
experiment/mcp-evidence-reviewfrom
fix/codex-failed-case-selection
Open

seyoung4503 wants to merge 1 commit into
experiment/mcp-evidence-reviewfrom
fix/codex-failed-case-selection

Conversation

@seyoung4503

Copy link
Copy Markdown
Collaborator

Repeated repair experiments were replaying already correct development cases. Add --failures-from to the existing Codex MCP runner so a completed, fully graded source run selects only its failed cases. Missing/duplicate grades, changed input cases, and incomplete runs fail before any model call. Zero failures makes no model calls. Selection grades never enter model prompts; settings preserve the source and score hash. Official grading remains unchanged.

Validation: 260 passed, 1 skipped in the root test suite; Ruff and diff checks pass. The actual preceding run selects BIRD bird146 and the remaining nine Spider cases, excluding repaired local041. This changes experiment selection, not SQL accuracy. Report repair rates separately from full benchmark accuracy. Stacked on #325; no merge requested.

Reused the existing manifest validation, JSON writer, official score files and CLI runner. One new concept/function: failed-case selection; +79 lines including tests/docs. No CODE MAP generator exists in this repository.

Principle Result Evidence
Reuse O Existing runner and score format; one selector
Cause O Exclude already correct cases and reject incomplete grading
Logging O Selection source/count and zero-call completion logged
Errors O Invalid source raises before inference; no fallback
Environment N/A Existing CLI config, no environment reads added
Comments O No issue-number comments
Verification O 260 passed, 1 skipped; Ruff/diff clean
Authorization O Branch and PR only, no merge
Call path O CLI -> split -> failure selection -> existing case runner
Sync/async O Local input parsing before subprocess work; no duplicate execution loop
Configuration O New source-path CLI input; no model/timeout constants or deployment changes

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