FAILURE MAP
← Case archive

FA-59809 / Subscription proration billing / Member archive

Renewal price with lock and increase cap: increase cap base · case 04

Renewal increases exceed the promised percentage cap.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input {last_paid, list_price, locked|None, lock_until, renewal_day, cap_pct}. While the lock is active (renewal_day <= lock_until) the target is min(list_price, locked); otherwise list_price. The renewal price is min(target, last_paid*(100+cap_pct)//100). Return cents.

Why this case matters

Grandfathered prices and increase caps protect renewing subscribers; their interplay sets the renewal amount.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression 024382400Failed

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 ↗