Skip to content

ariadne tests: the fleet's rally check drives 3 s, not 240 steps (master red after OW1) - #1405

Merged
transfix merged 1 commit into
masterfrom
fix/fleet-rally-test-120hz
Nov 20, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/fleet-rally-test-120hz

Conversation

@transfix

Copy link
Copy Markdown
Owner

Master is red in ariadne_scene_world_test: AriadneWorldVehicles.AFleetIsLaidOutInTeamsAtRallyPoints fails with

Expected: (fleet_mean_x(v->entities())) > (x0 + 5.0), actual: -130.887 vs -130.242

Why

The fleet's mean eastward travel, measured on master at 120 Hz:

t (s) dx (m) mean speed (m/s)
1.0 1.28 2.45
2.0 4.36 4.43
3.0 9.27 6.42
4.0 16.03 8.40

The fix

The check now steps 3 s of simulated time, 3.0 / cvc::kSimQuantum quanta, so it doesn't depend on the clock rate. That gives about 9 m against the 5 m threshold. It's a one-line change, in the test only.

Nothing else broke. Master's full suite passes with only this check changed.

Tests

ariadne_scene_world_test passes locally (MSVC, Jolt).

AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.
@transfix
transfix enabled auto-merge (squash) November 20, 2026 20:55
@transfix
transfix merged commit c1766d6 into master Nov 20, 2026
25 of 29 checks passed
@transfix
transfix deleted the fix/fleet-rally-test-120hz branch November 20, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant