AISim › Chapter 3: Keeping it running
The 9am board report
Chapter 3 boss. The provider is down, the data changed overnight, and the output feeds a spreadsheet.
Every morning your system answers questions about yesterday's numbers and fills a board report with JSON your code parses. Today your main provider is failing most calls, half the figures changed overnight and many live in tables. The report is due at 9.
Goals
- error rate at most 1%
- accuracy at least 78%
- cost per 1,000 requests at most $15
Concepts: Failover, Structured output, Fresh indexes.
Hint
Three separate problems: calls that fail, answers your code can't parse, and facts that are out of date or trapped in tables.
What you learn
Reliability is layered. A second provider keeps you up when one fails, structured output keeps your code from crashing, and a fresh, layout-aware index keeps answers true. None of them helps with the others' problem.
More in this chapter
- The provider is down (Level 11)
- The research assistant (Level 12)
- Think harder? (Level 13)
- It broke the parser (Level 14)
- Yesterday's answers (Level 15)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).