FAILURE MAP
← Case archive

FA-63333 / Insurance premium rating / Member archive

Usage-based auto telematics discount: Exactly the minimum trip count does not qualify · case 03

Drivers with exactly the required trips only get the participation discount.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input base, annual_miles (bands <=5000 0.85, <=10000 1.00, <=15000 1.10, else 1.25), trips [[miles, hard brakes]], min_trips. With at least min_trips trips: bp = total brakes per 100 total miles; discount = clamp(300-50*bp, -100, 300) per mille. Fewer (but some) trips: 50 per mille participation discount; none: 0. Premium = base*band*(1000-discount)/1000 half-up.

Why this case matters

Telematics programs mix mileage bands with behaviour scores and participation rules.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
harsh braker surcharged7304484578Failed

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 ↗