{"abstract":"Deterministic full jitter spans the entire capped delay interval.","category":"HTTP retries","checks":4,"contract":"Deterministic full jitter spans the entire capped delay interval: return the result specified by the explicit input/output boundary fixtures.","evaluation_group":"xh-retry-jitter","failed_approach":"The attempted repair uses `min(base, cap) * (0.5 + fraction / 2)` and still violates a separate fixture.","family":"xh-retry-jitter","id":"FA-6676","implementations":{"attempt":{"sha256":"0918d922ed1016fb207c72a3162b5e3673f67fedce7c754a601c38610690a0c6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(base, cap, fraction):\n    return min(base, cap) * (0.5 + fraction / 2)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(20, 10, 0.5), 5.0)\", \"check('fixture 2', solve(8, 10, 0), 0)\", \"check('fixture 3', solve(8, 10, 1), 8)\", \"check('fixture 4', solve(20, 10, 1), 10)\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"a0b80e577a1d868fb34daa1524508703f0668dc86d001abdc86d2578c45418f8","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(base, cap, fraction):\n    return min(base * fraction, cap)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(20, 10, 0.5), 5.0)\", \"check('fixture 2', solve(8, 10, 0), 0)\", \"check('fixture 3', solve(8, 10, 1), 8)\", \"check('fixture 4', solve(20, 10, 1), 10)\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"fa949b6f18cf1fc5850dd36d170524ae3815d83a35ff71feb7ff5673cfd2cc4a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(base, cap, fraction):\n    return min(base, cap) * fraction\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(20, 10, 0.5), 5.0)\", \"check('fixture 2', solve(8, 10, 0), 0)\", \"check('fixture 3', solve(8, 10, 1), 8)\", \"check('fixture 4', solve(20, 10, 1), 10)\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"xh-retry-jitter","generated_at":"2026-09-29T14:38:04.289129+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This deterministic http retries model isolates the retry-jitter policy at a network component boundary.","repair":"Apply the explicit retry-jitter contract, including the tested boundary and negative cases.","root_cause":"The faulty implementation uses `min(base * fraction, cap)` for the retry-jitter decision.","sha256":"53507880aca7279c8be995c072953d74decaa44bc628a8b886b195ba4cbb3665","title":"Deterministic full jitter spans the entire capped delay interval · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":36.596,"exit_code":1,"observations":[{"actual":4.0,"check":"fixture 2","expected":0,"passed":false},{"actual":8.0,"check":"fixture 3","expected":8,"passed":true},{"actual":10.0,"check":"fixture 4","expected":10,"passed":true},{"actual":7.5,"check":"fixture 1","expected":5.0,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": 4.0, \"expected\": 0, \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": 8.0, \"expected\": 8, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": 10.0, \"expected\": 10, \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": 7.5, \"expected\": 5.0, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.042,"exit_code":1,"observations":[{"actual":0,"check":"fixture 2","expected":0,"passed":true},{"actual":8,"check":"fixture 3","expected":8,"passed":true},{"actual":10,"check":"fixture 4","expected":10,"passed":true},{"actual":10.0,"check":"fixture 1","expected":5.0,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": 10, \"expected\": 10, \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": 10.0, \"expected\": 5.0, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":37.957,"exit_code":0,"observations":[{"actual":0,"check":"fixture 2","expected":0,"passed":true},{"actual":8,"check":"fixture 3","expected":8,"passed":true},{"actual":10,"check":"fixture 4","expected":10,"passed":true},{"actual":5.0,"check":"fixture 1","expected":5.0,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": 10, \"expected\": 10, \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": 5.0, \"expected\": 5.0, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}