Backtest / #1320
perf: add __slots__ to Requirement
PASS
No behaviour divergence found by any probe.
† Merged after Nemotron 3 Ultra was released (2026-06-04): the model cannot have seen this PR or its fixes.
Known regressions in this PR
- ✗
requirement-pickle· fixed by #1171 · candidate
Performance · Requirement
No realistic input family measured slower.
Measured in backtest packaging-v2 (same commits, run bt-1320-81a5cc, image bw-pair:9728e5e1fd432d33). The semantic results above are from a later run; perf doesn't use the semantic planner, so it was not re-measured.
- F2
| Family | Inputs | Ratio range | Slope base → head | Verdict |
|---|---|---|---|---|
F2 | Repeated attribute reads on many Requirement instances (slots make attribute lookup faster and reduce per‑object memory).claimed speedup · plan | 0.99× – 1.01× | 0.68 → 0.68 | neutral |
Receipt
| Target | Backend | Image | Run | Audit | Adjudication |
|---|---|---|---|---|---|
packaging.requirements:Requirement | local Docker | bw-pair:f8d0aa2a4ebfdaf6 | bt-1320-9c396e | $0.11 | $0.000 |
Nemotron cost on Nebius Token Factory. Backend: where the untrusted code ran. local Docker (an image cited by its content-addressed tag). Every image is content-addressed (repo at each commit + harness), so every card re-runs from the image and seed 0. Raw data: audit.