diff options
| author | Claude <noreply@anthropic.com> | 2026-05-27 05:38:24 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-27 05:38:24 +0000 |
| commit | 4f87ae6cda6131012447a8b2ddde088bb8844b04 (patch) | |
| tree | 22f21f730783b5401caeb05799b3653de473d1ae /android-app/app/src/test/kotlin | |
| parent | 1f9f0ec3f7ce986134ed75836fc42e43582aa34f (diff) | |
Add RACE mode to TackDetector for rapid mark-rounding detection
Introduces TackMode enum (CRUISING/RACE) and per-mode Config, replacing
the previous single set of hardcoded constants.
RACE config: T_SETTLE=12s, T_MANEUVER=20s, STAB_MAX=30°, MIN_GAP=20s,
START_SKIP=20s — tighter windows for quick successive tacks at race
starts and mark roundings. CRUISING remains the default.
Two new tests demonstrate the behavioral difference: RACE fires earlier
(past 20s cold-start vs 60s) and keeps separate events for a 50s gap
that CRUISING deduplicates (50s < 60s MIN_GAP). 18/18 passing.
https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD
Diffstat (limited to 'android-app/app/src/test/kotlin')
0 files changed, 0 insertions, 0 deletions
