Appendix D — Master Interactive Google Colab & Companion Ecosystem Index
How to Use This Appendix: Every chapter of From First Line to First Paper is mirrored 1-to-1 with interactive Google Colab notebooks (Walkthrough, Guided To-Dos, 100-point Coding Exam, and Annotated Solutions) backed by our automated diagnostic engine sharukh-tutor. Click any link below to launch a live cloud session with zero local installation, or browse the complete Google Drive mirror folder.
Click a notebook link below, then choose File \(\rightarrow\) Save a copy in Drive so your edits persist across sessions.
Run Step 0 to install and activate sharukh-tutor, then work through each # YOUR CODE HERE cell using tutor.hint(..., level=1..3) before checking with tutor.check(...).
Before submitting or moving on, select Runtime \(\rightarrow\) Restart session and run all and confirm tutor.summary() reports every exercise passing cleanly.
D.1.2sharukh-tutor Interactive API Cheat Card
Function Call
Signature & Purpose
tutor.activate(...)
activate(chapter, notebook="todos", quiet=False) — Starts a fresh verification session and loads chapter checks
check(exercise_id, submission=None, **kwargs) — Runs layered diagnostic tests on your variable, array, DataFrame, or function
tutor.check_exam(...)
check_exam(chapter, submissions) — Grades all coding exam tasks and prints a 100-point diagnostic scoreboard
tutor.summary()
summary() — Prints live pass/open status, points earned, and hint usage across the current notebook session
tutor.load_data(...)
load_data(name, as_pandas=False) — Loads bundled spine datasets as list[dict] (Parts I–II) or pd.DataFrame (as_pandas=True, Parts IV–VII)
# Standard Colab Step-0 activation cell (paste into any fresh notebook)REPO ="https://github.com/sharukh01621/first-line-to-first-paper.git"!pip install -q "git+{REPO}#subdirectory=sharukh_tutor"import sharukh_tutor as tutortutor.activate(chapter="ch18", notebook="guided_todos")print(tutor.list_datasets())# Load as list[dict] (stdlib csv) or pandas.DataFramerows = tutor.load_data("clinic_triage", as_pandas=False)mch_df = tutor.load_data("mch_survey_sample", as_pandas=True)
D.2 Spine Public Health Datasets Dictionary
Three realistic, public-health-inspired synthetic datasets accompany this curriculum from Chapter 1 through Chapter 36 so you can trace how the exact same data problems evolve from basic Python loops to calibrated ML and PyTorch models.
D.2.1 1. clinic_triage.csv (120 Rows, 11 Columns)
Domain: Upazila community clinic patient intake records across 6 districts.
Data Quality & Quirks: Zero missing cells by design—serves as the clean anchor dataset for Parts I–III (BMI calculation, fever triage branching, CSV/JSON I/O, OOP PatientRecord classes) and introductory classification/regression benchmarks.
anc_visits encodes 8 “Don’t Know / Refused” responses using legacy survey sentinel code 999 (must be replaced with np.nan before averaging or modeling!).
Data Quality & Quirks: Zero missing values; displays strong seasonal monsoon peaks, lagged rainfall-to-dengue transmission, and cross-district population scale differences (requiring incidence normalization per \(100{,}000\) population, panel-safe .groupby("district").shift(), TimeSeriesSplit, and GRU/LSTM sequence windowing in Chapter 31).
D.3 Complete 36-Chapter Master Colab Launch Index
All URLs below open directly in Google Colab from the live repository (colab_drive/<part>/<chapter>/... and colab_drive/solutions/<part>/<chapter>/...).
D.3.1 Part I: Computational Thinking & Python from Absolute Zero (Chapters 1–6)