CaseAdvancedResponsible AI & Advanced Practice / AI product case study teardowns / #1

Tear down a coding assistant: what is the core loop and where does it break?

The direct answer
Split the accept step back into per-file review, and flag any file the assistant touched outside the ticket's stated scope for one explicit look before it can be included. The loop breaks at review, not at code generation: the moment one click can apply every file at once, an engineer can no longer tell which files are safe to trust, so she stops trusting any of them and starts rewriting the whole ticket herself. That is worse than never installing the assistant, because now she writes the code by hand and the team still pays for the tool.
Do this, in order
  1. Split Accept back into per-file steps, and flag anything outside the ticket's scope.Why: this is the fix. It restores the pause where review used to happen, without asking anyone to write code by hand again.
  2. Name the loop's five hops out loud before you diagnose anything.Why: describe, draft, review, accept, ship. If you cannot say where review happens, you cannot say where it broke.
  3. Watch the ratio of tickets handed to the assistant against tickets an engineer takes back and rewrites.Why: that ratio falls for weeks before anyone complains. It moves early. Error counts only move after the damage is done.
  4. Leave single-file, small diffs on one-click accept.Why: a docstring fix or a one-line suggestion was never the risk. Slowing those down costs the team hours for nothing.
  5. Do not fix this with a second reviewer or a confidence score.Why: both are new dials on top of the old decision, not the decision that actually broke.

How to answer this, stage by stage

Eight moves. This is a teardown question, broad on purpose, so the hardest part is naming the loop before you're allowed to say where it snaps. Each stage has the words you'd actually say.

1
Name the four hops before you touch a single bug
Say it like this
"Let me draw the loop first, so we're looking at the same thing. Someone describes a task in plain English. The assistant drafts a diff. A person reviews it. They accept it. It ships. Four hops, one snap point, and I think the snap is at review."
Why this works
Names the loop out loud in one breath, so "tear it down" has an actual object to tear down instead of a vague product.
2
Put one engineer inside it, not a persona
Say it like this
"Say this is Amara. Staff engineer, owns the payments reconciliation service, five years in, mentors one junior on her team. She's not new to the tool. She's used it daily for ten months."
Why this works
A segment doesn't have a Tuesday. A staff engineer with a track record does, and that's the person the interviewer is actually picturing.
3
Say what actually breaks, in one sentence
Say it like this
"It's not that the code gets worse. It's that once one click can apply eleven files, she can't tell which file needs her eyes and which doesn't. So the loop doesn't degrade. It snaps. She goes from handing off the ticket to writing the whole thing herself."
Why this works
Reframes the question from "the model got worse," which is a lecture, to "a person's behavior snapped," which is the actual finding.
4
Give the one decision, and only one
Say it like this
"Here's what I'd change. Put the per-file check back. When the diff edits a file outside what the ticket asked for, flag it and make her look at that one file before it's included. Don't touch the rest of the loop."
Why this works
This is the direct answer, said out loud. Small and specific beats a redesign nobody can picture.
5
Run the failure that proves it
Say it like this
"Two days before this, Amara accepted an eleven-file diff for a ticket that asked for one thing: an idempotency key on the settlement webhook. In standup, her junior asked why the webhook now retries three times. She didn't know. She'd approved that diff without reading file nine of eleven, a shared retry wrapper the assistant added on its own."
Why this works
Four sentences, and it's the exact moment the review step stopped doing its job.
6
Name the number you'd watch before it snaps
Say it like this
"I wouldn't wait for a moment like that to catch it. I'd watch the ratio of tickets she hands to the assistant against tickets she takes back and rewrites herself. That ratio was falling for weeks before this Tuesday. Nobody was looking at it."
Why this works
Shows you think past launch day, and it names the number that moves early instead of the one everyone already watches after the fact.
7
Say where this fix would be overkill
Say it like this
"I wouldn't put this same friction on a one-line fix or a single-file suggestion typed inline. Those were never the problem. Flagging out-of-scope files only matters once a diff can quietly reach outside the ticket."
Why this works
Shows judgment instead of blanket caution. A candidate who wants every keystroke double-checked has just made the tool slower for nothing.
8
Land the whole teardown in one breath
Say it like this
"So: the loop is describe, draft, review, accept, ship. It breaks at review, the day one click stops meaning 'I read this' and starts meaning 'I hope this is fine.' Put the per-file check back, flag anything outside scope, and the loop survives the day it goes wrong."
Why this works
Restates the decision and why, in one breath. That's the line an interviewer remembers.
If you remember one thing Stages 3 and 4 are what the interviewer is really grading. Reframe the break as a person's behavior, not a bug, then give exactly one fix. Everything else in the answer is proof.

Let's learn

Say we build an assistant that lives inside a coding editor. You describe what you want changed, in plain English, and it writes the code and shows you the change before anything ships.

Five boxes in a row: describe it, draft a diff, review each file, accept, ship. The review box is circled in red.
The core loop. Five hops. One of them is where trust lives.
Knowledge spark: what's a diff? A diff is just a list of the lines that changed. Lines taken out are marked one way, lines added are marked another way. Reading one is how a programmer checks a change without re-reading the whole file from the top.

Before the tool, writing a small feature by hand, design plus code plus tests, took Amara about 90 minutes. With the assistant working well, she'd describe the ticket, read a one or two file diff, run the tests, and be done in about 12 minutes.

Then the tool got good enough to take on bigger tickets. A change that used to touch one file now touches ten, eleven, sometimes more. So the team added an Accept All button: one click for the whole diff, instead of clicking through eleven files one at a time.

Minutes to ship one ticket, three ways
By hand, no tool
90 minutes
With the assistant, trusted
12 minutes
After the flip
100 minutes
The tool didn't just stop saving time. Once she stopped trusting it, it cost more than never having it at all.
Bar chart. By hand: 90 minutes. With the assistant: 12 minutes. After the flip: 100 minutes.
Same three numbers, drawn as the same task, three ways
The eleven files were not the problem. What Amara did next was the problem.

She stopped being able to tell which of the eleven files needed her eyes and which didn't. So she stopped trusting any of them, and started writing the whole ticket herself, first draft and all, the way she did before the tool existed.

At its worst, that's worse than never building the tool. Writing a ticket by hand still costs about 90 minutes. Now she also spends about ten more minutes reading the assistant's draft first, deciding she doesn't trust it, and throwing it out. A hundred minutes, for a ticket that used to take twelve.

Two panels. Left: per-file review, a check on each of 11 files. Right: Accept All, one click applies every file at once.
The pause we took out of the loop

The choice I would take back. We merged two steps into one. Reviewing a file and applying it used to be two separate clicks, one per file. We combined them into a single Accept All, because clicking through eleven boring files felt like busywork once the assistant's suggestions were reliably fine. That was a sensible call when a ticket touched one file. It stopped being sensible once a ticket could touch eleven, one of which nobody asked for.

The decision that mattered Put the per-file check back, and flag any file outside the ticket's stated scope for one explicit look before it can be included. Not a second reviewer. Not a confidence score. The pause we removed, put back where it used to sit.

What I would leave alone. The single-file fixes and the one-line suggestions typed inline don't need this. If the assistant finishes a variable name or fixes a typo in a comment, checking it costs a second and any mistake is cheap and obvious. Slowing that down would cost the whole team hours a week for nothing.

The lesson. We built the review step for a world where a ticket touched one file. The tool got better at handling whole features, and we let the review step get lazier at exactly the same time, in exactly the wrong direction.

Now here's the same thing as a story

Use this version when you have time to make it land, not just to list it.

Amara can read a stack trace the way most people read a text message. Fast, and she already half knows what it's going to say before she finishes the second line. Five years on the reconciliation service at Larkspur, a payments startup, and for the last few months she's also mentoring Caleb, a junior engineer eight months into his first job.

The assistant showed up on her team about ten months ago. At first it only handled small things: a one-file fix, a new field on a form. She read every line of every diff it made, the way you'd read a stranger's homework. It was always fine. After a few weeks she started skimming the boilerplate and reading closely only the part that mattered. After a few months, if the tests passed, she'd glance at the file list and click through.

Then the tool got better. It could take a whole small feature now, not just a patch. Eleven files instead of one. Clicking through eleven files one at a time started to feel like the kind of busywork nobody does twice. So the team added Accept All. One click, whole diff, done.

For a while that felt like a gift. Amara would describe a ticket over coffee, glance at a green test run twelve minutes later, and move on to the next thing.

Then came a Tuesday standup. Nothing dramatic. Caleb, going through his own list, said, almost as an aside, "hey, why does the settlement webhook retry three times now? I don't remember us deciding that." Amara opened her mouth to answer and had nothing. She'd approved that diff two days earlier. Eleven files, one click. File nine, a shared retry wrapper touched by six other services, had never been read by anyone.

We didn't take eleven files from her. We took her ability to say why her own system does what it does.
Left, a dial with many marks labelled how much to check. Right, a two-position switch labelled hands it off and takes it back, with an arrow between them.
People are switches, not dials

I want to say the problem was one bad file. It wasn't, not really. Amara never had a file count in her head. She had a feeling, and the feeling only had two settings: hand this ticket to the assistant and trust the result, or take it back and write it myself. There was no setting in between, no "check a bit more carefully this time." Once she couldn't trust one file in eleven, she couldn't trust the batch, and the only lever left was the whole thing.

So here is the decision I'd take back. Months earlier, in a planning meeting nobody wrote much down about, we decided that reviewing a file and applying it should be one click, not two. Clicking through eleven files felt like the kind of caution that exists for its own sake. Nobody had asked for a slower Accept button. It looked like friction with no upside.

I'd put the per-file check back. Not for every file, just the ones the assistant touches that the ticket never mentioned. If the retry wrapper in a shared file gets flagged the moment it appears, Amara reads that one file, ninety seconds, and either keeps it or drops it. The other ten files still apply in one click, because they were always the safe part.

That's the whole difference. One design hands her eleven black boxes and asks her to trust all of them or none of them. The other hands her one flagged file and lets her keep trusting the rest.

And the part I'd tell myself, if I could go back: we measured whether the code was right. We never measured whether she could still explain it, out loud, on a Tuesday, to the person she's supposed to be teaching.

FLIPS, torn down the same way as the loop

Five letters, and the fourth one is the one everyone skips. This is a Perturbation question dressed as a teardown: something changed (the diff got bigger, the click got merged), and FLIPS runs straight down the line, F to S.

Five stacked rows, F L I P S, each a letter in a box, a step name, and a question. The I row is coloured differently from the rest.
FLIPS, in five rows
FFind the person
Whose morning is this?
Not "engineering teams." One staff engineer, one service she owns, one Tuesday standup.
In this answer: Amara, five years on the reconciliation service, mentoring Caleb.
LLocate the habit
What did they stop doing because it worked?
Every tool that works builds a habit of not-checking. Find the exact thing that quietly stopped.
In this answer: She stopped writing the first draft of a ticket herself and started handing whole tickets to the assistant.
IIdentify the flip
What verb snaps, with no middle setting?
The hard step. Not a number moving, a behavior with exactly two settings and no drift back.
In this answer: Delegates the ticket and reviews the result, or takes it back and writes it herself. No half-delegating a ticket.
PPinpoint the old decision
Which choice only made sense before?
Small, specific, reasonable at the time. Never "add more review."
In this answer: Merging per-file review and apply into one Accept All button.
SShow the replay
Same bad day, new design. Better ending?
Run the same trigger through the fixed product. End on something you can count.
In this answer: The flag catches file nine in 90 seconds. She answers Caleb in standup instead of saying "let me check."
Two line charts. Left: a gently rising line, labelled trusts it a little to trusts it a lot. Right: a flat line that jumps straight up then stays flat, labelled delegates it to does it herself.
A small push. A big jump. No slope in between.
Why I is the hard step Anyone can say "trust dropped." The hard part is saying what she did with her hands about it, and proving there was no middle setting. "Checked more carefully" is a dial. "Took the ticket back and rewrote it" is a switch. If your flip has a middle, you haven't found it yet.

Run it on something that never touches a keyboard

An insurance claims adjuster uses a tool that drafts settlement letters from a claim file: photos, repair estimates, a police report, witness statements. Same question shape, a completely different product, and a completely different flip.

Two panels. Left: hands over the real file, messy notes and a garbled report. Right: cleans it first, strips the ambiguous part before she ever asks.
Same question, a different flip

F. Naledi Dube, six years adjusting auto-collision claims at a regional insurer, about 30 open files at once.
L. She stopped drafting settlement letters from scratch. She started handing the tool the whole claim file and copying its recommended number into the letter.
I. A different flip. She doesn't check more or delegate less. She starts cleaning the file before she shows it to the tool, stripping the illegible police report or the contradictory witness note, and finishing those pieces by hand off to the side. No middle setting: a claim goes in whole, or she strips it first.
P. The tool never says which part of a file confused it. It gives a confident number no matter how messy the input. That was fine when most files were clean. After a near miss, one inflated number pulled from a garbled report that she caught by luck, she had no way to know which outputs to trust, so she learned to keep the hard parts away from it.
S. Give the tool a claim, and it flags which parts it read clean and which it's guessing at. Now she doesn't need to pre-clean anything. She sees "witness statement, low confidence" and finishes just that one piece by hand, five minutes, instead of quietly rewriting the whole letter herself.

Swap the trigger and it still runs

  • Speed: the diff panel gets slow, twenty seconds to load instead of two, and reviewing eleven files starts to feel like a chore even before Accept All exists. Same snap, earlier.
  • Cost: the team moves to a cheaper plan and someone quietly turns off the "flag unusual files" setting to save a subscription tier. Nothing about the model changed.
  • The model got better: the case on this page. Fewer bad suggestions overall is exactly what made an eleven-file Accept All feel safe enough to ship in the first place.

Where people run it wrong

  • Blaming the model's accuracy instead of the button that let one click cover eleven files.
  • Fixing it by adding a second human reviewer, which is a new dial, not the decision that broke.
  • Waiting for a Caleb-style incident instead of watching the handoff ratio, which was already falling for weeks.

How to use it live

Say the loop out loud before you answer anything else. "So the loop is describe, draft, review, accept, ship." Naming it costs five seconds and it isn't stalling, it's where the real answer starts, because "where does it break" only means something once you've said what the whole thing is.

Flashcards (click a card to flip it)

Eight fixed slots, pulled straight from the teardown above.

1 · THE FLIP FAMILY
What flip family is this?
Tap to flip
ANSWER
Delegation flip. Hands the task down to the tool, then takes it back once trust breaks. Two people quietly end up doing the work of one.
2 · THE PERSON
Who is this answer about?
Tap to flip
ANSWER
Amara Chukwu, staff backend engineer at a payments startup. Owns the reconciliation service, five years in, mentors one junior engineer.
3 · THE HABIT
What did she stop doing because it worked?
Tap to flip
ANSWER
She stopped writing the first draft of a ticket herself. She started handing the whole ticket to the assistant and reviewing only the result.
4 · THE FLIP, HERE
What's the two-setting switch in this story?
Tap to flip
ANSWER
Delegates the ticket to the assistant and reviews the result, or takes the ticket back and writes it herself from scratch. No half-delegating a ticket.
5 · THE OLD DECISION
What decision would you take back?
Tap to flip
ANSWER
Merging per-file review and apply into one Accept All button across every file in the diff, because clicking through eleven boring files felt like busywork.
6 · THE NUMBER
A ticket took Amara about ___ minutes by hand, and about ___ minutes once she stopped trusting the assistant.
Tap to flip
ANSWER
90 minutes by hand, about 100 minutes after the flip. Ten more than starting from scratch, because she reads the assistant's draft first and throws it out.
7 · THE REPLAY
Same bad day, new design, what changes?
Tap to flip
ANSWER
The panel flags the one file outside the ticket's scope. She reads it in 90 seconds, drops it, ships in under 15 minutes, and answers Caleb in standup instead of saying "let me check."
8 · CROSS-PRODUCT
Section 4 answers this same question for a different product, with a different flip family. Which product, which family?
Tap to flip
ANSWER
An AI tool that drafts insurance settlement letters, using the pre-editing flip: the adjuster starts cleaning the claim file before she ever shows it to the tool.

Check yourself Score: 0 / 0

Multiple choice
1. What was the flip in Amara's story, and what were its two settings?
  • A. She checks fewer files than she used to.
  • B. She delegates the ticket to the assistant and reviews the result, or she takes the ticket back and writes it herself.
  • C. The assistant got worse at generating code.
  • D. She adds a second reviewer to every diff.
Show hint
A flip is a verb the person does, not a change in the model, and it has exactly two settings.
Show answer
B. C describes the model, not a person's behavior. A is a dial, not a flip, there's no middle "checks fewer" setting she actually landed on. D is a fix, not what happened in the story.
Fill in the blank
2. The decision this answer takes back is merging ______ and ______ into a single Accept All button.
Show hint
Two things used to be separate clicks, one per file.
Show answer
Reviewing a file, and applying it. They were two clicks per file. Merging them felt harmless when a ticket touched one file, and stopped being harmless once a diff could touch eleven, one of which nobody asked for.
True or false
3. True or false: Amara could have fixed this by just "checking a bit more carefully" instead of taking the whole ticket back.
  • True
  • False
Show hint
Once one click can cover any number of files, is there a calibrated "check a bit more" option?
Show answer
False. Once the diff could touch any number of files with one click, she had no way to tell which specific file needed scrutiny. There was no calibrated middle setting, only full trust or a full rewrite. That's what makes it a flip and not a dial.
Multiple choice
4. Which of these would NOT need the per-file, out-of-scope flag?
  • A. An eleven-file diff for a webhook idempotency ticket.
  • B. A one-line docstring fix suggested inline while she types.
  • C. A diff that adds a retry wrapper to a shared library nobody asked for.
  • D. A multi-file refactor spanning six services.
Show hint
Where is a mistake cheap and obvious rather than hidden and expensive?
Show answer
B. A single inline suggestion is cheap to check and cheap to undo. The flag exists for diffs that can quietly reach outside what was asked for, which A, C, and D all can.
Short answer, apply it yourself
5. Pick a tool you use yourself. What's one habit it built in you that you'd stop doing if it got a little worse?
Show hint
Think of a GPS app, a spell checker, a spam filter. Something whose whole job is to let you stop doing something by hand.
Show answer
Model answer: "GPS routing. I stopped reading road signs and start trusting the turn-by-turn voice completely. If it sent me the wrong way twice in one week, I wouldn't drive 'a bit more carefully.' I'd pull up the map and read the whole route myself before setting off, the way I did before I trusted it, because there's no calibrated middle between trusting the voice and re-checking every turn." Any honest answer works if it names a real two-setting switch, not just "I'd be more careful."
Fill in the blank, do the math
6. Amara's team ships about 40 tickets a month through the assistant. Say 1 in 10 gets the full-rewrite treatment after the flip, at 100 minutes instead of the 12 it used to take. About how many extra hours a month does that cost the team, compared to before the flip?
Show hint
4 tickets, 88 extra minutes each.
Show answer
About 5.9 hours a month. 4 tickets times 88 extra minutes is 352 minutes, just under 6 hours. And that's before counting what it costs Caleb's growth, or Amara's ability to explain her own system on a Tuesday.
From U2xAI Academy

From answering questions to owning outcomes.

A live workshop where you ship a working AI agent, defend a launch decision, and walk away with a portfolio recruiters can't wave off, not just more questions to study.

  • A live AI agent you actually shipped
  • A launch decision you can defend under pressure
  • An interview-ready portfolio, not more flashcards
Know more