- Extract client prediction helpers to bomperator/prediction.ts (predStep/ predAdvance port, alignDecisionToServer, projectServerPosition) - Nudge prediction across cell boundaries at turn/stop edges so client and server commit to the same rounding decision; ghosts use the server's projected placement cell - Stamp snapshot arrival time; event projections use measured age, reconcile estimate keeps the calibrated half-tick bias - Replace pending-gated pull and instant 2.5-cell snap with a lead-aware correction envelope plus capped-rate ease (2.5x speed); resets still snap via the ack-backwards branch - Add offline deterministic prediction harness (real engine + modeled network + frame-by-frame reconcile mirror), 9 scenarios incl. rAF stalls and a pre/post-fix ghost-mismatch comparison |
||
|---|---|---|
| .. | ||
| audit | ||
| e2e | ||
| int | ||
| push-schema.ts | ||
| seed-baseline.ts | ||
| test-db.ts | ||
| vitest-global.ts | ||
| vitest-teardown.ts | ||