Repository navigation
Modularize MTP benchmark orchestration and report validation - #901
Gajesh2007 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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. |
|
Final validation for
Individual validation details and limitations are in each PR description, including the dedicated-M5 provider/live GPT-OSS checks and the unchanged baseline TypeScript diagnostics in #899. No merge or deployment was performed. |
121b708 to
d9f7ad0
Compare
|
Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head |
The MTP benchmark launcher mixed cache discovery, artifact fingerprints, output safety, report validation, process supervision and CLI handling in 1,622 lines. Split those responsibilities into focused
scripts/mtp_benchmarkmodules, retain the original launcher and helper imports, and consolidate repeated fixed/adaptive MTP evidence checks without changing refusal order or messages.The entry point is now 429 lines. Total production Python grows by 76 lines for module imports and compatibility exports; the reduction is in duplicate validation/control flow and the size of the entry point. Artifact identities, no-download policy, process-group deadlines, output-directory protections, worker flags, schema, printed receipts and return codes are preserved.
Before
After
Validation: 73 wrapper tests pass (65 existing, 8 new); the new 8 pass against both original and refactored code; 1,000 extra report mutations agree exactly. Both CLI self-tests pass; docs lint passes 278 files. No model/GPU process was run. Based on
master; the follow-up malformed-evidence fixes are isolated in #956.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.