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

Run A Developer Affiliate Conflict Check

A developer wants one lawyer to represent both the project company and a newly formed management affiliate negotiating fees from the same project budget. Concurrent-conflict walkthrough: identify adversity, map material limitation, test consentability, disclose in writing, or separate counsel. The common trap is treating common ownership as common legal interest. Affiliates can have different rights, duties, and economic incentives. Identify clients Name each entity, owner, investor, lender, and decision-maker before opening the new matter. Conflicts are often missed when the lawyer says "the developer" instead of naming the legal persons. Map divergence List where advice could split: fees, indemnity, insurance,…

5 min
Walk A TRID Change Before Closing

The lender changes a buyer from a fixed-rate product to an adjustable-rate product one day before closing, and the team wants a yes-or-no answer immediately. TRID timing walkthrough: classify the change, find the timing rule, count from delivery or receipt, and state what action is allowed today. The common trap is to ask whether the borrower is willing to waive delay. Consumer willingness does not itself cure a timing requirement or fee restriction. Classify the change Ask precisely what changed: loan product, APR, prepayment penalty, cash to close, fees, or clerical data. The rule depends on the category. A vague…

5 min
Build a freshness SLO

The orders dashboard is described as live, but store managers do not know whether a missing order is a real operational issue or a pipeline delay. Freshness SLO = event population + timestamp basis + freshness threshold + measurement window + allowed exceptions + response rule. The common trap is using "refreshes every minute" as the promise. Refresh cadence describes the screen, not the age or completeness of the data behind it. Before Orders dashboard is real time and refreshes continuously. After 99 percent of accepted checkout events appear in the store orders dashboard within 120 seconds of event time,…

5 min
Use DMAIC to fix duplicate events

Order counts are inflated because the mobile app emits a second purchase event when the confirmation API times out and retries. DMAIC turns a recurring pipeline defect into a controlled process improvement. The common trap is patching the dashboard with a one-off DISTINCT while leaving the event contract and retry behavior unchanged. Before Dashboard query uses COUNT(*) on purchase events and support handles complaints when numbers later reconcile down. After Purchase events carry idempotency keys, stream deduplicates by checkout_id, and duplicate rate by app version is monitored with an owner. Define Defect = more than one purchase event with same…

5 min
Work a watermark decision

A five-minute revenue window must help marketing pace spend within three minutes, but finance wants a stable number for hourly reporting. Watermark policy should balance action timing, lateness distribution, and correction visibility. The common shortcut is to pick one "final" time for every user. That either delays operators or rewrites history for finance. Before Emit revenue at window close plus one minute and silently update when late events arrive. After Emit a provisional revenue number at plus two minutes with a settling label, then finalize at plus eight minutes and send later events to a correction log. Measure lateness 95…

5 min
Dot Product by Hand

A user profile has active features: customer-success, renewal, conversation, short. Score three lessons by overlap: A has customer-success, renewal, conversation, short; B has sales, renewal, negotiation, long; C has finance, spreadsheet, reporting, short. Content-based scoring matches user and item vectors in a shared feature space. The common trap is to treat the score as model wisdom. It is just a function of chosen features, weights, and metadata quality, so a clean number can still reflect a bad taxonomy or missing tag. Step 1 Represent the user vector as four active features: customer-success = 1, renewal = 1, conversation = 1,…

5 min
Implicit Matrix Factorization

You have a user-item matrix from a video app. A 1 means the user watched at least 80% of a video. Blank means no recorded watch. You need to train a collaborative recommender. Matrix factorization learns user and item embeddings, but implicit feedback needs careful weighting of observed and unobserved pairs. The novice move is to convert every blank into a strong zero. That treats non-exposure as dislike and can drown the positive signal, especially for new items or users who have only seen a narrow slice of inventory. Step 1 Keep watched videos as positive observations with meaningful confidence.…

5 min
Choose an Offline Ranking Metric

A homepage module shows five recommendations. Users usually pick from the first screen and rarely open a full list. You have graded relevance labels from 0 to 3 for held-out interactions. Match the offline ranking metric to the product surface and feedback type. The common shortcut is to report one broad classifier metric and ignore the top-k experience. That can reward a model for separating positives somewhere in the catalog while still placing weak items in the few slots users actually see. Step 1 Set k to the visible slate size: k = 5. If the user sees five items,…

5 min
Build a 30-cart contamination audit

Route 9 has a rejected load, conflicting explanations, and no baseline by segment. Plan, Do, Check, Act: define the question, collect consistent evidence, compare the pattern, and act with a control check. The common trap is to inspect the worst-looking carts only, then treat the result as if it represents the whole route. PDCA audit loop Plan Decide the question, sample, categories, and decision threshold. Do Inspect the same way each time and record evidence. Check Compare defect patterns by segment or source. Act Target the intervention and schedule a repeat check. Audit 30 carts: 10 apartment, 10 single-family, 10…

5 min
Run 5 Whys on a rejected OCC bale

OCC bale 24 was rejected by the buyer for moisture above acceptable condition. Ask why until the answer points to a process countermeasure, not a weather report. The common trap is stopping at rain caused wet cardboard, which describes the condition but does not change the process. 5 Whys Why 1 Why did the buyer reject the bale? Why 2 Why did that condition enter the bale? Why 3 Why did the operation not prevent or catch it? Why 4 Why does the current process allow that? Why 5 What process change would prevent recurrence? The bale was rejected because…

5 min
Turn route defects into a Pareto huddle

The huddle board lists many complaints but does not show which defects deserve action first. Pareto thinking orders defects so the team can act on the vital few and check whether they move. The common trap is turning the board into a wall of incidents, which proves the team is busy but does not focus behavior. Pareto huddle Group Use stable defect categories. Count Track frequency or cost for the same period. Rank Order defects from largest impact to smallest. Act Assign one action to the top defect and check next week. 63 exceptions become five categories: bags, wet OCC,…

5 min
Redesign a Variance Page Step by Step

stepper A weekly variance contribution redesign page shows revenue, conversion, churn, NPS, tickets, and campaign spend in one grid. Leaders keep asking different questions because no visual element declares the intended comparison. Start with the decision sentence, choose the strongest encoding for that comparison, then preserve evidence through labels, caveats, and accessible text. The common shortcut is to polish the existing page: brighter colors, more cards, and a bigger chart. That changes surface appeal while leaving the viewer task unresolved. Before Six equal-weight tiles, detached legend, dual-axis trend, no benchmark note, and a neutral title: Weekly performance. After Message title,…

5 min
Decompose a role into task atoms

The sales operations role is described too vaguely: keep Salesforce clean and support pipeline reviews. The team cannot decide what AI should do because the work is not yet broken into redesignable units. Task atom = trigger + input + action + output + judgment + consequence The common shortcut is to list broad responsibilities such as CRM hygiene, reporting, and pipeline support. Those labels hide the actual work and make AI decisions either too aggressive or too timid. Trigger Start with the moment the work begins: Thursday 10 a.m. forecast prep, after reps update opportunities, before the regional forecast…

5 min
Turn a time saving into a redesigned workflow

AI reduced interview synthesis time from six hours to two, but the team has not redesigned the workflow around the saved four hours. Time saving -> changed task flow -> control -> capacity destination -> measure The common trap is to keep the old synthesis process, paste AI output into it, and then accept more projects without changing review standards or decision routines. Measure the changed task Baseline: six hours for transcript reading, theme clustering, quote selection, and insight drafting. New flow: two hours for AI-assisted theme map plus researcher review. A measured saving anchors the redesign. Without a baseline,…

5 min
Build an email extractor that does not pretend to validate the internet

Extract likely email addresses from support notes without swallowing sentence punctuation or claiming full RFC validation. TDD: examples first, scoped regex second, limits documented third The common shortcut /\S+@\S+/ treats every non-space as part of the address, so it grabs trailing punctuation and misses the difference between extraction and validation. Write examples Pass: alex+vip@support.example.com and sam@company.co.uk. Reject or trim: alex@example.com. at sentence end. The examples define extraction behavior before pattern debate starts. Constrain the local part [A-Za-z0-9._%+-]+ This covers common work addresses without pretending to support every legal edge case. Constrain the domain [A-Za-z0-9.-]+\.[A-Za-z]{2,} A visible dot and alphabetic suffix…

5 min
Refactor a SKU regex into named parts

Refactor a SKU regex so changes to structural groups do not corrupt downstream inventory fields. Named data groups, noncapturing structure, explicit optional segments Numbered captures look harmless until a new optional group changes every position that downstream code reads. Name the fields line, id, color, size, optional region A named interface starts with business terms, not parentheses. Capture only data (?[A-Z]{2,3})(?\d{4,8}) The prefix and ID are consumed downstream, so they deserve names. Make structure noncapturing (?:-(?[A-Z]{2}))? The optional dash is structure; the region is data. They should not share one numbered surprise. Assert examples AB1234-RED-M and ABC123456-NV-L-US Tests prove both…

5 min
Rewrite a catastrophic pattern safely

A profile-name validator has nested repetition and optional spaces inside the repeated group, creating many ways to parse long near-misses. Remove ambiguity, bound repetition, cap input The pattern /^([a-z]+\s?)*$/ can divide the same run of letters into many group iterations before it finally rejects a hostile suffix. State the real rule 1 to 5 lowercase words separated by single spaces A safe rewrite starts with the domain rule, not the old syntax. Remove nested ambiguity ^[a-z]+(?: [a-z]+){0,4}$ The delimiter sits between words, so the engine has fewer equivalent partitions to explore. Cap input first Reject names longer than 60 characters…

5 min
Build a control matrix for one line

The credit exposure line is filed monthly, but support is scattered across a source extract, a mapping workbook, emails, and a final PDF. A reviewer cannot tell which control proves completeness and which proves accuracy. COSO reporting-control chain: objective, risk, control, evidence, reviewer The common trap is listing activities instead of controls. File received is an activity. Source total reconciled to report total with exceptions reviewed is a control. Before Source file saved. Mapping workbook updated. Manager approved by email. After Objective: complete and accurate exposure reporting. Risk: source records missing or mapped incorrectly. Control: source-to-report reconciliation plus mapping exception…

5 min
Make a materiality call step by step

A $600,000 classification error is below the default threshold, but it changes a disclosed trend from improving to flat. IFRS materiality process: identify, assess, organize, review The common trap is stopping at the numeric threshold and missing qualitative sensitivity. Before Below threshold. No action required. After Below quantitative threshold, but qualitatively sensitive because it affects a highlighted trend and a regulator focus area. Correct before filing and document the rationale. Identify Name the information: $600,000 classification error in the customer remediation disclosure. A precise fact pattern prevents the conclusion from becoming generic. Assess size Compare the error to line total,…

5 min
Turn a variance into a defensible explanation

Operational losses increased 27% month over month, and the draft explanation is too vague to support filing review. DMAIC for variance analysis: define, measure, analyze, improve, control The common trap is writing a plausible narrative before proving the driver. Before Operational losses increased due to higher business activity. After Operational losses increased 27%, driven mainly by a $4.2M cyber settlement and a $900,000 legal accrual reclassification. Recurring losses were flat after excluding those two items. Define State the variance: operational losses rose from $18.9M to $24.0M, a $5.1M or 27% increase. A precise variance prevents vague explanations. Measure Break the…

5 min
Build the AFFO-style bridge

A REIT reports $246M of FFO and pays $216M in dividends. It also reports $18M recurring maintenance capex, $14M tenant improvements, $9M leasing commissions, and $22M one-time redevelopment capex. FFO -> recurring cash adjustments -> dividend coverage The common trap is subtracting every capital dollar from dividend capacity or subtracting none. Separate recurring asset-sustaining costs from one-time growth investment. Step 1 Start with FFO: $246M Dividend: $216M FFO payout = $216M / $246M = 88% This is the headline performance coverage. It is useful, but not enough for sustainable cash coverage. Step 2 Subtract recurring cash adjustments: $18M maintenance capex…

5 min
Turn an HVAC failure into an asset decision

A medical office chiller has failed twice. Repair costs $380K and is expected to last 3 years. Replacement costs $1.45M, cuts energy cost by $95K per year, and materially reduces outage risk for a key tenant paying $1.9M annual rent. Lifecycle value = upfront cost + risk cost + operating cost + tenant and valuation effect The common trap is approving the lower invoice without pricing outage risk, tenant retention, and useful life. Step 1 Repair case: Upfront cost = $380K Useful life = 3 years Known issue = repeated outage risk The repair saves cash today but keeps the…

5 min
Run a NAV sensitivity that tells a story

A REIT portfolio has $180M stabilized NOI. Base cap rate is 5.50%. Net debt is $1.35B. Shares outstanding are 103M. NOI / cap rate = asset value; asset value - net debt = equity value; equity value / shares = NAV per share The common trap is debating NAV discount without testing whether the base cap rate is still a market-participant assumption. Step 1 Base asset value = $180M / 5.50% = $3.273B Cap rate converts recurring NOI into an asset-value estimate. Step 2 Equity value = $3.273B - $1.350B net debt = $1.923B Debt is deducted after asset value.…

5 min
Reserve space before media loads

A responsive feed card shifts vertically because its image height is unknown until the image loads. Reserve media space with intrinsic dimensions or CSS aspect-ratio so the layout is stable before loading completes. The common trap is optimizing image bytes but leaving the slot undefined. A smaller image can still cause a layout shift if the browser cannot reserve space. Before ` inside a fluid card gives the browser no reliable height before the file arrives, so text below moves late. After A .media { aspect-ratio: 16 / 9; } wrapper plus img { width:100%; height:100%; object-fit:cover; } keeps the…

5 min

Skill catalogue | Browse the library

Put it into practice

Choose your next learning habit.

Contact us