Add M10.7a tick clock and remote-marker interpolation
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m59s
Foundation / checks (client) (push) Successful in 12m44s
Foundation / checks (network) (push) Successful in 12m45s
Foundation / checks (tsan) (push) Successful in 8m5s
Foundation / checks (checks) (push) Successful in 32m4s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 21m38s
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m59s
Foundation / checks (client) (push) Successful in 12m44s
Foundation / checks (network) (push) Successful in 12m45s
Foundation / checks (tsan) (push) Successful in 8m5s
Foundation / checks (checks) (push) Successful in 32m4s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 21m38s
ADR-0095 (presentation only): a drift-corrected monotonic tick clock that never runs more than one tick past the newest observation; remote probe markers shown 2-6 ticks behind (adaptive to snapshot gaps), interpolated, extrapolated for at most 2 ticks and then marked stale; appearance and removal at their snapshot ticks; organisms never extrapolated; sub-tick own-marker prediction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4603,3 +4603,35 @@ The Postgres suite was not rerun: no server code changed since 10.6b.
|
||||
Not done:
|
||||
- traces over the dev route (a v3 server must be deployed first);
|
||||
- many-client load (10.8).
|
||||
|
||||
## 2026-10-06 — M10.7a tick clock and remote interpolation (ADR-0095)
|
||||
|
||||
Implemented:
|
||||
- `TickClock` (slew 10 %, forward snap beyond 4 ticks, monotonic, at most 1 tick beyond the
|
||||
newest observation);
|
||||
- `MarkerInterpolator`:
|
||||
- interpolation, then at most 2 ticks of extrapolation, then stale;
|
||||
- appearance and removal at their snapshot ticks;
|
||||
- reordering ignored; no interpolation across gaps over 8 ticks;
|
||||
- adaptive delay of 2-6 ticks from the 90th-percentile gap;
|
||||
- `MotionPredictor::predict_between`.
|
||||
|
||||
Tests (`tests/network_interpolation.cpp`):
|
||||
- clock basics: freeze while silent, no backward step, forward snap, reset;
|
||||
- drift with jitter at 0 % and ±4 % (4,000 ticks): within 1.5 ticks, monotonic, no snaps;
|
||||
- interpolation, removal, appearance, extrapolation and staleness, reordering, long gaps,
|
||||
reset;
|
||||
- adaptive delay up and down;
|
||||
- fractional prediction.
|
||||
|
||||
Executed:
|
||||
- **Linux GCC 14:**
|
||||
- preset `quic`: 4/4;
|
||||
- `client-network`: 15/15.
|
||||
- **Linux Clang 19:** ASan/UBSan `evo-network-tests`, and clang-tidy 19 on the new sources
|
||||
and tests (after fixing one optional-access finding).
|
||||
- **Windows MSVC 19.44:**
|
||||
- preset `quic`: 4/4 (rebuilt after the fix);
|
||||
- `client-network`: 13/13.
|
||||
|
||||
Not done: client wiring, the loss view and the two-client trace (10.7b).
|
||||
|
||||
Reference in New Issue
Block a user