In the three case studies, you've practiced the problem-solving process inside TechSolutions, a company you know well by now: you know who's who, what data there is, and what happened before. That makes learning easier, but it also limits it. The proof that you've mastered the method is being able to apply it in a context you don't know, with different data, different vocabularies, and different temptations. This lesson is a set of ten transfer exercises, outside TechSolutions, in the work environments of the people this course is aimed at: a video game studio, a mobile app team, an artificial intelligence team, a QA team, a web platform with a back end and apps, and a career decision of your own. They're organized by phase of the process, from identification to measurement, and they end with a capstone exercise that goes through every phase. Each exercise has enough data to work through without help, hints in case you get stuck, and, at the end of the lesson, a complete, reasoned solution with the mistakes people usually make.

Contents

  1. How to work through this set of exercises
  2. Map of exercises by phase and context

  1. How to work through this set of exercises

  • One per session. Each exercise takes between 30 and 60 minutes if you do it in writing. The capstone, between two and three hours. Better a few done well than all of them done in a hurry.
  • Always in writing. Writing forces you to be precise. A statement "you have in your head" almost never survives being put on paper.
  • Hints only if you get stuck. Each exercise has a hints section. Try for at least 15 minutes without them first.
  • Compare your solution with the proposed one; don't copy it. The solutions are reasoned, not unique. What matters is checking whether your reasoning covers the same ground (or more) and whether you fall into any of the typical mistakes pointed out.
  • If you work in one of these sectors, adapt the data to yours. The best exercise is the one that resembles a real problem on your team.

  1. Map of exercises by phase and context

No. Block Context Closest profile Main tools
1 A. Identification and framing Mobile video game: retention after an update Video game development Symptom versus problem, "Is / Is Not," mix effect, SMART
2 A. Identification and framing Mobile app: ratings dropping because of the battery Mobile development Facts, opinions, and assumptions; Data Collection Plan; contaminants
3 A. Identification and framing AI team: model accuracy in production AI engineering Leading and lagging indicators, thresholds, normalization of deviance
4 B. Cause analysis QA: flaky tests blocking the pipeline QA and development Pareto, "what changed?", 5 Whys, substitution test
5 B. Cause analysis Video game (continuation of 1) Video game development Hypothesis verification, dose-response, confounding variables
6 C. Generating and selecting Mobile app (continuation of 2) Mobile development "How might we...?", SCAMPER, must criteria, weighted matrix
7 C. Generating and selecting Career decision Anyone Matrix with must criteria, sensitivity, reversibility, value of information
8 D. Implementation and measurement QA (continuation of 4) QA and development Wave-based plan, pilot, Goodhart, guardrail indicators, ADKAR
9 D. Implementation and measurement AI team (continuation of 3) AI engineering Run chart, attribution, changes in measurement
10 E. Capstone Ticketing platform (web and apps) Back end, mobile, QA The complete process in a mini Problem Notebook

Several exercises continue earlier ones (5 follows 1, 6 follows 2, 8 follows 4, 9 follows 3). You can do them separately, because each one comes with its own data, but working through the same context from start to finish is more instructive.

Common Mistakes and Tips

These are the mistakes that come up most often when the method is applied outside the case in which it was learned:

  • Jumping to the technical solution. In technical contexts, the "obvious" solution (rewrite the module, retrain the model, add retries) shows up in the first minute. Write it down in the idea parking lot and carry on with the phase you're in.
  • Not segmenting. An overall indicator that gets worse almost always hides one segment that gets much worse and others that don't change, or a change in the mix. Before analyzing causes, ask "where does it happen, and where doesn't it?"
  • Forgetting the operational definition. "Retention," "accuracy," "flaky test," or "excessive drain" mean different things to different people. Write down how it's measured before you measure.
  • Not asking "what changed?" A problem that appears on a specific date usually has a change nearby: a version, a campaign, a configuration, a way of measuring.
  • Confusing a change in measurement with a change in reality. If the labels, the instrument, or the definition change, the indicator moves even if the system doesn't.
  • Forgetting the guardrail indicators. Any numeric target can be reached with a shortcut that breaks something else. Always ask yourself: "How could this target be met by cheating?"
  • Treating personal decisions as if they were just numbers. In a career decision, the matrix helps you think, but it doesn't replace the conversation with the people affected or how you feel about each option.
  • General tip: before opening a tool, write down the question you want it to answer. If you can't write it, you don't yet know which phase you're in.

Exercises

Block A: Identification and framing

Exercise 1: retention that dropped after the update (video games)

Context. An independent studio of 35 people publishes a free-to-play turn-based strategy game for mobile, with in-game purchases. On March 3, it launched update 2.3, with a new tutorial, high-definition textures, and a seasonal event. The same week, a user acquisition campaign started in Brazil. Three weeks later, the studio director says at the weekly meeting: "2.3 has sunk the game."

Data. New player retention (percentage of players who install on one day and come back to play the next day, D1, or seven days later, D7):

Period D1 D7
4 weeks before 2.3 41% 18%
3 weeks after 2.3 32% 12%

D1 breakdown by segment:

Segment Share of installs before Share after D1 before D1 after
iOS 30% 25% 43% 42%
Android with ≥6 GB of RAM 25% 20% 42% 41%
Android with <6 GB of RAM 45% 55% 38% 24%

Other data: existing players play 8.9 sessions a week (9.1 before 2.3). By country, D1 drops 2 points in Spain, 9 in Mexico, and 12 in Brazil. In the store reviews, the most frequent complaint is "it gets stuck loading."

What you have to do:

  1. Separate symptom and problem: what is the drop in D1, and what's really going on?
  2. Build an "Is / Is Not" with at least four rows.
  3. How much of the drop in D1 is explained by the change in mix (more low-end Android) and how much by the deterioration within the segment? Calculate it roughly.
  4. Write a Problem Statement with no causes, no solutions, and no culprits, with a SMART goal.

Hints: for point 3, calculate the D1 the "after" period would have had with the new shares but with the "before" D1 values. The difference between that value and the "before" value is the mix effect. For point 4, is "2.3 has sunk the game" a fact, an opinion, or an assumption?

Exercise 2: fading stars (mobile apps)

Context. An outdoor training app (running, cycling) that records routes by GPS. Team: 4 mobile developers, 2 back-end developers, 1 QA, and 1 product manager. Version 5.0, with a new map, was released 6 weeks ago. Since then, the average rating in the Android store has dropped from 4.5 to 3.8; in the iOS store, from 4.6 to 4.5.

Data and remarks collected at the first meeting:

  • In the 1- and 2-star Android reviews, 46% mention the battery (8% before 5.0).
  • The mobile lead: "It's the new map in 5.0, no doubt about it."
  • A back-end developer: "It's the latest version of the Android operating system, which came out 2 months ago and uses more power."
  • The product manager: "We need to rewrite the GPS module; it's five years old."
  • Support: "Users have been complaining about everything lately."
  • The Android store console provides data on background battery use and wake locks by app version.

What you have to do:

  1. Classify each remark and piece of data as a fact, an opinion, or an assumption.
  2. Design a Data Collection Plan with at least four sources, stating for each one which question it answers. Include an operational definition of "excessive battery drain."
  3. Rewrite these four statements so they're valid: (a) "Users are complaining for no reason"; (b) "We need to rewrite the GPS"; (c) "The app is working badly"; (d) "The Android team did a bad job on 5.0."

Hints: for the plan, think about how to separate the two competing hypotheses (app version versus operating system version): which cross-tabulation of the data tells them apart? For the operational definition, think about what's measured, under what conditions, and with what threshold.

Exercise 3: the model that degrades silently (artificial intelligence)

Context. A 5-person AI team maintains a model that automatically classifies an online store's customer queries into 12 categories so they can be routed to the right team. In validation, it had 91% accuracy. Actual accuracy in production is measured with a weekly sample of 300 queries labeled by people, which takes 3 to 4 weeks to become available. In February, the store launched a new product line (subscriptions).

Monthly data:

Month Accuracy in production (labeled) Queries classified with confidence <0.6 Manual reassignments by agents
January 90% 6% 7%
February 89% 9% 8%
March 87% 13% 10%
April 84% 18% 12%

The April accuracy figure became known in late May. At every monthly meeting, the comment was the same: "It's dropping a little, but it's within the normal range."

What you have to do:

  1. Classify the three indicators as leading or lagging, and explain why.
  2. Propose yellow and red thresholds for two of them.
  3. In which month should the problem have been recognized? What phenomenon explains why it wasn't?
  4. Frame the problem.

Hints: ask yourself which indicator you learn about first and which one directly measures what you care about. For point 3, remember what happens when each month is compared only with the previous month.

Block B: Cause analysis

Exercise 4: the pipeline that fails one time in four (QA)

Context. A team of 3 QA engineers and 20 developers has a continuous integration pipeline with 1,850 automated integration and end-to-end tests. In January, to speed it up, they switched from running the tests on a single runner to running them in parallel on 8. Before that change, 6% of runs on the main branch failed; now 23% fail. On retry, 81% of the failures disappear: they're flaky tests. Developers have started rerunning the pipeline without looking at why it fails. The QA lead's view: "Developers write bad tests."

Data from the last 4 weeks: 412 failed runs, of which 334 were due to flaky tests. Classification of those 334 failures by the cause found in each test:

Cause Failures
Fixed waits or waits poorly synchronized with asynchronous operations 128
Test data shared between tests 87
Dependence on execution order 41
Real external services (email, maps) 38
CI infrastructure resources (memory, timeout) 26
Other 14

Also: 27 of the 1,850 tests cause 70% of the flaky failures. Those 27 tests were written by 14 different people over 3 years; no one person wrote more than 4.

What you have to do:

  1. Build the Pareto by cause (percentage and cumulative) and comment on its shape.
  2. Test the QA lead's hypothesis. Which test would you use, and what do you conclude?
  3. Do a 5 Whys on "shared test data" that connects to the January change.
  4. State the root cause (or root causes) and a context cause.

Hints: ask yourself why tests that worked on a single runner start failing on eight. What do fixed waits, shared data, and execution order have in common when there's parallelism and more load? And think about what the team does every time the pipeline fails.

Exercise 5: tutorial, textures, or campaign? (video games, continuation of 1)

Context. The studio from Exercise 1 now knows that the problem is concentrated in Android devices with less than 6 GB of RAM. There are four hypotheses on the table:

  • H1: the new tutorial is longer (from 3 to 6 minutes) and boring.
  • H2: the high-definition textures lengthen the initial load on devices with little memory.
  • H3: the Brazil campaign attracts "lower-quality" players, less interested in the genre.
  • H4: the seasonal event confuses new players.

Data:

Data Value
First load time after 2.3, by RAM <4 GB: 52 s; 4-6 GB: 34 s; ≥6 GB: 12 s (before 2.3: 14 s, 11 s, and 9 s)
D1 by first load time (after 2.3) <15 s: 42%; 15-30 s: 36%; 30-45 s: 27%; >45 s: 17%
Players who quit before the first load finishes (Android <6 GB) 2% before; 19% after
D1 in Brazil on devices with ≥6 GB 41% (same as in the other countries)
Players who complete the tutorial, among those who start it 78% before; 76% after
D1 of Android <6 GB players who manually turned on "light textures" (3%) 37%
The seasonal event Only appears from the third day of play onward

What you have to do:

  1. For each hypothesis, state which data supports or refutes it and with which causality test (dose-response, counterfactual, comparison, precedence...). Classify it as confirmed, contributing, refuted, or pending.
  2. Why did H3 seem so plausible? Explain the confounding variable.
  3. Do a 5 Whys on the confirmed hypothesis down to a root cause the studio can act on.

Hints: H3 is refuted if, on the same device, players in Brazil behave like everyone else. For the 5 Whys, the key question is: "Why didn't anyone see it before release?"

Block C: Generating and selecting solutions

Exercise 6: less battery drain without losing the route (mobile apps, continuation of 2)

Context. The team from Exercise 2 has confirmed the causes of the extra battery drain in 5.0 on Android:

  • RC1 (61% of the extra drain): the new map keeps the GPS in high-accuracy mode in the background when the workout is paused and for up to 30 minutes after it ends.
  • RC2 (27%): background sync went from every 30 minutes to every 5.
  • RC3 (12%): the map animations run at 120 frames per second.

Constraints (must criteria): the solution can't make route recording accuracy worse, and it must be releasable within 3 weeks at most.

Initial options:

Option Description
O1 Stop the GPS when the workout is paused and when it ends, using the system's activity events
O2 Sync in batches every 30 minutes, or when connected to Wi-Fi and to power
O3 Add a manual "battery saver mode" in the settings
O4 Rewrite the entire GPS module (the product manager's proposal; estimate: 3 months)
O5 Cap the map at 60 frames per second when the battery is below 30%
O6 Go back to the map from version 4.x

What you have to do:

  1. Write three "How might we...?" questions, one per cause, and generate at least two new ideas with SCAMPER.
  2. Apply the must criteria first. Which option is out?
  3. With the criteria and scores in this script (1-to-5 scales, where 5 is always best), calculate the weighted matrix and propose a combination and an implementation order.
weights = {"reduces_drain": 35, "accuracy_risk": 20, "speed": 15,
           "effort": 15, "user_experience": 15}

options = {
    "O1 Stop GPS when paused":  [5, 4, 4, 4, 4],
    "O2 Batch sync":            [3, 5, 5, 5, 4],
    "O3 Manual saver mode":     [2, 5, 5, 5, 2],
    "O5 60 fps on low battery": [1, 5, 5, 5, 3],
    "O6 Back to the 4.x map":   [4, 4, 3, 3, 1],
}

weight_list = list(weights.values())
for name, scores in options.items():
    total = sum(w * s for w, s in zip(weight_list, scores)) / 100
    print(f"{name:<28} {total:.2f}")
  1. State one risk of your combination and how you would mitigate it when releasing it.

Hints: for "accuracy_risk," a 5 means "no risk to accuracy." Notice what percentage of the extra drain the two best options cover together. For the risk, remember that app stores let you release a version gradually.

Exercise 7: what now? A career decision (personal and professional decision)

Context. Clara is a senior mobile developer with 6 years at a development agency. She has three options, plus the option of not changing:

  • A. Accept the promotion to tech lead she's been offered at her company.
  • B. An offer from an AI startup to work as a machine learning engineer, starting at a more junior level in that specialty. Hybrid work, two days a week in an office in her city.
  • C. Go freelance as a mobile developer.
  • D. Stay as she is.

She has two non-negotiable conditions: not moving to another city (she cares for a family member) and guaranteed income that covers her fixed expenses with some margin during the first year. Option C doesn't guarantee her any income in the first few months.

Her criteria and weights: learning and growth (30), interest in the work (25), work-life balance (20), stability (15), income over 3 years (10). Her scores from 1 to 5:

Option Learning Interest Work-life balance Stability Income over 3 years
A Tech lead 3 3 3 4 4
B AI startup 5 5 4 2 4
D Stay as is 1 2 4 5 2

What you have to do:

  1. Apply the must criteria. Which option is out, and why?
  2. Calculate the weighted matrix.
  3. Do a sensitivity analysis: how much weight would stability need for A to tie with B?
  4. Classify the decision between B and A as a "one-way door" or a "two-way door," and propose two cheap ways to reduce the uncertainty before deciding.
  5. What is the matrix missing for Clara to be able to decide with peace of mind?

Hints: for point 3, keep shifting weight from "learning" to "stability" 5 points at a time. For point 4, think about what would be harder to undo two years from now. This exercise is about how to think through a decision, not about which option is the right one: there's no correct answer for Clara.

Block D: Implementation and measurement

Exercise 8: the pipeline in the green (QA, continuation of 4)

Context. The team from Exercise 4 has decided to act on the causes. The Head of Engineering proposes a target: "95% of pipeline runs green within 4 weeks," and announces that she'll take it into account in the quarterly performance review. The QA team proposes automatically quarantining any test that fails intermittently (it keeps running, but its failure doesn't block the pipeline). Several developers say: "Fixing tests is QA's job."

What you have to do:

  1. Explain how the target could be met without anything having been solved (Goodhart's law), and propose at least three guardrail indicators.
  2. Design an implementation plan in two or three waves, with a pilot, criteria for scaling it up, and a rule for quarantined tests.
  3. Do a brief ADKAR diagnosis of the developers and propose an action for their main barrier.

Hints: think about what happens if 200 tests are quarantined or if three automatic retries are added. For the pilot, which part of the test suite would you choose, knowing that 27 tests cause 70% of the failures?

Exercise 9: did the retraining work? (artificial intelligence, continuation of 3)

Context. The team from Exercise 3 retrained the model with data that includes the subscriptions category and deployed it in week 23. Weekly accuracy on the labeled sample (300 queries a week):

Weeks 14-22 (before) 85, 84, 86, 83, 84, 85, 83, 84, 84
Weeks 23-30 (after) 88, 89, 87, 90, 89, 88, 90, 89

Queries with confidence <0.6 dropped from 18% to 7%. But there's a detail mentioned in passing at a meeting: in week 24, the labeling team changed its guidelines and merged two categories that were often confused with each other ("returns" and "exchanges").

What you have to do:

  1. Apply the rule of 6 consecutive observations on the same side of the median. Is there a signal of change?
  2. What other explanations, besides the retraining, could account for the increase?
  3. How would you separate the effect of the retraining from the effect of the change in labeling?
  4. Propose a monitoring system so the next degradation is detected within weeks, not months.

Hints: the baseline median is calculated with weeks 14-22. For point 3, think about what would happen if you applied the new labeling guidelines to the earlier weeks.

Block E: Capstone exercise

Exercise 10: purchases left halfway (web platform and apps)

Context. A 25-person company sells tickets for concerts and small theaters through its website and its iOS and Android apps. Team: 6 back-end developers, 4 mobile developers, 2 QA engineers, 3 support agents, and 1 product manager. Over the last two months, the percentage of purchases that are started but not completed has gone from 22% to 35%. The most frequent complaints in support: "the app kicked me out during payment" and "when I came back, the tickets were gone." The CTO thinks it's because of the traffic spikes when tickets for a popular concert go on sale. Nine weeks ago, strong customer authentication for payments came into effect: the buyer has to confirm the payment in their bank's app.

Data:

Data Before Now
Drop-off at the ticket selection step 8% 9%
Drop-off at the personal details step 6% 7%
Drop-off at the payment step 8% 19%
Drop-off at payment by channel — iOS app 21%; Android app 22%; web 11%
Average time at the payment step (app) 1.6 min 4.8 min
Average time at the payment step (web) 1.9 min 2.1 min
App users who, on returning from their bank, find the app restarted or the reservation expired — 38%
Ticket hold time during the purchase 10 min 10 min
Response time (95th percentile) of the reservation service during the 12:00 spikes 0.8 s 6 s
Drop-off at payment outside the spikes 7% 18%

Budget: the equivalent of 2 developers for 6 weeks.

What you have to do: a mini Problem Notebook with these six sections:

  1. Problem Statement and SMART goal.
  2. "Is / Is Not" and causes, including verification of the CTO's hypothesis.
  3. At least four solution ideas and a justified selection.
  4. Implementation plan with a pilot, and two risks with their response.
  5. Outcome and guardrail indicators, and how you'll know it has worked.
  6. One lesson learned the team should document.

Hints: compare drop-off inside and outside the spikes, and on the web versus the apps. Ask yourself what changed 9 weeks ago and what happens to an app when the user switches to another app for several minutes. For the risks, think about what happens to held tickets if you lengthen their hold time for a high-demand concert.

Solutions

Solution to Exercise 1

1. Symptom and problem. The drop in D1 (from 41% to 32%) is the symptom. The problem, according to the data, is that new players with Android devices with less than 6 GB of RAM quit much more after 2.3 (their D1 goes from 38% to 24%), while everyone else barely changes.

2. "Is / Is Not":

Is Is Not What it suggests
Which devices Android with <6 GB iOS or Android with ≥6 GB (drop 1 point) Something related to memory or performance
Which players New Existing (8.9 versus 9.1 sessions) Something in the first experience
Where Mainly Mexico and Brazil Spain, much less More low-end devices in those countries? Check
When Since March 3 Before 2.3 (and the campaign, which started the same week)
Which symptom "It gets stuck loading" Complaints about the tutorial or the event The initial load

3. Mix effect. "After" D1 with the new shares and the "before" D1 values: 0.25 × 43 + 0.20 × 42 + 0.55 × 38 = 10.75 + 8.4 + 20.9 ≈ 40.1%. The mix explains only ~1 point (from 41 to ~40). The other ~8 points (from ~40 to 32) are due to deterioration within the segment, especially on low-end Android (from 38% to 24%).

4. Problem Statement.

"Since update 2.3 (March 3), new player D1 has dropped from 41% to 32% and D7 from 18% to 12%. The drop is concentrated on Android devices with less than 6 GB of RAM (D1 from 38% to 24%), which now make up 55% of installs; on iOS and high-end Android, D1 is stable (−1 point). The most frequent complaint is that the game 'gets stuck loading.' Goal: get back to a D1 of ≥38% on Android <6 GB and ≥40% overall for installs in the 4 weeks following the next update, without lowering D1 on iOS and high-end Android."

Typical mistakes: (a) accepting "2.3 has sunk the game" as a Problem Statement: it's an opinion with a cause built in, and it doesn't say where the problem is; (b) blaming the Brazil campaign without segmenting by device; (c) setting an overall target without segmenting, which could be "met" just by changing the mix (for example, by stopping the campaign).

Solution to Exercise 2

1. Classification:

Remark or data Type
4.5 → 3.8 on Android; 4.6 → 4.5 on iOS Fact
46% of negative reviews mention the battery (8% before) Fact
"It's the new map in 5.0, no doubt about it" Assumption (a hypothesis presented as a certainty)
"It's the latest version of Android" Assumption (an alternative hypothesis)
"We need to rewrite the GPS module" Opinion (and it's a solution, not a diagnosis)
"Users have been complaining about everything lately" Opinion (and it discredits the signal)
The console provides background battery use by version Fact (an available source)

2. Data Collection Plan:

Source Question it answers
Store console: background battery use and wake locks by app version and by operating system version Does the increase appear with 5.0 on all Android versions (pointing to the app) or only on the new system version (pointing to the system)? This is the cross-tabulation that separates the two hypotheses
In-house telemetry: time with the GPS active by workout state (active, paused, finished) When does the app drain power?
Lab tests with 4-5 devices, same route, 4.x versus 5.0 Reproduce and measure under controlled conditions
Reviews by app version and device model Does it affect everyone or one device tier?
5-6 short interviews with users who left negative reviews In what situations do they notice it? Do they take long pauses?

Operational definition: "excessive drain = more than X% of battery per hour of active workout, or any GPS use when there's no active workout, measured with the app's telemetry on Android devices with the battery above 20%." The value of X is set using the 4.x data.

3. Rewritten statements:

  • (a) "In the 6 weeks since 5.0, the Android rating has dropped from 4.5 to 3.8, and 46% of negative reviews mention the battery (8% before)." This removes the judgment "for no reason."
  • (b) It's a solution: you have to go back to the problem: "the app's battery drain on Android has increased since 5.0" (with the battery use data once you have it).
  • (c) Too vague: specify what (battery), where (Android), since when (5.0), and how much.
  • (d) It has a culprit: "since 5.0, background battery use on Android has increased by N%." The substitution test will later show whether it's a process problem (for example, nobody measures battery use before release).

Typical mistakes: dismissing support's complaint instead of classifying it; designing a plan that can only confirm one of the hypotheses (for example, measuring only on the new operating system version).

Solution to Exercise 3

1. Indicators:

  • Labeled accuracy: lagging. It directly measures what matters, but it's known with a 3-4 week delay.
  • Queries with confidence <0.6: leading. It's available immediately and tends to rise when inputs arrive that differ from the training data (data drift).
  • Manual reassignments: leading (known within days) and, at the same time, an approximate measure of the errors the agents notice.

2. Thresholds (example):

Indicator Yellow Red
Confidence <0.6 >9% two weeks in a row >12% or +5 points over the baseline
Manual reassignments >9% >11%

3. When to recognize it. In February-March: low confidence went from 6% to 9% and then to 13% right after the subscriptions launch (an obvious "what changed?"). With the thresholds above, March would have been red. It wasn't recognized because of the normalization of deviance: each month was compared with the previous one ("it's dropping a little") instead of with the baseline and a threshold set in advance, and everyone waited for the lagging indicator.

4. Problem Statement:

"Since February, the query classifier's accuracy in production has dropped from 90% to 84% (April), queries with low confidence have gone from 6% to 18%, and manual reassignments from 7% to 12%. The degradation begins with the launch of subscriptions, a category of queries that didn't exist in the training data. Goal: accuracy ≥89% and low confidence ≤8% in the 6 weeks following deployment of the fix, and detection of future degradations in less than 2 weeks."

Typical mistakes: framing it as "the model is bad, we need to replace it" (a solution and a judgment); setting thresholds only on the lagging indicator.

Solution to Exercise 4

1. Pareto:

Cause Failures % Cumulative %
Fixed or poorly synchronized waits 128 38.3% 38.3%
Shared data 87 26.0% 64.4%
Execution order 41 12.3% 76.6%
Real external services 38 11.4% 88.0%
CI infrastructure 26 7.8% 95.8%
Other 14 4.2% 100.0%

It's a concentrated Pareto: three causes add up to 77%. On top of that, there's a very pronounced Pareto by test (27 tests, 1.5%, cause 70% of the failures), which makes it possible to act quickly.

2. The "developers write bad tests" hypothesis. Substitution test and distribution: the 27 problem tests were written by 14 different people over 3 years, none more than 4. And the before/after comparison: the same tests failed far less before January (6% versus 23%). If the problem were the quality of whoever writes the tests, it wouldn't have appeared all at once with an infrastructure change. Refuted as the main cause. What is true is that the tests weren't designed to run in parallel, and that's a matter of design criteria, not of people.

3. 5 Whys:

Why do the tests that share data fail?
  Because two tests modify the same records at the same time and one finds
  data it didn't expect.
Why at the same time?
  Because since January they run on 8 runners in parallel.
Why do they share records?
  Because they were written when everything ran sequentially: using a
  common data set was the simplest thing to do, and it worked.
Why weren't they adapted when parallelizing?
  Because parallelization was treated as an infrastructure change, without
  reviewing which of the tests' assumptions it broke or defining an
  isolation criterion.
Why didn't anyone detect it afterward?
  Because failures are retried without being analyzed: there's no policy
  for flaky tests.

4. Root causes: (a) the tests depend on sequential-execution assumptions (shared data, fixed waits, order), and parallelization was done without an isolation criterion; (b) there's no policy for flaky tests, so retrying has become normalized. Context: parallelization was necessary (the pipeline was slow), and the higher load makes asynchronous operations take longer, which makes fixed waits insufficient.

Typical mistakes: stopping at "we need to fix the 27 tests" (it corrects today's symptoms, but new tests will repeat the pattern); blaming whoever wrote the tests; forgetting the "what changed?" in January.

Solution to Exercise 5

1. Hypotheses:

Hypothesis Evidence Test Status
H1 Long tutorial Those who start the tutorial complete it at the same rate (78% versus 76%) Before/after comparison at that specific step Refuted as the main cause
H2 Textures and loading Loading on <4 GB goes from 14 s to 52 s; D1 drops step by step with load time (42% → 17%); quitting before the load finishes goes from 2% to 19%; with light textures, D1 is 37% Dose-response, precedence (players quit before the tutorial), and a natural counterfactual (light textures) Confirmed
H3 Brazil campaign On the same device (≥6 GB), Brazil has the same D1 as the rest Comparison controlling for the confounding variable Refuted; it explains the mix, not the performance
H4 Event The event appears from the third day onward; it can't affect D1 Precedence impossible Refuted for D1 (it could be looked at for D7)

A word of caution about the counterfactual: the 3% who turned on light textures self-selected (maybe they're more motivated players). That's why it's combined with the dose-response and not used on its own.

2. The confounding in H3. Brazil and Mexico have more low-end devices. The campaign increased the share of those devices, and D1 fell more in those countries, so "Brazil" and "drop" show up together. But the variable that's really at work is the device (through load time). When you compare on the same device, the country effect disappears.

3. 5 Whys:

Why do players with low-end Android devices quit?
  Because the first load takes 34-52 s and many leave before playing.
Why does it take so long?
  Because 2.3 loads the high-definition textures on every device.
Why on every device?
  Because there's no graphics quality adapted to memory: light textures
  are a manual option that almost nobody finds.
Why wasn't it seen before release?
  Because performance tests are run on high-end devices,
  and load time isn't a criterion for approving a version.

Actionable root cause: there's no load time budget per device tier among the release criteria, and the test matrix doesn't include low-end devices (which make up more than half of new installs).

Typical mistakes: accepting H3 because it "fits" the campaign's date; using the 3% with light textures as definitive proof without thinking about self-selection; stopping at "the textures are too heavy" without getting to why nobody detected it.

Solution to Exercise 6

1. "How might we...?" and SCAMPER:

  • How might we use the GPS only when a route is actually being recorded? (RC1)
  • How might we keep the data in sync without waking up the phone every 5 minutes? (RC2)
  • How might we have a smooth map without using power when nobody is looking at it? (RC3)
  • SCAMPER, Adapt: use the adaptive accuracy that other navigation apps already use (high accuracy when moving, low when paused). Eliminate: don't draw the map when the screen is off or the app is in the background. Modify: sync only the data that has changed.

2. Must criteria: O4 (rewrite the GPS, 3 months) doesn't meet the 3-week deadline and is out before the matrix. Besides, it isn't linked to any specific cause: it's the "solutionism" from the first meeting.

3. Matrix. Script output: O1 4.35; O2 4.15; O3 3.50; O5 3.30; O6 3.25. Combination: O1 + O2, which together target 88% of the extra drain (61% + 27%). Order: O2 first, because it's the fastest and lowest-risk; O1 afterward, because it touches the recording logic and needs more testing. O5 is left as a cheap optional improvement (RC3 is only 12%); O6 loses the new map, which users value, and O3 shifts the problem onto the user.

4. Risk and mitigation. Risk: O1 could stop the GPS during a false pause (for example, a long red light) and lose a stretch of the route, which would break the accuracy must criterion. Mitigation: test with real routes that include stops, and release gradually (10% of users, then 50% and 100%), with a stop criterion defined in advance: if complaints about incomplete routes come in or the battery drain doesn't improve, the release is halted. It's the same principle as the canary deployment in Case Study 2.

Typical mistakes: including O4 in the matrix (must criteria are applied first); choosing only the option with the best score when the second one targets a different cause and is compatible; forgetting the risk to the must criterion.

Solution to Exercise 7

1. Must criteria. C (freelance) is out: it doesn't guarantee income to cover her fixed expenses during the first year. This isn't a judgment on whether C is good in general: it's good or bad for Clara, under her current conditions. If one day she has a steady client with a contract, it could be reconsidered. B meets the city condition (an office in her city).

2. Matrix:

  • A: (30×3 + 25×3 + 20×3 + 15×4 + 10×4) / 100 = (90 + 75 + 60 + 60 + 40) / 100 = 3.25
  • B: (150 + 125 + 80 + 30 + 40) / 100 = 4.25
  • D: (30 + 50 + 80 + 75 + 20) / 100 = 2.55

3. Sensitivity. A small script calculates it by shifting weight from "learning" to "stability":

scores = {"A": [3, 3, 3, 4, 4], "B": [5, 5, 4, 2, 4]}   # learning, interest, balance, stability, income

for shift in range(0, 31, 5):
    weights = [30 - shift, 25, 20, 15 + shift, 10]
    tot = {k: sum(w * s for w, s in zip(weights, v)) / 100 for k, v in scores.items()}
    print(f"stability {15 + shift:>2}: A {tot['A']:.2f}  B {tot['B']:.2f}")

Explanation: range(0, 31, 5) generates the shifts 0, 5, 10... 30; on each pass, the weights and the totals for A and B are recalculated with a dictionary comprehension ({k: ... for k, v in scores.items()}). Result: for every 5 points that move from learning to stability, A gains 0.05 and B loses 0.15, so the gap narrows by 0.20 at each step. A ties with B (3.50) when stability weighs 40 and learning only 5, and it pulls ahead if stability reaches 45. Conclusion: the preference for B is fairly robust: it would only change if stability weighed almost three times what Clara gave it and learning almost nothing. But the analysis points to the question Clara has to ask herself honestly: how much does stability really matter to her? If she's unsure, it's better to reduce the uncertainty about B's stability (next point) than to argue over the weights.

4. Reversibility and information. Between A and B, B is harder to undo in the short term (she leaves the company and the promotion), although it isn't irreversible: with her experience, going back to mobile development in a year or two would be likely. Cheap ways to reduce the uncertainty: (a) talk to two people who work at the startup about the day-to-day, the training she would receive, and the stability of the project; (b) ask for a small trial project or a day working with the team; (c) ask at her company whether the promotion would still be available later on. This is the value of information applied to a personal decision.

5. What's missing. The matrix doesn't capture how Clara feels about each option (the "red hat"), or the views of the people the decision affects (the family member she cares for, her partner if she has one), or a pre-mortem ("it's a year from now and I regret it: why?"). If the matrix's result leaves her cold or anxious, that's information: maybe a criterion is missing. Typical mistakes: using the matrix as an oracle; forgetting the "stay as is" option; adjusting the weights until the option that had already been chosen, unspoken, wins.

Solution to Exercise 8

1. Goodhart and guardrail indicators. The target is met without solving anything if: lots of tests are quarantined (the pipeline stays green because it's no longer checking anything); automatic retries are added (flaky failures disappear from the statistics, not from the system); or inconvenient tests are deleted. On top of that, tying it to the quarterly performance review increases the temptation. Guardrail indicators:

  • Number of quarantined tests and how long they've been there (for example, a maximum of 20 and none older than 10 working days).
  • Coverage of critical flows (an agreed list of flows that must always have active tests).
  • Defects escaped to production.
  • Total pipeline time (so that going back to sequential execution doesn't become the "solution").
  • Retries per run.

Recommendation: decouple the target from individual performance reviews or, at the very least, evaluate it together with the guardrail indicators.

2. Wave-based plan:

Wave What Criterion for moving to the next
1 (weeks 1-2): pilot The 27 tests that cause 70% of the failures: isolate their data (each test with its own data), replace fixed waits with waits for a condition, mock the external services Flaky failures −50% with no loss of coverage of critical flows
2 (weeks 3-6) Design rule for parallel tests (isolated data, no ordering, no fixed waits), checked in code review; remaining tests in Pareto order Pipeline failures ≤10%; quarantine ≤20 tests
3 (ongoing) Flaky test policy: automatic quarantine with an owner and 10 days to fix or delete with a recorded decision; weekly dashboard Monthly review

Responsibilities (RACI): the QA lead is accountable for the plan; each development team is responsible for the tests of its own code; the Head of Engineering is informed.

3. ADKAR for the developers. Main barrier: desire ("fixing tests is QA's job"). Their awareness is also low: do they know how much time they lose retrying? Actions: show the cost with data (for example, hours per week spent waiting for retries and blocked changes); make the test belong to whoever writes the code it tests (quarantine is assigned to the team that owns the code); a hands-on session with the three fix patterns (ability).

Typical mistakes: accepting the 95% target without guardrail indicators; starting with all the tests at once instead of with the 27; a quarantine with no owner and no deadline, which turns into a test graveyard.

Solution to Exercise 9

1. Median rule. Baseline median (weeks 14-22: 83, 83, 84, 84, 84, 84, 85, 85, 86) = 84. The 8 following weeks (87-90) are all above it: a streak of 8 ≥6. There's a signal of change.

2. Other explanations:

  • Change in measurement: merging "returns" and "exchanges" in week 24 eliminates a frequent type of error (confusing two categories that are now one). Accuracy goes up even if the model hadn't improved.
  • Change in inputs: if the subscriptions launch is no longer generating as many new queries (the novelty effect has worn off), the old model would also have improved somewhat.
  • Seasonality in the type of queries.

3. Separating the effects. (a) Relabel or recalculate the baseline with the new guidelines: merge "returns" and "exchanges" in weeks 14-22 as well and recalculate accuracy. If, for example, the baseline median goes from 84 to 85.5, the improvement attributable to the retraining is about 3.5 points (up to 89), not 5. (b) Calculate accuracy excluding the two affected categories, before and after. (c) If possible, run the old and new models on the same queries from weeks 23-30 (shadow evaluation). Low confidence (from 18% to 7%) doesn't depend on labeling, so it's an independent clue that the model really did improve.

4. Monitoring system:

  • Daily leading indicators with thresholds: proportion of low confidence, manual reassignments, and drift metrics on the input data (distribution of predicted categories, new vocabulary).
  • A faster labeled sample, even if it's smaller (for example, 100 queries with a 1-week delay), to get an outcome indicator sooner.
  • An action rule set in advance (red threshold → analysis within 5 days; criteria for retraining), and a log of changes in measurement (versioned labeling guidelines).
  • Shadow deployment of models (the new model classifies without acting for a week and is compared with the old one) before replacing it.

Typical mistakes: attributing all the improvement to the retraining; not noticing that the measuring instrument changed; reacting to individual weeks instead of using a rule.

Solution to Exercise 10

1. Problem Statement and goal.

"Over the last two months, drop-off on started purchases has gone from 22% to 35%. The increase is concentrated at the payment step (from 8% to 19%) and in the apps (21-22% versus 11% on the web), both inside and outside sales spikes. It coincides with strong customer authentication for payments coming into effect 9 weeks ago: time at the payment step in the app has gone from 1.6 to 4.8 minutes, and 38% of users returning from their bank find the app restarted or the reservation expired. Goal (purchases in the 4 weeks following the release of the fix): payment drop-off in the apps ≤11% (as on the web) and total drop-off ≤24%. Guardrails: tickets left held but unsold for sold-out concerts; response time during spikes; declined payments."

2. "Is / Is Not" and causes.

Is Is Not
Step Payment Selection and details (+1 point)
Channel Apps (iOS and Android: 21-22%) Web (11%, close to the previous overall 8%)
Timing Inside and outside the spikes (18% outside) Only during the spikes
Since when ~9 weeks ago Before

The CTO's hypothesis (spikes): response time during spikes really has gotten worse (from 0.8 to 6 s), but outside the spikes, payment drop-off has also gone up (from 7% to 18%), and the web, which uses the same reservation service, has barely changed. The spikes are a contributing factor, not the main cause. Confirmed causes: (a) when the user leaves for the bank app to authenticate, the app doesn't preserve the purchase state: on Android, the system closes it to free up memory, and on returning it starts from scratch; (b) the 10-minute hold time doesn't account for the several minutes authentication now requires. Process root cause: the regulatory change to payments was integrated as a technical change to the payment gateway, without testing the complete user journey in the apps (leaving for the bank and coming back).

3. Ideas and selection. (1) Preserve the purchase state and resume it automatically on returning from the bank (a return link to the app); (2) pause or extend the hold time while authentication is in progress, with a limit (for example, +5 min); (3) warn the user before they leave ("you're about to go to your bank's app; come back here to finish"); (4) a virtual queue during spikes; (5) extend the hold to 20 minutes for everyone. Selection: (1) + (2) + (3), which target the two confirmed causes, fit within 6 weeks of 2 people, and have no external dependencies. (4) is postponed to a second phase (a contributing factor, more effort). (5) is rejected: for high-demand concerts, it would hold tickets for 20 minutes for buyers who aren't going to pay.

4. Plan, pilot, and risks. Weeks 1-3: development and testing of the complete journey with several banks' apps and on Android devices with little memory. Weeks 4-5: gradual release on Android (10% → 50% → 100%) and then on iOS, with stop criteria (payment errors, complaints). Week 6: measurement and adjustment. Risk 1: extending the hold time ties up tickets during spikes → limit of +5 min only while authentication is in progress, and monitoring of the guardrail indicator "tickets held but unsold." Risk 2: some bank doesn't return the user to the app properly → a clear warning and the option to continue the purchase on the web with the same reservation; a list of tested banks.

5. Indicators. Outcome: payment drop-off by channel; total drop-off. Process: percentage of users who return from the bank and find their purchase intact (target ≥95%); time at the payment step. Guardrails: tickets held but unsold, response time during spikes, declined payments. How to know it has worked: compare the group with the new version against the group that doesn't have it yet during the gradual release (a natural experiment), and confirm the improvement with a weekly run chart for at least 6 weeks.

6. Lesson learned. "Any change by an external provider that alters the user journey (payments, sign-in) is tested end to end in the apps, including leaving for another app and coming back, before it comes into effect." Owner: QA; it's added to the release checklist.

Typical mistakes: accepting the spikes hypothesis because the CTO proposed it and because the 6 s figure is eye-catching (without comparing it with drop-off outside the spikes or with the web); proposing the virtual queue as the first measure; extending the hold time for everyone without thinking about its effect on high-demand concerts; forgetting the process cause, which is the one that prevents the next problem.

Conclusion

With this set of exercises, you've taken the problem-solving process outside TechSolutions, into very different contexts: a video game's retention, an app's battery drain, an AI model's degradation, a pipeline's flaky tests, a career decision, and a ticketing platform's half-finished purchases. You've confirmed that the same questions work in all of them: what's a symptom and what's the problem, where it happens and where it doesn't, what changed, what's a fact and what's an opinion, which causality test supports a hypothesis, which criteria are musts, how the target could be met by cheating, and how you'll know the improvement is real. You've also seen the mistakes that come up most often when you change context: jumping to the technical solution, not segmenting, forgetting confounding variables and changes in measurement, or treating a personal decision as if it were just a calculation.

With this lesson, you close Module 8, "Case Studies and Exercises." In it, you've gone from knowing the tools to deciding when and why to use each one: you've worked through again, this time making the decisions yourself, the delays problem that ran through the course; you've solved from start to finish the production bugs in Marta's workstream, including an incident in the middle of the change; you've applied the process to a human problem, the friction between product, integrations, and support, without looking for culprits; and you've transferred the method to six contexts outside TechSolutions. All that's left is to check what you've learned. In Module 9, "Final Assessment," you'll start with the "Theory Exam," where you'll review the concepts, tools, and criteria from the whole course to confirm you've mastered them before tackling the final problem-solving project.

© Copyright 2026. All rights reserved