Skip to lesson
Exit
Capstone: Full Mock Loop1 / 2

2 min lesson

The 40-minute clock

Take "The 40-minute clock" step by step, then finish with the result that proves it worked.

Step 1 of 2

The 40-minute clockRun it like the round

  1. 10–6 min · Requirements & assumptions. State the latency target (e.g. p95 under 100ms for tab), the scale (millions of DAU) and what good means. Name your assumptions explicitly so you can defend them when pushed.
  2. 26–16 min · Data flow. Walk the request from keystroke to rendered suggestion: debounce, context gather, prompt build, inference, stream back, accept/reject telemetry. Draw the path in words; mark where the time goes.
  3. 316–28 min · Latency & cost tradeoffs. This is the heart of the round. Smaller model vs quality, cache hit rate vs freshness, speculative vs exact, on-device vs server cost. For each, state what you'd trade and why for this product.
  4. 428–34 min · Eval. How you'd know it works on real usage, not your demo: acceptance rate, characters-retained-after-N-seconds, A/B on a small traffic slice, guardrails against confidently-wrong suggestions.
  5. 534–40 min · Failure modes. Cold cache, model timeout, a suggestion that corrupts the buffer, a latency spike under load. Say what degrades gracefully and what must never break.
Latency is the product, not a constraint

For tab prediction, a correct suggestion that lands in 300ms is worse than a slightly weaker one in 60ms, because the user has already typed past it. Frame tradeoffs around the user's typing speed and the round flips from textbook system design to product judgment - which is what they're actually grading.

Learn more

Advanced table

Score against the rubric

Score against the rubric

Dimension
Scoping
What a 5 looks like
Pinned latency, scale and a definition of good in the first six minutes
Red flag
Started drawing boxes before stating the target
Dimension
Depth
What a 5 looks like
Real mechanisms: caching, speculative decode, retrieval ranking
Red flag
Hand-waved “we'd use a model” with no internals
Dimension
Tradeoffs
What a 5 looks like
Each choice has a stated cost and a reason tied to this product
Red flag
Listed options without committing or defending one
Dimension
Product awareness
What a 5 looks like
Eval, telemetry and failure modes framed around real users
Red flag
Designed for a benchmark, never mentioned acceptance or trust

Grade the recording with this open. The tradeoffs row is where most candidates lose the round.

Watch out

Designing for peak quality and ignoring cost is the senior-candidate trap. Serving a latest-generation model on every keystroke for millions of users is a non-starter economically and saying so unprompted is a stronger signal than a flawless architecture that would bankrupt the inference budget.