FDE
The re-engineering (debugging) round
Given broken code and its intended behaviour, find and fix the problem systematically.
What it is and why it exists
Assessed on method: reproduce, form a hypothesis, isolate, verify the fix, add a test. Random edits count against you. In AI roles the broken thing is often an agent loop, a retrieval pipeline or a parser.
Quick prototype
—
In production, at scale
Practice with real bugs: write a failing test first, bisect inputs, add logging at boundaries, explain each step.
Vendors and tools
| pytest / debuggers | Tools |
|---|
How it fails
- Fixing the symptom without understanding the cause
What the interviewer asks next
This agent loops forever on some inputs. Method?
Reproduce with a failing input, inspect the trace for the repeated call and its observation, hypothesise (unhelpful error, missing stop condition), fix, add a budget and a regression test.