FAILURE MAP
← Case archive

FA-7771 / Connection lifecycle / Open access

Read progress resets idle deadline without extending total deadline · case 01

Read progress resets idle deadline without extending total deadline.

Verified by executionVariant 1 · 4 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The faulty implementation uses `now+idle` for the read-progress-resets-idle-deadline-without-extending-total-deadline decision.

THE FAILURE

The faulty implementation uses `now+idle` for the read-progress-resets-idle-deadline-without-extending-total-deadline decision.

Unsuccessful approach: The attempted repair uses `total` and still violates a separate fixture.

Case contract

Bounded offline decision model: read progress resets idle deadline without extending total deadline. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.

Why this case matters

This deterministic connection lifecycle model isolates the read-progress-resets-idle-deadline-without-extending-total-deadline 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(now, idle, total):
    return now+idle
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve(10, 5, 100), 15)", "check('fixture 2', solve(98, 5, 100), 100)", "check('fixture 3', solve(100, 0, 100), 100)", "check('fixture 4', solve(0, 1, 5), 1)"]
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 fixtureActualExpectedOutcome
fixture 2103100Failed
fixture 3100100Passed
fixture 411Passed
fixture 11515Passed

SHA-256 / 36f8920ee104bb7b8e31b2885a4a61e793a5e65e94c42a046bf690939e72ea83

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(now, idle, total):
    return total
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve(10, 5, 100), 15)", "check('fixture 2', solve(98, 5, 100), 100)", "check('fixture 3', solve(100, 0, 100), 100)", "check('fixture 4', solve(0, 1, 5), 1)"]
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 fixtureActualExpectedOutcome
fixture 2100100Passed
fixture 3100100Passed
fixture 451Failed
fixture 110015Failed

SHA-256 / f64b99b133a4171f5f60784b752fd99aaca7649d8776b920842ef773d3875fa7

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:15.129738+00:00.

Case digest / 4c1c4db96ded44eb5f5c01a148f943edbab0bbaf84dc53852922bd442f63518b