FAILURE MAP
← Case archive

FA-59164 / Payroll withholding rules / Member archive

Aggregate-method supplemental withholding: aggregate wage base · case 04

Bonuses for higher earners are withheld at the bottom bracket.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input {regular, supp, regular_wh or None, table: ascending [[threshold, base, pct]]}. f(w) uses the last row with threshold <= w: base + (w - threshold)*pct/100 half-up. Supplemental withholding = max(0, f(regular + supp) - already), where already is regular_wh when given, otherwise f(regular) (supplemental paid separately from the regular run). Return cents.

Why this case matters

The aggregate method withholds on combined wages, then credits what the regular payroll already withheld.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression 01237985498Failed

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 ↗