FAILURE MAP
← Case archive

FA-63097 / Insurance premium rating / Member archive

Premium installment schedule: Down payment is not counted in the payment total · case 02

A 12-pay plan produces 13 payments.

Member previewVariant 2 · 3 implementations · 9 checks per implementation

Case contract

Input premium, n total payments including the down payment (n<1 -> 'invalid'; n==1 -> [premium], no fee), down (per mille), fee per installment. Down = premium*down/1000 rounded half-up; the rest splits over n-1 installments by floor division with the remainder added to the last installment; each installment after the down payment carries the fee.

Why this case matters

Installment billing must collect exactly the premium plus disclosed fees, with remainders placed where the plan says.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
4-pay plan[55726, 56225, 56225, 56225, 56228][55726, 74801, 74801, 74801]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗