FAILURE MAP
← Case archive

FA-63108 / Insurance premium rating / Member archive

Premium installment schedule: Paid-in-full policies are charged an installment fee · case 03

A single-payment plan bills premium plus an installment fee.

Member previewVariant 3 · 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
paid in full[154667][154367]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 ↗