Skip to main content
EasyBug fixPython40 min

Object link report undercounts one object type

A practice debugging interview round in Python. Reproduce the failure in an unfamiliar codebase, narrow down the cause, ship a minimal fix, and explain your reasoning to an AI interviewer.

The incident

A data-quality reviewer runs this report before signing off on the ontology. This morning it shows fewer active links for one object type than the graph explorer does, and the review is blocked until the two reconcile.

link_rollup.py reads a link feed and prints, per object type, how many active links came from the graph.

What this round practices

A short data-quality round on a graph of typed objects and links. One object type shows fewer active links than the graph explorer, so the work is to find which of that type's links the report drops and to read the feed's contract closely.

Files you will work in

These 4 workspace files open in the in-browser editor when you start the round. Hidden tests also run when you submit.

  • task.md
  • src/link_rollup.py
  • fixtures/input.txt
  • tests/expected_output.txt

What you are assessed on

The scored report evaluates both your investigation steps and what you explain during the conversation, not only whether the final test run passes.

  • Reproduction
  • File navigation
  • Evidence gathering
  • Hypothesis
  • Root-cause understanding
  • Regression prevention
  • Patch scope
  • Verification
  • Edit control
  • Communication clarity

How the round works

You get 40 minutes in a Python workspace that runs in your browser, with no setup. Talk through your plan with the AI interviewer by voice or text, run the tests as often as you like, and submit when the visible checks pass. Hidden tests run on submit, and the scored report covers what you did and what you explained.

Ready to debug this codebase?

Open the workspace, run the failing check first, and walk the AI interviewer through your findings.