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

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

This interactive level needs JavaScript. Built by (cybernerdie).