Skip to main content
Public lesson library

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

Write A Therapy Goal That Can Be Managed

The draft goal says: Maya will improve expressive language. SMART goal rewrite: Specific, Measurable, Achievable, Relevant, Time-bound The common trap is writing a goal that sounds caring but cannot be taught, measured, or supported across settings. Specific Name the exact language behavior and context: subject-verb-object sentence during small-group science observation. Specificity prevents the team from treating every expressive-language behavior as the same target. Measurable Add evidence: 4 of 5 opportunities across three consecutive sessions. The measure tells the clinician what data to collect and when progress is stable enough to trust. Achievable Include the support condition: given a visual sentence…

5 min
Split a Release Note Into Three Better Pages

callout comparison A release announcement is acting as tutorial, reference, and explanation all at once. Separate durable user needs from temporary launch framing. Teams leave durable instructions inside launch content because it already exists and feels “good enough.” The cost arrives later when readers cannot find the stable, maintained version of the task or fact. Mark the jobs Highlight setup instructions, exact limits, and rationale separately. Classification shows what should move. Create durable homes Move steps into a how-to, limits into reference, and policy reasoning into explanation. Each user need gets a stronger surface. Trim the launch post Keep the…

5 min
Split-Half a Broken Expense Upload

Devon cannot upload a receipt PDF before the finance cutoff. The symptom could be file, browser, account, network, or upload service. Split-half isolation: hold most variables steady, change one boundary, and record the result. Changing file name, browser, account, and network in one burst may make the upload work while leaving the team unable to prevent the next failure. Anchor the failing path Same account, same browser, same upload page, same receipt PDF fails again. This confirms the symptom is reproducible enough to test. Without a repeatable path, every later result is shaky. Test a known-good file Same account and…

5 min
Split a Loan Payment Correctly

Record a $1,250 loan payment where the lender statement shows $920 principal, $310 interest, and $20 servicing fee. Split the payment by economic substance: principal reduces liability; interest and fees are expenses. Posting the whole payment to Loan expense makes the P&L too low and leaves the liability too high. Before Bank withdrawal: $1,250. Ledger: $1,250 Loan expense. Loan payable unchanged. After Bank withdrawal: $1,250. Ledger: $920 Loan payable, $310 Interest expense, $20 Bank fees. Step 1 Open the lender statement for the payment date. The statement is the source for principal, interest, and fees; the bank feed only proves…

5 min
Worked Walkthrough: Split Owner vs Steward vs Engineer

The field customer_status is causing reporting disputes and incident churn because no one has separated semantic authority from technical custody. Assign roles by decision type: owner for business meaning and risk, steward for definition and control operation, engineer for technical implementation. The trap is to assign one person “end-to-end ownership” without clarifying which decisions that really includes. Step 1 Name the business owner as the person who accepts what customer_status should mean and which tradeoffs are acceptable. Owners are accountable for business interpretation and risk, not for debugging jobs or writing SQL. Step 2 Name the steward as the person…

5 min
Analyze a Vague Expense Story

A regional lead explains a $1,240 client dinner with, 'It was one of those relationship things, and Finance knew.' There is no approval record yet. Analyze vague phrases by converting them into missing anchors: business purpose, attendees, approver, channel, timestamp, policy exception, and source record. Not quite: deciding that 'relationship thing' and 'Finance knew' are deceptive phrases overclaims the evidence. They are weak because they are broad and hard to verify as stated. The right move is to ask for concrete anchors and compare them with records. Phrase 1 'Relationship thing' becomes: business purpose, client names, expected outcome, and why…

5 min
Build a Deception Cue Log

A data-retention incident produced messy interview notes. The team needs a fair cue log before deciding whether to escalate. Use four columns: observation, baseline, statement gap, verification. This applies the no-single-tell rule and turns statement-analysis cues into evidence-producing next steps. Not quite: writing 'Alex looked guilty' feels efficient but is not auditable. It confuses an interpretation with an observation, ignores baseline, and gives no path to verify the claim. A fair reviewer cannot tell what happened or what evidence would change the conclusion. Observation Alex said, 'I had nothing to do with that approval,' and gave no names or timestamps.…

5 min
Build a Sprint Goal From Six Candidate Stories

Six stories are competing for one sprint. The team needs one outcome, not a politically balanced list. Cluster candidate stories by outcome, choose the highest-value feasible outcome, then select the smallest slice that proves it. The common shortcut is to take the top-ranked tickets until the points run out. That produces a full sprint board, but often not a coherent increment or a clear Sprint Goal. It feels efficient in the moment because every item sounds important, yet it leaves the team without a clean review story or a stable tradeoff rule once new information appears during the sprint. Cluster…

5 min
Calibrate Story Points With Anchor Stories

The team is estimating from personal time guesses instead of a shared relative scale. Choose clear anchors, compare the new story against them, and adjust for uncertainty before naming a point value. The common shortcut is to vote first and explain later. That creates noisy spreads because each person is using a private reference frame. It may still produce a number, but the team learns little about why the story is that size or whether the estimate is stable enough for sprint planning. Anchor stories slow the start of the conversation by a minute and speed the rest by much…

5 min
Recalculate Capacity From Real Availability

A familiar historic point total is tempting the team to ignore a very different sprint context. Use a recent throughput range, subtract known availability changes, and commit only to the goal-coherent slice that fits the adjusted forecast. The common trap is to start with the biggest recent delivery number and call it the plan unless reality proves otherwise. That feels energizing, but it quietly pushes known interruptions into quality risk, rolled work, or mid-sprint disappointment. A sprint forecast should absorb predictable constraints before commitment, not pretend they are motivational opportunities. Range -> reduce -> reserve Range Start from recent completed-point…

5 min
Tune a Leaderboard Query by Matching Filter, Rank, and Access Path

You need the top 50 creators by weekly revenue for one region, but the current plan ranks too many rows and spends heavily on sort work. Filter the peer set early, aggregate only what the leaderboard truly needs, rank inside that reduced set, and support the filtered order with the right multicolumn index. The trap is ranking a broad global dataset and trusting outer filters or LIMIT to make the work cheap after the fact. Step 1 Push the region predicate and week window into the earliest scan or pre-aggregation stage so the input represents only the peer group that…

5 min
Roll Up an Org Tree With a Recursive CTE and a Real Cycle Guard

You need every employee beneath each executive, along with depth and a safe path, even though bad HR imports can create loops in the manager chain. Seed the hierarchy with the correct roots, recurse one manager-child edge at a time, and track visited IDs so cycles become explicit data instead of infinite recursion. The common trap is to trust the source system as a perfect tree. One bad back-reference turns that trust into an outage or a misleading rollup. Step 1 Write the anchor member to select the executive root rows you want to roll up, initializing depth to 0…

5 min
Build Session Boundaries With LAG and a Running Sum

You have one row per product event and need to assign session IDs whenever the gap between consecutive events for the same user exceeds 30 minutes. Partition by user, compare each row to its predecessor with lag(), then convert session starts into a cumulative identifier with a running sum. The common trap is to self-join events to previous events, which quickly becomes hard to reason about and makes later filtering fragile when timestamps tie or event volume spikes. Step 1 Use lag(event_at) over (partition by user_id order by event_at, event_id) to expose the previous event timestamp for the same user.…

5 min
Build Monthly Revenue by Product Line

Report monthly revenue by product line for paid orders in Q2. One output row should equal one month and one product line. Choose the source grain, join only needed dimensions, filter rows before grouping, then aggregate at the output grain. Starting from orders alone hides product_line, while joining order_lines and then grouping only by month would mix product lines together. Before SELECT DATE_TRUNC('month', ordered_at), product_line, SUM(total_amount) FROM orders GROUP BY 1, 2; -- product_line is not available and total_amount is order grain. After SELECT DATE_TRUNC('month', o.ordered_at) AS month, p.product_line, SUM(ol.line_amount) AS revenue FROM order_lines ol JOIN orders o ON o.id…

5 min
Fix the Zero-Activity Account Count

List every active account and the number of logins in the last 14 days, including accounts with zero logins. LEFT JOIN preserves accounts; ON filters qualifying activity; COUNT(activity.id) counts matches. Putting the login date filter in WHERE removes accounts whose login columns are NULL after the LEFT JOIN. Using COUNT(*) then misstates no-login accounts as one row. Before FROM accounts a LEFT JOIN logins l ON l.account_id = a.id WHERE l.logged_at >= CURRENT_DATE - INTERVAL '14 days' GROUP BY a.id; -- no-login accounts vanish. After FROM accounts a LEFT JOIN logins l ON l.account_id = a.id AND l.logged_at >= CURRENT_DATE…

5 min
Use HAVING for Group-Level Thresholds

Find stores with at least 100 completed pickups this month and average rating below 4.2. WHERE filters pickup rows; GROUP BY creates one row per store; HAVING filters those store groups. Trying to write WHERE COUNT() >= 100 asks SQL to use a count before groups exist. Before WHERE status = 'completed' AND COUNT() >= 100 AND AVG(rating) < 4.2 -- aggregate values do not exist in WHERE. After WHERE status = 'completed' AND pickup_at >= DATE '2026-06-01' AND pickup_at = 100 AND AVG(rating) < 4.2; Step 1 WHERE status = 'completed' Only completed pickup rows are evidence for both…

5 min
Write a Blameless Postmortem

The incident note names the person who deployed the config but misses why the config reached production and why detection was late. Blameless postmortem: facts, timeline, contributing factors, impact, and system-level actions. A blame sentence feels decisive, but it stops investigation at the nearest human and leaves the same trap waiting for the next responder. Before Kevin deployed a bad config and caused a payment outage. After A config missing required fallback fields passed review because schema validation did not run on payment-provider overrides; rollback status was unclear for 14 minutes. 1 Name customer impact and timeline. Start with what…

5 min
Do a Simple Capacity Check

Current peak is 800 requests per second. The campaign forecast is 2.5x. App autoscaling can handle 2,400 requests per second, but the payment provider limit is 1,500 requests per second. Capacity check: current peak x forecast multiplier, compare each request-path limit, then add headroom or degradation. Checking only app CPU misses external rate limits and shared pools that fail before servers look busy. Team confidence rests on app autoscaling graphs. The plan names payment-provider rate limit as the launch bottleneck and adds a mitigation. 1 800 rps x 2.5 = 2,000 rps expected demand. Start with a concrete demand number,…

5 min
Run a Small Game Day

The team believes regional failover works, but the runbook and alerts have not been tested since the last database upgrade. Game day: hypothesis, scope, guardrails, observation, action items. A vague chaos test can create risk without learning because nobody knows what success or abort looks like. Confidence is based on architecture diagrams and memory. Confidence is based on a controlled exercise with measured detection, response, and follow-up gaps. 1 Write the hypothesis. Example: If one worker pool drains, autoscaling restores capacity within 10 minutes without SLO burn. 2 Set guardrails and abort conditions. Run off-peak, cap blast radius, and stop…

5 min
Calculate the Bottleneck in a Hiring Funnel

Mei has 312 applies, 54 screens, 27 manager reviews, 4 interviews, and 0 offers. Everyone wants more sourcing, but the math points to manager review. compare stage conversion to locate the largest drop tied to process behavior Common trap: adding top-of-funnel volume before fixing leakage. It feels faster but produces weaker staffing evidence. Before The team uses a vague phrase: adding top-of-funnel volume before fixing leakage. Notes are hard to compare. After The team defines work, evidence, and a decision rule tied to funnel throughput. Step 1 Write the business need as a work output. This moves the conversation away…

5 min
Build a Task-to-Competency Map

Leah is filling a clinic scheduler role. The old posting says detail-oriented team player. The clinic needs fewer missed authorizations by next month. map outputs to tasks, tasks to competencies, and competencies to evidence questions Common trap: jumping from job title to interview questions. It feels faster but produces weaker staffing evidence. Before The team uses a vague phrase: jumping from job title to interview questions. Notes are hard to compare. After The team defines work, evidence, and a decision rule tied to task-to-competency mapping. Step 1 Write the business need as a work output. This moves the conversation away…

5 min
Write a Structured Interview Question

Andre needs to assess escalation judgment. His first draft is, Are you good under pressure? Every candidate will say yes. ask for a specific past situation and score the evidence against anchors Common trap: asking self-rating questions that invite rehearsed claims. It feels faster but produces weaker staffing evidence. Before The team uses a vague phrase: asking self-rating questions that invite rehearsed claims. Notes are hard to compare. After The team defines work, evidence, and a decision rule tied to structured behavioral question. Step 1 Write the business need as a work output. This moves the conversation away from personality…

5 min
Standardize Dates Without Lying

A CSV contains 06/07/26, 2026-07-06, and July 6 2026. The sales report needs weekly cohorts by noon. Tidy structure requires one variable to hold one kind of value. Dates should be machine-readable, consistently typed, and unambiguous. But standardizing dates is risky because regional formats can reverse month and day. The correct workflow parses only values with enough evidence, flags ambiguous values, and documents assumptions. The common trap is editing visible bad values directly, then losing the ability to explain which rows changed and why. Profile formats Count date patterns before parsing. Pattern counts reveal ambiguity and prevent a parser from…

5 min
A/B Lift: Difference, Interval, Decision

A/B Lift: Difference, Interval, Decision Observed difference plus uncertainty interval plus decision threshold. The shortcut is to report the first tidy number and skip the unit, denominator, or uncertainty that makes the calculation meaningful. Step 1 Name the unit of analysis and write the raw quantities. This prevents mixing customers, accounts, tickets, and percentages as if they were interchangeable. Step 2 Apply the formula using the correct denominator or comparison. Most workplace statistics errors are denominator errors disguised as insight. Step 3 Compare the result with the decision threshold and uncertainty. The calculation becomes useful only when it changes or…

5 min

Skill catalogue | Browse the library

Put it into practice

Choose your next learning habit.

Contact us