Suggested reading order.
session.py- the contract. Note_parse_int_column: integers go from text toInt64without passing through float.clock.py- the mapping convention (AffineMap,source_error_ppm) and the three fits. Everything about direction of clock error lives here.counters.py-signed_modular_stepis the core; read the module docstring for the two limits that E07 demonstrates.pps.py- the gate is a small state machine: warm-up chain, then prediction from recent accepted pairs.synth.py-Clocksdefines true time;_generate_streamshows every injected fault in order (missing, extra, jitter, bursts, quantization, reference-column modes, invalid, duplicate, reorder).sync.py,timing.py- A02 then A01: why device-time residuals measure jitter and why wander inflates them.integrity.py- the sequence view and the timing view, and why they disagree on extra records.queue_sim.py,pipeline.py- the queue model and how stalls are recognized from writer timestamps.faults.py- lifecycle replay, exit-status consistency, check applicability.experiments.py- eacheNNfunction: generate, analyze the session, compare with truth, decide against the protocol.
Tests mirror this order (tests/).