Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
docs(contributors): #1308, #1460, #1461, #1168, #1366, #1462, #1463, #1364, #1492, #1493, #1489, #1416, #1484, #1490, #1479, #1485, #1495
Alpamysd70398d5113b
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 6bca28d1..5a1ced0a 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -198,6 +198,8 @@ Listed by first contribution. PR numbers link the work.- `soup migrate` dropped the quantization key for unquantized sources and wrote nothing for full fine-tunes, so axolotl, LLaMA-Factory and Unsloth configs silently became 4-bit LoRA runs on load. They made all three migrators write quantization explicitly: HQQ/EETQ mapped, Unsloth's own precedence and notebook variables resolved, and a full fine-tune written as `lora.r: 0` or refused by task name. `soup migrate` now validates before writing. The review rounds added a receiver-qualified exception to the #748 guard instead of deleting its entry, a LoRA fallback for `llama-adapter`, HQQ 5/6-bit, and source-order variable resolution. Six mutations that survived gained tests, and a clash with #1254's import landed a one-line fix. 275 passed, 0 failed across 9 migrate files; 16 of 18 mutations caught ([#1215](https://github.com/MakazhanAlpamys/Soup/issues/1215), [#1302](https://github.com/MakazhanAlpamys/Soup/pull/1302))- Every DPO, IPO and `preference` run that set `dpo_beta_schedule` or `dpo_ref_regen_epochs` crashed at step 0. Both callbacks were plain classes, and transformers' `CallbackHandler` calls every event on every callback with no `hasattr` guard. They rebuilt both on the lazily resolved `TrainerCallback`, with the PEP 562 pattern of `lisa.py`, so the module still imports no torch. They also fixed the third bare callback the issue named. Their real CPU DPO `train()` tests assert the β trl uses after the first optimizer step, not just that the run finishes. `dpo_ref_regen_epochs` could never regenerate the reference: with LoRA there is no separate reference model, and `lora.r: 0` fails in peft. It is now refused at load in every case until [#1345](https://github.com/MakazhanAlpamys/Soup/issues/1345) wires it. 10 of 11 mutations fail tests ([#1229](https://github.com/MakazhanAlpamys/Soup/issues/1229), [#1294](https://github.com/MakazhanAlpamys/Soup/pull/1294))- `soup train --resume` on `task: prm` and `task: moe_lora_routing` announced the checkpoint, then retrained from step 0 and rewrote it: both wrappers dropped `resume_from_checkpoint`, and MoLE's periodic checkpoints held no trained gate. They forwarded it in both, saved `mole_gate.pt` into every `checkpoint-N`, restored it on resume with the base and task adapters re-frozen, refused resume on `task: unlearn`, and added a scan that fails when any trainer wrapper accepts the checkpoint without passing it on. **Four rounds, and the last one made two fixes pin each other**: every copy of the gate now goes through one fp32 save shared with #1312, and a recording test fails if a checkpoint copy skips it. 6 new tests, all failing on `main`; 13 of 13 mutations fail a test; on the final `main` the PR still merges clean and 2446 tests across 57 related files pass ([#1220](https://github.com/MakazhanAlpamys/Soup/issues/1220), [#1303](https://github.com/MakazhanAlpamys/Soup/pull/1303))+ - Wrote the recipe size ratchet for #1161: `glm-4.6-sft` was labelled 9B on a 357B base and nothing compared a recipe's label with its base, so they recorded the Hub's parameter count per base (anonymously, with a reason when there is none) and made the test compare every label inside 0.70x to 1.15x. **The part worth copying is how the first version failed and what replaced it**: its kill test did arithmetic on hard-coded constants and its check `continue`d when a base had no count, so putting the GLM-4.6 label back left every test green; the final version names any recipe whose base has no count unless it is excluded with a reason, and the kill tests run the real check over `dataclasses.replace()` of the live catalog. Dropping the `continue` is also what surfaced the labels nobody had listed: the four Llama 4 Scout recipes (17B active against 109B total, hidden behind eighteen "gated" exclusions because `model_info` answers without a token), `deepseek-v3-7b-sft` (7B on a 685B base) and `voxtral-sft`. Four rounds, rebased over #1132, #1112 and #1113; the last one was the test's own "an exclusion must still be used" check going red on the `spark-tts` removal. 203 tests in the directly affected files and 4284 passed / 1 skipped across 39 recipe-touching files on the merged tree; 12 of 13 mutations caught (the survivor is the offline record script's failure branch); regenerating the fixture changes nothing ([#1161](https://github.com/MakazhanAlpamys/Soup/issues/1161), [#1168](https://github.com/MakazhanAlpamys/Soup/pull/1168))+ - `soup mcp serve` planned a run by copying the config to `.soup/mcp-runs/<run_id>/config.yaml` through whatever `.soup` and `.soup/mcp-runs` resolved to, so a directory symlink or junction at either level redirected the plan-time write, and on `main` even a junction to a directory outside the working directory got directories created in it before a bare `ValueError` surfaced. They took the follow-up their own #1171 had left, calling the same `refuse_linked_dirs` helper before the `mkdir` and refusing the plan with a path-free error. The six tests cover a symlink and a real junction at both levels, each directly and through the `train_start` handler (5 of 6 fail on `main`); mutations of the call fail 5 of 6, checking `.soup` only fails the 2 `mcp-runs` tests, and dropping the helper's reparse-point branch fails the 2 junction tests ([#1211](https://github.com/MakazhanAlpamys/Soup/issues/1211), [#1492](https://github.com/MakazhanAlpamys/Soup/pull/1492))- **AmixDigital** ([@Amix29](https://github.com/Amix29))- Gave `soup monitor` a real Apple Silicon path, where it had reported nothing but an NVIDIA-shaped blank since v0.44.1. The security work is the part worth naming: fixed absolute executable paths so `PATH` cannot influence what runs, `sudo -n` that never prompts and never reads a password, stderr pattern-matched for permission markers but never printed, and a parser that returns `[]` against a billion-laughs entity bomb, an XXE `file:///` reference, 5,000-deep nesting and embedded NUL bytes. **Three guards had no test holding them up and they closed all three in twenty minutes** — most importantly the call site that decides which implementation every Linux and Windows user gets, where `if True or detect_apple_silicon()` had left 126 tests passing. Their oversize-payload test had also been asserting on `b"x" * (CAP + 1)`, which is not a valid plist and returns `[]` whether the cap exists or not; they rebuilt it around a valid oversized document. The test file shrank by 18 lines and **every deletion was an upgrade** — membership assertions became adjacency assertions. Asked to confirm the live plist schema, they said plainly that the Mac is not theirs and they cannot authenticate `sudo`, rather than guessing — while confirming the two things they could check against the real binary ([#481](https://github.com/MakazhanAlpamys/Soup/pull/481))@@ -330,6 +332,8 @@ Listed by first contribution. PR numbers link the work.- The `moe_lora` + `backend: unsloth` refusal gave one reason on every task, and it was false on the ten tasks with no unsloth setup; it also fired before the refusals that hold on every backend, so `asr`, `prm`, `moe_lora_routing` and SFT vision/audio were sent to `transformers` only to be refused again. They measured the task list from the wrapper classes rather than trusting the issue's seven, split the reason by a ratchet-checked `UNSLOTH_SETUP_TASKS`, and reordered the checks so each of those configs gets one refusal on every backend. A 936-config grid shows nothing newly refused (305 load on both sides); 135 tests pass on the merged head, 35 of the 72 new ones fail on `main`, and 12 of 12 source mutations are killed ([#1264](https://github.com/MakazhanAlpamys/Soup/issues/1264), [#1323](https://github.com/MakazhanAlpamys/Soup/pull/1323))- `backend: unsloth` loaded on seven tasks whose trainers have no unsloth setup (`reward_model`, `prm`, the classifier family, `unlearn`, `moe_lora_routing`). The run trained on plain transformers under an "unsloth (fast mode)" banner, and `soup doctor --config` called the config clean. They refused it at load with one check keyed on #1323's ratchet-checked `UNSLOTH_SETUP_TASKS`. It sits last, so the refusals that hold on every backend still come first, and the fragment states the breaking change together with its one-line fix. **Review's catch was about order**: on six tasks `unsloth_bnb_4bit` got in ahead of the refusal with "got quantization='none'", a value the user never wrote, because the #795 resolver had already rewritten it. The fix went in within about half an hour, and so did a second class closing a gap in the review's own test. Each time they re-ran the review's key mutation before replying. They also took the optional structural test that forces any later every-backend check above theirs. When #1313 then landed in the same spot, they rebased with that check first and theirs last, exactly as asked: rebuilding the resolution from the approved head gave their file byte for byte. On the final head, merged with `main`, 341 tests pass across the file, #1264, `test_v0530` and #748, and 282 across the file, #1223's three and #795's. 23 of the file's 64 tests fail on `main` with every control passing, all 202 shipped configs load, and 23 of 23 source mutations fail a test ([#1357](https://github.com/MakazhanAlpamys/Soup/issues/1357), [#1372](https://github.com/MakazhanAlpamys/Soup/pull/1372))- Added the CI ratchet that #1116's second half asked for. `scripts/check_recipe_attach.py` runs `soup recipes verify --json` over every shipped recipe, template and example and fails only on a change: a new config that cannot attach, a pinned one that now attaches, or a pinned one that vanishes from verify's output, against 20 exceptions each pinned with a reason. As ruled, it runs anonymously on pull requests and with `HF_TOKEN` only on push to `main`, is never a required check, and reports what it could not cover by reason (50 gated, 12 remote code, 7 unreadable), so a token-less green is not read as full coverage. **The rule worth copying is `not_reported`**: they added it test-first after their own review showed that a pinned config which stopped parsing would silently leave the list while the run stayed green, and it is what names `minimax-m3-dpo` once #1398 removes it. Review found that this rule had made the new-failure tests red for the wrong reason, and that the push trigger predated #1374's shared group for `main`; both fixes and every optional point landed in one push, with mutation counts that matched the review's exactly. On the final head merged with `main`, 18 tests pass, 13 of 14 source mutations fail a test and the 14th is caught by the live run, and actionlint is clean ([#1116](https://github.com/MakazhanAlpamys/Soup/issues/1116), [#1388](https://github.com/MakazhanAlpamys/Soup/pull/1388))+ - `soup expect` silently ran an expectation on its defaults when the suite put `max_tokens` beside `name` (the `docs/compliance.md` example itself) or misspelled an argument, so a 5000-token row passed a 512-token gate with exit 0; they declared each expectation's arguments in one table that also drives the allowlist and the dispatcher, refused stray keys and unknown arguments at load with a pointed hint and a `difflib` suggestion (exit 3, before the data is read), validated bounds and threshold at parse time, moved the docs example to `args:`, and wrote a test that runs the YAML block read out of `docs/compliance.md` on a 5000-token row. 21 new tests (14 fail on the previous tree), every mutation of the fix plus the docs revert killed ([#1428](https://github.com/MakazhanAlpamys/Soup/issues/1428), [#1461](https://github.com/MakazhanAlpamys/Soup/pull/1461))+ - A dead LLM judge was scored as a tie: `compare_pair` mapped every exception to "no winner", so `soup ship --task-mode pairwise` reported a measured 0.5 win-rate and DON'T SHIP with the judge down, `soup eval judge` aborted on the first transport error and lost the rows already scored, and nothing retried. They put every judge request behind one bounded retry helper that raises `JudgeUnavailableError` naming the judge, kept the Online DPO adapter on its own unranked-pair path with a test, and made the gate log say "could not be scored" instead of "regressed". **What is worth copying is how they took review**: three holes in their own design (a `Retry-After: nan` that reached `time.sleep`, the judge URL's userinfo and `?api_key=` printed into errors and logs, a `DecodingError` that still aborted a run) were fixed in one push, each with the test that fails without it and a mutation that turns it red; the four mutations that had survived round one were all pinned with absolute bounds rather than bounds derived from the constants they bound. 45 new tests (40 fail on `main`); 17 of 19 re-review mutations caught, the two survivors being an unpinned fallback and an unreachable branch; 470 related tests passed ([#1447](https://github.com/MakazhanAlpamys/Soup/issues/1447), [#1484](https://github.com/MakazhanAlpamys/Soup/pull/1484))- **Sohaib Kamash** ([@Nick-800](https://github.com/Nick-800))- Added seven validated Qwen2.5-Coder, Qwen2.5-Math, and DeepSeek-R1-Distill-Qwen SFT recipes; synchronized all catalog-count sites and repaired the Mistral Small model identifier. Literal repository IDs and per-recipe learning rates are now load-bearing assertions ([#536](https://github.com/MakazhanAlpamys/Soup/pull/536)).@@ -371,6 +375,7 @@ Listed by first contribution. PR numbers link the work.- Published the measurement harness behind the layer-streaming NF4 cost record, which until now could not be reproduced by anyone - including by us. **The property that earned the merge is that it REFUSES rather than guesses**: on a model too small to exhibit the mechanism it exits 1 saying the control never reproduced a gradient mismatch, instead of printing a cost for something it did not observe. Two rounds, and the second turned `--self-test` from a check that declared PASS on ANY exception into a real negative acceptance test - it now catches the PRODUCTION assertion in `layer_stream_runtime.py` being neutered while the harness itself is untouched, which is the stronger of the two directions. The unverifiable half is stated in the record rather than omitted: the ~20 GiB figure is the original record's, because the timing path needs a 32B checkpoint and more VRAM than the review box has ([#379](https://github.com/MakazhanAlpamys/Soup/issues/379), [#1121](https://github.com/MakazhanAlpamys/Soup/pull/1121))- Answered #829, the defect that the GPU panel printed only a name and a size while a torch build that could not run the card still read "available": `soup doctor` now shows `sm_120 (Blackwell)`, a red line with the wheel hint when `get_arch_list()` does not cover the card (same-major later-minor SASS, `a`-suffixed targets exact-only, PTX fallback), and a Precision features block for BF16 / FP8 / NVFP4. **What earned the merge is that they made disagreement impossible rather than testing it**: the NVFP4 software row calls an `is_nvfp4_software_supported()` that resolves the same torchao classes `apply_nvfp4` does, and the last blocker (#829's own text named `torch.cuda.is_bf16_supported()`, which answers yes on a T4 through emulation) was closed by delegating to `cuda_supports_bf16()`, the gate every trainer uses, with a T4 test that fails against the old call. Review on real hardware: sm_120 output matched `nvidia-smi` row by row, six mutations killed, 59 passed on the merged tree ([#829](https://github.com/MakazhanAlpamys/Soup/issues/829), [#947](https://github.com/MakazhanAlpamys/Soup/pull/947))- Published the STEP 2b GRADDIFF measurement, the two-line result that started the 32B investigation (gradients match after one backward, yet the curves do not reproduce themselves). The bar for a reconstruction is that it can say no, and the review rounds were about exactly that: the success condition demanded a resident curve the record had printed as non-identical, the success branch could not be reached at any commit because every tree that can import the harness already carries the #331 repair, a NaN streamed curve counted as the defect, and eight mutations of the verdict left `--self-test` green. **What they did with it**: imported the historical control from `mechanism_cost` and restored it in a `finally`, made NaN an invalid measurement with its own exit code, stated the departures from the record (fresh adapter and optimizer per curve; the record never explains its C = False) as differences rather than causes, and took the maintainer's guard tests in as their own file — all seven mutations that still survived the second review are now killed. 33 CPU tests drive the real `main()` and `run_measurement()`; 19 of 26 mutations of the harness fail them and the 7 survivors are non-verdict guards that are named, not hidden. They said plainly that the CUDA path needs a 32B checkpoint they did not have ([#379](https://github.com/MakazhanAlpamys/Soup/issues/379), [#1170](https://github.com/MakazhanAlpamys/Soup/pull/1170))+ - Brought the "Reproducing" section of `gate-h100-validation.md` in line with the harnesses that are now published: it said no script was in the repo and linked none, so a reader following the record was told there was nothing to run. **They re-synced it the same day `graddiff.py` merged and made their own note stale**, which is the discipline that keeps a dated correction true. Each of the three reconstructions is labelled as one, the unpublished rows still point at #379, and every other cell is left as the record had it. Checked by a 19-check script (19/19, fails on `main`), 11 mutations of the section (11 killed) and 104 resolving links ([#1348](https://github.com/MakazhanAlpamys/Soup/issues/1348), [#1364](https://github.com/MakazhanAlpamys/Soup/pull/1364))- **chadetov** ([@chadetov](https://github.com/chadetov))- First contribution, and it is the kind that is easy to file as a one-line fixture tweak and much harder to *diagnose*: `test_sft_smoke` had been red since v0.36.0, and they traced why nobody knew. `pyproject`'s `addopts` carry `-m 'not smoke'`, and the only smoke job in CI is `mlx-smoke`, which selects `-k mlx_sft_smoke` on an install that asserts the PyTorch stack is **absent** — so `test_sft_smoke` and `test_dpo_smoke` run in neither the default suite nor CI, which is how a fixture drifted out of sync with a hard error added five releases earlier. **The scope discipline is what got it merged unchanged**: the MLX fixture carries the same `format: chatml` line and they left it alone, because it reaches the MLX trainer rather than `sft_format.py` and is the one smoke test CI actually runs and passes — verified, not assumed. They also declined to wire the PyTorch smoke tests into CI in the same PR and said why (model downloads, runner minutes), leaving the call to the maintainer instead of taking it ([#594](https://github.com/MakazhanAlpamys/Soup/pull/594)). Separately, and on the same day, they measured `utils/log_level.py`'s branch coverage on #273 and filed [#595](https://github.com/MakazhanAlpamys/Soup/issues/595) — four code sites quoting a probe-denominated VRAM ratio under a "real peak" label, plus a schema field description still carrying a justification the gate record had explicitly withdrawn@@ -427,6 +432,7 @@ Listed by first contribution. PR numbers link the work.- `soup data canary insert` appended chat-format canaries to every dataset, so on any other format the loader dropped all of them before training and `canary check` could only answer OK. The issue's alpaca repro kept 3 of 7 rows on `main` and all 7 here. The canaries are now written in the file's own format, and every format whose canaries would be dropped, or that `check` cannot score, is refused before the manifest or the data exists. That includes plaintext, a file whose format cannot be detected, a first row that is not an object, and an explicit `--format` that is not the file's own. The manifest records the format, and legacy manifests read as chatml. **The part worth copying is the sweep:** every format `detect_format` can return must either load every canary or be refused with nothing written, and a guard test fails when a new format arrives without a fixture. It caught #1306's `cross_encoder` before either PR merged. Second round: the one surviving mutation became a test. 20 of 20 mutations killed; 350 passed, 1 skipped with the canary suite ([#1216](https://github.com/MakazhanAlpamys/Soup/issues/1216), [#1317](https://github.com/MakazhanAlpamys/Soup/pull/1317))- `format: tool-calling` read only top-level `tools` and `tool_calls`. It dropped every row `soup agent synth` writes, and every OpenAI-shape trajectory, and `soup train --dry-run` still said `Ready to train!` on zero rows. The converter now reads calls where they live, in source order, and keeps the old top-level form as a fallback. `format: auto` recognises `{messages, tools}`, synthesised rows carry their tool's schema, and `tools` may be a JSON-encoded string. **The part worth copying is the stop, and what it found.** `soup train` now exits 1 before the model loads when a load yields no training rows, and names the format and the first dropped row's reason. On its first run it caught two fixtures in the existing suite whose only row had gone to validation, runs that had trained on nothing; they fixed the fixtures rather than loosening the check. They also caught that Arrow gives every message every key, so a plain user turn reached Llama-style templates as a call, and they pinned that with a render through a real tokenizer. Second round: a string `tools` regression, null content, a mutable load record and one unpinned line, all closed with tests. 25 of 25 mutations killed; 4066 passed across a 74-file batch ([#1217](https://github.com/MakazhanAlpamys/Soup/issues/1217), [#1321](https://github.com/MakazhanAlpamys/Soup/pull/1321))- `soup data clean --repair-json` and `--drop-invalid-json` read only a flat `arguments` key on a row's top-level `tool_calls`, so the calls the tool-calling loader actually reads were never touched: calls nested in an assistant turn (what `soup agent synth` writes) were not repaired or checked, and a valid `{"function": {"arguments": ...}}` call read as `""` and got its row dropped. They wrote the issue with four shapes and a repro, then routed the top-level list and every assistant turn through one helper in both the `tool-calling` and `chatml` branches, following exactly what the loader accepts (dict arguments and a missing `arguments` left alone, non-assistant turns untouched). **When review found that the fix turned `"tool_calls": null`, which a schema-unified export writes on every no-call row, into a dropped row under the default flags, they took the guard and the test in one push** and filed the neighbouring empty-turn case as its own issue. The new file gives 45 passed on the branch and 24 failed on `main`, 8 mutations of the fix and 3 of the null guard all fail a test, and a four-row CLI run matches ([#1338](https://github.com/MakazhanAlpamys/Soup/issues/1338), [#1453](https://github.com/MakazhanAlpamys/Soup/pull/1453))+ - `soup data clean` silently deleted valid tool-calling training rows: with no flags, the `--min-tokens` check in the `chatml` branch of `clean_row` dropped a trajectory whose call-only assistant turn had `"content": ""` (the shape Soup's own tool-calling format writes) while the same turn with `null` was kept and the loader accepted both. They found it while working on #1338, reported it with a runnable snippet and the CLI output, and fixed it by exempting only a turn with a non-empty `tool_calls` list, leaving `[]`, `null`, a missing key and non-lists on the old rule. 18 tests (6 fail on `main`) cover `""`, whitespace and `null` in both branches; their mutation table (6 / 10 / 2 / 3 / 18 / 1) reproduced exactly and five further mutations were all caught ([#1477](https://github.com/MakazhanAlpamys/Soup/issues/1477), [#1493](https://github.com/MakazhanAlpamys/Soup/pull/1493))- **GitFromRatatouille** ([@swalla02](https://github.com/swalla02))- First contribution, and it is the third instance of this repo's most persistent bug class found by someone else ([#363](https://github.com/MakazhanAlpamys/Soup/issues/363), [#423](https://github.com/MakazhanAlpamys/Soup/issues/423), [#659](https://github.com/MakazhanAlpamys/Soup/issues/659)): `soup migrate` refused **any** input named `*.jsonl`, a valid LLaMA-Factory YAML config included, because the guard branched on the filename while the content sniff written to gate it had **zero call sites in `src/`**. The diagnosis is worth more than the one-line fix — the test was named after the command and its body called the helper, so it passed on a codebase where `migrate` never imported it. **Then review found a regression their own fix introduced, and the way they closed it is the part to copy**: the sniff read `utf-8`, so a UTF-8 BOM survived as U+FEFF, which `str.strip()` does not remove, and a real BOM'd JSONL silently lost the friendly error it used to get — on a project with three Windows CI cells where PowerShell's `Out-File` writes that BOM by default. Their BOM test **guards its own fixture** (asserting the file really contains a BOM before asserting behaviour) and their bounded-read test measures the property with `tracemalloc` rather than pinning the spelling of the loop. Six mutations, six killed; zero assertions removed. They also **declined to widen the fix** to files whose name gives no hint, correctly citing the `.ipynb` case the original comment warns about, and left that as an open question rather than guessing ([#672](https://github.com/MakazhanAlpamys/Soup/issues/672), [#675](https://github.com/MakazhanAlpamys/Soup/pull/675))@@ -492,6 +498,8 @@ Listed by first contribution. PR numbers link the work.- Seven tests asserted `"\x1b" not in result.output` to prove an untrusted field was sanitised. What they actually proved was that the shell did not force colour: under `FORCE_COLOR=1`, Rich styled the surrounding panel and the assertion failed however good the sanitiser was. Each test now pins `Console(force_terminal=False)`, with no assertion weakened. **They corrected the maintainer twice, and were right both times**: the assertion the review suggested was inert under the swallow mutant while theirs fired, and they built the mutation for a seventh pin the review had declined to claim, warning that only one of the two identical anchors (`:232`, not `:247`) makes it fire. When they reported a PR-body fix as done before it was published, they said so plainly and then fixed all five items ([#987](https://github.com/MakazhanAlpamys/Soup/issues/987), [#993](https://github.com/MakazhanAlpamys/Soup/pull/993))- `soup data preprocess` cached rows with no `labels`, so a `pre_tokenized` SFT run trained on every prompt token. TRL's collator falls back to `labels = input_ids`, so the same `soup.yaml` optimised a different objective depending only on whether it had been preprocessed first, and the loss curve looked normal. **The cached labels come from the live path's own `data/loss_mask.py` builders, aligned back onto the cached `input_ids`, rather than from a second copy of the mask that could drift.** The mask mode, including `data.mask_history` and `training.train_on_eot`, joined the cache key as schema `v6`. An AST test finds every trainer that calls the gate and checks the argument it passes, so a new trainer is covered the day it is added. Over four review rounds they closed every finding: an off-by-one that a per-row count could not see, now pinned by comparing the trained token sequences; a `train_on_eot` cache that `task: pretrain` could never load; and `mask_history`, which had reopened the bug under a shared key. On the final head, all 29 mutations of the fix fail a test ([#1054](https://github.com/MakazhanAlpamys/Soup/issues/1054), [#1120](https://github.com/MakazhanAlpamys/Soup/pull/1120))- `soup bench train` read the SM clock once, after training had returned. On the gate-836 box the field read mostly 180 MHz and never above 1417, against a busy median of 2370–2557 MHz, so it could not tell apart two runs whose throughput differed 1.83x. **A background sampler now reads the clock during the counted steps only, for torch's own device by PCI bus id, and never touches torch or CUDA itself.** Each sample is stamped at the midpoint of its query and cut to the collector's own post-warm-up window. `timing.step_seconds` keeps every counted step in run order, and the docs now say which failures write a report. They asked whether torch's PCI bus id matched `nvidia-smi` rather than assuming it, and on an RTX 5070 Laptop it did. The gate record gained an addendum that leaves the sampler-on/off throughput question open instead of claiming there is no overhead. Over three rounds they closed every blocking item, including two assertions they had dropped in a rewrite, and said so plainly ([#1166](https://github.com/MakazhanAlpamys/Soup/issues/1166), [#1177](https://github.com/MakazhanAlpamys/Soup/pull/1177))+ - Took the first of the six saturated bundled suites in the #1192 series off the 1.000 rail: `mini_arithmetic` replaced 12 single-step rows with 16 multi-step or large-operand ones, bumped `BUNDLED_SCORER_REVISION` to 4 and explained why the fingerprint correctly did not move, and published a record that says it is not the 7B reference and that half the strong model's misses are truncation (Qwen2.5-1.5B 0.800, SmolLM2-135M 0.375). After review the test now recomputes every hard key from its own question, which closed two surviving mutations (a wrong question with its key kept); twelve mutations killed, new file fails 5 of 7 on clean main ([#1192](https://github.com/MakazhanAlpamys/Soup/issues/1192), [#1462](https://github.com/MakazhanAlpamys/Soup/pull/1462))+ - `soup data augment` wrote rows with an empty rewritten field and `soup distill-prompt` dropped every failed row and wrote an empty file, both exiting 0 while every provider call failed, because neither built its provider with `raise_on_error`; they fixed the cause in both builders, counted every call, treated an empty reply as a failure, exited 1 without a file when nothing was usable and reported the failure count on a partial run, and replaced the five tests that had encoded the defect with ones asserting the raised error and the exact count. After review they escaped provider error text before Rich prints it (an error containing `[/x]` crashed the command, after the file was written on the partial path), tightened five `!= 0` assertions to `== 1`, and covered translate, style and all three escape sites. 16 of 18 new tests fail on clean main, fifteen mutations killed ([#1274](https://github.com/MakazhanAlpamys/Soup/issues/1274), [#1463](https://github.com/MakazhanAlpamys/Soup/pull/1463))- **Aditya Pratap Singh** ([@akkupratap323](https://github.com/akkupratap323))- Closed a silent pass in the PR gate `soup ci init` writes: `soup data validate` exited 0 at "0/5 rows valid", so a dataset the loader would drop entirely sailed through CI. Zero usable rows now fails with exit 2 and a reason, while a partial drop still passes as it did — **the change is exactly as narrow as the issue asked**, and it reuses the pass-0 / failed-gate-2 / input-error-1 shape `soup ship` and `soup data lint` already use rather than adding a sixth convention. An opt-in `--min-valid-fraction` adds a stricter gate, with the equal-to-threshold case pinned by a test. Every test kills its mutation, including over-broadening to "any dropped row", which fails four tests. A first contribution ([#811](https://github.com/MakazhanAlpamys/Soup/issues/811), [#858](https://github.com/MakazhanAlpamys/Soup/pull/858))@@ -549,6 +557,7 @@ Listed by first contribution. PR numbers link the work.- First contribution. `soup doctor` warned when an installed `[train]` package sat beyond the ceiling Soup declares for it — and then exited 0 ([#874](https://github.com/MakazhanAlpamys/Soup/issues/874)). **A CI job running it as a pre-flight therefore passed on the exact stack Soup says it does not support**, which makes the check decorative rather than a gate; they made the exit code carry the warning it was already printing. The pairing is what makes it worth having: [#368](https://github.com/MakazhanAlpamys/Soup/issues/368) had already taught `soup env check` to audit installed versions against the declared bounds, and this stops `doctor` reporting a green line about the same fact. Verified on the merged tree rather than on the branch — `main` took sixteen merges after the review, two of them into `commands/doctor.py`, and it merges clean over both; the mutation still dies on `assert 0 == 1`, and `soup doctor` stays on the light CLI path (`torch in sys.modules: False` after `doctor --help`). ([#877](https://github.com/MakazhanAlpamys/Soup/pull/877))- `task: distill` with `backend: unsloth` validated, loaded and trained on plain transformers, because nothing in the distill path reads the backend. `soup train --dry-run` even printed `Backend: unsloth (fast mode)` for a run that never touched it. It is now refused at config load, next to the `mlx` refusal, with a message that names the reason and points at `backend: transformers`. That one check covers `soup train`, `soup doctor --config` and `soup sweep`. **They checked the shipped configs before refusing anything**, which is the step #1186 asked for and the easiest one to skip. On the second round they ran the review's exact mutation before saying it was fixed. All 207 shipped configs still load, and 6 of 7 mutations fail tests ([#1186](https://github.com/MakazhanAlpamys/Soup/issues/1186), [#1193](https://github.com/MakazhanAlpamys/Soup/pull/1193))- The error handler printed exception text as Rich markup, so install hints lost their `[extra]`, control bytes reached the terminal, and an error containing `[/]` crashed the handler; every print site, including both `--verbose` traceback panels, now goes through `for_terminal` ([#1200](https://github.com/MakazhanAlpamys/Soup/issues/1200), [#1202](https://github.com/MakazhanAlpamys/Soup/pull/1202))+ - `training.expand_layers` (LLaMA Pro block expansion) was accepted on a quantized base, where the appended blocks start as `-absmax` instead of zeros under NF4 and a positive `freeze_trainable_layers` crashes on integer weights. They refused it at config load in a `SoupConfig` validator. **When a reviewer showed their first placement ran before the #795 quantization resolver and refused configs that load unquantized on eight tasks, they moved the check behind it and took the test patch as written.** After #1390 and #1399 landed they rebased onto one commit with the scope refusal first, so a config that is out of scope and quantized gets the scope reason. Verified: 247 passed on the three files (1616 across 22 related files), and all 10 mutations of the check fail a test ([#1237](https://github.com/MakazhanAlpamys/Soup/issues/1237), [#1308](https://github.com/MakazhanAlpamys/Soup/pull/1308))- **00200200** ([@00200200](https://github.com/00200200))- First contribution. The backend-support guard harvested field names with `re.findall(r"\b(?:training|data)\.[a-z_]+", ...)`, which **stops at the first digit** — so `training.use_fsdp2_compile` was harvested as `training.use_fsdp` and `training.bnb_4bit_use_double_quant` as `training.bnb_` ([#964](https://github.com/MakazhanAlpamys/Soup/issues/964)). The guard then compared an **invented** name against the registry, so for any field with a digit in it it could neither confirm a real entry nor catch a missing one. Widening the character class is the obvious half; the half that matters is what they added beside it — every harvested name is cross-checked against the real `TrainingConfig` / `DataConfig` `model_fields`, failing with *warning list names fields that do not exist*. **A widened regex that starts inventing a different wrong name is no better than the narrow one it replaced**, and that check is the whole difference. A competing patch carried the widening without it. Unblocks #961 and #965. ([#966](https://github.com/MakazhanAlpamys/Soup/pull/966))@@ -643,6 +652,8 @@ Listed by first contribution. PR numbers link the work.- Second merge. Two #808 silence checks asserted that `"read by nothing"` was absent from raw captured output, and Rich wraps the loader's warning to the console width, so at 50 columns the phrase split across lines and the four `warn` cases passed with the warning printed. They routed both checks through the file's own `_plain(...)`, which collapses whitespace as well as stripping ANSI. When review showed that their first guard rewrote `staged_fields.py` on disk during the run and did not pin either line on its own, they replaced it in one push with the static scan the review proposed, which reads the test file only. Verified on the tree merged with current `main`: under the regression the 8 cases fail at 50, 80 and 120 columns and under forced colour (4 passed at 50 before); 48 passed unmutated; 4 of 4 mutations of the fix fail the scan, including each one-line revert ([#1352](https://github.com/MakazhanAlpamys/Soup/issues/1352), [#1377](https://github.com/MakazhanAlpamys/Soup/pull/1377))- `soup autopilot` enabled DoRA for any dataset over 100k rows whenever VRAM allowed, including on a GPTQ, AWQ, AQLM or EETQ base, which peft refuses ("does not support DoRA yet") only when the adapter is attached, after the model load; `decide_peft` now receives the chosen quantization and keeps `use_dora` off for exactly the four formats peft rejects (checked against peft 0.20.0: HQQ and bitsandbytes build a DoRA variant and are untouched). 6 new tests fail on the previous `main`; 5 mutations each turn a test red; one over-broad-guard mutation survived and is recorded as a follow-up ([#1466](https://github.com/MakazhanAlpamys/Soup/issues/1466), [#1473](https://github.com/MakazhanAlpamys/Soup/pull/1473))- `--trust-remote-code` was accepted and then dropped on five paths (`soup data download`, `soup eval auto`, the `soup train --find-lr` sweep loads, `soup draft distill` and `soup shrink --heal`), so a model that needs remote code still refused to load after the user opted in. They threaded the flag through all five, refused it on `datasets` 4 or newer instead of forwarding a flag that would be ignored, and, after review, pinned the default-deny direction at every site including the training auto-eval callback and guarded the missing-`datasets` install hint. On `main` 14 of the new file's 23 tests fail; 24 of 24 mutations in the last round fail a test (15 of 22 in the first) ([#1449](https://github.com/MakazhanAlpamys/Soup/issues/1449), [#1456](https://github.com/MakazhanAlpamys/Soup/pull/1456))+ - `soup infer`, `soup chat` and `soup diff` printed the `--device` they were given and then loaded the model with a hard-coded `device_map="auto"` and float16, so `--device cpu` still filled the GPU. They added one shared resolver that pins the model to the requested device on both the full-model and the adapter branch of all three commands, and, after review, made an unknown or mis-cased `--device` fail with a clear message, stated the CPU float32 RAM cost in the changelog and docs, and, when the maintainer decided that GPUs must keep float16, removed the bfloat16 pick and pinned the dtype with an exact test that forces `cuda_supports_bf16()` to True. On `main` 25 of the new file's 27 tests fail; 38 of 40 mutations fail a test in the last round (11 of 19 in the first), including every way of returning bfloat16 on a GPU ([#1443](https://github.com/MakazhanAlpamys/Soup/issues/1443), [#1460](https://github.com/MakazhanAlpamys/Soup/pull/1460))+ - `soup serve --device` was ignored by the transformers loader: both `_load_model` branches and the speculative draft loader hard-coded `device_map="auto"`, so `--device cpu` could still land on a visible GPU, and an unknown value such as `tpu` was accepted and dropped (`--device "[/bold]"` crashed with a Rich `MarkupError`). They routed all three loads through #1460's `resolve_inference_device_map_and_dtype`, validated `--device` early with exit 2 on every backend, kept an explicit `--kv-cache-type` winning over the helper's dtype, and updated the help and the fragment, including that a CPU-only host now loads float32 (twice the RAM). The new file is 34 passed (19 failed / 15 passed on `main`), 627 passed across 17 related files, and 23 of 24 mutations fail a test; the one survivor (validation gated on the transformers backend, behaviour verified on vLLM and SGLang) is recorded as a follow-up test ([#1478](https://github.com/MakazhanAlpamys/Soup/issues/1478), [#1479](https://github.com/MakazhanAlpamys/Soup/pull/1479))- **sup3dev** ([@sup3dev](https://github.com/sup3dev))- First contribution: `soup` reported any error whose message contained the digits `401` or `403` as "Authentication failed." / "Access denied." and hid the real message. That covered a too-long SFT row 401, a tensor size of 4013, a `checkpoint-4010` path and a hash in a Hub URL. The status is now read from the exception object along its `__cause__`/`__context__` chain, with a text fallback limited to explicit HTTP phrasing, so genuine requests, urllib and huggingface_hub 401/403 errors get the specific hint instead of "HTTP request failed.". **The detail that decided a three-way race for the issue**: `GatedRepoError` and `RepositoryNotFoundError` are declined anywhere in the chain. A missing local adapter directory that peft first looks up on the Hub, which answers an unauthenticated user with 401, therefore keeps its real message; both competing fixes reported "Authentication failed." there. 16 of the 31 new tests fail on `main`, and 21 of 22 mutations fail a test ([#1267](https://github.com/MakazhanAlpamys/Soup/issues/1267), [#1268](https://github.com/MakazhanAlpamys/Soup/pull/1268))@@ -657,6 +668,8 @@ Listed by first contribution. PR numbers link the work.- **dymux** ([@putramkti](https://github.com/putramkti))- First contribution: The eval gate's MCQ scorer and the reward parser read the same `\boxed{...}` differently. After an echoed option list, `\boxed{B.}` and `\boxed{**B**}` scored as C in the eval gate and in `soup ship`, while the reward parser read B. The letter tier now reads boxes through one shared, linear scan in `utils/final_answer.py`, which yields only innermost boxes, so nested boxes stay linear and a double-boxed answer still reads its inner value. On `main` 4 of the 11 new MCQ tests fail and the scan tests cannot import. 7 of 7 mutations of the fix fail a test, and a 20,000-string differential fuzz against `main` found no change in the reward parser ([#1347](https://github.com/MakazhanAlpamys/Soup/issues/1347), [#1365](https://github.com/MakazhanAlpamys/Soup/pull/1365))- Second merge. `soup sweep` kept its own trainer chain, last extended in v0.40.0, so ten task values and every `backend: mlx` config trained plain next-token SFT under a sweep while the run registry recorded the configured task. Both commands now go through one `build_trainer`, which refuses an unknown task instead of falling back to SFT, and the parity test reads its task list off the schema's `task` Literal, so a new task cannot skip it. **The debugging worth copying**: three unrelated-looking failures turned out to be a recorder leaking into `TTSTrainerWrapper`'s base class at first import, and they fixed the fixture rather than the test order. The review round came back complete: tests that pin the kwargs each command forwards, and a failed arm's error printed without Rich eating the `[mlx]` in its install hint. On the real CLI, `soup sweep` now builds the same trainer as `soup train` in 24 of 24 rows (13 before), a real distillation sweep loads its teacher, 3,826 tests pass across 78 files, and 10 of 10 mutations fail a test ([#1213](https://github.com/MakazhanAlpamys/Soup/issues/1213), [#1397](https://github.com/MakazhanAlpamys/Soup/pull/1397))+ - Third merge. `_auth_status` read a 401/403 off the exception object across the whole `__cause__`/`__context__` chain, but its text fallback searched only the outermost message, so a wrapper such as `RuntimeError("Failed to load adapter")` around a text-only `401 Client Error` printed the wrapper instead of `Authentication failed.`. The fallback now reads every exception in the chain, outermost first, and they wrote down why pattern-major order would be wrong: the 401 patterns come first in the table and would beat an outer 403. **Review found two things the chain walk changed, and both came back with tests**: the wrapped-urllib test from #1268 no longer pinned the `.code` probe, because the walk matches urllib's own `HTTP Error 403` text, so a urllib error whose message states no status now pins it again, and an exception whose `__str__` raises would crash the formatter, so a `_safe_str` guard skips it. Their new file is 4 failed / 3 passed on `main`; five mutations (probe dropped, guard reverted, pattern-major, outermost-only, attribute probe neutralised) each fail a test (1, 1, 1, 4, 2) ([#1361](https://github.com/MakazhanAlpamys/Soup/issues/1361), [#1366](https://github.com/MakazhanAlpamys/Soup/pull/1366))+ - Third merge. `soup version --json --full`, `soup cost --json` and `soup eval against --json-only` printed machine-readable JSON through Rich's `console.print`, which folds at 80 columns when piped and reads `[...]` as markup: a record was split across lines, `[v2]` was dropped with exit 0, and `[/x]` aborted with `MarkupError`. They moved all three to `typer.echo` and wrote the repo-wide AST ratchet first. **It found the third site, `eval against --json-only`, which the issue does not name and a plain grep misses because of a `_json` alias; the ratchet has a self-test, and breaking either half of the detector fails it.** The new file is 5 failed / 1 passed on `main`; each site reverted on its own fails its own test plus the ratchet, and five mutations in all each fail a test ([#1480](https://github.com/MakazhanAlpamys/Soup/issues/1480), [#1485](https://github.com/MakazhanAlpamys/Soup/pull/1485))- **qwist1233-cpu** ([@qwist1233-cpu](https://github.com/qwist1233-cpu))- First contribution: `soup ab` accepted `--alpha` + `--beta` at or above 1. There the reject and accept boundaries cross and every LLR between them rejects, so two identical arms were reported as a significant regression. A huge `--effect-size`, or a near-constant column at the default, ended on a bare `OverflowError` that named no flag. They refuse the pair in `MsprtConfig`, naming both values, and bound the standardised effect at sqrt(float max) before it is squared. The bound is exact: sqrt(max) squared is finite, and the next float up overflows. It also closes a silent-NaN `continue` at `--effect-size 1e308` that the issue never listed. Their 15 tests include 5 deliberate controls that pass on main, 10 fail on main, and six mutations of the fix were each caught ([#1339](https://github.com/MakazhanAlpamys/Soup/issues/1339), [#1378](https://github.com/MakazhanAlpamys/Soup/pull/1378))@@ -665,6 +678,7 @@ Listed by first contribution. PR numbers link the work.- **Momoyeyu** ([@Momoyeyu](https://github.com/Momoyeyu))- First contribution: the streamed test builders picked `cuda` or `cpu` and never `mps`, so on Apple Silicon the model sat on the CPU while `TrainingArguments` picked `mps:0`. 32 streamed training cases, plus three classes #1258 had just added, therefore skipped on every macOS cell, and CI had never run a streamed backward pass, optimizer step or save on MPS. One `accelerator_device()` resolver in `tests/conftest.py` now serves all four builders, the three private `_mps_is_the_accelerator` copies are gone, and those cases run on MPS while both bitsandbytes skips stay. **They ran every round on an M3 Ultra and an RTX 4090 D before asking for review. They also set aside the CPU pin the issue proposed, because no CPU-pinned case reaches a trainer step, which checks out, and dropped #1258's MPS skip only after its classes passed on real hardware.** A resolver test now catches all four resolver mutations on any machine (3, 2, 1 and 1 failures), and forcing the MPS probe on a machine without MPS fails 67 cases ([#1355](https://github.com/MakazhanAlpamys/Soup/issues/1355), [#1375](https://github.com/MakazhanAlpamys/Soup/pull/1375))- Second merge. The `reasoning` template behind `soup data generate --template reasoning` asked the generator for "the final answer" in no parseable form, so a generated gold such as `So there are 42 apples.` made `soup train` refuse the dataset before generation. The prompt now asks for `#### <number>` on its own line for `math` and a final `Answer: <answer>` line for `logic` and `code`, and the new tests pin the two fixture copies as byte-identical and every row as a numeric gold. **They re-scoped the PR the moment #1371 made their fixture edit unnecessary and said so in the description, and when review found that nothing read a gold written the way the new prompt asks, they added that test and ran the marker mutation themselves, reporting 11 failed / 4 passed, which reproduces exactly.** On `main` 3 of the 15 tests fail (the template-marker ones), and 9 of 9 mutations of the template text, both fixture copies, the variable-prefix rule, the `####` marker and the answer-phrase matcher fail a test in the file ([#1349](https://github.com/MakazhanAlpamys/Soup/issues/1349), [#1471](https://github.com/MakazhanAlpamys/Soup/pull/1471))+ - Third merge. Custom-eval scoring was wrong in both directions: `contains` was a raw substring test, so an expected `4` was paid by `14` and `42` by `#### 420`, and `exact` scored `The answer is 4.` as a miss. They made `contains` token-bounded and added `scoring: "answer"`, which compares the answer a model states through the shared GRPO parser and refuses, at load time and in the eval gate, an `expected` that states no single answer, naming its line. **The second round is the part worth copying**: my review found that removing `re.escape` left all 24 tests green and that a stamped baseline recorded under the old `contains` (1.0) read back at 0.5 with a failed gate and no warning, because the baseline stamp covers only the bundled suites. They took the test verbatim (3 of 6 cases fail without the escape), put the score-shift warning in the changelog and the docs, and documented the limits that remained (the `.` boundary, ASCII-only bounds, `answer` needing a stated answer). 30 new tests (15 fail on `main`); 17 of 18 mutations caught; 433 related tests passed ([#1342](https://github.com/MakazhanAlpamys/Soup/issues/1342), [#1490](https://github.com/MakazhanAlpamys/Soup/pull/1490))- **Maxi** ([@maximilianfeix](https://github.com/maximilianfeix))- AutoDistill's vocabulary guards and the weight shards' `retain_bytes=False` were pinned by no test. Disabling both guards and turning full-RAM hashing back on left all 41 autodistill tests passing. Tests now cover the capture guard for both bounds, the worker's own guard before the teacher loads (on a dataset that still matches its fingerprint), and a shard hash that retains no bytes. **They noticed the `-1` cases still passed with the capture guard off, because `CaptureToken` raises the same phrase, and said so in the PR instead of shipping them as coverage. Anchoring the matches on the full message closed the gap on the next push.** Every mutation fails the new tests: whole guard 4, lower bound 2, context and prompt bypasses 2 each, worker guard 1, teacher loaded first 4, each retention mutation 1 ([#1341](https://github.com/MakazhanAlpamys/Soup/issues/1341), [#1400](https://github.com/MakazhanAlpamys/Soup/pull/1400))@@ -680,6 +694,13 @@ Listed by first contribution. PR numbers link the work.- **Urooj Fatima Mukhtar** ([@UroojFatima-052](https://github.com/UroojFatima-052))- First contribution: ten real-`train()` tests were still skipped on every windows-latest cell under #382, although #1314 had traced the crash to CPU bf16/fp16 matmuls and the skip helper's docstring still blamed bitsandbytes for all of them. Nine now request `aten_half_matmuls` and the tenth, an fp32 run, just loses its skip. **The part worth copying is the guard that keeps the list honest**: a `FIXTURE_TESTS` check fails if any of the nine stops requesting the fixture, and, after review, if one both requests it and carries the skip again. `GUARDED_TESTS` shrinks to the two NF4 tests that really are the bitsandbytes crash, with the reason written next to the list. They flagged that their own CPU probably never hits `0xc000001d`, so the windows-latest cells are the real test, and the required run on their first head was green on all three with every one of the ten tests passing. 6 of 8 mutations fail a named test, one is caught by an existing test elsewhere, and the new guard file fails 9 on `main` ([#1359](https://github.com/MakazhanAlpamys/Soup/issues/1359), [#1401](https://github.com/MakazhanAlpamys/Soup/pull/1401))+- **Bakdaulet** ([@bakdauletbaktygaliyev](https://github.com/bakdauletbaktygaliyev))+ - **Bakdaulet** ([@bakdauletbaktygaliyev](https://github.com/bakdauletbaktygaliyev))++- **Ashutosh Panda** ([@Ashutosh-Panda2004](https://github.com/Ashutosh-Panda2004))+ - First contribution: a completed `task: ppo` run reported `Loss: unavailable` because the loss summary only read the `loss` key while trl 0.29's PPOTrainer logs its per-step policy loss as `loss/policy_avg`. The fix lets the trainer declare the key (`loss_key="loss/policy_avg"`, SFT/DPO output unchanged), records it in the result and shows it in the completion panel; after review the wiring is pinned by a behavioural test that drives `_train_builtin` on a trl-0.29-shaped `log_history`, so moving the key to the wrong call or summarising an empty history now fails. 9 new tests (6 fail on `main`), 11 of 11 mutations killed ([#1413](https://github.com/MakazhanAlpamys/Soup/issues/1413), [#1416](https://github.com/MakazhanAlpamys/Soup/pull/1416))+ - First contribution: `test_worker_verification_survives_a_real_venv_launcher` failed whenever the suite ran from a virtualenv over a Python without the dependencies (the CONTRIBUTING setup on Homebrew): the child venv sees only the base interpreter's site-packages, so the worker died importing pydantic with an empty `worker exited with 1:`. They link the outer venv's site-packages into the child with a `.pth`, add a probe that names the missing dependency, and pin the helper with two hermetic tests that run on every CI platform. The file gives 19 passed from a bare interpreter and from a dependency-free venv (clean `main` from that venv: 1 failed, 16 passed), and all four mutations of the helper fail a test ([#1408](https://github.com/MakazhanAlpamys/Soup/issues/1408), [#1495](https://github.com/MakazhanAlpamys/Soup/pull/1495))+---Want to join this list? See [CONTRIBUTING.md](CONTRIBUTING.md) — good first issues are