mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
* [web] Add snapshot test for all annualDividedByTwelve values Captures the 85 stored values into a JSON fixture and asserts the effective value (stored field, or PlansHelper.roundedTwelfth(annual) once the field is derived at runtime) matches. Verification harness for the annualDividedByTwelve refactor. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * [web] Compute annualDividedByTwelve at runtime instead of hardcoding it * [web] Update annualDividedByTwelve snapshot for the rounding rule The runtime derivation reproduces 84 of the 85 historical values exactly. The one difference is PEN assistant, which was historically stored unrounded (350 / 12 = 29.1667) and now follows the round-up-to-0.05 rule (29.20). The assistant add-on is unavailable, so this is not user-visible. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Remove `localizedAddOnsPricing` from test * Add more sanity tests --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> GitOrigin-RevId: e60e8b3e90360817d4be3732243d242dc0cbb69e