FA-26361 / HTTP ranges / Open access
Subsecond storage timestamps do not spuriously invalidate second-granularity dates · case 01
Subsecond storage timestamps do not spuriously invalidate second-granularity dates.
ROOT CAUSE
The date-precision-normalization decision uses return [304, ""] if modified_ms <= condition_s*1000 else [206,body].
THE FAILURE
The date-precision-normalization decision uses return [304, ""] if modified_ms <= condition_s*1000 else [206,body].
Unsuccessful approach: The partial repair uses return [304, ""] if round(modified_ms/1000) <= condition_s else [206,body], which still violates the stated contract.
Case contract
For this local date condition compare floor(modified_ms/1000) to condition_s. Return [304,empty] if not newer, otherwise [206,body]. Nonnegative integer times.
Why this case matters
Range responses combine representation identity, conditional requests, framing, and partial-object state.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(modified_ms, condition_s, body):
return [304, ""] if modified_ms <= condition_s*1000 else [206,body]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('date-precision-normalization fixture 0', solve(N*1000+900,N,"p"*N), [304,""])
check('date-precision-normalization fixture 1', solve(N*1000+1,N,"p"), [304,""])
check('date-precision-normalization fixture 2', solve(N*1000,N,"p"), [304,""])
check('date-precision-normalization fixture 3', solve((N+1)*1000,N,"p"*N), [206,"p"*N])
check('date-precision-normalization fixture 4', solve(0,0,"p"), [304,""])
check('date-precision-normalization fixture 5', solve(0,N,"p"), [304,""])
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 |
|---|---|---|---|
| date-precision-normalization fixture 0 | [206, 'p'] | [304, ''] | Failed |
| date-precision-normalization fixture 1 | [206, 'p'] | [304, ''] | Failed |
| date-precision-normalization fixture 2 | [304, ''] | [304, ''] | Passed |
| date-precision-normalization fixture 3 | [206, 'p'] | [206, 'p'] | Passed |
| date-precision-normalization fixture 4 | [304, ''] | [304, ''] | Passed |
| date-precision-normalization fixture 5 | [304, ''] | [304, ''] | Passed |
SHA-256 / d7deb676c040387e1489453d84f47c660bfc0b8032af137fc55cdf06c926b57e
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(modified_ms, condition_s, body):
return [304, ""] if round(modified_ms/1000) <= condition_s else [206,body]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('date-precision-normalization fixture 0', solve(N*1000+900,N,"p"*N), [304,""])
check('date-precision-normalization fixture 1', solve(N*1000+1,N,"p"), [304,""])
check('date-precision-normalization fixture 2', solve(N*1000,N,"p"), [304,""])
check('date-precision-normalization fixture 3', solve((N+1)*1000,N,"p"*N), [206,"p"*N])
check('date-precision-normalization fixture 4', solve(0,0,"p"), [304,""])
check('date-precision-normalization fixture 5', solve(0,N,"p"), [304,""])
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 |
|---|---|---|---|
| date-precision-normalization fixture 0 | [206, 'p'] | [304, ''] | Failed |
| date-precision-normalization fixture 1 | [304, ''] | [304, ''] | Passed |
| date-precision-normalization fixture 2 | [304, ''] | [304, ''] | Passed |
| date-precision-normalization fixture 3 | [206, 'p'] | [206, 'p'] | Passed |
| date-precision-normalization fixture 4 | [304, ''] | [304, ''] | Passed |
| date-precision-normalization fixture 5 | [304, ''] | [304, ''] | Passed |
SHA-256 / bab70425a16c8d60c7103622eb45c15e84f87ca40502e2ad51df0cf63786a727
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 6 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
Deterministic simplified range service, with stipulated local policies and already parsed trusted inputs; not a complete HTTP implementation. 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:41:15.315250+00:00.
Case digest / 4ff0d004c5b068ac6a21c460b1842ba9b50ecf426b97249a5d809e54defa84e0