Learning Sets / Integration
Integration
Connect AI to the rest of your software: handle errors and retries, choose batch or real time, and stay within rate limits and budgets.
Covers: Errors and Retries, Batch and Real Time, Budgets and Rate Limits, Queues and Webhooks, Fallbacks, Streaming.
Start with M-41, Two Replies, One Ticket.
- A-08 Three Apology Emails Order the steps so a slow model call and repeated events send only one email Accountneeded
A carrier re-sends its delay notices when no one answers in time, and customers get the same apology three times. Put the steps of the handler in order.
- Difficulty
- Easy 3
- Type
- Order the Steps, Arrange
- Points
- 30 points
- M-02 The Empty Success Read the step-by-step record, and find why the report is wrong Accountneeded
A research agent's report says it found no studies on two topics, but the library has several on one of them. Read the trace, and find the cause.
- Difficulty
- Medium 4
- Type
- Diagnose, Multiple choice
- Points
- 40 points
- M-42 Back Up, Still Down Find out why an AI assistant stays down after its failed servers came back This Week’s Incident: Part 1 of 4 Accountneeded
Half of a company’s GPU servers failed this afternoon and came back about half an hour ago, but its assistant is still down.
- Difficulty
- Medium 4
- Type
- Diagnose, Multiple choice
- Points
- 40 points
- E-13 One Message, Many Calls Work out how many calls reach the fleet, compared with what it can finish This Week’s Incident: Part 2 of 4 Locked
Three layers each retry a failing call, so one message reaches the GPU fleet many times.
- Difficulty
- Easy 3
- Type
- Estimate the Cost, Exact answer
- Points
- 30 points
- M-43 The First Move Choose what to do first to bring the assistant back This Week’s Incident: Part 3 of 4 Locked
The assistant is still down and the runbook is open. Choose what to do first.
- Difficulty
- Medium 4
- Type
- Choose the Approach, Multiple choice
- Points
- 40 points
- M-44 What Kept It Down Choose the one change that lets the next outage end on its own This Week’s Incident: Part 4 of 4 Locked
The assistant is back, and the team can fund one change from the postmortem. Choose the one that lets the next outage end by itself.
- Difficulty
- Medium 4
- Type
- Choose the Approach, Multiple choice
- Points
- 40 points
- M-53 The Pause Before It Speaks Find the stage that keeps a phone assistant silent Accountneeded
Tallyhive’s phone line leaves callers in silence for seconds after they stop talking. Read one call’s timing log, and pick the upgrade that cuts the wait more.
- Difficulty
- Medium 4
- Type
- Compare Two Designs, Multiple choice
- Points
- 40 points
- E-02 Batch or Not Work out which jobs can run in batch mode, and how much that saves Accountneeded
Five jobs call a model every day. Move the jobs that can wait to batch mode, and work out how much you save.
- Difficulty
- Medium 5
- Type
- Compare Two Designs, Exact answer
- Points
- 50 points
- E-05 The First Word Work out how much sooner streaming shows the first words of a checked reply Accountneeded
A help chat runs a safety check on all its text before a player sees it. Pick a chunk size that keeps up with the model, and work out how much sooner the first words appear when the reply is streamed.
- Difficulty
- Medium 5
- Type
- Compare Two Designs, Exact answer
- Points
- 50 points
- C-09 The Day the Search Went Down Keep a research agent working through a day of tool failures Best on a computer Accountneeded
A research agent fails some requests, sends some clients the same email twice and stops long requests with no answer, on a day its tools keep failing. Configure how it handles each failure.
New to retries? Try K-02, Two Thousand by Morning first. AccountneededBest on a computer
- Difficulty
- Medium 6
- Type
- Design Under Constraints, Config
- Points
- 60 points
- M-41 Two Replies, One Ticket Find why the bill and the duplicate replies rose together
A helpdesk’s model bill is up, and some customers get more than one reply to a ticket. Read the queue’s settings and the worker logs, and pick what to change.
- Difficulty
- Medium 6
- Type
- Diagnose, Multiple choice
- Points
- 60 points
- K-02 Two Thousand by Morning Fix a nightly job that goes over its rate limit and leaves reports untagged Best on a computer Accountneeded
A nightly job that tags player reports keeps going over its rate limit and leaves most of them untagged. Fix it so the valid reports are tagged by 6 am.
New to error kinds and retries? Try M-02, The Empty Success first. Accountneeded
- Difficulty
- Medium 7
- Type
- Fix the System, Code
- Points
- 70 points
- K-06 Ten Thousand Tenants Write the code that splits a shared gateway’s capacity among thousands of customers Best on a computer Accountneeded
One model serves thousands of customer companies. Write the code that splits its tokens each minute, when some customers flood the gateway and others run bulk jobs.
New to per-tenant limits? Try C-14, Month-End at the Gateway first. AccountneededBest on a computer
- Difficulty
- Hard 8
- Type
- Design Under Constraints, Code
- Points
- 80 points
- K-08 Two Servers, One Refund Write the code that pays each refund ticket once, when calls fail in different ways Best on a computer Accountneeded
A refund desk pays refunds through two providers, and today the primary is failing some calls.
New to fallbacks? Try C-09, The Day the Search Went Down first. AccountneededBest on a computer
- Difficulty
- Hard 9
- Type
- Design Under Constraints, Code
- Points
- 90 points