mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 11:28:47 +02:00
Review finding BE-06 (suspected off-by-one in get_cycle_range) is a FALSE POSITIVE: budget month M composes get_previous_cycle with get_cycle_range to cover [(M-1)/18, M/18), matching both the code comment and the frontend convention. Verified against prod data: May 2026 cycle-window SQL sum matches the API (95 txs exactly, refunds to the colón, 0.13%% delta from one EUR tx). The docstring now spells out the labeling convention, and month is validated 1-12 (BE-07). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
23 KiB
23 KiB