Release 0.5.6
v0.5.6Canton VS added; OASI 2025 udpate; bug fixes
Core
- Taxes: canton VS added, further enhancing coverage of cantonal tax rules. The lumpsum tax approximation for VS currently assumes P1=man and P2=woman for annuity conversion—a UI-enhanced solution will address this corner case when both genders retire at the same age.
- AVS/AHV: Updated numbers to the latest 2025 values. Introduced a fully reworked annuity computation closely following the official specification for increased maintainability and correctness (results remain identical).
- Federal Lumpsum Tax: Improved tax accuracy by excluding the children deduction (Art 36 Abs 2bis DBG) from the computation.
- Optimized getDeduction function for better performance: each year’s deduction table now loads only once, resulting in a 40% speedup.
- Taxes / FR: Improved accuracy by removing the minimum tax of 50 CHF.
- Taxes / VD: Implemented the “bouclier fiscal,” capping income tax at 30% of income, bringing results in line with the official online calculator.
- Taxes / VD: Applied the 2024 3.5% discount to the cantonal income tax, keeping calculations current.
- Taxes / GE: Enhanced flexibility by adding a table for the impot supplementaire sur la fortune to reflect yearly changes.
- Added alternate versions of EarliestGood and EarliestBest modes as experimental improvements for future performance gains.
- BankruptcyError: Improved reporting to show the full date, not just the year, for better traceability.
Input
- Validation checks now ensure event groups have a date, and errors clearly indicate the row number for easier debugging.
- Updated menu entries for clarity: now “Find FI date” (for when earliest stop works at pillar 1+2+3 at 65 years) and “Simulate my plan” (to run the given scenario).
Production and Tooling
- Introduced telemetry for real-time execution metrics, accessible at /telemetry, supporting informed improvements.
- Automated regression tests now continuously validate federal and local tax computations against the ESTV service. This process uncovered changes in the FR tax table data format and highlighted a discrepancy in VD local income tax calculations for incomes above 200K CHF with children present—suggesting a probable mistake in ESTV’s calculation of “Code 820" (Revenu determinant pour le taux (quotient familial)) cap for children’s deductions.