Commit graph

3 commits

Author SHA1 Message Date
4d8437e508 docs: drop two more false-positive TODO entries
- Same-day duty overwrite: addDuty is keyed per employee+date, so a
  split Saturday duty between two employees creates two independent
  0.5 entries, not a conflict. Not a bug.
- Holiday cutoff 2030: not a current priority, dropped per user call.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-05 21:08:04 +02:00
9276e8c64d docs: correct TODO.md - tie-breaker was already fixed, not a bug
The eligible-over-ineligible tie-break in calculateMonthlyBonus was a
deliberate fix (commit c733c3e) covered by an explicit test
(test-suite.js:191-203). Flagging it as an open bug in TODO.md was a
misreading of calculator.js against the design spec's simplified
pseudocode; the spec's own test plan (section 12.5) and the actual
test suite confirm the current behavior is correct.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-05 20:23:13 +02:00
3598a4de9e docs: add TODO.md with known bonus-calculation gaps
Tie-breaker in calculateMonthlyBonus deviates from spec section 5,
same-day duties overwrite instead of summing, and holiday data only
covers 2025-2030.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-05 19:58:42 +02:00