Backtest / #1081
perf: Skip __replace__ in Specifier comparison if not needed
PASS
No behaviour divergence found by any probe.
Performance · Specifier
No realistic input family measured slower.
Measured in backtest packaging-v2 (same commits, run bt-1081-2ac9ac, image bw-pair:32c4ea16ee4f8abe). The semantic results above are from a later run; perf doesn't use the semantic planner, so it was not re-measured.
- F5
| Family | Inputs | Ratio range | Slope base → head | Verdict |
|---|---|---|---|---|
F5 | Plain release versions without pre‑release, post‑release, dev or local parts (e.g. "1.2.3", "1.2.3.4"). For these versions the new early‑return checks succeed immediately and avoid the `__replace__` call, giving a measurable speed‑up.claimed speedup · plan | 0.96× – 0.98× | 0.32 → 0.32 | neutral |
Receipt
| Target | Backend | Image | Run | Audit | Adjudication |
|---|---|---|---|---|---|
packaging.specifiers:Specifier | local Docker | bw-pair:ff8050a1e55ba0d9 | bt-1081-38a993 | $0.030 | $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.