Bastian Wagner d8f13d674d refactor: extract shared backward-reconstruction logic
Extract the month-by-month backward-walk algorithm (used for both
team-level cash balance and player-level debt history) into a single
shared private helper `reconstructBackward()`. This eliminates code
duplication while preserving behavior:

- Team-level balanceHistory: maps movements through signedFlowAmount(),
  rounds each point, calls the shared helper
- Player-level balance history: maps transactions using type.id rule,
  skips rounding (only rounds at final merge to avoid compounding
  errors), calls the shared helper

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 10:58:48 +02:00
2026-07-31 21:02:47 +02:00
2026-08-01 13:17:26 +02:00
2026-07-31 22:01:09 +02:00
2026-07-31 21:20:16 +02:00
2026-08-01 13:17:26 +02:00
Description
No description provided
8.7 MiB
Languages
TypeScript 88.2%
HTML 7.1%
SCSS 3.7%
Shell 0.6%
Handlebars 0.3%
Other 0.1%