Repository navigation
Validate MTP artifact and performance evidence from exact inputs - #956
Gajesh2007 wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Fixed canonical package discovery in 7d4f63a after independent integration review caught the new fixture import. The exact make benchmark-wrapper-test now passes: 65 Gemma tests + 11 MTP tests on pinned Python 3.12. Production source remains 9cf1d20. This supersedes the earlier directory-only test proof; no native model execution. |
|
@codex review Please review the current head. Earlier requests reached the review quota; reviews are now completing again. The fixes and scoped validation are recorded in the PR description. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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. |
|
Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head |
A changing
config.jsoncould give an MTP artifact receipt the hash of one payload and quantization metadata from another. Production reports also accepted malformed elapsed/aggregate throughput values such as booleans, negative numbers and nonfinite floats. These cases could misrepresent benchmark evidence.Read the bounded config payload once and derive its size, SHA256 and parsed metadata from those bytes. Require production elapsed time and aggregate throughput to be finite, nonnegative numbers. Zero remains valid for a stream with no decode intervals; no speedup threshold, model default, report schema or native measurement formula changes.
Stacked on #901 so the fix uses the separated artifact/report modules. The process-group supervisor and runtime approvals remain unchanged.
flowchart TB subgraph Before A[artifact_facts] --> B[Hash config through one read] B --> C[Reopen and parse config] C --> D[Replacement can mismatch hash and metadata] E[validate_report] --> F[Check elapsed type and throughput presence] F --> G[Malformed measurements can pass] end subgraph After H[artifact_facts] --> I[One bounded config payload] I --> J[Size SHA256 and metadata from same bytes] K[validate_report] --> L[nonnegative_finite_number] L --> M[Malformed measurements refused] L --> N[Zero and finite numeric measurements retained] endValidation: new CPU fixtures produce 18 failures on the unchanged #901 source (one deterministic config mutation and 17 accepted malformed metrics). The exact canonical
make benchmark-wrapper-testpasses (65 Gemma + 11 MTP CPU tests), after correcting the fixture import for package discovery; including unchanged raw-parity, expected-inactive and production matrix contracts. Sixty-four stable synthetic artifact receipts match baseline exactly, including JSON key order. Docs lint passes for 278 files. No Swift, real model, signing or native benchmark was executed; this is evidence validation, not a new performance claim.