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
A register entry says, 'Climate change could disrupt operations.' The risk committee cannot tell what objective is affected, who owns the risk, what controls exist, or what should happen next. ISO 31000 register discipline: context -> assessment -> treatment -> monitoring The common shortcut is to write a broad climate topic as a risk statement. That creates visibility without accountability. Context Name the objective, asset, process, and time horizon: Phoenix outbound capacity above 96 percent during July to September. Context prevents the entry from becoming a generic climate concern. It tells the committee what success looks like. Risk pathway Write…
5 minBuild the research question with an estimandThe draft objective says: Assess whether Drug A improves fatigue in rheumatoid arthritis. ICH E9(R1) estimand attributes: population, treatment, variable, intercurrent events, and summary measure The vague objective hides decisions about comparator, timing, rescue medication, and what numerical contrast will be interpreted. Population Adults with moderate rheumatoid arthritis receiving stable background methotrexate. The population defines whose treatment effect the trial is trying to estimate. It is not the same as a recruitment slogan. Treatment condition Drug A 100 mg daily compared with matching placebo, both on background methotrexate. The comparator matters because improvement has meaning only relative to an alternative.…
5 minUse Five Whys on a missed visit windowWeek 8 visit occurred three days outside the protocol window. Five Whys: move from symptom to controllable process cause, then use Five Hows to design prevention Stopping at "participant forgot" creates blame and leaves the site's scheduling system unchanged. Why 1 Why was the visit late? The participant missed the original appointment. This is the event, not yet a root cause. Why 2 Why did they miss it? The reminder call said Tuesday was preferred but did not mention it was the last in-window day. Now the process starts to appear. Why 3 Why did the reminder omit the window?…
5 minTurn endpoints into a visit scheduleBuild the week 12 visit plan for a trial whose primary endpoint is change from baseline in walking distance at week 12. Trace objective to endpoint, endpoint to assessment, assessment to source, timing, and role Treating the schedule of assessments as a flat checklist makes critical endpoint windows look no different from low-risk administrative tasks. Objective Determine whether the intervention improves functional walking capacity compared with control. The objective names what the trial needs to learn. It points to the primary endpoint. Endpoint Primary endpoint: change from baseline in six-minute walk distance at week 12. Now the visit is not…
5 minWrite an ADR for managed messagingThe order service needs asynchronous events for fulfillment, invoicing, and notifications. The team is choosing between managed pub/sub, self-managed Kafka, and direct synchronous calls. An ADR captures context, options, decision, and consequences so future teams can understand and safely evolve the architecture. The common trap is documenting only the winning service. That hides the rejected trade-offs and makes future changes look arbitrary. Context Order events are bursty, downstream systems vary in speed, the team has no Kafka operators, and customers need order acceptance before fulfillment completes. Context explains why asynchronous messaging is being considered at all. Options Option 1: direct…
5 minTranslate RTO/RPO into architectureA customer portal must recover within 60 minutes and lose no more than 5 minutes of order data. Current plan: nightly database snapshot, manual rebuild notes, and no restore drill. Turn recovery targets into data protection, infrastructure rebuild, runbook ownership, and measured restore evidence. The common trap is treating backups as recovery. Backups are inputs; recovery is the tested ability to restore service and data within the promise. Read the target RTO = 60 minutes means service must be usable within one hour. RPO = 5 minutes means recent order data cannot rely on a nightly snapshot. The target immediately…
5 minCalculate cloud cost per customer actionA recommendation API costs $18,400 this month. It served 1,020,000 recommendations, generated 6,340 conversions, and duplicated feature generation for 42 percent of requests. Calculate cost per useful unit before choosing the optimization lever. The common trap is cutting the largest line item without checking which part drives customer value and which part is waste. Choose the unit Use recommendation served and converted recommendation because they connect architecture usage to product value. A unit should be understood by engineering and business stakeholders. Calculate cost per served recommendation $18,400 / 1,020,000 = $0.018 per recommendation served. This tells you the technical unit…
5 minCalculate allocation accuracy before building dashboardsA cloud showback dashboard covers $910,000 in monthly infrastructure cost. Leadership wants to know whether it is accurate enough for chargeback. Allocation Accuracy = Directly Attributed Costs / Total Infrastructure Costs A dashboard can reconcile to the invoice and still be too weak for accountability if large buckets are shared, unknown, or manually guessed. Step 1 Total infrastructure cost = $910,000. Use the same total that finance will reconcile to the provider invoice. Otherwise your percentage will not match the governance conversation. Step 2 Directly attributed cost = $746,000 from account ownership and required tags. Count only costs mapped directly…
5 minTurn raw billing into a FOCUS-ready viewLeadership wants compute cost by product across AWS and Google Cloud. Provider-native columns do not line up. Normalize the billing language around the decision before building the report. A report can look cross-cloud while quietly comparing different charge types, discount treatments, or ownership fields. Step 1 Define the question: compute cost by product for the last full month. The question controls the mapping. Without it, the model expands endlessly and still may not answer the business need. Step 2 Map provider identity: Provider, BillingAccountId, SubAccountId or ProjectId, Region. This keeps source and ownership hierarchy visible, which is critical when teams…
5 minQuantify a rightsizing recommendationRightsize 42 instances. Tool-estimated gross savings: $11,800 per month. Engineering effort: 28 hours. Loaded internal rate: $95/hour. Extra monitoring: $300 per month. Net monthly value = gross savings - recurring added cost; payback = one-time implementation cost / net monthly value. A recommendation with a large savings label can still be a poor sprint candidate if effort, risk, or payback is ignored. Step 1 Gross savings = $11,800 per month. Start with the provider or tool estimate, but treat it as a hypothesis to validate after the change. Step 2 One-time implementation cost = 28 hours x $95 = $2,660.…
5 minRight-Size Before the MoveThe team is pricing a 24-core on-prem order service as an equivalent 24-core cloud VM, but utilization data shows 95th percentile CPU at 22 percent and memory at 48 percent. Right-size from measured utilization, then validate with monitoring and rollback capacity The common trap is treating provisioned hardware as demand. That preserves old procurement assumptions inside a variable-cost model. Collect utilization Review 30 days of CPU, memory, disk I/O, network, and batch-window peaks. A single average hides month-end or overnight spikes. Right-sizing needs peak pattern, not only typical load. Separate compute from licensing Check whether software licensing changes with core…
5 minSet an Error Budget for Migration RiskThe loyalty API serves 30 days of customer traffic. Product wants full cutover, operations wants zero risk, and no one has translated reliability into a migration threshold. Error budget: SLO target defines how much unreliability the team can spend The common trap is demanding 100 percent reliability while also demanding fast migration. That creates hidden risk negotiations instead of explicit tradeoffs. Define SLO Set the service target: 99.9 percent successful loyalty API requests per calendar month. The SLO must reflect user experience. Server uptime is weaker if customers can still fail checkout or rewards lookup. Calculate budget A 99.9 percent…
5 minBuild a Migration Wave ScoreNora must recommend a first migration wave from three candidates: a high-value PCI app with 14 dependencies, a medium-value internal API with three dependencies, and a dormant wiki with almost no usage. Weighted wave scoring: value, dependency risk, readiness, owner engagement, and pattern usefulness The common trap is scoring only business value. That sends critical, complex systems into Wave 1 before the migration process has proven itself. Pick criteria Use five criteria: business value, dependency simplicity, technical readiness, owner engagement, and pattern usefulness. Criteria translate steering preferences into comparable evidence. For early waves, simplicity and owner engagement matter because the…
5 minWorked example: a 7-minute GROW passA direct report has seven minutes left in a 1:1 and says, "Marketing is not responding, so the launch copy is stuck." Use one tight question per GROW stage. The novice move is to spend all seven minutes in Reality, gathering details until time runs out. Insight without a Will step does not move the work. Minute 1 Goal: "What outcome do you need before tomorrow?" This prevents the conversation from expanding into every frustration with Marketing. Minutes 2-3 Reality: "What have you asked for, and what decision is still missing?" The manager checks facts and wording. The issue may…
5 minWorked example: reset a status 1:1A 30-minute weekly 1:1 has become 22 minutes of project updates, five minutes of manager reminders, and three rushed minutes for the employee's real concern. Reset the container before you ask for different behavior. The novice move is to interrupt status in the moment without changing the meeting design. That can feel abrupt and does not teach a new prep habit. Step 1 Name the pattern: "We have been using most of this time for updates." Neutral language lowers defensiveness. You are describing the meeting design, not blaming the employee. Step 2 Name the purpose: "I want this time to…
5 minWorked example: reset a status 1:1A 30-minute weekly 1:1 has become 22 minutes of project updates, five minutes of manager reminders, and three rushed minutes for the employee's real concern. Reset the container before you ask for different behavior. The novice move is to interrupt status in the moment without changing the meeting design. That can feel abrupt and does not teach a new prep habit. Step 1 Name the pattern: "We have been using most of this time for updates." Neutral language lowers defensiveness. You are describing the meeting design, not blaming the employee. Step 2 Name the purpose: "I want this time to…
5 minWorked example: a 7-minute GROW passA direct report has seven minutes left in a 1:1 and says, "Marketing is not responding, so the launch copy is stuck." Use one tight question per GROW stage. The novice move is to spend all seven minutes in Reality, gathering details until time runs out. Insight without a Will step does not move the work. Minute 1 Goal: "What outcome do you need before tomorrow?" This prevents the conversation from expanding into every frustration with Marketing. Minutes 2-3 Reality: "What have you asked for, and what decision is still missing?" The manager checks facts and wording. The issue may…
5 minWorked walkthrough: turn a bug report into a high-signal Cursor fixA symptom-only bug prompt gives Cursor too much room to infer the wrong cause. Evidence → likely path → patch → targeted proof Common trap: summarizing the bug in natural language and expecting the model to rediscover the same evidence you already had. Attach evidence Provide the failing test, stack trace, screenshot, or console output that proves the bug exists. This moves the session from narrative to reproducible signal. Name the likely path Add the component, hook, or helper file most likely involved in the failing path. You narrow the code surface without pretending the bug is already diagnosed. Set…
6 minWorked walkthrough: turn a feature ticket into a Composer build runA vague feature ticket is about to become a broad Cursor run unless you define the work surface first. Objective → sources → phased plan → implementation → verification Common trap: asking Composer to “build the feature” before naming the user-visible success, the source artifacts, and the no-go zones. State objective Write the user-visible outcome in one sentence: “Users can save a search filter set and restore it later from the search page.” This keeps the model oriented toward behavior instead of internal cleanup or architecture theater. Attach sources Add the ticket, SearchPage.tsx, and the API contract or data shape…
6 minWorked walkthrough: write a Cursor rule the model can actually useA vague rule cannot reliably alter Cursor’s default behavior. Scope + action + rationale + example Common trap: writing slogan rules like “keep it clean” or ticket rules that should never become defaults. Define scope Name the repo area or work type the rule applies to, such as “marketing pages” or “API handlers.” Scope prevents the rule from leaking into surfaces where it should not dominate. State the action Describe the default behavior in operational language, not values language. The model needs an instruction it can apply while editing, not a principle it can admire. Add rationale Explain why the…
6 minScale a batch recipe without losing extractionA 300 g test brew uses 18 g coffee, 93 C water, and a medium grind. It tastes balanced at 1.26 percent TDS. You need a 2 L batch for a meeting. Preserve brew ratio first, then adjust grind for the larger bed and brewer geometry. The novice move is to multiply dose and water, then assume the same grind will behave identically in a deeper or wider bed. Step 1 Find the ratio: 18 g coffee for 300 g water equals 60 g/L. This sets the intended strength before any equipment adjustment. Step 2 Scale dose: 2 L water…
5 minCalculate extraction yield from a real brewA cone brew tastes sour and hollow. The run used 18 g dry coffee, 288 g brew water at 93 C, produced 244 g beverage, and measured 1.16 percent TDS. Extraction yield is dissolved solids divided by dry coffee dose. Approximate dissolved solids as beverage mass times TDS. The novice move is to read 1.16 percent TDS and assume the coffee is only weak. Without beverage mass and dose, you have not separated strength from extraction. Step 1 Convert TDS to a decimal: 1.16 percent becomes 0.0116. TDS is concentration in the finished beverage, so it must be converted before…
5 minBuild a SMART Wait-Time TargetVague goal: 'Make the morning line faster.' The team agrees with the intent but has no measure, owner, method, or deadline to guide action. SMART = Specific + Measurable + Achievable + Relevant + Time-bound The common trap is choosing a goal everyone likes but nobody can measure or own. Specific Target in-store order-to-handoff time during the 7:30-9:00 a.m. weekday rush. This removes confusion about mobile orders, afternoon service, or general speed. Measurable Reduce median time from 7:40 to 6:15 using a 10-ticket daily sample. A sample measure is better than no measure and light enough for a cafe manager…
5 minCalculate Par From Demand, Not HopeFriday oat milk keeps running out before noon. Last four Friday usages were 17, 19, 18, and 18 cartons. The supplier delivers the next morning, and the manager wants a buffer for rush variation. Par = lead-time demand + safety buffer for predictable variation The common trap is ordering from memory: add a few cartons after a bad week, then cut back after a wasteful week, without a stable rule. Choose the high-impact item Focus on oat milk because it drives substitutions, refunds, and guest frustration more than most low-volume syrups. Pareto thinking says to start with the vital few…
5 min