learntodriveai.dev/Data Science/Inheritance Review: Diagnosing a Broken Analysis
Data ScienceProject 176 units

Inheritance Review: Diagnosing a Broken Analysis

Rima NassarData and Performance Manager · Public bus authority · Beirut, Lebanon
Forwarded internal email · from Rima
In short: a consultant produced an analysis of our bus system performance in late 2025. It was supposed to inform a route-optimization decision we are preparing. My deputy has flagged concerns.
Chat with Rima

What you hand back

  • A verification map of four findings
  • A corrected analysis notebook
  • A salvage-or-redo judgment per finding
  • A plain-language brief for the ministry
  • A one-paragraph operational-role addendum on the demand model

6 units

  1. Unit 1: Rima's forwarded email and the inherited-project orientation

    Set up the inherited project, read Rima's forwarded email and the deputy's memo, and reply to her.

    Open unit 1
  2. Unit 2: Diagnostic read-through and the verification map

    Read the consultant's notebook section by section and build a verification map of what each claim leaves untested.

    Open unit 2
  3. Unit 3: The load-bearing finding — Jamie Park on the temporal split

    Test the 97% demand model by re-running it with a time-ordered holdout, then judge what can be salvaged.

    Open unit 3
  4. Unit 4: The remaining three findings — corrections and salvage

    Correct the on-time comparison, reframe the ridership patterns as descriptive, and rewrite the causal wording in the report.

    Open unit 4
  5. Unit 5: The plain-language brief for the ministry

    Draft the plain-language brief for the ministry: what was wrong, what was corrected, what is lost, what holds.

    Open unit 5
  6. Unit 6: Rima's response and ministry-readiness

    Send the brief to Rima, add the operational-role addendum she asks for, and push the corrected work.

    Open unit 6
Read the full brief

What you're building. An inheritance review for the Data and Performance Manager at a public bus authority in Beirut. A consultant's notebook arrived with the engagement; the consultant has gone, and the deputy thinks something is wrong. You produce three things: a verification map naming each problem, a corrected analysis, and a plain-language brief for the ministry.

What you're practicing. Reading someone else's notebook diagnostically. Naming methodological failures in plain words. Deciding per finding whether the work can be salvaged, must be rebuilt, or cannot be recovered. Re-running corrections under the right discipline. Writing honestly about an overclaim without sounding like a hatchet job.

What you're learning about the loop. Verification has the same shape whether you built the work or inherited it -- but the directing register changes. AI summarizes an inherited analysis as if it were valid; it reads a 97% accuracy figure at face value the same way it reads its own output at face value. It does not diagnose at the methodology level on its own -- not random splits on temporal data, not unfair comparisons, not wrong question types, not causal language used for a descriptive finding. You direct AI to verify rather than summarize, and you hold the methodological coherence the consultant did not.

Your Role

You are the senior data scientist hired for the inheritance review. The frame is set at the start: read the consultant's analysis, diagnose what is wrong, distinguish salvage from redo, execute the corrections, produce a brief Rima can hand to her ministry.

The familiar terrain is everything you have built across the prediction and synthesis projects -- leakage discipline, comparison validity, question-type decomposition, honest-evidence communication. What is new is the seat. You are the investigator, not the builder, and there is no prior reasoning chain of yours to lean on. The methodological judgment comes from reading the work cold.

AI is the tool that runs the verifications you design. It does not decide the salvage strategy, and its first drafts soften bad news in ways that bury severity. You catch those defaults and reframe.

What's New

Last project, you produced a layered communication package for a Senegalese microfinance nonprofit -- three parallel analyses synthesized into one coherent picture, designed for inheritance. The hard part was holding three question types coherent across one deliverable.

This project inverts the engagement object. You inherit a finished but broken artifact instead of building from a brief. The first contact is a forwarded internal email; the deputy has already named operational symptoms in his own register. The deliverables triple: a verification map, a corrected notebook, and a plain-language brief for a non-technical ministry audience.

The hard part is the salvage-vs-redo judgment per finding. Some sections are repairable in place; some must be rebuilt under a different framing because the consultant answered the wrong kind of question; some headline results do not survive any reasonable correction. AI defaults to fixing everything in place -- you decide what gets repaired, what gets rebuilt, and what cannot be recovered.

Tools

Carry-forward. No new packages.

  • Python 3.11+ in the conda "ds" environment, Jupyter, pandas, scikit-learn, statsmodels, matplotlib / seaborn, plotly
  • MLflow -- you read the consultant's existing runs and log a new bta-inheritance-review experiment for the corrections
  • DuckDB, DuckDB MCP server, Jupyter MCP server, MLflow MCP server
  • Claude Code with the assumption-checking skill and pre-evaluation hook active (you do not modify these). The structural absence of these in the inherited project is itself a finding
  • Codex CLI -- the cross-model review on the load-bearing leakage diagnosis is where this earns its keep
  • AGENTS.md -- a starter ships with the materials
  • Git / GitHub

The data and the inherited project bundle are new -- ~18 months of route-level operational records from a recently-relaunched 7-line bus system in Beirut, in Lebanese Pound (LBP).

Materials

The project lives at ~/dev/data-science/p-17. The materials zip downloads from https://learntodriveai.dev/materials/data-science/p-17/materials.zip.

What is provided:

  • A fresh project memory file (CLAUDE.md) scoping the inheritance review -- your engagement, not the consultant's
  • The deputy's memo (deputy-memo.md) flagging the operational symptoms in plain language
  • A data dictionary describing the three inherited data exports honestly
  • Templates for the three deliverables: a verification map, a salvage-vs-redo judgment, and the plain-language brief for the ministry
  • The full inherited project bundle under inherited/ -- the consultant's Jupyter notebook, brief report, three data exports, an under-curated CLAUDE.md, and an MLflow runs directory present but methodology-version-untagged

No diagnostic findings, no corrected analysis, no salvage verdicts, no draft brief. The diagnosis, the corrections, and the brief are yours to produce.

Materials · 45 files
Inherited/
mdCLAUDE.mdipynbconsultant-analysis.ipynbmdconsultant-report.mdcsvdata/demand-model-data.csvcsvdata/on-time-logs.csvcsvdata/route-ridership.csvyamlmlruns/0/meta.yamlyamlmlruns/1/003803ed39504b22997d725f74fd27d8/meta.yamlmlruns/1/003803ed39504b22997d725f74fd27d8/metrics/holdout_maemlruns/1/003803ed39504b22997d725f74fd27d8/metrics/holdout_r2mlruns/1/003803ed39504b22997d725f74fd27d8/params/model_typemlruns/1/003803ed39504b22997d725f74fd27d8/params/random_statemlruns/1/003803ed39504b22997d725f74fd27d8/params/test_sizerunNamemlruns/1/003803ed39504b22997d725f74fd27d8/tags/mlflow.runNameusermlruns/1/003803ed39504b22997d725f74fd27d8/tags/mlflow.useryamlmlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/meta.yamlmlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_B1mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_B2mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_B3mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_B4mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_ML1mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_ML2mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/metrics/otp_pct_ML3mlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/params/metricmlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/params/threshold_minutesrunNamemlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/tags/mlflow.runNameusermlruns/1/87f9bab8ddaa4f26b6d50fb8d499952d/tags/mlflow.useryamlmlruns/1/8d3e09a748fc47c881073a1ddf2b634f/meta.yamlmlruns/1/8d3e09a748fc47c881073a1ddf2b634f/metrics/holdout_maemlruns/1/8d3e09a748fc47c881073a1ddf2b634f/metrics/holdout_r2mlruns/1/8d3e09a748fc47c881073a1ddf2b634f/metrics/train_r2mlruns/1/8d3e09a748fc47c881073a1ddf2b634f/params/feature_countmlruns/1/8d3e09a748fc47c881073a1ddf2b634f/params/model_typemlruns/1/8d3e09a748fc47c881073a1ddf2b634f/params/random_statemlruns/1/8d3e09a748fc47c881073a1ddf2b634f/params/test_sizerunNamemlruns/1/8d3e09a748fc47c881073a1ddf2b634f/tags/mlflow.runNameusermlruns/1/8d3e09a748fc47c881073a1ddf2b634f/tags/mlflow.useryamlmlruns/1/meta.yaml
Start Project 17

You work at a computer with a terminal. Signed in, your place is saved.