Code RoomBug duplicate detector
MediumPrep Room Coding #37

Bug duplicate detector

Vibe & agenticAI agents & automationMid–Senior~14 min

Your bug tracker is full of duplicates, and triage wastes hours rediscovering that fact every week. Design an agent that spots likely duplicates and suggests merges. A wrong merge buries a real bug, so tell me exactly what the agent does versus what a human confirms, and how you'd measure the precision-recall trade-off before turning it loose. Wrap up with the pitch: why does this deserve a sprint over the fifty other internal tooling asks?

Implement
choose_suggest_threshold(scores: list[int], is_duplicate: list[bool], min_precision_pct: int) → int
Examples
in[[90,80,95,60,99],[true,false,true,false,true],95]out81
in[[90,80,95,60,99],[true,false,true,false,true],60]out0
in[[70,40,55],[false,false,false],50]out101
What a strong answer looks like

Turn the fuzzy goal into a bounded agent task. Say what the agent reads, what it may do on its own versus draft for a human, and what it must never touch. Then earn the trust: how you’d verify it before rollout, and the pitch (the problem, what you built, why it matters).

0:00 of about 14 min

Agent build: design the agent in plain language (or narrate it). The coach grades the decomposition, the guardrails, the verification plan, and the pitch.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.