[GH-ISSUE #973] Golden drift: all 46 test_enter_for_every_question subtests fail on main (tools/test_setup_golden.py) #426

Closed
opened 2026-11-04 01:42:57 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @AmjedMVP on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/973

Summary

On a fresh clone of main (6f32ec0), tools/test_setup_golden.py fails 46 of 46 subtest cases of test_enter_for_every_question: the configs captured from setup.py drift from tools/test_setup_golden.json.

Environment

  • Ubuntu 26.04 LTS (WSL2), x86_64, Python 3.14.4
  • Fresh git clone --depth 1 of main @ 6f32ec0, .venv + pip install -r requirements.txt
  • GPU-free paths only (these tests don't touch the engine)

Reproduce

python3 -m unittest tools/test_setup_golden.py -v

Result: Ran 4 tests ... FAILED (failures=46) — all in test_enter_for_every_question.

Representative diff (from a [64GB-1x32GB qwen recommended] subtest):

AssertionError: {'exe': '<T>/engine/<EXE>', 'args': ['--pack', '<T>/data/packs/iq3_xxs... (645 chars) ...True} != {'args': ['--pack', '<T>/data/packs/iq3_xxs... (646 chars) ...zer'}

Affected subtest labels seen in the log: [64GB-1x32GB qwen recommended|Q2_0|IQ3_XXS|IQ3_S|unsloth UD-Q4_K_XL], [32GB-2x24GB qwen recommended|Q2_0|IQ3_XXS] and the rest of the matrix (46 total).

Full run log available on request (all 30 tools/ + serve/ suites: 526 tests, 476 passed, 49 failed, 1 error on this commit — golden is the bulk of the failures).

Interpretation

Either the golden JSON is stale after a recent arg-generation change, or a regression landed in the arg builder. Since every matrix cell fails, a systematic change (flag rename/reorder/addition) rather than per-model drift looks likely. Happy to run with a golden refresh locally to confirm which side moved if that helps.

Originally created by @AmjedMVP on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/973 ## Summary On a fresh clone of `main` (6f32ec0), `tools/test_setup_golden.py` fails **46 of 46** subtest cases of `test_enter_for_every_question`: the configs captured from `setup.py` drift from `tools/test_setup_golden.json`. ## Environment - Ubuntu 26.04 LTS (WSL2), x86_64, Python 3.14.4 - Fresh `git clone --depth 1` of main @ `6f32ec0`, `.venv` + `pip install -r requirements.txt` - GPU-free paths only (these tests don't touch the engine) ## Reproduce ```sh python3 -m unittest tools/test_setup_golden.py -v ``` Result: `Ran 4 tests ... FAILED (failures=46)` — all in `test_enter_for_every_question`. Representative diff (from a `[64GB-1x32GB qwen recommended]` subtest): ``` AssertionError: {'exe': '<T>/engine/<EXE>', 'args': ['--pack', '<T>/data/packs/iq3_xxs... (645 chars) ...True} != {'args': ['--pack', '<T>/data/packs/iq3_xxs... (646 chars) ...zer'} ``` Affected subtest labels seen in the log: `[64GB-1x32GB qwen recommended|Q2_0|IQ3_XXS|IQ3_S|unsloth UD-Q4_K_XL]`, `[32GB-2x24GB qwen recommended|Q2_0|IQ3_XXS]` and the rest of the matrix (46 total). Full run log available on request (all 30 `tools/` + `serve/` suites: 526 tests, 476 passed, 49 failed, 1 error on this commit — golden is the bulk of the failures). ## Interpretation Either the golden JSON is stale after a recent arg-generation change, or a regression landed in the arg builder. Since every matrix cell fails, a systematic change (flag rename/reorder/addition) rather than per-model drift looks likely. Happy to run with a golden refresh locally to confirm which side moved if that helps.
Author
Owner

@Niko1221 commented on GitHub (Oct 6, 2026):

Fixed in 0.1.40 (test only): the golden compare rewrote the engine's name on Linux, where it is plain strata, inside strata-<model>.log too, so every Enter-for-every-question case differed from the baseline. It now replaces only the whole name. Setup's output was not wrong.

<!-- gh-comment-id:6010942019 --> @Niko1221 commented on GitHub (Oct 6, 2026): Fixed in 0.1.40 (test only): the golden compare rewrote the engine's name on Linux, where it is plain `strata`, inside `strata-<model>.log` too, so every Enter-for-every-question case differed from the baseline. It now replaces only the whole name. Setup's output was not wrong.
Author
Owner

@AmjedMVP commented on GitHub (Oct 6, 2026):

Confirmed fixed — reran tools/test_setup_golden.py on 82f46a8 (WSL2 Ubuntu 26.04, Python 3.14.4): Ran 4 tests ... OK. The whole explanation (Linux engine name rewriting inside the log-name replace) matches what we saw — thanks for the quick turnaround.

<!-- gh-comment-id:6014889776 --> @AmjedMVP commented on GitHub (Oct 6, 2026): Confirmed fixed — reran `tools/test_setup_golden.py` on `82f46a8` (WSL2 Ubuntu 26.04, Python 3.14.4): `Ran 4 tests ... OK`. The whole explanation (Linux engine name rewriting inside the log-name replace) matches what we saw — thanks for the quick turnaround.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#426
No description provided.