Backtest / #1259
perf(specifiers): push PEP 440 logic into the range engine
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.
Performance · SpecifierSet#contains
No realistic input family measured slower.
Measured in backtest packaging-v2 (same commits, run bt-1259-8d2b3c, image bw-pair:ec9525174f993117). 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 | SpecifierSet containing many simple comparators (>=, <=, ==, !=, <, >) with plain release versions and no local segment.claimed speedup · plan | 0.97× – 1.00× | 0.88 → 0.88 | neutral |
Receipt
| Target | Backend | Image | Run | Audit | Adjudication |
|---|---|---|---|---|---|
packaging.specifiers:SpecifierSet#contains | local Docker | bw-pair:b2b8cb16aee35160 | bt-1259-562491 | $0.082 | $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.