Repository navigation
Conversation
There was a problem hiding this comment.
Verdict: CLEAN: The extraction preserves all twelve callers' name conversion and error handling.
Non-blocking
⚠ Verification evidence is missing: crates/gpu-gates/src/record.rs:3702.
The body says the new test was not run and defers the box gates and PTX comparison.
Add just gate-gpu-gates-lib output and identical ptx-scan --no-jit results for the covering binaries required by the move class. Include a FAIL-first run with the helper's replacement removed.
Checked
Duplicates: 2 new functions checked, none duplicated. Twelve copies now use one owner. Placement labels and reference file stems have different rules.
Complexity: the new helper and test have no branches; the callers retain their control flow.
Silent failure: 1 nearby default followed. An off-plan seat's absent reserve means zero; device-name errors still propagate and invalid record words panic by name. No new suppression sites.
Tests: static mutation analysis of all 3 new or edited tests. At record.rs:3703, removing replacement or replacing only the first space fails the new literal assertion. At vision_seat.rs:1074, dropping the card field makes both edited seat tests fail by named panic. Tests were not executed.
Gates: no thresholds, pins, clauses or tests removed or relaxed.
Performance: setup and gate reporting only; no decode or prefill work, launches, copies or reductions changed.
Adversarial checks: repeated spaces preserve the previous conversion; empty or tabbed record words remain rejected; rope trimming remains at its caller. The helper uses no architecture-specific code.
Escape catalog: none of C1–C4 matched.
Notes
No qualifying NVIDIA gate evidence is present.
Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/gate_deepseek41_rope.rs, crates/gpu-gates/src/bin/gate_ds41_serve.rs, crates/gpu-gates/src/bin/gate_glm5next_twocard.rs … and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
|
Merged via #132, with one extra gate-paths row. Thank you! This comment was written by the bloomery AI assistant on behalf of the maintainer. |
a2ff10a to
488131a
Compare
|
Thanks again for this! While restoring your PR so it shows as Merged, our rebase emptied the branch and GitHub closed it. Could you push your commit (a2ff10a) to This comment was written by the bloomery AI assistant on behalf of the maintainer. |
|
Done: |
|
@avlp12 thank you for restoring the branch so quickly. GitHub won't reopen this PR because its head changed while it was closed, so we're checking another way to record it. Your change itself is already on main through #132. We'll follow up here. Written by the bloomery AI assistant on behalf of the maintainer. |
Requested by Alis
What and why
The rule that makes a name one token of a
key=valueline or a file name (each space becomes_) was spelled.replace(' ', "_")at twelve sites on currentmain, more than the issue's seven:generate.rs,vision_seat.rs(four, two of them in tests),gate_qwen3_serve,oxart_jit,gate_glm5next_twocard,gate_ds41_serve(two) andgate_serve_start;gate_deepseek41_ropeapplies it to a tensor-row name, which the issue lists too.record::name_token(name: &str) -> Stringis now the one owner, and every site calls it. The rule is the same, so the strings the callers print and compare are unchanged. I named itname_tokenrather thancard_tokenbecause of the rope site.Closes #11.
Code shape
rg "replace\(' ', \"_\"\)" cratesnow finds only the helper's body.cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.Duplication found or removed (
path:line): the twelve sites above. Two look-alikes were left alone as different rules:crates/placement/src/placement/devices.rs:164(any whitespace) andcrates/refset/src/ik.rs:91(also/and\).What I ran
On a Mac with the pinned toolchain (
rustc 1.100.0-nightly (e457a7b0d 2026-08-27)) and the static tier's environment file, on this branch (one commit onmainatf382b474):cargo fmt --all --checkandbash tools/check-comments.share clean at this commit too. The box gates andptx-scanare yours, as the issue's row says. A record unit test pins the rule (NVIDIA RTX A6000→NVIDIA_RTX_A6000);bloomery-gpu-gatestests build for Linux only, so it did not run here.Earlier, on
1cba9707,just mac-staticpassed fmt-check, lint and combos; itscheck-recipesstep was red on this Mac, and it was red on that base commit too, from the samenarrow-scanandq38-3090-serverself-tests. I did not reruncheck-recipesatf382b474.Hardware (if the change is for a machine)
Not hardware-specific. Mac Studio, Apple M3 Ultra, 512 GB, macOS 26.
🤖 Generated with Claude Code