# LABLOOP W02 — indpensim data and baseline: full learning notebook

Prepared 2026-09-23 for Peter Ciancaglini. This is a study and execution guide; it does not record that you completed the work. Keep your existing notes, commitments, progress and evidence. Write actual results in the existing evidence register, not into the illustrative examples below.

[Original weekly brief](./specs.md) · [Commitment](./commitment.md) · [Evidence](./evidence.md) · [Review](./review.md) · [Existing read/watch materials](./materials.md) · [Notebook index and export guide](../../NOTEBOOKS.md) · [NotebookLM upload text](./notebooklm.txt)

[Previous notebook](../week-01-fermentation-simulator/learning-notebook.md) · [Next notebook](../week-03-statistical-batch-monitoring/learning-notebook.md)

## 1. The week in plain language: what, why and where it leads

You will turn an unfamiliar benchmark into a trustworthy table and a first statistical picture. IndPenSim is simulated industrial fermentation data; it must not be described as measurements collected from a real plant. A batch is one run of the process, and its many time points are related observations. The job is to discover what the files actually contain, preserve their origin, and compare trajectories fairly. PCA compresses many correlated measurements into a few directions so you can inspect variation; it does not automatically diagnose a fault.

**Your systems, software and AI connection.** This is data engineering with a scientific contract. Your importer, typed columns and lineage checks are systems work; the choice of independent batch and prediction time is research design. The frozen import and split become the foundation for monitoring, early prediction and Paper 2.

**Dependency map from the existing programme.**

- ← **From:** week 1 (you know what X, S, P and DO mean because you invented them).
- → **Feeds:** week 3 (PCA scores become Hotelling T² alarms), week 4 (hours-to-detection needs aligned batches), week 8 (soft sensor uses the tidy parquet), weeks 12 and 17 (Paper 2 is built on this dataset).
- ⟳ **Returns in:** Paper 2 "Data" section; you will cite Goldrick et al. 2015 and 2019.

**Gate and proof required by the current weekly specification.**

This is an enabling week. Its deliverables feed the next scheduled gate: 4. Complete the acceptance checklist below; do not promote reputation from a draft.

The milestones are targets, not predictions of success. A prepared notebook, generated visual, course completion or draft paper is not a substitute for the required evidence. Your final profile should connect a clear scientific question to working software, trustworthy data, measured comparisons, documented limitations and your own contribution.

## 2. Before starting: locate inputs and repair only the needed foundations

- [Week 01](../week-01-fermentation-simulator/specs.md): inspect its actual evidence and review; source/code artifacts must exist before the dependent task begins.

1. Open the existing commitment and previous review/evidence. Identify which required inputs are present, missing or stale. A folder name does not prove its project is complete.
2. Locate the canonical code/data repository and note its current version. The coordinating files named below live in this weekly folder; implementations and measured outputs belong in the canonical project, linked from evidence.md.
3. Read the plain-language explanation and worked example before selecting sources. Try the small calculation or reasoning exercise on paper. Mark any unfamiliar symbol or word.
4. Use the relevant refresher below inside your allocated study time. Say the idea aloud in your own words, work one example and connect it to a named output. Park material that does not unblock this week.
5. Write the next physical action in TODAY.md and start the allocated block. If a human, dataset or external event is missing, continue independent preparation and mark the dependent task pending.

You have professional experience and are rebuilding dormant foundations; unfamiliar notation is a repairable gap. For each equation, identify the question, read every symbol aloud, attach units, substitute small numbers and only then translate it to code.

## 3. Foundation refreshers you can use without another notebook

### Rates, derivatives, integrals and gradients from the beginning

A **variable** is a named quantity that can change. A **function** is a rule: give it an input and it returns an output. If X(t) is biomass at time t, the derivative dX/dt means “how fast biomass is changing now.” Read dX/dt as one rate, not a mysterious fraction you must memorize. If biomass rises from 1 to 1.6 g/L in two hours, its average rate over that interval is (1.6−1)/2=0.3 g/L/hour; the instantaneous rate may differ.

An **integral** adds many small contributions. If a pump feeds 2 L/hour for three hours, the accumulated feed is 6 L. For changing feed F(t), write added volume = integral of F(t) dt. Numerically, sum F at each short interval times that interval’s duration. Liters/hour times hours gives liters. Smaller steps can improve an approximation; they do not repair a wrong equation. An **ODE**, ordinary differential equation, defines a rate in terms of the current states and time. A solver starts with known initial states and accumulates their rates to estimate the trajectory.

A **gradient** collects derivatives with respect to several adjustable parameters. It points toward local increase; gradient descent steps the other way to reduce an error/loss. For loss L=(w−3)^2, the derivative is 2(w−3). At w=1 the derivative is −4; subtracting 0.1×(−4) gives w=1.4, closer to 3. This is the bridge from a hill analogy to model fitting. You need interpretation, units and small calculations before formal proofs. Optional repair: read the rectangles-and-area introduction in [OpenStax Calculus 5.1](https://openstax.org/books/calculus-volume-1/pages/5-1-approximating-areas), within the existing study block.

### Vectors, matrices and PCA as operations on measurements

A **scalar** is one number. A **vector** is an ordered list: [biomass, sugar, product] at one time. A **matrix** is a rectangular table of numbers, often observations in rows and measurements in columns. Shape matters: a 100×5 matrix contains 100 observation rows and five features; it does not automatically mean 100 independent batches. Write the column names and units beside the matrix.

Multiplying a matrix by a vector forms weighted combinations. For A=[[1,2],[0,1]] and v=[3,4], Av=[1×3+2×4, 0×3+1×4]=[11,4]. This same operation appears in regression, neural networks and dimension reduction. A fitted model learns some of those weights from data.

**PCA**, principal component analysis, finds directions of variation in centered data. Think of rotating your view of a cloud of points to see its longest dimension. The coordinates in the new directions are scores; the directions’ weights are loadings. Reconstructing from a few components leaves a residual. Variables with different scales can dominate unless scaling is justified, so fit scaling on training data and record it. A component with large variance is not automatically biologically important or predictive of your target. Practice by drawing two correlated sensor channels and their long axis.

### Independent evidence, baselines and leakage

An **observation** is a recorded value; an **independent experimental unit** is the entity whose variation supports your generalization claim. Many timestamps from one batch, fields from one paper, relatives in a protein family or wells from one biological sample are related. Split and analyze at the unit appropriate to the question.

**Training data** fit the model. **Development/validation data** guide choices. **Calibration data** set a threshold or interval under a defined procedure. **Test data** are reserved for the final specified evaluation. These roles may be implemented through carefully designed cross-validation, but their purposes must remain separate. **Leakage** occurs when unavailable information influences a prediction or evaluation—future samples, test-derived scaling, duplicated papers or close sequence relatives can all cause it. [The scikit-learn pitfalls guide](https://scikit-learn.org/stable/common_pitfalls.html) documents preprocessing and leakage traps.

A **baseline** is a simple, relevant reference method. Compare models on the same target, units, observation cutoff and independent groups. Record a split manifest and freeze preprocessing rules before testing. A fixed random seed makes a procedure repeatable; it does not make a bad split valid. When test errors guide a revision, label that test as reused/development and reserve new evidence for the next independent claim. A negative result is still a completed, useful experiment.

## 4. This week’s specific study bridge

Biology B2: a cell’s membrane controls exchange, and metabolism converts nutrients into usable energy and material. Sketch sugar/oxygen entering, ATP supporting work and products leaving. AI M2: derivatives describe sensitivity; gradients collect sensitivities of the loss to model weights. A neural network repeatedly combines weighted inputs and nonlinear functions. Work one rate calculation and one weight update before watching additional lectures.

### Biology/domain assignment retained from the plan

Source unit: B2 · The cell and energy

Material: *Biology 2e* ch. 4 (cell structure, skim), ch. 7 (cellular respiration), ch. 5.1-5.2 (membranes)

Produce: Notes + a drawing of a cell making ATP

Understanding check: You can explain why a microbe needs oxygen and sugar in a tank

### AI/scientific-method assignment retained from the plan

Source unit: M2 · Calculus and the neural network idea

Material: 3Blue1Brown "Essence of Calculus" ch. 1-4 + "Neural Networks" ch. 1-4

Produce: Notes

Understanding check: You can explain a gradient with a hill

These inherited chapter/lecture lists are resource menus. Select the subsection that answers the named understanding check. Do not add full-course viewing to the 600-minute week. The source/stash section below supplies the existing locators and marks searches as searches.

## 5. Resource stashes: open, study, apply and retain

Open [this week’s resource stash](http://127.0.0.1:5000/learn?stash=LABLOOP-W02%20Notebook) or [the complete weekly deck](http://127.0.0.1:5000/learn?week=2). These addresses work when the local cockpit runs on its default port; use its current address if you changed it. The public source links below also work independently of the cockpit. The weekly stash groups the existing cards; saving a card does not mark it studied.

Use **core** resources first, **run** resources when implementing a specific step, and **deeper** resources only after the critical work fits. Read the stated scope with one question in mind, then produce the note/calculation/artifact before opening another source. Times are inherited estimates, not extra allocations or a promise that every resource fits. Some cards contain an entire course or repository: use only the named topic/exercise.

**Source status.** This catalog preserves the programme’s resources. Direct links are locators, not a claim that all content was freshly inspected. Search links still need an exact source selected. The [source-check log](../../notebooks/source-checks.md) records the targeted checks and corrected FLIP locator; verify mutable versions, access rights, venues, roles and costs when executing. A NotebookLM upload does not automatically import every linked page.

| Card and source | Tier / slot | Scope or task from the existing resource | Time guide |
|---|---|---|---|
| [Goldrick S. et al., "The development of an industrial-scale fed-batch fermentation simulation",… — source](https://doi.org/10.1016/j.jbiotec.2014.10.029) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-95364896) | core / Monday | Abstract, all figures, and section 2 (the model) | 30 min (estimate) |
| [Crash Course Biology #7 · "ATP & Respiration" — source](https://www.youtube.com/watch?v=00jbG_cfGuQ) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-b7a70498) | core / Tuesday | The respiration story in two sentences | 13 min |
| [OpenStax Biology 2e, ch. 7 "Cellular Respiration" — source](https://openstax.org/books/biology-2e/pages/7-introduction) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-42cd2ce4) | core / Tuesday | Glycolysis → citric acid cycle → oxidative phosphorylation, then 7.5 Metabolism without Oxygen | 30 min (estimate) |
| [Goldrick S. et al., "Modern day monitoring and control challenges outlined on an industrial-scal… — source](https://doi.org/10.1016/j.compchemeng.2019.05.037) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-a005a28e) | core / Wednesday | Abstract + the dataset section: how many batches, which are faulty, how faults are labelled, what the Raman block is | 30 min (estimate) |
| [3Blue1Brown · Essence of Calculus — source](https://www.3blue1brown.com/topics/calculus) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-af4d90fe) | core / Thursday | notes/ml/M2.md: what a derivative is, in your own words | 40 min |
| [3Blue1Brown · Neural Networks — source](https://www.3blue1brown.com/topics/neural-networks) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-b9b3fc40) | core / Thursday | One paragraph: what "walking down the hill" means for a model | 30 min |
| [StatQuest · "Principal Component Analysis (PCA), Step-by-Step" — source](https://www.youtube.com/watch?v=FgakZw6K1QQ) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-4b088116) | core / Friday | The 3-line explanation of scores vs loadings you will paste into Sunday's post | 22 min |
| [Steve Brunton — source](https://www.youtube.com/playlist?list=PLMrJAkhIeNNSVjnsviglFoY2nXildDCcv) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-912c6bd0) | deeper / Saturday · sandbox, optional | Steve Brunton (@Eigensteve) · SVD series, first 3 videos — playlist PLMrJAkhIeNNSVjnsviglFoY2nXildDCcv, overview video watch?v=gXbThCXjZFM. PCA's engine explained by an engineer; you will want this again in weeks 12-17 | 15 min (estimate) |
| [Deisenroth, Faisal & Ong, Mathematics for Machine Learning, ch. 10 "Dimensionality Reduction wit… — source](https://mml-book.github.io/) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-b3c00d14) | deeper / Saturday · sandbox, optional | Deisenroth, Faisal & Ong, Mathematics for Machine Learning, ch. 10 "Dimensionality Reduction with PCA" — free PDF at mml-book.github.io | 30 min (estimate) |
| [Ninja Nerd · glycolysis and Krebs cycle lectures — search; resolve first](https://www.youtube.com/results?search_query=Ninja+Nerd+%C2%B7+glycolysis+and+Krebs+cycle+lectures) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-58a53d1e) | deeper / Saturday · sandbox, optional | Ninja Nerd · glycolysis and Krebs cycle lectures (long, whiteboard) — channel search by title, only if respiration is still abstract. (verify) no fixed video ID recorded | 15 min (estimate) |
| [industrialpenicillinsimulation.com — source](https://www.industrialpenicillinsimulation.com/) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-33079058) | deeper / Saturday · sandbox, optional | industrialpenicillinsimulation.com — the original IndPenSim site. (verify): it was unreachable in the 2026-09-12 check; prefer the UCL/Mendeley routes in R4 and record whichever one actually served the data, with its licence | 30 min (estimate) |
| [StephenGoldie/indpensim-notebook — source](https://github.com/StephenGoldie/indpensim-notebook) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-a5472c0f) | run / Any block this week — the plan names no day | Open IndPenSim_Summary_data_notebook_V3.ipynb in Colab; compare their variable list with your tidy table | 30 min |
| [jakevdp/PythonDataScienceHandbook — source](https://github.com/jakevdp/PythonDataScienceHandbook) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-6af30ec5) | run / Any block this week — the plan names no day | Colab: 03.08-Aggregation-and-Grouping and 05.09-Principal-Component-Analysis | 30 min |
| [scikit-learn/scikit-learn — source](https://github.com/scikit-learn/scikit-learn) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-c6deb998) | run / Any block this week — the plan names no day | Run the gallery example "PCA example with Iris Data-set", then swap Iris for 20 IndPenSim batches unfolded | 30 min |
| [pandas-dev/pandas / pola-rs/polars — search; resolve first](https://github.com/search?q=pandas-dev%2Fpandas+%2F+pola-rs%2Fpolars&type=repositories) · [card](http://127.0.0.1:5000/learn?week=2#card-w02-c8b145f4) | run / Any block this week — the plan names no day | melt your wide CSVs to long format, save as parquet; time both libraries on the 100 batches | 30 min |

### A bounded way to read a scientist’s paper

Use the founder-paper slot only where scheduled. Select a paper relevant to this week through the existing resources or a verified author profile; record title, authors, year, exact URL and what full text you could access. In 30 minutes: 5 for the question and experimental unit; 10 for one relevant methods passage and figure; 10 for a digest; 5 for three questions. Your digest should say question → method → measured result with N/units → limitation → connection to this week’s artifact. If you only read the abstract, say so and leave inaccessible methods/results unknown. This notebook has not read a future partner paper on your behalf.

## 6. Seven-day runbook: what to do, why and when to stop

Use the original weekly allocation: six 90-minute days plus a 60-minute Sunday, totaling 600 minutes. Reading this notebook, creating study visuals, debugging, calls and evidence recording all consume that same capacity. This is a reference you open section by section, not an additional course to finish before building.

| Day | Budget | Existing target and stopping condition |
|---|---:|---|
| Monday | 90 min | Record the authoritative IndPenSim source, access terms, checksums and metadata; implement tidy import and count actual available batches. Stop when: Batch/time/variable/value data and a reproducible manifest exist; benchmark simulated origin is explicit. |
| Tuesday | 90 min | *Biology 2e* ch. 4 (cell structure, skim), ch. 7 (cellular respiration), ch. 5.1-5.2 (membranes) Produce: Notes + a drawing of a cell making ATP |
| Wednesday | 90 min | Align and unfold batches with an as-of-time rule, inspect units and missingness, and overlay ten trajectories. Stop when: Five relevant variables and any use of future information are documented. Reserve the last 10 minutes for the optional Wednesday note. |
| Thursday | 90 min | 3Blue1Brown "Essence of Calculus" ch. 1-4 + "Neural Networks" ch. 1-4 Select material/exercise that fits 60 minutes; use the last 30 for the founder paper. |
| Friday | 90 min | Fit exploratory PCA on training normal batches and render held-out projections with labels from metadata. Stop when: A reproducible scores plot exists even if faulty batches do not separate. |
| Saturday | 90 min | Resolve the earliest critical spillover or dependency. Prepare any long-form publication draft from existing figures here if needed. Sandbox only after commitments are met. |
| Sunday | 60 min | 20 min build-log draft/publication when authorized; 5 min evidence/checklist; 20 min source-grounded gap review; 15 min next week's six physical actions. |

### Monday challenge — `data-audit.md`

**Do these steps in order.**

1. Follow the source routes in the materials file.
2. Record the actual dataset version, download location, access date, terms and file checksums.
3. Inventory filenames and count distinct batch identifiers rather than assuming 100 are accessible.
4. Open one file and map columns to batch_id, time, variable, value and unit.
5. Preserve raw files unchanged.
6. Report duplicate keys, decreasing times, missing channels and unknown labels in data-audit.md; derive labels from documented metadata, never from how a plot looks.

**Why this matters.** This output closes the input/question part of the week’s evidence chain. Its acceptance criterion below determines whether the result can support the next milestone.

**Output and acceptance from the specification:** Record the authoritative IndPenSim source, access terms, checksums and metadata; implement tidy import and count actual available batches. Acceptance: Batch/time/variable/value data and a reproducible manifest exist; benchmark simulated origin is explicit.

**Block allocation:** 2 minutes open the current inputs and write the immediate action; 78 minutes carry out the steps above; 7 minutes check the acceptance criterion and record output paths/errors; 3 minutes write the next action. These sum to 90 minutes. Stop at the limit and record the exact next step rather than silently expanding the week.

**Evidence to retain:** the artifact or pending-state runbook, input/output paths, version/configuration, the check performed, observed result or exact failure, and your interpretation. Put the link in evidence.md. An intended filename is not proof that a measured output exists.


### Wednesday challenge — `alignment-protocol.md`

**Do these steps in order.**

1. Choose five channels with known meaning and compatible units.
2. Plot ten batches before resampling so gaps and unequal lengths are visible.
3. Write the alignment rule: for retrospective complete-batch analysis a relative-time grid may be acceptable; for an early warning system you cannot use the eventual end time or future samples.
4. Keep the original timestamps, any interpolation flags and the observation cutoff.
5. Plot before/after examples and identify which missing values remain unknown.

**Why this matters.** This output closes the implementation/measurement part of the week’s evidence chain. Its acceptance criterion below determines whether the result can support the next milestone.

**Output and acceptance from the specification:** Align and unfold batches with an as-of-time rule, inspect units and missingness, and overlay ten trajectories. Acceptance: Five relevant variables and any use of future information are documented.

**Block allocation:** 2 minutes open the current inputs and write the immediate action; 68 minutes carry out the steps above; 7 minutes check the acceptance criterion and record output paths/errors; 3 minutes write the next action. The remaining 10 minutes are the optional Wednesday note; reclaim them for the critical task if necessary. These sum to 90 minutes. Stop at the limit and record the exact next step rather than silently expanding the week.

**Evidence to retain:** the artifact or pending-state runbook, input/output paths, version/configuration, the check performed, observed result or exact failure, and your interpretation. Put the link in evidence.md. An intended filename is not proof that a measured output exists.


### Friday challenge — `pca-baseline.md`

**Do these steps in order.**

1. Create a batch-level train/calibration/test assignment and save it.
2. Fit scaling and PCA on training normal batches only, documenting the time-unfolding representation and number of components.
3. Transform held-out batches using the fitted objects.
4. Draw PC1 versus PC2 with variance explained, batch identities and source labels.
5. If faults overlap normal batches, write that finding; do not keep changing the split until the picture separates.

**Why this matters.** This output closes the verification/handoff part of the week’s evidence chain. Its acceptance criterion below determines whether the result can support the next milestone.

**Output and acceptance from the specification:** Fit exploratory PCA on training normal batches and render held-out projections with labels from metadata. Acceptance: A reproducible scores plot exists even if faulty batches do not separate.

**Block allocation:** 2 minutes open the current inputs and write the immediate action; 78 minutes carry out the steps above; 7 minutes check the acceptance criterion and record output paths/errors; 3 minutes write the next action. These sum to 90 minutes. Stop at the limit and record the exact next step rather than silently expanding the week.

**Evidence to retain:** the artifact or pending-state runbook, input/output paths, version/configuration, the check performed, observed result or exact failure, and your interpretation. Put the link in evidence.md. An intended filename is not proof that a measured output exists.


### Tuesday — rebuild the domain concept through an output

1. Spend 10 minutes recalling what you know and listing the specific confusing words in the domain assignment above.
2. Spend up to 35 minutes on the relevant source subsection. Pause to define each term using the actual data or artifact, not only an analogy.
3. Spend 30 minutes producing the assigned note, drawing, calculation or bounded exercise. Label invented teaching numbers as synthetic. For applied weeks, use the exercise/decision in the current challenge.
4. Spend 10 minutes explaining what the concept changes in this week’s work. Record the explanation or write five sentences without looking.
5. Spend 5 minutes saving the output and one unresolved question. These 90 minutes include opening/closing rituals. For a source week with no new coursework, apply this rhythm to its named operational material.

### Thursday — connect the model or decision to the domain

Use 5 minutes to recall the concept, 20 for the smallest relevant source section, 25 for one calculation/code application, 5 to explain it without notes and 5 to log the result. Use the remaining 30 for the scheduled founder-paper digest. If the inherited list is longer than the block, park the rest.

Write one bridge sentence: “I use [concept] in [specific artifact] because it prevents or enables [specific behavior].” Then point to the corresponding field, equation, comparison or paragraph. If you cannot locate the connection, return to the smallest worked example rather than opening more resources.

### Saturday — repair the earliest dependency, then prepare study visuals

Start by reading unresolved acceptance items and choose the one that blocks the next milestone. Spend 2 minutes choosing it, 58 minutes fixing or preparing the smallest checkable result, 7 minutes checking the result and 3 minutes recording the handoff. If critical work is complete, use the remaining 20 minutes to import this notebook or prepare the next week’s sources and request one visual. If not, use those 20 minutes on the dependency. Optional sources and polish move to PARKING.md. A visual study aid does not replace the missing artifact.

### Sunday — review and make next week startable

Use 20 minutes to draft a build log from one actual figure, result or failure, with correct publication state; 5 minutes to update evidence and checklist; 20 minutes to attempt the recall questions and review gaps; 15 minutes to write six next physical actions with filenames and needed inputs. Keep the original gate target and record any revised forecast separately. Actual external publishing follows the authorization available in that execution session.

## 7. Worked example, practice and separate answer key

### Worked teaching example

Synthetic example: three batches have 100 samples each. You have 300 rows but only three independent process runs. Randomly splitting rows can put the beginning of Batch A in training and its end in testing. That tests familiarity with A, not generalization to a new batch. Holding out Batch C asks the more relevant question.

These are illustrative reasoning examples or explicitly synthetic numbers, not measurements obtained for your research. Recreate the calculation or reasoning before applying it to actual inputs.

### Your exercise — answer before reading the solution

A batch eventually lasts 100 hours. Can a model operating at hour 20 use “20% complete” if the final duration was unknown then? What can it use?

Your answer: ____________________

Your connection to `data-audit.md`: ____________________

### Answer key

No. That feature depends on future information. Use elapsed time or a planned duration known before the run, and record the assumption. A retrospective plot can use final duration if clearly labeled and kept out of operational predictions.

### Five recall questions and grading guide

1. Explain this week’s purpose to a 15-year-old in three sentences. What real scientific or professional decision does it support?
2. Solve the exercise above and explain each assumption or unit, rather than copying the answer.
3. Open `data-audit.md` or its preparation instructions. What exact input, action, output and acceptance check make it inspectable?
4. What could make `alignment-protocol.md` look convincing while still being wrong? Use the week-specific risk below and name the evidence needed to detect it.
5. What does `pca-baseline.md` pass to the next milestone, and which claim remains unsupported until external or measured evidence exists?

Grade each answer 0 (missing/wrong), 1 (correct but vague or needs prompting), or 2 (correct, explained in your own words and tied to a concrete artifact/example). The purpose/bridge supports Q1; the separate key supports Q2; the runbook and contracts support Q3–Q5. Aim for at least 8/10 with no unresolved misconception about provenance, independence, measured versus predicted results or external status. This is a study-readiness check, not permission to pass the research gate. Save your actual score and gaps; this prepared notebook does not assign them.

## 8. Research evidence and professional profile

### What your weekly evidence record should contain

Copy the blank structure below into the existing evidence.md only when working the task. Keep earlier entries. Use actual values or PENDING with a reason; never copy illustrative numbers as results.

| Evidence field | Your actual entry |
|---|---|
| Question/decision and why it matters | PENDING |
| Artifact name, canonical path and version | PENDING |
| Input origin, access date, rights, version/checksum | PENDING |
| Unit of analysis / target / relevant units | PENDING |
| Method, baseline, assumptions and split or decision rule | PENDING |
| Command/config/seed or document review procedure | PENDING |
| Observed output, independent N and uncertainty where relevant | PENDING |
| Check performed, failures and negative findings | PENDING |
| Interpretation and what the evidence does not establish | PENDING |
| Your contribution and model/human/partner contributions | PENDING |
| External event state and dated receipt/link, if applicable | PENDING |
| Next action, owner and dependency | PENDING |

For documentary or commercial work, replace nonapplicable experimental fields with the actual verification (for example, source-to-claim audit or agreed scope/receipt); write “not applicable” with a reason instead of inventing a metric. For experiments, retain raw data, scripts/configs, per-case results and generated figures in the canonical project. Evidence.md is the index, not a substitute for those artifacts.

### Make the skill-to-proof connection

Complete this sentence from real work: “I used [systems/software/AI capability] to answer [scientific/workflow question], implemented [artifact], checked it using [method], observed [result with context], and found [limitation]. My contribution was [specific work].” This becomes an honest portfolio/interview story. A failed experiment with a sound diagnosis is also evidence of research judgment.

The Week 40 profile should let a reader follow your claims to data/code/releases, manuscripts with exact status, independent feedback, collaboration and actual delivery. Keep a brief record now so you do not reconstruct a research history from memory later.

## 9. Completion checklist, misconceptions and recovery

This is an enabling week. Its deliverables feed the next scheduled gate: 4. Complete the acceptance checklist below; do not promote reputation from a draft.

- [ ] Monday artifact satisfies: Batch/time/variable/value data and a reproducible manifest exist; benchmark simulated origin is explicit.
- [ ] Wednesday artifact satisfies: Five relevant variables and any use of future information are documented.
- [ ] Friday artifact satisfies: A reproducible scores plot exists even if faulty batches do not separate.
- [ ] Study pack is prepared; Peter's actual learning/quiz result is recorded separately.
- [ ] Branding and opportunity drafts use supported claims and the correct external-action state.
- [ ] Reproduction or document checks are recorded with file/version references.
- [ ] This week's special gate, if any, has real evidence or remains explicitly pending.
- [ ] Review, root progress/log and the next physical action are updated.

### Notebook study checklist

- [ ] I can describe the week’s question and its connection to my systems/software/AI work.
- [ ] I repaired the specific prerequisite I needed and completed the worked exercise myself.
- [ ] I used the selected stash sources and saved an applied note rather than only a viewing history.
- [ ] Each challenge has the specified output and a recorded acceptance check, or an explicit missing dependency.
- [ ] I retained source versions, units, split/decision rules, failures and limitations where applicable.
- [ ] I can distinguish illustrative, simulated, predicted and measured information in my work.
- [ ] My research/profile claims link to real evidence and use the correct external status.
- [ ] I recorded actual recall performance, next actions and any unmet gate requirement.

### The specific trap to avoid this week

Do not call these real plant batches or require a visually favorable result. The historical download site may fail; use an author-linked source and preserve provenance.

Apply the root scientific evidence contract: provenance; meaningful independent splits; no future-data leakage; baseline comparison; actual denominators/uncertainty; failed cases; human review where required. State whether data are simulated, public experimental, synthetic or partner-provided.

Keep source gates intact, and log scope/time conflicts in review. Missing people, money, access or results must not be replaced with invented evidence. Reduce optional polish first. A specific essential external dependency stays pending while independent preparation continues.

### Recovery without losing the programme’s meaning

Source-preserving minimum: the tidy parquet of IndPenSim.

Operational first step if stalled: open `data-audit.md`, write the required inputs and produce the smallest checkable example in ten minutes. If a more urgent missing gate dependency controls the week, use the source minimum above.

If the full week does not fit, use [P14](../../../LABLOOP-Master-Plan-v6.md#part-8--the-prompt-pack-copy-paste-fill-the-brackets): retain one gate-critical deliverable and one directly supporting study exercise; record what is skipped versus moved. Do not mark the original full gate passed merely because the minimum was completed. After a missed week, reforecast from actual evidence and avoid a second unexamined lost week.

If a prerequisite concept is missing, use the first ten minutes to define it and work one tiny example. If hardware or access fails, use the allowed offline/synthetic preparation and label its scope. If a person, public identifier or payment is required, keep that event pending and finish independent work. A smaller preparation result preserves momentum; it does not replace an unmet gate.

## 10. NotebookLM import and visual study kit

1. Create a notebook named **LABLOOP-W02 · indpensim data and baseline**.
2. Upload this week’s `notebooklm.txt` or `learning-notebook.md`, or paste the complete text as a source. Upload one copy, not both. [Google’s source-import guidance](https://support.google.com/notebooklm/answer/16215270?hl=en) documents text/Markdown and pasted-text sources.
3. Add the exact core source pages or permitted PDFs you selected in Section 5 as separate sources. Linked pages and local cockpit stashes are not recursively imported. Inspect what was actually imported; a video may require an available transcript. You do not need all 454 programme cards in one notebook.
4. When you execute the week, add your own notes, permitted code excerpts, results and review as separate clearly named sources. Use “Measured — …” only for actual measurements. Keep sensitive partner/client records within their permitted use.
5. Request one study output at a time using the prompts below; use the available Studio feature or ask chat for the equivalent outline. Interface/features can vary. Inspect units, labels, citations and the separation between planned and achieved work before studying or sharing a generated visual.

### Week-specific visual brief

Draw three batch timelines, show an unsafe row split and a safe batch split, then illustrate PCA as a rotated view of correlated measurements.

### Copy-ready prompts

**Concept map / infographic**

> Using only the sources in LABLOOP-W02, explain “indpensim data and baseline” to an adult software/systems/AI professional rebuilding science foundations after twenty years. Draw three batch timelines, show an unsafe row split and a safe batch split, then illustrate PCA as a rotated view of correlated measurements. Label each arrow with why it exists. Define every technical term at first use. Connect prerequisite → current challenge → evidence → next milestone. Mark targets, synthetic teaching numbers and measured results distinctly. Cite sources; identify missing evidence instead of inventing it.

**Visual lesson / slides**

> Create an eight-panel visual lesson for Week 02: 1 purpose, 2 needed foundations, 3 one worked example with units, 4 Monday challenge, 5 Wednesday challenge, 6 Friday challenge, 7 common failure and verification, 8 evidence checklist and next milestone. Use simple explanations suitable for a 15-year-old without talking down to an experienced professional. Put detailed speaker notes under each panel. Use the exact artifact filenames and acceptance criteria in this notebook.

**Audio or video study script**

> Teach Week 02 as a guided conversation: what, why, when and how. Explain the mathematical/scientific idea in words before notation. Pause for me to answer the exercise without revealing the solution; then walk through it. Connect my software experience to the scientific question. End with a rehearsal of what evidence I must retain, not a claim that I have already completed the work.

**Flashcards and quiz**

> Make twelve cards: four term/meaning/example cards, four how/why steps from the actual challenges, two unit/assumption checks and two evidence/misconception checks. Then ask five open questions one at a time. Grade each 0–2 using the notebook rubric, explain any error, and cite the relevant section. Do not infer my competence from the existence of the notebook.

**Research review rehearsal**

> Act as a careful research reviewer for Week 02. Ask me to defend the question, inputs, independent unit or decision basis, baseline, method, uncertainty, failure cases and scope of the claim. Use only supplied evidence. Distinguish a preparation artifact from a measured result and an external event. Finish with a claim-to-evidence table and the three smallest actions needed to close real gaps.

## 11. Source and ownership notes

This notebook adds explanation and runbooks to the existing plan. The [weekly specification](./specs.md), [programme decisions](../../DECISIONS.md) and [gates](../../GATES.md) retain authority over sequence, scope and acceptance. The [v6 master](../../../LABLOOP-Master-Plan-v6.md) supplies the dependency map and inherited resource cards; the [source catalog](../../SOURCES.md) records their history. The teaching examples and explanatory bridge are preparation material, not executed findings.

Existing files and learning progress remain separate. Dates stay relative until you choose actual commitments. Peter owns learning, personal claims, scientific responsibility and external relationships; independent humans own their actual annotation/review contributions and partner laboratories own their laboratory execution. This notebook prepares the steps; it does not publish, contact, spend, submit or perform the programme on your behalf.
