Worked example lessons
Follow a problem from its starting evidence to a completed response. Notice why each step is justified, then try the same reasoning on a different case.
Lesson previews
Partner quotes repeatedly miss reseller margin approval, creating Friday emergencies and rework. 5 Whys: move from symptom to process cause, then choose a countermeasure. The common trap is stopping at a person-level answer like 'the rep forgot.' That may be true once, but repeat exceptions usually mean the process lacks a cue, control, owner, or timing gate. Why 1 Why was the quote blocked? Reseller margin approval was missing. This names the immediate defect. Why 2 Why was approval missing? The rep submitted the quote before partner review. Now the issue is timing, not just a missing field. Why 3…
5 minDebug a Broken Formula With Five Whysroot-cause-chain common-trap try-feedback A renewal forecast uses XLOOKUP to pull account segment. Several rows return #N/A right before the forecast is shared. Five Whys for formula errors: symptom -> failed assumption -> upstream cause -> process fix The common trap is wrapping the lookup in IFERROR("Unknown") immediately. That may make the sheet look clean while hiding a broken ID-map process. Name the symptom The forecast shows #N/A in Segment for 37 accounts. A precise symptom keeps the debugging focused. "The sheet is broken" is too vague to fix. Ask why the formula failed The lookup key in Forecast!A:A is not…
5 minDebug a Missing GA4 Event Before Blaming the ReportA critical event is absent from reports while the business system shows activity. Verify in layers: user action, tag fire, payload, GA4 receipt, report availability. The expensive shortcut is to tell stakeholders "nobody converted" when the real issue is a broken trigger, consent path, or parameter mismatch. No generate_lead events means the campaign failed. CRM shows leads; DebugView shows no event; network request missing on the new form route; fix trigger and annotate the reporting gap. Business check Compare GA4 absence with CRM, orders, or form records. If the business system has activity, do not interpret zero as user behavior.…
5 minBuild a Minimal ReproA customer workspace loses unsaved form text when a user switches between Details and Billing tabs. The full app path includes workspace permissions, API loading, analytics, styling, and feature flags. Minimal, complete, reproducible: preserve the failure while removing everything else. The common trap is to debug inside the full application because that feels more real. Real is useful for confirming impact, but the full app hides the mechanism behind providers, effects, caches, and data loading. If you fix from the full app alone, you may patch around the symptom while the actual condition remains invisible. Step 1 State the failure…
5 minUse 5 Whys With EvidenceThe nightly invoice job skipped 312 customers after a billing schema migration. 5 Whys with evidence: every why answer needs proof, and the final countermeasure should improve the system. The common trap is stopping at the first human action: Alex forgot to update the script. That may be true, but it is rarely deep enough to prevent recurrence. A blame-shaped answer makes people hide information and leaves the process unchanged. Why 1 Why were 312 customers skipped? The invoice job filtered out rows where billing_plan_id was null; logs show those rows were excluded at 02:14. The answer uses job logs,…
5 minRun a Clean Git BisectCSV export fails today, worked earlier this week, and 83 commits sit between known states. Manual diff scanning is too broad. Git bisect: known good + known bad + repeatable predicate. The common trap is to run bisect with a fuzzy manual check. If you sometimes mark a commit bad because setup failed, or good because the test did not exercise the bug, the binary search will confidently point to the wrong change. Step 1 Define the predicate: seed invoice INV-42, run CSV export, assert the tax column header and value are present. The predicate must answer one question consistently:…
5 minBuild a 10-Minute DACI BriefThe team has a fuzzy decision and needs a DACI brief before the meeting becomes a debate. Decision question, roles, criteria, options, execution owner, and escalation trigger. The common trap is writing a topic agenda instead of a decision path. Topics invite opinions. Decision paths invite useful input and accountable calls. Before Agenda: discuss options with the whole group and align on next steps. After a DACI brief: decision question, Driver/Recommender, Approver/Decider, Contributors/Input, required Agree constraints, Informed audience, criteria, options, Perform owner, escalation trigger. 1 Write the decision question as a choice with a deadline. If the question cannot be…
5 minConvert a RACI Habit Into RAPIDThe team has a fuzzy decision and needs a RAPID translation before the meeting becomes a debate. Decision question, roles, criteria, options, execution owner, and escalation trigger. The common trap is writing a topic agenda instead of a decision path. Topics invite opinions. Decision paths invite useful input and accountable calls. Before Agenda: discuss options with the whole group and align on next steps. After a RAPID translation: decision question, Driver/Recommender, Approver/Decider, Contributors/Input, required Agree constraints, Informed audience, criteria, options, Perform owner, escalation trigger. 1 Write the decision question as a choice with a deadline. If the question cannot be…
5 minWrite an Escalation Packet That Gets DecidedThe team has a fuzzy decision and needs an escalation packet before the meeting becomes a debate. Decision question, roles, criteria, options, execution owner, and escalation trigger. The common trap is writing a topic agenda instead of a decision path. Topics invite opinions. Decision paths invite useful input and accountable calls. Before Agenda: discuss options with the whole group and align on next steps. After an escalation packet: decision question, Driver/Recommender, Approver/Decider, Contributors/Input, required Agree constraints, Informed audience, criteria, options, Perform owner, escalation trigger. 1 Write the decision question as a choice with a deadline. If the question cannot be…
5 minWork through a RICE score without fake precisionFeature A reaches 1,200 users per quarter with medium impact. Feature B reaches 500 users with high impact. Which is stronger by RICE? Step 1 Feature A: Reach 1,200 x Impact 1 x Confidence 80% / Effort 6 RICE = 160 The reach unit is users per quarter, not vague popularity. Step 2 Feature B: Reach 500 x Impact 2 x Confidence 60% / Effort 5 RICE = 120 High impact does not automatically win when confidence and reach are lower. Step 3 Compare the assumption quality: A confidence = 80% from 37 support tickets B confidence = 60% from…
5 minWork through the second-order cost of a yesA customer asks for a custom CSV report. It takes 30 minutes once. Should you say yes casually? Immediate cost 30 minutes x $85/hour = $42.50 first-order labor cost The first-order cost is small enough to look harmless. Behavior trained Sales and Customer Success learn that custom CSVs are available on request. The second-order issue is not the first report; it is the expectation. Repeat cost 8 requests/month x 0.5 hours x $85/hour = $340/month Plus switching cost and roadmap distraction Now the decision is a recurring operating process, not a favor. Decide the exception type Second-order answer Do not…
5 minDeclutter a chart without losing meaningYou have a multi-series win-rate chart where the key message is that enterprise recovered while other segments stayed flat. Protect the evidence, reduce non-evidence ink, and make the key pattern win the first glance. The novice move is to delete context series entirely or keep every series equally saturated. One loses comparison; the other loses hierarchy. Step 1 Write the claim: Enterprise win rate recovered while other segments stayed flat. The claim defines which series is signal and which series is context. Step 2 Keep the comparison lines but fade non-enterprise series. You preserve the context needed to believe the…
5 minDecode `ls -l` Permissions Step by StepA deploy user cannot read /srv/app/config.yml. ls -l shows -rw-r----- 1 root app 914 Jun 24 config.yml. Permission read order: file type -> owner bits -> group bits -> other bits -> matching process identity The common shortcut is to add o+r or 777 because it makes the error disappear, but that grants access to identities that do not need the config. File type Read the first character: - means regular file, not directory or link. File and directory permissions behave differently. On a regular file, read means read contents; execute means execute as a program. Mode triplets Split rw-r-----…
5 minDecompose a Policy RewriteRemote-work policy must be updated without accidentally changing employee obligations or inventing leadership intent. Decompose authoritative rewriting into map -> compare -> draft -> approve. A direct rewrite can make unauthorized policy changes look like harmless wording improvements. Map Ask AI to list current clauses and the obligation each clause creates. This exposes what the document currently does before anyone changes language. Compare Match each leadership note to affected clauses and mark conflicts or ambiguity. The model prepares the issue map; humans resolve ambiguous intent. Draft Draft edits only for rows marked approved, preserving unchanged obligations. Scope control prevents the…
5 minDecompose Return Into Margin and TurnsA business reports operating margin of 10.0% and asset turnover of 0.75x last year. This year, operating margin is 10.3% and asset turnover is 0.93x. Operating return = operating margin x asset turnover Attributing a return improvement to pricing without decomposing margin and turns can misidentify the operating driver. Calculate prior return 10.0% margin x 0.75x asset turnover = 7.5% operating return. The prior return combines profit per sales dollar with sales per asset dollar. Calculate current return 10.3% margin x 0.93x asset turnover = 9.6% operating return. The current return improved by 2.1 percentage points. Attribute the driver Margin…
5 minDecompose ROE Before You Admire ItTwo companies both show ROE near 24 percent. Decide which one deserves a quality premium. DuPont ROE = profit margin x asset turnover x equity multiplier Treating high ROE as proof of quality without checking whether leverage or one-time margin effects created it. Margin Company A earns 12 percent net margin; Company B earns 7 percent net margin. Margin shows pricing power and cost structure. A higher margin can be durable, but only if it is not a temporary accounting or cycle effect. Turnover Company A turns assets 1.1x; Company B turns assets 1.4x. Asset turnover shows how much revenue…
5 minFine-Tune in StagesA pretrained image base reaches 84 percent validation accuracy with a newly trained head. Errors cluster around domain-specific packaging details. You have 3,200 labeled images. Freeze first, train the head, review errors, then selectively unfreeze upper layers with a smaller learning rate. Unfreezing the entire base at the first sign of weakness can overwrite reusable features and overfit small domain data. Freeze the base Set pretrained base layers non-trainable and attach a task-specific classifier head. This reuses general visual features while learning the new decision boundary. Train the head Train only the new top layers until validation stops improving. The…
5 minForward Pass by HandInput x = [2, -1]. Hidden neuron h1 has weights [1.0, 0.5], bias 0.0. Hidden neuron h2 has weights [-0.5, 1.0], bias 0.2. Use ReLU, then output score y = 0.4h1 + 0.8h2 + 0.5. Forward pass = weighted sum -> bias -> activation -> next layer score. Do not apply ReLU to the output score unless the architecture says the output layer uses ReLU. Activations are layer choices, not automatic decoration everywhere. Hidden h1 pre-activation h1_raw = 1.02 + 0.5(-1) + 0.0 = 1.5 The neuron combines inputs with weights, then adds bias. Hidden h1 activation h1 = ReLU(1.5)…
5 minThreshold From a Confusion MatrixThreshold 0.50 gives FP=20 and FN=30. Threshold 0.30 gives FP=55 and FN=10. A false positive costs 1 review unit. A false negative costs 5 fraud-loss units. Threshold choice = confusion matrix counts x error costs, checked against operational capacity. Accuracy can prefer the threshold with fewer total mistakes while hiding that the expensive mistake is still too frequent. Cost at threshold 0.50 FP cost = 201 = 20. FN cost = 305 = 150. Total = 170. The false negatives dominate because missed fraud is expensive. Cost at threshold 0.30 FP cost = 551 = 55. FN cost = 105…
5 minTurn a Defensive Apology Into RepairYou caused racial impact by confusing two Black colleagues in a public update, and your first impulse is to explain why it happened. Restorative repair: acknowledge action, name impact, apologize without excuse, state change, accept response. The common trap is a defensive apology: 'I am sorry, but I was tired.' It asks the person harmed to weigh your excuse against their impact. Before I am so sorry, I was exhausted and honestly I mix everyone up when I am stressed. I hope you know I did not mean anything by it. After I confused you with Marcus in the team…
5 minCalculate a Liquidation BufferMei supplies $10,000 of ETH with an 80% liquidation threshold and borrows $5,000 stablecoins. Health factor = collateral value times liquidation threshold divided by borrowed value The common trap is reading "position open" as "position safe." A protocol may allow a borrow that is fragile under ordinary volatility. If the borrower does not know the danger price, the first real warning may be a liquidation bot acting faster than the borrower can respond. Current threshold value $10,000 collateral times 80% threshold = $8,000 risk-adjusted collateral. This is not the amount to borrow safely. It is the protocol threshold input. Current…
5 minSeparate Real Yield From EmissionsA pool advertises 24% APY: 3% trading fees, 2% lending interest, and 19% new-token rewards. Yield attribution plus FMEA failure modes The common trap is comparing the 24% headline to a lower-yield pool as if every percentage point has the same quality. If most of the return is paid in a volatile reward token, the failure mode is not just lower yield; it can be reward-token drawdown, exit crowding, and liquidity thinning at the same time. Attribute the yield Organic base = 3% fees + 2% interest = 5%; incentive layer = 19% reward token. The base and incentive components…
5 minRead a DEX Swap PreviewChris wants to swap $2,500 of ETH into a governance token, and the DEX preview shows a two-pool route, 0.8% price impact, 1.0% slippage, and $29 gas. Token identity -> route economics -> permission scope The common trap is reading only the final output amount. That skips the token contract, route quality, price impact, slippage tolerance, network fee, and spender approval. The swap can look successful while buying the wrong token or granting more permission than intended. Token identity Verify the token contract from an independent source, not just ticker, logo, or search result. A copied symbol can mimic the…
5 minDefine a Retained Users Metric in the Semantic LayerRetained users are being computed three ways across dashboards, so no one can explain whether differences come from behavior or from SQL assumptions. Define the semantic ingredients once, then let consumers slice the same metric instead of rewriting it. The trap is skipping the semantic inputs and jumping straight to a dashboard formula that only one tool can reuse. Step 1 · Publish the semantic base Model normalized user activity with clear entities, time dimensions, and exclusion-ready flags before defining the metric. Metrics definitions are strongest when they sit on top of stable semantic models rather than ad hoc joins.…
5 min