mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#5243
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/4905
Author: @XiaoBinGan
Created: 11/1/2026
Status: ❌ Closed
Base:
main← Head:fix/test-mac-deepseek-sets-stale📝 Commits (1)
d790642Fix #4904: the Mac DeepSeek check names the four sets now offered there📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
tools/test_strata_mcp.py(+5 -2)📄 Description
## Problem and result
tools/test_strata_mcp.pywas red on unmodifiedmain(c62d5e3a): its Mac DeepSeek check still expected only thetwo IST-DAS sets, while
strata_control/dsv41_fit.pyMAC_SET_PACKhas also offeredUD-IQ1_SandUD-IQ1_Msince2026-10-30 (
MAC_NOT_YETis empty by design — "the Mac gate stays as an empty mechanism", commit33bbbca4;UD-IQ1_Sgot its measured M5 Max line in6a7d7505).This was the only failure in the file on
main(python -m pytest tools/test_strata_mcp.py -q: 1 failed, 51passed), so after the change the file is green:
52 passed.Related discussion
#4904 — the report I opened for the failure, with the same output. A test-expectation fix for an intentional model
list, not a behaviour change; no scope agreement was asked for.
Approach
["IST-DAS-2.00bpw", "IST-DAS-2.25bpw", "UD-IQ1_S", "UD-IQ1_M"]and the test name nolonger says "two sets".
on_this_pcstarts with "runs on this Mac's memory", says "read from the SSD", anddisk_gb > download_gb.The two new sets' words come from
dsv41_fit.MAC_MEASURED_PACK, including UD-IQ1_M's plain "Not run on a Mac yet".MAC_SET_PACK, so a set silently added to or dropped from the Maclist is still a failing test that wants its words checked.
slow here, "can still be installed",catalog.verdictTIGHT/FITS) areuntouched and still pass with four sets.
Validation
Passed:
python -m pytest tools/test_strata_mcp.py -q -k test_deepseek_on_a_macon the branch (Python 3.11.16,Windows 11): 1 passed, 51 deselected.
Passed: the file's full suite on the branch,
python -m pytest tools/test_strata_mcp.py -q: 52 passed(the same command on unmodified
maingives 1 failed, 51 passed).Failed: the same check on unmodified
main(test unchanged): theAssertionErrorabove attools/test_strata_mcp.py:787. That is the A/B: the check follows the data the model list is built from.Not run: a real Apple Silicon Mac. The test mocks the Mac (
sys.platform = "darwin",mac_fit.mac_info) andexercises
Strata.model_table(); the host OS does not take part, which is why it reproduces on Windows.Limits
its Mac words are reviewed, which is the behaviour the check exists for.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.