You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eb0e38b
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
- canonicalize only the MiniCPM oracle generator source as explicit
UTF-8 with LF line endings before computing `generator_sha256`
- render, write, and `--check` the oracle fixture as exact UTF-8/LF
bytes
- pin the committed MiniCPM oracle fixture to LF in Git so Windows clean
checkouts remain byte-canonical
- add network-free LF/CRLF regression coverage without changing
tokenizer semantics, pinned evidence, or expected result hashes
## Root cause
PR #660 hashed `Path(__file__).read_bytes()`, so Git CRLF conversion
changed the generator identity on Windows. Its text-mode fixture
write/check boundary also allowed platform newline translation and
universal-newline comparisons rather than enforcing one canonical
artifact.
## Validation
- `python -m pytest tests/generate_minicpm_tokenizer_oracle_test.py
src/mobius/integrations/gguf/_tokenizer_evidence_test.py -q --tb=short`
— 32 passed
- `python -m pytest tests/build_graph_test.py tests/cli_test.py src/ -q
-k "not phi4mm and not apply_weights_unknown" --tb=short` — 8,616
passed, 63 skipped, 12 deselected, 1 subtest passed
- `lintrunner f --output oneline --all-files` — passed
- independent GPT-5.6 Sol medium review — one Windows checkout finding
fixed by pinning the fixture `eol=lf`; affected gates rerun successfully
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: efad223f-3973-40c7-b001-e292e139f0bf
0 commit comments