

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Manual Evaluation
incomplete
2: Golden Dataset
incomplete
3: Precision Metrics
incomplete
4: Recall Metrics
incomplete
5: F1 Score
incomplete
6: Error Analysis
incomplete
7: LLM Evaluation
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
When search fails, don't just shrug. Figure out why! Be specific.
Metrics tell you what is wrong. Error analysis tells you why it's wrong.
Let's say your system doesn't return documents that should match (i.e., false negatives). For example:
With these types of issues, you'll need to debug the entire search pipeline to find out where the problem lies.
I recommend adding optional debug logging at each stage so that it's easy to see where results are lost or altered.
Once you find the part of the pipeline that's failing, it's a lot easier to fix. But sometimes, you need to dig even deeper.
For example, you might find that your system should handle both short and long queries, but it often fails differently based on length:
To debug this, I'd keep the query intent the same, but vary the length of the input queries and see how the system responds. In this example I would likely be focused specifically on the query rewriting part of the pipeline.