Commit graph

1 commit

Author SHA1 Message Date
Marcel Enguehard
85b0836d6e Add reference amortisation generator for known-answer tests
Computes the mensualité, échéancier, coût total and TAEG of a French
fixed-instalment loan in Decimal arithmetic, and emits the four anonymised
sample offers as either JSON or a Rust fixtures module.

Conventions (taux mensuel proportionnel, arrondi ROUND_HALF_UP au centime,
dernière échéance ajustée pour solder le CRD) are verified against a real
amortisation table via the `verify` subcommand, and cross-checked against the
ANIL simulator on 2026-08-03.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 18:07:23 +02:00