Decision tree lessons
Follow a decision through its consequences. Pause at each choice, consider what changes, and compare the possible paths before choosing your next move.
Lesson previews
Combination overload SSO coverage jumps to 72 cases before Diego has written a single expected result. The risk is not only too many tests; it is pretending random sampling is a strategy. Combinatorial testing Cover interactions deliberately instead of sampling casually. Pairwise asks every pair of parameter values to meet at least once. Shortcut Test the browser you use most and hope the rest behaves. A smaller suite with visible interaction coverage. Reduction is professional only when the coverage tradeoff is explicit. 01 Model 02 Reduce 03 Explain Parameters There are 4 browsers, 3 identity providers, 3 roles, and 2…
5 minWalk a Failed Inspection RecoveryInspection miss The inspector fails the job for missing rapid-shutdown labeling while the customer is present. The visible defect is embarrassing, but the repeat risk sits inside the process that allowed it. Five Whys Move from symptom to system Five Whys pushes the team beyond the first explanation so the countermeasure changes the process, not just the person. Blame 'The apprentice loaded the wrong kit.' The team fixes the inspection and reduces the chance of the same failure. A useful root cause points to a process you can change. 01 Customer 02 Cause 03 Action Protect trust Containment
5 minWalk the Site Survey GateGate pressure Design has a partial survey packet and a customer expecting a final design by tomorrow. If missing facts pass the gate, they reappear as permit corrections, truck rolls, or change orders. A3 thinking Frame the gap before forcing the flow A3 uses current condition, gap, cause, countermeasure, and evidence to keep problem solving grounded in facts. Shortcut Guess, submit, and hope design can fix it later. The gate protects downstream work without turning into bureaucracy. Stop hidden risk at the gate; move honest uncertainty into a named recovery path. 01 Proceed? 02 Recover 03 Prevent Proceed or pause…
5 minWalk the Weather Reschedule DecisionWeather risk Tomorrow's commercial install has wind and rain risk plus customer parking disruption. The decision affects safety, customer trust, and crew utilization. Risk register discipline Name the event, trigger, owner, and response Risk management turns uncertainty into a monitored condition with a planned response. Hope Keep the job and decide from the roof. The team can protect safety and schedule capacity at the same time. Good risk management defines the action before the pressure peaks. 01 Assess 02 Split 03 Message Assess risk Probability x impact
5 minSolve Callbacks With Five WhysRepeat defect Three GFCI callbacks in one month. The business needs a countermeasure, not a louder reminder. Framework Five Whys + PDCA Ask why until the cause becomes a fixable process condition, then test the countermeasure. Shortcut tell techs to be careful Fewer repeat callbacks Do not stop at human error when the same error repeats. 01 Symptom 02 Cause 03 Countermeasure 04 Fresh try
5 minRead Solvency Signals Without PanicFinancial-strength rumor A storm-loss headline hits a regional insurer. The business wants an immediate cancellation decision. Moving too slowly is risky, but moving from rumor can create coverage gaps. Solvency signal ladder Source -> Signal -> Exposure -> Option Treat insurer-strength concerns as an evidence ladder: verify the source, identify the financial signal, measure your exposure, and prepare options. Panic Cancel first, check facts later. An insurer-strength decision with fewer gaps and better timing. A solvency concern is managed by signal quality and exposure size, not by rumor volume. 01 Rumor 02 Rating 03 Regulator weak source A trade blog…
5 minManifestation Determination PathDiscipline review Eli is at 10 suspension days, and the proposed removal may change placement. The team must answer the IDEA manifestation questions before treating the removal like ordinary discipline. Manifestation review Two questions before removal The review asks whether conduct is tied to disability or to failure to implement the IEP. Code only Apply discipline without reviewing disability or implementation. The next step matches the legal finding and educational need. The question is not only what happened. It is why it happened and whether the required plan was in place. 01 Threshold 02 Review 03 Next step Day count…
5 minUse DBI When Progress StallsProgress stalled Tasha's trend line is flat after 9 weeks of a validated decoding intervention. Without a diagnostic step, the team may keep repeating an intervention that is not intense enough for her need. DBI loop Validate -> monitor -> diagnose -> adapt -> monitor DBI makes intensification explicit so teams know what changed and whether it worked. More time Continue without a hypothesis. The team learns from the adaptation instead of guessing. Intensification is a testable change to instruction, not an expression of concern. 01 Fidelity 02 Diagnosis 03 Adapt Before changing The intervention log has attendance but not…
5 minWalk An FBA To A BIPBehavior planning Karim's worksheet tearing happens during independent writing, then the task is removed while adults process the incident. If the consequence removes writing every time, punishment may not touch the function. FBA to BIP Define -> hypothesize -> teach -> reinforce A function-based plan links each adult move to the student's likely reason for the behavior. Shortcut Pick a consequence from frustration. The plan changes conditions instead of chasing incidents. Function match is the difference between behavior support and adult hope. 01 Data 02 Function 03 Replacement First fork The team has three office referrals and one teacher narrative.
5 minCoach A Clinician With GROWStuck case A clinician is frustrated that Amir is not using his AAC device during class routines. The teacher says the device slows the lesson, and the clinician wants you to tell her what to do. The risk is solving for the clinician instead of building her ability to analyze implementation barriers. GROW coaching model Goal -> Reality -> Options -> Will Use GROW when the clinician needs structured thinking, not a rescue. Each step narrows the problem without stealing ownership. Advice reflex Tell the clinician your preferred intervention. The clinician leaves with a next experiment she owns. When the…
5 minRoll Out A Documentation Change With ADKARAdoption gap A new progress-note template is required for audit readiness, but most clinicians are either using the old version or filling the new one incorrectly. If you treat every adoption gap as lack of training, you waste effort and miss the real barrier. ADKAR Awareness, Desire, Knowledge, Ability, Reinforcement ADKAR treats change as individual adoption. Find the missing outcome before choosing your management response. Reminder email Works only when the barrier is forgetting. The response matches the adoption barrier. Change stalls at the first missing adoption outcome. A Awareness/Desire K/A Knowledge/Ability R Reinforce Diagnose First fork
5 minPrioritize AAC Requests With RICEAAC queue The AAC request board has more demand than the team can handle this week. You need a transparent way to choose without dismissing anyone. Unclear prioritization can make families and teachers feel ignored even when the team is working hard. RICE Reach x Impact x Confidence / Effort RICE turns competing requests into comparable assumptions. In AAC work, it helps separate access blockage, broad benefit, confidence, and workload. Loudest request Move whatever creates the most pressure. The team can defend the next move and update it when evidence changes. RICE makes tradeoffs discussable; clinical risk can still override…
5 minSponsor Without Playing FavoritesFairness risk Parisa is ready, but the director's mentoring relationship with her makes the sponsorship decision sensitive. The decision must be strong enough to explain. Daylight test Criteria -> Evidence -> Access Sponsorship is fairer when people can see what readiness means and how opportunities are allocated. Shortcut Pick the person you trust and keep the reasoning private. The sponsorship decision becomes defendable and developmental. If the criteria cannot survive daylight, fix the criteria before advocating. C Criteria E Evidence A Access Define readiness What should the director do before choosing?
5 minWalk From Cue to VerificationPayroll lock The approval claim is vague, and the deadline is close. A rushed deception read can either miss risk or unfairly accuse someone. Cue to verification Observation, baseline, cluster, verify. Each step earns the next. A cue is not a conclusion. It is the start of a testable path. Observe -> Compare -> Cluster -> Verify Do not skip from observe to accuse. The next step is fair and evidence-producing. Observe The phrase "usual path" feels evasive. What do you write first? Baseline What baseline comparison matters most? Verify The analyst usually gives specifics, but today gives no source.…
5 minChoose the Interview Route Under PressureHR pressure The director wants confrontation, but the statement is not yet clean. A contaminated statement can make both truth and deception harder to detect. Elicit before confronting Get a free narrative, then reconstruct the critical window, then compare evidence. Statement quality comes before pressure. Free narrative -> Critical window -> Evidence compare Each stage narrows without planting answers. The account is richer and easier to test. Open How do you begin? Reconstruct The normal process is clear. What do you ask about the specific day? Compare Their timeline conflicts with the log. What is the clean evidence challenge? Clean…
5 minWalk a Vague Stakeholder Ask Into a Sprint GoalThe ask The request is enterprise-ready onboarding. The team needs a Sprint Goal, not a vibe. Decision path Outcome -> Evidence -> Slice Clarify the outcome, define review evidence, then select only the stories that support that evidence within capacity. Shortcut to avoid Estimate the adjective and hope it means the same thing to everyone. A sprintable request instead of a fuzzy wish. A request becomes sprintable only when value, evidence, and selection line up. Clarify the outcome Step 1 The request is still just a phrase. What do you ask first? Name evidence Step 2 The stakeholder says new…
5 minWalk the Capacity Shock Before Sprint CommitmentCapacity shock Two days of developer availability disappear mid-planning. The forecast must change before the sprint begins. Decision path Reconfirm -> Recalculate -> Re-slice Protect the goal, update the forecast, and make the tradeoff visible before commitment. Shortcut to avoid Keep the old scope and hope the team makes it up later. A revised forecast that still makes sense. Availability changes should change the commitment before they change quality. Protect the goal Step 1 The team is surprised by the availability loss. What should happen first? Reset the forecast Step 2 The goal slice is 24 points and total selected…
5 minWalk the Oversized Story Through a Split DecisionThe big story Permissions redesign is larger than the team can compare confidently. The team needs a slice, not a heroic estimate. Decision path Value slice -> Estimate -> Select Find the smallest user outcome, estimate that slice, then decide whether it belongs in this sprint. Shortcut to avoid Estimate the giant story and promise partial progress. A story that can actually be planned. Split by meaningful user outcome whenever possible, not just by technical convenience. Find the slice Step 1 The redesign contains roles, settings, migration, copy, and review work. What is the strongest first split? Estimate the slice…
5 minDecide Your Recursive CTE Path Before a Hierarchy Loops ForeverThe failure mode One bad manager relationship turns a harmless org-chart query into a hanging page load. Recursive SQL needs a stopping story, not just a traversal story. Framework Anchor → Recurse → Guard Recursive SQL is safest when you can point to the seed rows, the advancing edge, and the cycle rule separately. Start with the correct anchor rows, advance with one clear recursive join, and guard against repeats with an explicit path or PostgreSQL’s CYCLE clause. Use LIMIT only as a testing aid while validating shape. Common trap Assume the data is a perfect tree and skip cycle…
5 minDecide for Stable Pagination Before OFFSET Starts LyingThe symptom Agents see duplicate and missing tickets across pages because new rows arrive while OFFSET-based paging is underway. The query order is not stable enough for the UI contract. Framework Stable order → Access path → Page strategy You fix pagination by deciding the ordering contract first and the page mechanism second. Use a deterministic ORDER BY with a tie-breaker. If the product only needs next rows after this one, prefer keyset pagination. If it truly needs numbered pages, keep the sort stable and support it with the right index or windowed numbering. Common trap OFFSET over a non-deterministic…
5 minWalk the Top-N-Per-Group Decision Path Without Duplicating RowsThe request The team needs the top 2 renewal opportunities per account, but ties are causing duplicate rows when the summary is joined back to the detail table. The fix is not DISTINCT. The fix is ranking at the correct grain. Framework Partition → Rank → Outer filter Top-N-per-group works best when you keep the detailed rows intact and layer ranking over them. Choose the peer set with partition by, choose the tie rule with the ranking function and tie-breaker, then filter in a wrapping query because window results are available after WHERE and GROUP BY. Anti-pattern Aggregate first, then…
5 minWalk the Broken Revenue-by-Segment Querytrail QBR pressure The current query joins accounts, opportunities, and invoices, then groups by account segment. The segment totals are too high and one segment appears twice with slightly different labels. If the join multiplies invoice rows before SUM, every later clause is working with damaged evidence. Select-Join-Group debug path Source rows -> row filters -> group grain -> aggregate filter Move left to right through the logical table expression. Do not start by changing SELECT labels. React Add DISTINCT or more GROUP BY columns. The final SUM sees the intended rows, not multiplied rows. The first clause that can…
5 minBuild a Clean Cohort Filtertrail Pricing launch The product team asks: "Of Pro users who signed up after May 1, what percent activated within seven days?" The denominator is the product decision. If the cohort is wrong, the activation rate is theater. Filtering framework Membership first, metrics second Use WHERE to define who qualifies. Use joins and aggregates only after that denominator is stable. React Join events immediately and count activation rows. The numerator and denominator refer to the same population. Define the denominator before calculating a rate. 01 Cohort 02 Events 03 Rate Cohort membership
5 minFrom Raw Orders to a Dashboard Metrictrail Dashboard trust The card says net revenue last 7 days is 318400 dollars. Finance says the ledger shows 300900 dollars. A metric drift of 6 percent changes hiring, spend, and trust in the dashboard. Metric query path Definition -> eligible rows -> row math -> aggregate -> validation The SQL clauses should mirror the metric contract. React Patch the final number until it matches finance. The card becomes auditable. Every metric clause should have a business reason. 01 Rows 02 Math 03 Check Eligible rows
5 min