FAILURE MAP
← Case archive

FA-58969 / Payroll withholding rules / Member archive

Tip credit and minimum-wage makeup: overtime tip credit · case 04

Tipped employees working overtime receive less cash than the overtime minimum requires.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input weekly {hours, cash_rate, tips, min_wage (even cents), tip_credit_max}. Tip credit per hour = max(0, min(min_wage - cash_rate, tip_credit_max)). Hours over 40 are paid at 1.5*min_wage minus the same credit. Credit actually taken = min(tips, hours*credit); the unmet credit is paid as makeup. Return [cash_wages, makeup].

Why this case matters

Tip credits are capped by tips actually received and do not grow on overtime hours.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression 0[57240, 43608][63536, 43608]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 ↗