[codex] Add Mersenne31 regression tests for PR 257 - #2
Draft
adrienlacombe wants to merge 10 commits into
Draft
Conversation
Co-authored-by: Valerii Huhnin <olympichek1@gmail.com>
Build Timing Report
Incremental Rebuild Signal
This compares a clean project build against an incremental rebuild in the same CI job; it is a lightweight variability signal, not a full cross-run benchmark. Slowest Current Clean-Build FilesShowing 20 slowest current targets, with comparison against the selected baseline when available.
|
* ci: update PR summary workflow to OpenRouter interface The lean-summary-workflow action is now a single OpenRouter-backed gateway. Update summary.yml inputs: api_key takes the OpenRouter key (secrets.OPENROUTER_KEY), drop the removed `provider` input, use an OpenRouter model slug, rename style_guide_path -> additional_instructions_path, and add contents:read for the action's checkout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * ci: standardize deployment (inherit default model, add upstream_path/reopened/timeout) Omit `model` so the workflow inherits the action's default (deepseek/deepseek-v4-flash) — the fleet model can then be changed in one place. Also add the `reopened` trigger, a job timeout, and (where applicable) upstream_path for upstream-bound directories. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ecoding (Verified-zkEVM#267) Co-authored-by: Abraxas1010 <rgoodman@apoth3osis.io>
…M#268) Combine `decode_eq_none` and `decode_none_farness` into a single outcome characterization `decode_eq_none_iff`: the decoder returns `none` iff the received word is beyond the guaranteed radius ⌊(n-k)/2⌋ of every codeword. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Add guards for positive subtraction, negation, square, power edge cases, division, inverse products, int powers, and ringEquiv on multiplication. Use a flat Mersenne31.Fast namespace consistent with KoalaBear.Fast tests. Co-authored-by: Cursor <cursoragent@cursor.com>
adrienlacombe
force-pushed
the
feat/pr257-mersenne31-tests
branch
from
July 20, 2026 09:47
6e4f165 to
51a0180
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a small regression-test layer on top of Verified-zkEVM#257's Mersenne31 implementation.
Changes
CompPolyTests.Fields.Mersenne31.Mersenne31.Basicprime, field, andNonBinaryFieldinstances.Mersenne31.Fastfield surface and representative/canonical conversion behavior for a few arithmetic paths.CompPolyTests.Validation
lake build CompPolyTests.Fields.Mersenne31lake build CompPolyTests./scripts/lint-style.py tests/CompPolyTests/Fields/Mersenne31.lean./scripts/lint-style.sh./scripts/check-imports.shlake test