Anthropic online assessment question, reconstructed from 17 candidate reports (September 2024 to July 2026). Tests: stateful class design; balances, ledgers and billing; time-based state (expiry, TTL, snapshots). Candidates reported 4 follow-ups. The write-up includes a Python solution that passes 7 test cases.