mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The v1.4.42 W5 helper shipped under the same identifier `pickCanonicalWorkoutRows` as the v1.4.30 read-time picker in `src/lib/measurements/`. Same name in two modules with different signatures (write-time takes no user-priority, read-time does) sets up the next contributor to auto-complete the name in a new route and silently invoke the wrong picker — no user-priority resolution on a read, missing the 90-second window on a write. Rename to `dedupeWorkoutBatch` so the write-time contract is self-describing. The read-time picker keeps its established name. One file's export + 12-case test suite + the batch-route caller update — no algorithm change.