Unit 11 of 11 · about 4 hours · explain

Failure trees and rights, privacy, safety, compute and feasibility boundaries

A useful failure tree tells you what to inspect next. A generic risk list cannot separate a broken measurement from an ineffective intervention or an unusable product.

You'll be able to

  • Build a failure tree whose data, model, metric, causal, system and product branches predict different observable signatures.
  • Rank diagnostic checks by their ability to change the decision within the available budget.
  • State rights, privacy, safety and feasibility boundaries that can stop the investigation before modeling.

Covers

Failure tree across data, model, metric, causal, system and product causesData rights, privacy, safety, compute and feasibility boundaries
1

Read

In this order, only the parts listed

0 of 4 done

  1. Approval is part of design, not cleanupProject Design - Planning and Checklist

    Getting Ethical and Legal Approval; then Reproducibility Methods at https://book.the-turing-way.org/project-design/pd-overview/pd-overview-methods/, Choose a License (pages read 2026-10-19)

  2. Finish the eight-question screenThe Heilmeier Catechism

    All eight questions, revisiting risks, cost, duration and examinations in questions 5 to 8

  3. Separate infrastructure and objective failuresRules of Machine Learning - Selected Rules

    Rules 5, 28 and 39: independent infrastructure tests, long-term feedback and launch goals (page read 2026-10-19)

  4. Bound the claim where evidence endsREFORMS: Consensus-based Recommendations for Machine-learning-based Science

    Items 8a and 8b, Generalizability and limitations (read 2026-10-19)

2

Focus on

  • Worked root: a support pilot misses its useful-outcome threshold. Data branch: abandoned calls have missing labels, predicting outcome availability that differs by exit type; compare intake counts with labeled exits. Model branch: forecasts underpredict busy shifts, predicting load-specific residuals on the same held-out IDs; inspect those residuals before adding capacity.
  • Metric branch: the dashboard clips long waits, predicting disagreement with a hand-scored event trace; recompute a tiny trace independently. Causal branch: extra agents are assigned on expected difficult shifts, predicting pre-assignment imbalance; audit assignment and redesign rather than claiming adjustment automatically fixes it.
  • System branch: a stale forecast arrives after staffing is fixed, predicting late delivery despite correct offline predictions; compare issuance, delivery and action logs. Product branch: managers receive timely forecasts but never use them, predicting unchanged staffing decisions despite changed recommendations; audit decisions and workflow. Branches can coexist; these signatures direct checks, not automatic root-cause verdicts.
  • Before collecting support logs, establish permission, lawful purpose, minimization, retention and access controls; do not use real caller text for the teaching fixture. Public availability is not unrestricted permission. For Bike Sharing, retain Fanaee-T attribution, the UCI DOI and CC BY 4.0 notice, and record transformations. Set a CPU pilot cap on your machine, a no-paid-API route and a stop if legitimate features, labels or a fair comparator cannot fit the agreed budget.
Common mistakes · 3
  • A tree with six labels but the same 'collect more data' leaf everywhere. Each branch needs a different observable consequence and diagnostic check.
  • Calling a data license ethics approval or consent for every use. Rights, privacy, safety and the intended inference need separate review.
  • Dropping a failed run to meet the resource cap. Preserve it with its reason; reduce scope or stop instead of improving the result by censorship.
3

Try it yourself

Closed-book, before checking anything

Draw the six support branches from memory, with one predicted signature and one distinguishing check per branch. Given a hypothetical perfect offline forecast delivered after staffing closes, prioritize the system delivery check over trying a larger predictor; explain what it would and would not rule out. Then build the library transfer's tree and complete all eight Heilmeier answers for that charter. Mark a hard rights or safety stop separately from a technical risk that can be investigated.
4

Quiz yourself

Answer first, then mark it. Missed ones go to Review.

0 got · 0 missed

  1. 1.The forecast is accurate but delivered after the staffing decision. What does that establish?Answer

    A timing or delivery failure makes the proposed action pathway infeasible. It does not show that the predictor is inaccurate or that extra staffing would have no causal effect.

  2. 2.Pre-treatment queue pressure differs between staffed and unstaffed shifts. Which branch needs attention?Answer

    Assignment confounding in the causal branch. The imbalance motivates a design audit; a precise raw outcome difference is not an identified staffing effect.

  3. 3.Can the published Bike Sharing data identify every branch in a live rebalancing failure tree?Answer

    No. It lacks station inventories, policy assignment and operational action logs. Keep unsupported branches as measurement requirements or narrow the question.

You're done when

Your library charter has six distinguishable branch signatures, a feasible first diagnostic, eight concrete Heilmeier answers and a hard stop that a better model score cannot override.

Only when you can do this without notes.

Leads to

Notes

Resources · 4 for this unit, 6 more in the section
  • REFORMS: Consensus-based Recommendations for Machine-learning-based ScienceKapoor et al., Science Advances · primary

    Read the article's scope section and Table 1, then the paired guidelines for items 1a to 1c (population of interest rather than the sample, why that population, why ML), 3b and 3g (sampling frame, representativeness), 5f (baselines), 6c (feature legitimacy at prediction time) and 8a to 8b (generalizability and where the claim does not hold). Write the charter against those items. REFORMS targets ML-based science and excludes pure methods research, so a methods question uses the applicable items, never a compliance claim. Its checklist and guidelines (https://reforms.cs.princeton.edu/) are a 2024 consensus, not a tested intervention. No source here derives an estimand, timeline and stop threshold for you: write one worked contract with a counterexample for each.

  • Project Design - Planning and ChecklistThe Turing Way · required

    Organizational companion, not the design method. Read Getting Started with Project Design (Setting Expectations Explicitly, Getting Ethical and Legal Approval), the Getting Started Checklist (Methodology, Stakeholders, Reporting & Evaluation) and Reproducibility Methods (Choose a License, Documenting the Design of your Study). Record stakeholders, approvals, licence and which work is exploratory or confirmatory. The Computational Reproducibility claim that notebooks need no installation describes a hosted option, not notebooks in general.

  • The Heilmeier CatechismDARPA · required

    Answer all eight questions for the proposed investigation, including current practice, novelty, who cares, risks, cost, duration and the midterm and final examinations. Use the answers to remove vague scope.

  • Rules of Machine Learning - Selected RulesGoogle for Developers · support

    Read Rules 1 to 5, 12 and 13, 25, 27 to 29, 31, 33, 38 and 39. Pair Rule 12 ("Don't overthink") with 13 and 39: the Alice example (better logistic loss and installs, daily active users down 5%) shows a better predictor rejected for a wrong objective. Rule 1's "50%" boost is rhetoric, and Rule 33's stable AUC expectation fails under concept shift.

Also in this section

  • Machine Learning Problem FramingGoogle for Developers · support

    The core already assigned these exercises. Reread only Predictions vs. actions, Proxy labels and Define the success metrics as a critique: does the product decision deserve improvement, and can proxy movement justify the action? Two passages need correcting: in Regression, model family alone does not make classification "produce the correct behavior" (actions need calibrated probabilities and costs or a decision loss), and the "undefined gap" between failure and success is exactly where your charter must predeclare an action.

  • CS329S - Machine Learning Systems DesignStanford University · support

    Use the 2022 notes for Lecture 1 (Machine learning in research vs. in production, Stakeholders and their objectives, Requirements for ML Systems) and Lecture 6 (Model Offline Evaluation: Baselines, then the perturbation, invariance and directional expectation tests and Slice-based Evaluation). Model selection, development and training is one combined Lecture 5; read its tip 3 on unequal tuning effort. Excluding a sensitive attribute does not remove proxies, and the Lecture 6 subgroup table uses different denominators per model, a composition effect rather than a same-population ranking reversal.

  • Applied Science Investigation - Research CharterRoadmap-Final · support

    Use Overview, Milestone A, Core requirements and Correctness requirements as the charter template. Begin one investigation here and keep extending the same artifact through the final stage. Freeze the development, selection, test and reserved extension periods or groups before any final scoring, and run a sub-minute baseline ladder (a global mean, a stratified mean, one regularized model) as development evidence. A more flexible model losing to a simple heuristic is a result to keep.

  • UCI Bike Sharing DatasetUCI Machine Learning Repository (Fanaee-T and Gama) · support

    A licensed starter for the investigation: hourly and daily Capital Bikeshare rentals for 2011 and 2012 with calendar and weather fields (DOI 10.24432/C5W894; keep the attribution and record your transformations). The archive has 17,379 hourly rows although the page states 17,389. Missing hours are not zero demand, casual plus registered equals the target, same-hour weather is not a day-ahead forecast, and counts are realized rentals, not demand or the effect of rebalancing. Separate formulations it supports (next-day counts) from ones it cannot (a causal policy effect).

  • UCI Wine Quality DatasetUCI Machine Learning Repository (Cortez et al., 2009) · support

    An alternate investigation domain: 1,599 red and 4,898 white wines, 11 physicochemical inputs and an ordinal expert score (the median of at least three evaluations). There are no producer, lot, taster or date identifiers, so identical rows may be repeats or distinct samples; keep feature-identical rows in one split group and bound claims accordingly. Red-to-white transfer is a deliberately hard boundary, not evidence about all wine.

  • Research Methods Knowledge Base: Construct ValidityWilliam M. K. Trochim, hosted by Conjointly · required

    Construct Validity: opening definition, operationalizations of measures and treatments, convergent and discriminant evidence, and the final theoretical-pattern versus observed-pattern discussion (page read 2026-10-19). Use this to challenge a proxy, not as a checklist proving validity.