FAILURE MAP
← Case archive

FA-59797 / Subscription proration billing / Member archive

Renewal price with lock and increase cap: lock expiry day · case 02

Renewals on the lock expiry day lose the locked price.

Member previewVariant 2 · 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 021001900Failed

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 ↗