📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

Tell me about a time a teammate was struggling, for example a junior whose pull requests kept being rejected. How did you work out what was really going wrong, what did you personally do, how did you balance helping them with your own delivery, and how did you know it had worked?

The struggling-teammate story: diagnosing why a developer's PRs keep failing review (skill gap, unclear standards, oversized PRs, review culture or something personal), a private and kind conversation, pairing and smaller PRs, making standards explicit with analysers and checklists, involving the manager at the right point, and measuring the improvement.

Mid-Level Behavioral Intermediate code-review mentoring pull-requests real-world star-story team-growth

🎯 Key points

  • Diagnose before helping: skill gap, unclear or unwritten standards, oversized PRs, inconsistent reviewers, or something personal
  • Raise it privately and early, with curiosity and specific PR examples, never in the PR thread
  • Pair on the next piece of work and agree on a design before code is written (a short design note or whiteboard)
  • Make standards explicit and automated: .editorconfig, Roslyn analysers, a PR template, so tooling catches style and reviewers focus on design
  • Shrink the unit of work: PRs under ~300 changed lines, because 1,000-line PRs cause reviewer fatigue, late rewrites and multi-day queues
  • Fix the reviewers' side and handle the disagreement openly: blocking vs nit labels, one reviewer owns the PR, contradictory guidance settled as a team
  • Know when to involve the manager: performance or wellbeing is their call; keep it supportive and transparent, not a report
  • Measure it: first-pass approval rate, review rounds per PR, time to merge, plus the teammate's own view; protect your own delivery

⏱ 30-second answer

When a teammate's PRs keep getting rejected, I treat it as a diagnosis problem before a coaching problem. The cause is often not just skill: unwritten standards, PRs that are too big, inconsistent reviewers or something personal. I raise it privately and early, with specific examples and genuine curiosity, then agree a plan: pair on the next task, agree the design before code, and keep PRs small. Then I move the unwritten rules into .editorconfig, analysers and a PR template, so the build flags style and naming automatically and reviewers spend their time on design and correctness.

I also fix the review side: comments are marked blocking or nit, and one reviewer owns the conversation. I measure it with first-pass approval rate and review rounds per PR, plus asking the teammate how it feels. The trade-off is my time: I timebox it (for example two pairing sessions a week) and tell my lead, so it's visible work, not hidden overtime.

🗣 Full answer (senior)

How I would answer this in an interview

"At [company], [a graduate developer, I'll call them Sam] joined [our .NET payments team], and after [about six weeks] most of their PRs were going through [four or five] rounds of review and some were closed outright. You could see the team starting to avoid reviewing their work, and Sam had gone quiet in stand-ups.

I asked Sam for a coffee and said what I'd noticed, with [two specific PRs], and asked how it felt from their side. That conversation changed my view. Part of it was a skill gap in [async code and EF Core tracking], but a big part was us: our standards weren't written down, two reviewers gave contradictory feedback, and Sam's PRs were [800 to 1,500 lines] because they were afraid to open anything unfinished.

So I did three things. I paired with Sam [twice a week for an hour] on their next stories, and we agreed the approach on a whiteboard before any code. I asked them to open draft PRs early and keep them under [about 300 lines]. And I took the unwritten rules to the team: we added [.editorconfig and analyser rules, plus a PR template], and agreed that review comments say whether they're blocking or a nit. I told my lead I was spending [about three hours a week] on this, so it was planned work.

After [two months], Sam's PRs were going through in [one or two rounds instead of four or five], their [average PR size had dropped to about 250 lines], and [they were reviewing other people's code]. The team's overall review time fell too, because the analysers took the style arguments out of reviews. What I learned is that when one person struggles in review, it's often the process showing its gaps first."


Diagnose first: the usual causes

Cause What you see What helps
Skill gap Same technical comments repeat (async misuse, N+1 queries, missing tests) Pairing, targeted examples, a reading list, small stretch tasks
Unwritten standards Comments about style, naming, folder layout .editorconfig, analysers, a short coding-standards page
Oversized PRs 1,000+ line PRs, reviews take days, big rewrites requested late Draft PRs, agree design first, split by vertical slice
Inconsistent reviewers Contradictory comments, goalposts move between rounds One reviewer owns the PR; blocking vs nit labels
Personal or confidence Withdrawn, avoids asking, works late Private, kind conversation; involve the manager for support

Helping versus rescuing

Approach When it fits Risk
Pair programming Skill or confidence gaps; new codebase Doing the work for them
Design-first review Big rewrites keep being requested Slows very small changes
Written standards and tooling Style and convention churn Rules nobody agreed to
Escalate to the manager No improvement after a fair plan, or a wellbeing concern Feels like a report if done without telling them

What a good conversation sounds like

  • Open with what you noticed and the specific PRs, not a label ("I noticed [PR 412] and [PR 430] went five rounds").
  • Ask before telling: "How has review felt from your side?"
  • Agree a small, concrete plan and a check-in date.
  • Say what you will change on your side too.

Production example

"Before: [4.6] review rounds per PR on average, [~1,100] lines per PR, [~5 days] from open to merge. After [eight weeks]: [1.4] rounds, [~250] lines, [~1 day], with [no increase] in bugs found after release from their changes."

🔍 What the interviewer is checking

Checks whether the candidate notices a struggling teammate, diagnoses the real cause (including the team's own process), helps without rescuing, keeps boundaries with the manager's role, and shows a measured result.

Green flags

  • Private, specific, curious first conversation
  • Found a cause beyond the individual (standards, PR size, reviewers)
  • Concrete plan: pairing, design first, small PRs, tooling
  • Made the help visible to their lead and timeboxed it
  • Result with numbers and what the teammate went on to do

Red flags

  • Blames or belittles the teammate
  • Rewrote the code for them
  • Escalated straight to the manager, or not at all when it was needed
  • No measurable result

📚 Learn in depth

1. What the interviewer is really assessing

This question looks like it's about mentoring, but it tests several things at once:

  • Empathy with judgement: do you notice people struggling, and do you respond kindly but honestly?
  • Systems thinking: do you look at the process (standards, PR size, review culture) or only blame the individual?
  • Leverage: do you fix it for one person, or change something that helps the whole team?
  • Conflict handling: when reviewers disagree with each other, or the teammate pushes back on feedback, can you get it settled without taking sides personally?
  • Boundaries: do you know what's your job (coaching, pairing) and what's the manager's (performance, wellbeing)?
  • Delivery awareness: did your own work suffer, and was the help visible and planned?

For a mid-level role, a solid answer shows you helped one person well. For senior, the bar is that you also fixed the system that let the problem grow.

2. The diagnosis loop

 notice (PR rounds, closed PRs, withdrawn behaviour)
        |
        v
 private conversation  --->  hypotheses: skill | standards | size | reviewers | personal
        |
        v
 small plan + check-in date  --->  pair / draft PRs / tooling / review rules
        |
        v
 measure (rounds per PR, PR size, time to merge, their own view)  --->  adjust, or involve the manager

The key move is the conversation before the plan. Many strong stories turn on a finding the candidate didn't expect, such as the reviewers disagreeing with each other.

3. Turning tribal knowledge into tooling

In .NET teams, a lot of review churn is style and convention. Moving it into tooling frees human review for design and correctness:

  • .editorconfig with naming and formatting rules, enforced in the build with EnforceCodeStyleInBuild.
  • AnalysisLevel / AnalysisMode for the built-in .NET analysers, plus targeted severity overrides.
  • A PR template: what changed, why, how it was tested, screenshots or query plans where relevant.
  • dotnet format --verify-no-changes in CI so formatting never reaches a reviewer.

This is also the part of the story that shows senior leverage: one person's struggle led to a change that helped everyone.

4. Handling the disagreement in review

Struggling-PR stories often hide a conflict: two reviewers want opposite things, or the author feels the feedback is unfair. Handle it in the open, not through the newcomer:

  • Take contradictory guidance out of the PR thread and settle it once with the reviewers (a five-minute chat, then a line in the standards page or an ADR).
  • If the teammate disagrees with feedback, encourage them to say so with a reason; "the reviewer is always right" teaches silence.
  • Keep review comments about the code, not the person, and phrase suggestions as questions where possible. This is what makes review psychologically safe, so people open small, unfinished drafts early.

5. Frameworks for telling it

  • STAR: the default; keep the Action section about what you did.
  • SOAR (Situation, Obstacle, Action, Result): good here, because the obstacle is often the hidden cause.
  • CAR (Context, Action, Result): a 45-second version for a quick-fire round.

Keep the teammate anonymous ("a graduate on my team"). Interviewers notice whether you protect people's dignity when you talk about them.

6. How answers are scored

Score What it sounds like
Weak "Their code wasn't good, so I told them to read Clean Code" or "I rewrote it for them"
OK Paired with them, they improved, vague result
Strong Private conversation, real diagnosis, a plan with check-ins, process fixes for the team, measured result, own delivery protected, reflection

7. Metrics you can quote

  • First-pass approval rate: share of PRs approved without requested changes.
  • Review rounds per PR and time from open to merge (Azure DevOps or GitHub insights can export these).
  • PR size in changed lines.
  • Escaped defects from their changes, to show quality didn't drop as speed rose.
  • Qualitative: what the teammate says at check-ins (confidence, whether they now ask early), and whether they start reviewing others' code.

If you don't have exact numbers, give honest estimates and say so ("roughly halved").

8. Reusing the story

The same story answers "Tell me about a time you mentored someone", "How do you give difficult feedback?", "Tell me about improving a team process" and "How do you run code reviews?". Shift the weight: for feedback questions, spend longer on the conversation; for process questions, on the analysers and review rules.

Try it yourself

  1. Export the last three months of PRs from your repo and calculate review rounds and time to merge per author.
  2. List the five review comments your team writes most often; check which could be an analyser or .editorconfig rule.
  3. Write the opening two sentences you would use in the private conversation, using specific PRs and no labels.
  4. Draft your STAR story with every detail you can't yet supply in [brackets], then fill them in.
  5. Rehearse it in 90 seconds and count how often you say "we" where you mean "I".

💻 Code

Fill-in answer template (not code):

S  At [company], [a junior / new teammate] on [team] had PRs going [N] rounds; some closed.
   Signs: [team avoiding their reviews], [quiet in stand-ups], [working late].
T  As [role], I wanted to help them succeed without slowing my own [deliverable].
A  Private chat with [two specific PRs]; asked how review felt from their side.
   Found: [skill gap in X] + [unwritten standards / huge PRs / contradictory reviewers].
   Did: paired [frequency]; design agreed before code; draft PRs under [~300 lines].
   Team fix: [.editorconfig + analysers + PR template]; comments marked blocking vs nit.
   Told [my lead] I was spending [hours/week]; [involved manager for support if needed].
R  Rounds per PR [before -> after]; PR size [before -> after]; time to merge [before -> after].
   They went on to [review others' code / own a feature]. I learned [lesson].

Illustrative only (not a real history):

Graduate's PRs averaged ~5 review rounds and ~1,100 lines.
Paired twice a week, draft PRs under 300 lines, added analysers and a PR template.
After 8 weeks: ~1.4 rounds, ~250 lines, and they were reviewing others' PRs.

⚠ Common mistakes

  • Mistake: Assuming it's purely a skill problem. Why it is wrong: misses unwritten standards, oversized PRs or contradictory reviewers, which the person can't fix alone. Instead: ask first and look at the review threads for patterns.
  • Mistake: Giving the feedback in the PR thread or in front of the team. Why it is wrong: public criticism embarrasses the person and teaches everyone watching that mistakes are punished, so people stop asking questions, hide unfinished work and open huge PRs late, which makes the original problem worse. Instead: a private conversation with specific examples.
  • Mistake: Rescuing: rewriting their code or taking over the story. Why it is wrong: they learn nothing and the team learns you're the fallback. Instead: pair with them driving, and agree the design before the code.
  • Mistake: Hidden heroics: helping in the evenings so your own work doesn't slip. Why it is wrong: unsustainable and invisible to your lead. Instead: timebox it and make it planned, visible work.
  • Mistake: Going to the manager first, or never. Why it is wrong: the first feels like a report; the second leaves a performance or wellbeing issue with someone who isn't equipped to handle it. Instead: coach first with a fair plan; involve the manager, with the person aware, if it doesn't improve or wellbeing is a concern.
  • Mistake: No result, or "they got better". Why it is wrong: nothing to score. Instead: rounds per PR, PR size, time to merge, and what they went on to do.
  • Mistake: Talking about the teammate in a way that sounds like blame, or using their real name. Why it is wrong: the interviewer wonders how you'd talk about them. Instead: anonymise and stay respectful.
  • Mistake: Saying "we" throughout. Why it is wrong: hides your contribution. Instead: "I asked, I paired, I proposed the analyser rules."
  • Mistake: Too much jargon for a non-technical panel member. Why it is wrong: "analysers" and "cyclomatic complexity" lose an HR interviewer. Instead: "we let the tools check formatting so reviews could focus on the design."

🏛 Senior insight: trade-offs

What makes this answer senior is seeing the system behind the individual. A mid-level answer helps one person; a senior answer also notices that the team's standards were unwritten, the reviewers disagreed and nobody had made small PRs normal, and fixes that for everyone, settling the reviewer disagreement openly rather than through the newcomer. The other senior signal is boundaries: you coach and pair, but performance management and wellbeing belong to the manager, and you bring them in openly at the right time.

Measure it like any other change: before-and-after review rounds, PR size and time to merge for that person, plus team-wide review time if you changed the process. Add the qualitative side: ask the teammate at each check-in how review feels and what's still confusing, and notice whether they start asking early and reviewing others' work. Also say what it cost you and how you kept your own delivery on track.

Option When it fits Cost When not to
Pairing Skill or confidence gap, unfamiliar codebase Your time, a few hours a week When it turns into you doing the work
Design-first agreement Late "rewrite this" reviews A short meeting per story Trivial changes
Analysers and templates Style and convention churn across the team Setup, warnings backlog Before the team has agreed the rules
Involve the manager No improvement after a fair plan, or a wellbeing concern Formality, possible anxiety As the first step, or without telling the person

🔗 Follow-ups the interviewer may ask

  1. When: Candidate mentions pairing or ongoing coaching. Why: Checks their wider mentoring approach beyond one struggling teammate.
    How to answer

    Pick one person and a specific need: a graduate new to async C#, a mid-level engineer nervous about on-call, a QA moving into development. Show that you diagnosed what they needed, then used concrete techniques: pairing, graded tasks with increasing ownership, specific review feedback, shadowing then reverse-shadowing.

    Finish with evidence of growth (they shipped X alone, review rounds dropped from N to M, they now mentor others) and what you learned. The trade-off is support versus independence: help enough to unblock, step back enough that they own it.

  2. When: Candidate mentions changing review rules, blocking vs nit labels or a PR template. Why: Checks how they would run code reviews across the team, not just for one person.
    How to answer

    I treat code review as shared ownership and learning, not a gate. On a team, I help us agree norms together: small PRs, author self-review, a turnaround target (e.g. first review within one working day), and automation (formatters, Roslyn analysers, tests in CI) so people review design and correctness, not whitespace.

    In comments I label severity (blocking, suggestion, question), explain the why and call out good work. I mentor through review: juniors review my PRs and I pair with them on reviews, so they learn to spot issues themselves. I measure time to first review, review rounds and escaped defects. The trade-off is thoroughness against flow.

  3. When: Candidate says the teammate was afraid to open unfinished work or ask questions. Why: Checks how they build a culture where people admit mistakes and ask for help early.
    How to answer

    Psychological safety is something a senior builds deliberately, not a side effect. I model it by owning my own mistakes out loud, run blameless reviews that ask why the system allowed the error, thank people who raise problems early, keep open channels (stand-ups, retros, a no-judgement 'I broke it' message) so bad news travels fast, and make sure honesty is never punished in performance conversations. Over time that builds the trust that makes people speak up, and mistakes become learning the whole team shares.

🛠 Real-world problems: how you handle them

Graduate's pull requests stuck in endless review rounds
Situation
[Company], [a .NET payments / line-of-business team of N]; [a graduate developer] joined [six weeks] earlier; their PRs regularly went [4-5] review rounds and [two] had been closed; [a release in X weeks] depended on their stories.
Signals
Azure DevOps / GitHub PR history: [~4.6] rounds per PR and [~5 days] to merge versus a team average of [~1.5 rounds, ~1 day]; PRs of [800-1,500] lines; reviewers [avoiding their PRs]; the graduate [quiet in stand-ups, working late].
Investigation
Read their last [ten] PR threads and grouped the comments: about [40%] style and naming, [30%] design rewrites requested late, [30%] real technical issues ([async misuse, EF Core tracking queries]). Noticed [two reviewers] giving contradictory guidance. Private coffee conversation: they were afraid to open unfinished work and didn't know the unwritten conventions. Ruled out a pure skill problem and a wellbeing issue that needed the manager.
Resolution
Immediately: paired [twice a week, one hour] on their next stories with them driving; agreed each design on a whiteboard before coding; draft PRs early, kept under [~300 lines]. For the team: proposed [.editorconfig + EnforceCodeStyleInBuild + analyser severities] and a PR template; agreed that comments are marked blocking or nit and that one reviewer owns each PR. Told [my lead] I was spending [~3 hours a week] on it.
Prevention
Analysers and `dotnet format --verify-no-changes` in CI; coding-standards page linked from the PR template; onboarding buddy for every new starter for [the first eight weeks]; PR metrics (rounds, size, time to merge) reviewed at [the monthly retro].

How to tell it (STAR)

**S:** At [company], a graduate on my team had PRs going [four or five] review rounds, and [two] had been closed. They'd gone quiet and the team was avoiding their reviews. **T:** I wanted to help them succeed without letting my own [release work] slip. **A:** I asked them for a coffee and walked through [two specific PRs], asking how review felt from their side. I found a real gap in [async and EF Core], but also that our standards weren't written down, two reviewers contradicted each other and they were scared to open small, unfinished PRs. I paired with them twice a week, we agreed designs before code and kept PRs under [300 lines]. I proposed analyser rules, a PR template and blocking-versus-nit labels to the team, and told my lead I was spending about [three hours a week] on it. **R:** Within [eight weeks] their PRs went from [about five] review rounds to [under two], time to merge from [five days] to [about one], and they were reviewing other people's code. Team review time dropped as well, because the tools caught the style issues.

More in Delivery and People

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me