FA-7066 / Proxy forwarding / Open access
Hop timeout consumes time already spent in proxy · case 01
Hop timeout consumes time already spent in proxy.
ROOT CAUSE
The faulty implementation uses `budget` for the hop-timeout-consumes-time-already-spent-in-proxy decision.
THE FAILURE
The faulty implementation uses `budget` for the hop-timeout-consumes-time-already-spent-in-proxy decision.
Unsuccessful approach: The attempted repair uses `budget-elapsed` and still violates a separate fixture.
Case contract
Bounded offline decision model: hop timeout consumes time already spent in proxy. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.
Why this case matters
This deterministic proxy forwarding model isolates the hop-timeout-consumes-time-already-spent-in-proxy policy at a network component boundary.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(budget, elapsed):
return budget
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve(10, 3), 7)", "check('fixture 2', solve(2, 5), 0)", "check('fixture 3', solve(0, 0), 0)", "check('fixture 4', solve(5, 5), 0)"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 2 | 2 | 0 | Failed |
| fixture 3 | 0 | 0 | Passed |
| fixture 4 | 5 | 0 | Failed |
| fixture 1 | 10 | 7 | Failed |
SHA-256 / 70b6bf884e52e789a27f9098d5103fb5dcaf7e4e70aed2e70c49a6472b8bdadb
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(budget, elapsed):
return budget-elapsed
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve(10, 3), 7)", "check('fixture 2', solve(2, 5), 0)", "check('fixture 3', solve(0, 0), 0)", "check('fixture 4', solve(5, 5), 0)"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 2 | -3 | 0 | Failed |
| fixture 3 | 0 | 0 | Passed |
| fixture 4 | 0 | 0 | Passed |
| fixture 1 | 7 | 7 | Passed |
SHA-256 / 043d2b8ff99d0cccf551f48e2bed35b79b59287c5dd3691b15191b8b14e77881
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 4 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.
Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.
Member access is invitation-based. Sign in with your invited account to inspect the repair.
Sign in to the archive ↗Verification & scope
Bounded deterministic policy model over validated inputs; not a complete protocol stack or an interoperability claim. The five variants rotate the same explicit fixture set. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.
Observations recorded using Python 3.12.14 at 2026-09-29T14:38:08.021128+00:00.
Case digest / 1ce800388b3182f09adfa4bfe20c9a6a9404cdc40a43c5f70de94a091a8ac374