mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2554] [CLOSED] tests: the golden setup configs name the image encoder as <VEXE>, so they compare on Linux too #4119
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2554
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:chief-serve/golden-vexe📝 Commits (1)
5c56648tests: the golden setup configs name the image encoder as , so they compare on Linux too📊 Changes
2 files changed (+7 additions, -6 deletions)
View changed files
📝
tools/test_setup_golden.json(+5 -5)📝
tools/test_setup_golden.py(+2 -1)📄 Description
Same family as #1935 (setup tests that pass or fail depending on the PC), but not in its list.
What it changes.
tools/test_setup_golden.py'snormalize()takes the engine's platform name out of a config(
<EXE>, #973) but not the image encoder's:setup.VEXEisstrata-vision.exeon Windows andstrata-visionelsewhere. The five Unsloth UD-Q4_K_XL baselines with images were recorded on Windows, so on Linux the test failed
8 checks (
test_yesx5,test_enter_for_every_questionx3:'<T>/engine/strata-vision'!='<T>/engine/strata-vision.exe').normalize()now also turns the encoder's whole name into<VEXE>, with the same whole-name pattern as<EXE>, andthose five baselines say
<T>/engine/<VEXE>.What it leaves alone.
setup.py, and every other baseline value (the diff oftest_setup_golden.jsonis thefive
vision.exelines). The existing pattern's lookarounds are[w.-](a literalw, probably meant as\w);I kept them as they are for both names rather than change what
<EXE>matches.How it was checked. On Linux (Ubuntu, Python 3.14):
python3 tools/test_setup_golden.pyfails 8 onupstream/main, OK with this change.python3 tools/test_setup_golden.py --writeon Linux records a file identicalto the committed one. Windows was not run; with
setup.EXE/setup.VEXEset to the Windows names, a reviewer checkedthat
...\engine\strata-vision.exenormalizes to<T>/engine/<VEXE>and thatstrata.exedoes not match inside it.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.