FAILURE MAP
← Case archive

FA-63152 / Insurance premium rating / Member archive

Workers compensation payroll audit premium: Officer minimum payroll is not enforced · case 02

Part-time officers are rated below the statutory minimum payroll.

Member previewVariant 2 · 3 implementations · 9 checks per implementation

Case contract

Input rates {class: cents per $100 of payroll}, employees [[class, payroll cents incl. overtime, overtime cents, officer]], officer_min, officer_max. Unknown class -> 'unknown class <code>'. Remove the overtime premium portion (one third of overtime pay), then clamp officer payroll to [officer_min, officer_max]. Sum payroll by class; class premium = payroll*rate/10000 rounded half-up per class; return the total.

Why this case matters

Audited payroll premium is where overtime exclusions and officer limits routinely go wrong.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
part-time officer raised to minimum2131529955Failed

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 ↗