FA-18076 / Time representation / Open access
Clock-source provenance collapses source bits or omits wall source · case 01
The decoded time state disagrees with the explicit regression oracle for mask.
ROOT CAUSE
Clock-source provenance collapses source bits or omits wall source.
THE FAILURE
Clock-source provenance collapses source bits or omits wall source.
Unsuccessful approach: The partial correction still substitutes int(local_owns) + 2 * int(remote_owns) at the same fault site.
Case contract
A bounded hybrid logical timestamp has physical integer p and logical integer l, cap 255. On receive, p=max(local p,remote p,wall). Increment max logical when both timestamps share p, increment owning side when only one shares p, otherwise reset logical to zero. Carry logical overflow into physical. Return canonical pair, physical source mask, ordering versus inputs and wall-advance flag.
Why this case matters
Clock transfer and timestamp consumers require preserved coordinate, phase, validity and elapsed-time semantics.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
from fractions import Fraction
N = 1
observations = []
def solve(r):
physical = max(r['local_p'],r['remote_p'],r['wall'])
local_owns = physical == r['local_p']
remote_owns = physical == r['remote_p']
logical = max(r['local_l'],r['remote_l']) + 1 if local_owns and remote_owns else (r['local_l'] + 1 if local_owns else (r['remote_l'] + 1 if remote_owns else 0))
carry = logical // 256
normalized_p = physical + carry
normalized_l = logical % 256
mask = int(local_owns) + int(remote_owns) + int(physical == r['wall'])
after_local = (normalized_p,normalized_l) > (r['local_p'],r['local_l'])
after_remote = (normalized_p,normalized_l) > (r['remote_p'],r['remote_l'])
return [[normalized_p,normalized_l],mask,after_local,after_remote,normalized_p > r['wall']]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 9}), [[10, 5], 3, True, True, True])
check('fixture 2', solve({'local_p': 10, 'local_l': 5, 'remote_p': 9, 'remote_l': 8, 'wall': 8}), [[10, 6], 1, True, True, True])
check('fixture 3', solve({'local_p': 9, 'local_l': 7, 'remote_p': 10, 'remote_l': 2, 'wall': 8}), [[10, 3], 2, True, True, True])
check('fixture 4', solve({'local_p': 10, 'local_l': 5, 'remote_p': 10, 'remote_l': 7, 'wall': 11}), [[11, 0], 4, True, True, False])
check('fixture 5', solve({'local_p': 10, 'local_l': 255, 'remote_p': 10, 'remote_l': 2, 'wall': 10}), [[11, 0], 7, True, True, True])
check('fixture 6', solve({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 255, 'wall': 9}), [[11, 0], 3, True, True, True])
check('fixture 7', solve({'local_p': 10, 'local_l': 0, 'remote_p': 10, 'remote_l': 0, 'wall': 10}), [[10, 1], 7, True, True, False])
check('fixture 8', solve({'local_p': 1, 'local_l': 200, 'remote_p': 2, 'remote_l': 0, 'wall': 1}), [[2, 1], 2, True, True, True])
check('fixture 9', solve({'local_p': 2, 'local_l': 0, 'remote_p': 1, 'remote_l': 200, 'wall': 1}), [[2, 1], 1, True, True, True])
check('fixture 10', solve({'local_p': 0, 'local_l': 0, 'remote_p': 0, 'remote_l': 0, 'wall': 1}), [[1, 0], 4, True, True, False])
check('fixture 11', solve({'local_p': 10, 'local_l': 254, 'remote_p': 10, 'remote_l': 0, 'wall': 9}), [[10, 255], 3, True, True, True])
variant = [({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 10}, [[10, 5], 7, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 11}, [[11, 0], 4, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 12}, [[12, 0], 4, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 13}, [[13, 0], 4, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 14}, [[14, 0], 4, True, True, False])]
check("variant capture", solve(variant[N-1][0]), variant[N-1][1])
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 1 | [[10, 5], 2, True, True, True] | [[10, 5], 3, True, True, True] | Failed |
| fixture 2 | [[10, 6], 1, True, True, True] | [[10, 6], 1, True, True, True] | Passed |
| fixture 3 | [[10, 3], 1, True, True, True] | [[10, 3], 2, True, True, True] | Failed |
| fixture 4 | [[11, 0], 1, True, True, False] | [[11, 0], 4, True, True, False] | Failed |
| fixture 5 | [[11, 0], 3, True, True, True] | [[11, 0], 7, True, True, True] | Failed |
| fixture 6 | [[11, 0], 2, True, True, True] | [[11, 0], 3, True, True, True] | Failed |
| fixture 7 | [[10, 1], 3, True, True, False] | [[10, 1], 7, True, True, False] | Failed |
| fixture 8 | [[2, 1], 1, True, True, True] | [[2, 1], 2, True, True, True] | Failed |
| fixture 9 | [[2, 1], 1, True, True, True] | [[2, 1], 1, True, True, True] | Passed |
| fixture 10 | [[1, 0], 1, True, True, False] | [[1, 0], 4, True, True, False] | Failed |
| fixture 11 | [[10, 255], 2, True, True, True] | [[10, 255], 3, True, True, True] | Failed |
| variant capture | [[10, 5], 3, True, True, False] | [[10, 5], 7, True, True, False] | Failed |
SHA-256 / 4066cac6f9f05019802e2ca72e63d443382cee5547f89627e3ab549ab54f3825
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
from fractions import Fraction
N = 1
observations = []
def solve(r):
physical = max(r['local_p'],r['remote_p'],r['wall'])
local_owns = physical == r['local_p']
remote_owns = physical == r['remote_p']
logical = max(r['local_l'],r['remote_l']) + 1 if local_owns and remote_owns else (r['local_l'] + 1 if local_owns else (r['remote_l'] + 1 if remote_owns else 0))
carry = logical // 256
normalized_p = physical + carry
normalized_l = logical % 256
mask = int(local_owns) + 2 * int(remote_owns)
after_local = (normalized_p,normalized_l) > (r['local_p'],r['local_l'])
after_remote = (normalized_p,normalized_l) > (r['remote_p'],r['remote_l'])
return [[normalized_p,normalized_l],mask,after_local,after_remote,normalized_p > r['wall']]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 9}), [[10, 5], 3, True, True, True])
check('fixture 2', solve({'local_p': 10, 'local_l': 5, 'remote_p': 9, 'remote_l': 8, 'wall': 8}), [[10, 6], 1, True, True, True])
check('fixture 3', solve({'local_p': 9, 'local_l': 7, 'remote_p': 10, 'remote_l': 2, 'wall': 8}), [[10, 3], 2, True, True, True])
check('fixture 4', solve({'local_p': 10, 'local_l': 5, 'remote_p': 10, 'remote_l': 7, 'wall': 11}), [[11, 0], 4, True, True, False])
check('fixture 5', solve({'local_p': 10, 'local_l': 255, 'remote_p': 10, 'remote_l': 2, 'wall': 10}), [[11, 0], 7, True, True, True])
check('fixture 6', solve({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 255, 'wall': 9}), [[11, 0], 3, True, True, True])
check('fixture 7', solve({'local_p': 10, 'local_l': 0, 'remote_p': 10, 'remote_l': 0, 'wall': 10}), [[10, 1], 7, True, True, False])
check('fixture 8', solve({'local_p': 1, 'local_l': 200, 'remote_p': 2, 'remote_l': 0, 'wall': 1}), [[2, 1], 2, True, True, True])
check('fixture 9', solve({'local_p': 2, 'local_l': 0, 'remote_p': 1, 'remote_l': 200, 'wall': 1}), [[2, 1], 1, True, True, True])
check('fixture 10', solve({'local_p': 0, 'local_l': 0, 'remote_p': 0, 'remote_l': 0, 'wall': 1}), [[1, 0], 4, True, True, False])
check('fixture 11', solve({'local_p': 10, 'local_l': 254, 'remote_p': 10, 'remote_l': 0, 'wall': 9}), [[10, 255], 3, True, True, True])
variant = [({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 10}, [[10, 5], 7, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 11}, [[11, 0], 4, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 12}, [[12, 0], 4, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 13}, [[13, 0], 4, True, True, False]), ({'local_p': 10, 'local_l': 2, 'remote_p': 10, 'remote_l': 4, 'wall': 14}, [[14, 0], 4, True, True, False])]
check("variant capture", solve(variant[N-1][0]), variant[N-1][1])
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 1 | [[10, 5], 3, True, True, True] | [[10, 5], 3, True, True, True] | Passed |
| fixture 2 | [[10, 6], 1, True, True, True] | [[10, 6], 1, True, True, True] | Passed |
| fixture 3 | [[10, 3], 2, True, True, True] | [[10, 3], 2, True, True, True] | Passed |
| fixture 4 | [[11, 0], 0, True, True, False] | [[11, 0], 4, True, True, False] | Failed |
| fixture 5 | [[11, 0], 3, True, True, True] | [[11, 0], 7, True, True, True] | Failed |
| fixture 6 | [[11, 0], 3, True, True, True] | [[11, 0], 3, True, True, True] | Passed |
| fixture 7 | [[10, 1], 3, True, True, False] | [[10, 1], 7, True, True, False] | Failed |
| fixture 8 | [[2, 1], 2, True, True, True] | [[2, 1], 2, True, True, True] | Passed |
| fixture 9 | [[2, 1], 1, True, True, True] | [[2, 1], 1, True, True, True] | Passed |
| fixture 10 | [[1, 0], 0, True, True, False] | [[1, 0], 4, True, True, False] | Failed |
| fixture 11 | [[10, 255], 3, True, True, True] | [[10, 255], 3, True, True, True] | Passed |
| variant capture | [[10, 5], 3, True, True, False] | [[10, 5], 7, True, True, False] | Failed |
SHA-256 / 7a054e6bc84222d8158ee10b13560105099cc49a0341c44521ff1beaa71ed4f9
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 12 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 integer reference model with stipulated units and policies; not a complete clock, wire standard or platform 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:39:54.020599+00:00.
Case digest / 36653261ca7f3f057ef0063d45e46c6f90fa537ef73c7b34f86e5580042916c9