AISim › Chapter 6: Find the bug

Three bugs, one system

Chapter 6 boss. Someone "optimised" it three times. Nobody wrote down what they changed.

Your knowledge assistant has every component it needs. Over the last month, three different people each tweaked one setting to fix something. Now answers are wrong, slow and expensive, and nobody remembers what they changed. Find all three.

Goals

Concepts: Debugging, Caching, Reranking, Reasoning budget.

Hint

Fixing one bug can make another look worse. Follow a few failed requests and a few slow ones; they fail for different reasons.

What you learn

Debugging a pipeline means isolating one cause at a time. Read individual requests, not just averages: wrong answers, slow answers and expensive answers usually come from different places. Change one thing, watch what moves, then the next.

More in this chapter

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