Step-by-step answer
Core 75 min6 stepsSimulate cache hits and costs for a matter
A prompt-cache simulator with exact prefix hashing, 20-block lookback, response-start availability, refresh on read and mixed lifetimes, which reproduces the lesson's enquiries-agent table to the cent and then runs 2,000 matters through one shared cache. A 1-hour breakpoint on each agent's shared prefix and at the hand-off to a person beats both uniform lifetimes.
Back to the exercise