FA-59169 / Payroll withholding rules / Member archive
Applicable minimum wage and youth rate: most protective rate · case 04
Employees in cities with a minimum wage below the state rate are underpaid.
Case contract
Input {federal, state|None, local|None, age, days_employed, hours, paid}. Applicable rate is the highest of the defined federal, state and local minimums. A youth rate of 4.25 may replace it when age < 20, days_employed <= 90 and neither a state nor local minimum is defined. Return [rate, max(0, hours*rate - paid)].
Why this case matters
Payroll must pay the most protective minimum wage, and the youth rate exception is narrow.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression 0 | [1400, 38858] | [1500, 42358] | 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 ↗