bugger.
APPLIED AI / DEBUGGING & RELIABILITY

A working demo is a start.
Understand what breaks.

For engineers who have built a RAG application or an agent. Investigate the evidence, repair the Python code, and prove the fix holds.

Follow the whole application.

THREE LAYERS TO INVESTIGATE
  1. Retrieve contextWhich documents reached the model?
  2. Coordinate actionsWhich tool changed the world?
  3. Evaluate behaviorWhat does the score actually measure?

These are original, constructed labs with simulated tools, fixed data and recorded evidence. No live model, API keys or GPU required. You investigate application behavior and verify it with deterministic tests.

YOUR PRACTICE

One investigation at a time.

Checking your session…

Debug your first AI application
THE FIRST THREE INVESTIGATIONS

Read. Reproduce. Repair.

Python · reproducible fixtures
01 / RETRIEVAL

The retriever that ranks the wrong document first

The relevant document is in the index, but the RAG application sends a worse match to its answer step.

Inspect the evidence
Document IDs, vector scores and the order of retrieved results.
Prove the repair
The relevant documents rank correctly across unseen queries.
~25 min easyOpen lab
02 / AGENTS & TOOLS

The agent that performs an action twice

The tool commits a credit, loses its acknowledgement, and the agent’s retry commits the same action again.

Inspect the evidence
Tool requests, operation IDs and the state left after a timeout.
Prove the repair
Retries produce one committed effect; distinct operations still work.
~35 min mediumOpen lab
03 / EVALUATION

The evaluation score that changes with batch size

The same recorded model responses receive different scores when batched differently, and failed calls disappear from the denominator.

Inspect the evidence
Per-example results, failed examples and batch denominators.
Prove the repair
The same examples produce the same score across batch partitions.
~30 min mediumOpen lab

Build an investigation you can explain.

The debugging method
  1. Diagnose

    Read the report and execution evidence. Run the starter to reproduce the failure. Separate model behavior from application logic.

  2. Repair

    Trace the cause in the editor. Test a small change, then add your own reproduction cases to challenge your assumption.

  3. Verify

    Submit against visible and hidden regressions. An accepted repair unlocks the root cause and teaching notes. Explain what your tests establish.