FAILURE MAP
← Case archive

FA-17621 / Time representation / Open access

Clock slewing discards phase correction or original wall origin · case 01

The decoded time state disagrees with the explicit regression oracle for wall.

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

ROOT CAUSE

Clock slewing discards phase correction or original wall origin.

THE FAILURE

Clock slewing discards phase correction or original wall origin.

Unsuccessful approach: The partial correction still substitutes advance at the same fault site.

Case contract

Slew signed phase debt at capacity elapsed*rate without changing ordinary elapsed advancement. Return signed remaining debt, new wall coordinate, completion flag, unused correction capacity and signed cumulative correction. Elapsed and rate are nonnegative integers; wall and debt may be signed.

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):
    magnitude = abs(r['debt'])
    capacity = r['elapsed'] * r['rate']
    direction = (r['debt'] > 0) - (r['debt'] < 0)
    applied = direction * min(magnitude,capacity)
    remaining = r['debt'] - applied
    advance = r['elapsed'] + applied
    wall = r['wall'] + r['elapsed']
    complete = remaining == 0
    unused = capacity - abs(applied)
    cumulative = r['prior_correction'] + applied
    return [remaining,wall,complete,unused,cumulative]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 4}), [4, 109, False, 0, 10])
check('fixture 2', solve({'debt': -10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': -4}), [-4, 97, False, 0, -10])
check('fixture 3', solve({'debt': 4, 'elapsed': 2, 'rate': 2, 'wall': 20, 'prior_correction': 0}), [0, 26, True, 0, 4])
check('fixture 4', solve({'debt': 0, 'elapsed': 3, 'rate': 1, 'wall': 10, 'prior_correction': 8}), [0, 13, True, 3, 8])
check('fixture 5', solve({'debt': 3, 'elapsed': 0, 'rate': 2, 'wall': 50, 'prior_correction': 2}), [3, 50, False, 0, 2])
check('fixture 6', solve({'debt': -2, 'elapsed': 5, 'rate': 1, 'wall': -10, 'prior_correction': 7}), [0, -7, True, 3, 5])
check('fixture 7', solve({'debt': 20, 'elapsed': 4, 'rate': 0, 'wall': 100, 'prior_correction': 3}), [20, 104, False, 0, 3])
check('fixture 8', solve({'debt': 1, 'elapsed': 3, 'rate': 2, 'wall': 0, 'prior_correction': -1}), [0, 4, True, 5, 0])
check('fixture 9', solve({'debt': -3, 'elapsed': 2, 'rate': 2, 'wall': 4, 'prior_correction': -1}), [0, 3, True, 1, -4])
check('fixture 10', solve({'debt': 0, 'elapsed': 0, 'rate': 0, 'wall': 0, 'prior_correction': 0}), [0, 0, True, 0, 0])
variant = [({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 5}, [4, 109, False, 0, 11]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 6}, [4, 109, False, 0, 12]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 7}, [4, 109, False, 0, 13]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 8}, [4, 109, False, 0, 14]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 9}, [4, 109, False, 0, 15])]
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 fixtureActualExpectedOutcome
fixture 1[4, 103, False, 0, 10][4, 109, False, 0, 10]Failed
fixture 2[-4, 103, False, 0, -10][-4, 97, False, 0, -10]Failed
fixture 3[0, 22, True, 0, 4][0, 26, True, 0, 4]Failed
fixture 4[0, 13, True, 3, 8][0, 13, True, 3, 8]Passed
fixture 5[3, 50, False, 0, 2][3, 50, False, 0, 2]Passed
fixture 6[0, -5, True, 3, 5][0, -7, True, 3, 5]Failed
fixture 7[20, 104, False, 0, 3][20, 104, False, 0, 3]Passed
fixture 8[0, 3, True, 5, 0][0, 4, True, 5, 0]Failed
fixture 9[0, 6, True, 1, -4][0, 3, True, 1, -4]Failed
fixture 10[0, 0, True, 0, 0][0, 0, True, 0, 0]Passed
variant capture[4, 103, False, 0, 11][4, 109, False, 0, 11]Failed

SHA-256 / 6e066cd148ae1e30e61695c55e7a5ad5d62d0aa129970e6749f0785c77d9448d

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):
    magnitude = abs(r['debt'])
    capacity = r['elapsed'] * r['rate']
    direction = (r['debt'] > 0) - (r['debt'] < 0)
    applied = direction * min(magnitude,capacity)
    remaining = r['debt'] - applied
    advance = r['elapsed'] + applied
    wall = advance
    complete = remaining == 0
    unused = capacity - abs(applied)
    cumulative = r['prior_correction'] + applied
    return [remaining,wall,complete,unused,cumulative]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 4}), [4, 109, False, 0, 10])
check('fixture 2', solve({'debt': -10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': -4}), [-4, 97, False, 0, -10])
check('fixture 3', solve({'debt': 4, 'elapsed': 2, 'rate': 2, 'wall': 20, 'prior_correction': 0}), [0, 26, True, 0, 4])
check('fixture 4', solve({'debt': 0, 'elapsed': 3, 'rate': 1, 'wall': 10, 'prior_correction': 8}), [0, 13, True, 3, 8])
check('fixture 5', solve({'debt': 3, 'elapsed': 0, 'rate': 2, 'wall': 50, 'prior_correction': 2}), [3, 50, False, 0, 2])
check('fixture 6', solve({'debt': -2, 'elapsed': 5, 'rate': 1, 'wall': -10, 'prior_correction': 7}), [0, -7, True, 3, 5])
check('fixture 7', solve({'debt': 20, 'elapsed': 4, 'rate': 0, 'wall': 100, 'prior_correction': 3}), [20, 104, False, 0, 3])
check('fixture 8', solve({'debt': 1, 'elapsed': 3, 'rate': 2, 'wall': 0, 'prior_correction': -1}), [0, 4, True, 5, 0])
check('fixture 9', solve({'debt': -3, 'elapsed': 2, 'rate': 2, 'wall': 4, 'prior_correction': -1}), [0, 3, True, 1, -4])
check('fixture 10', solve({'debt': 0, 'elapsed': 0, 'rate': 0, 'wall': 0, 'prior_correction': 0}), [0, 0, True, 0, 0])
variant = [({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 5}, [4, 109, False, 0, 11]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 6}, [4, 109, False, 0, 12]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 7}, [4, 109, False, 0, 13]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 8}, [4, 109, False, 0, 14]), ({'debt': 10, 'elapsed': 3, 'rate': 2, 'wall': 100, 'prior_correction': 9}, [4, 109, False, 0, 15])]
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 fixtureActualExpectedOutcome
fixture 1[4, 9, False, 0, 10][4, 109, False, 0, 10]Failed
fixture 2[-4, -3, False, 0, -10][-4, 97, False, 0, -10]Failed
fixture 3[0, 6, True, 0, 4][0, 26, True, 0, 4]Failed
fixture 4[0, 3, True, 3, 8][0, 13, True, 3, 8]Failed
fixture 5[3, 0, False, 0, 2][3, 50, False, 0, 2]Failed
fixture 6[0, 3, True, 3, 5][0, -7, True, 3, 5]Failed
fixture 7[20, 4, False, 0, 3][20, 104, False, 0, 3]Failed
fixture 8[0, 4, True, 5, 0][0, 4, True, 5, 0]Passed
fixture 9[0, -1, True, 1, -4][0, 3, True, 1, -4]Failed
fixture 10[0, 0, True, 0, 0][0, 0, True, 0, 0]Passed
variant capture[4, 9, False, 0, 11][4, 109, False, 0, 11]Failed

SHA-256 / 1d7a0a3037d747c14352d94dc91296cf42092c4af183f39a587e16a63ffb6683

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 11 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:48.931075+00:00.

Case digest / 85ed8a4770acf18a3aff3a7e96fdc1844020e4af22e4269beb9d2669c7837d9b