Khan Academy · "Fermentation and anaerobic respiration"
Tuesday · B4 · Tuesday, first
Produce: One paragraph in notes/bio/B4.md: "what is a fermentation, really"
In: LABLOOP-W04 Notebook
WEEK 04 · Mon 12 Oct → Sun 18 Oct 2026
UNDERSTAND · PRACTICE · KEEP EVIDENCE
Read the week in plain language, refresh the foundations, follow each challenge step by step, and check what evidence to keep. Includes worked examples, answer keys and prompts for visual study resources.
Use this within your existing weekly blocks. Your learning completion and research evidence remain in your current tracker and week files.
START HERE · 2 MINUTES
STATUS
| Deliverable | Acceptance | State |
|---|---|---|
release-metrics.csvBuild |
Compute detection delay from fault onset, lead time before harvest, false-alarm rate and undetected fraction on held-out batches. Acceptance: Definitions, numerator/denominator, N and interval method accompany each metric. | |
release-checklist.mdBuild create + |
Prepare README, install instructions, CITATION.cff, license and release metadata with a clean-environment reproduction check. Acceptance: Headline results trace to commands and input checksums. | |
review-request.mdBuild create + |
Package batchlens v0.1 and DOI deposit materials; prepare a bounded review request for the Sumble contact. Acceptance: Release is ready; public URL and DOI count only when actually issued. | |
study-notes.mdLearning create + |
Selected exact free resources; bounded lesson/exercise; separate solution; quiz and grading rubric; Peter's answers and gaps when executed | |
founder-paper.mdFounder papers create + |
Verified source and P11 digest; authentic question and connection sentence; access limitations | |
branding-pack.mdBranding create + |
Wednesday note, Sunday build log, X adaptation, figure/caption/alt text and the week's special asset; each claim linked to real proof | |
opportunity-actions.mdOpportunities create + |
Qualified target/role, source/date, ladder stage, next action, message/interview/proposal draft and actual status | |
evidence.mdEvidence & review open & edit ↗ |
Actual paths/URLs, versions, checks/metrics, preparation versus execution state and external receipts when applicable | |
review.mdEvidence & review open & edit ↗ |
Checklist, learning assessment, gate status, shortfalls, next actions and carryover |
These filenames are outputs to prepare during this week's execution; this scaffold does not claim they already exist. Drafts and measured results have different states. Technical code/data stay in the canonical project repository and are referenced from these coordinating files.
During preparation, future measured tables get column definitions, input requirements and run instructions with PENDING status. During execution, replace pending values only with measured outputs. Do not create realistic-looking fake evidence.
600 MINUTES MAXIMUM
Target. 💰 Put money numbers on the alarm. Hook: how many hours earlier would a plant know? Do: compute detection delay, lead time before harvest, false-alarm rate and missed faults on held-out batches, each with its N. Done when: every metric has a definition and a denominator. This is batchlens's money metric.
No material for Monday — this is a pure build day. Need something to study instead? →
Target. 🍺 Fermentation vs respiration. Hook: why are some tanks aerated and others not? Learn (20 min): Khan Academy 'Fermentation and anaerobic respiration', then one paragraph in notes/bio/B4.md: what is a fermentation, really. Done when: you can explain aerobic vs anaerobic to a friend. Then stop studying and start the README.
Do these in this order — the plan's own sequence:
Target. 📘 Make it installable. Hook: could a stranger run it in five minutes? Do: README, install steps, CITATION.cff (following the GitHub citation docs) and licence, then reproduce in a clean environment (let AI draft the README, you check every claim). Done when: the headline numbers come out of one command on a fresh install.
Do these in this order — the plan's own sequence:
Target. 🧪 Don't fool yourself. Hook: StatQuest Cross Validation (6 min). Learn: Kapoor & Narayanan's leakage taxonomy only (20 min), then implement batch-wise CV with a test that fails if one batch lands in two folds. Done when: you can explain leakage across batches. ISLP ch. 5 is parked. Last 30 min: founder paper.
Do these in this order — the plan's own sequence:
Target. 🚀 Ship it. Hook: the DOI badge on your own repo. Do: tag batchlens v0.1, connect Zenodo, get the DOI, and prepare one small review request. Done when: the public URL and the DOI actually exist.
No material for Friday — this is a pure build day. Need something to study instead? →
Target. Catch up, then reward. First: finish the earliest unfinished mission (only its Done when). Then the rabbit-hole slot: anything from PARKING or the Deeper list, guilt-free. Done when: no mission from this week is half-open, or it is logged as moved.
Optional, only if the day went well:
Target. Show it. 20 min: post the release with its DOI and money metric with three lines (what, how, one honest limitation). 5 min: tick evidence. 20 min: write what was hard and why. 15 min: write next Monday's first action, startable in 2 minutes. Done when: the post is drafted and Monday's action is written.
No material for Sunday — this is a pure build day. Need something to study instead? →
Spare pockets, repo exercises and anything the plan lists without a day. Take them in this order when a day finishes early.
The model must turn these into exact physical actions using the observed files and available inputs. Each 90-minute block includes start/stop rituals. All calls, posts, debugging, reading and exercises consume this same capacity.
Each day is one mission: the Hook gets you in, Done when tells you to stop. Study stops at the understanding check. If a piece feels pointless, ask whether Done when needs it: no → skip and log; yes → let AI do the boring part and review it; still stuck → smallest version in 25 minutes.
WHAT TO WATCH, READ AND RUN
In your corporate life, a deliverable is done when a steering committee signs it. In science, a result is done when a stranger can regenerate it without calling you. This week is your first licence exam. You will turn your alarms into two honest numbers (how many hours before harvest you detect a fault; how often you cry wolf on a normal batch), put them in a README with one command that regenerates them, and mint a…
0 of 17 finished · give me one to start now → · open in the deck →
In the plan's running order: each card says which block it belongs to and what has to come before it. The seven-day plan lists the same cards under the day that owns them.
Tuesday · B4 · Tuesday, first
Produce: One paragraph in notes/bio/B4.md: "what is a fermentation, really"
In: LABLOOP-W04 Notebook
Wednesday build block
This is the literal procedure for Friday's DOI badge. Read it once, follow it exactly
Read exactly: The Zenodo-integration steps and the minimal CITATION.cff fields
Produce: CITATION.cff in the repo root and a rendering DOI badge in the README
In: LABLOOP-W04 Notebook
Thursday · M4 · Thursday, first
Produce: The sentence "why random k-fold is wrong for batch data" in notes/ml/M4.md
In: LABLOOP-W04 Notebook
Thursday · M4 · after StatQuest · "Machine Learning Fundamentals: Cross Validation"
The single best paper on the exact mistake that would invalidate Paper 2. Cite it in week 08 and week 18
Read exactly: The taxonomy of eight leakage types; identify which one batch-wise CV prevents
Produce: One paragraph in the README's honest "Where it fails" section naming the leakage type you guarded against
In: LABLOOP-W04 Notebook
Saturday sandbox
In: LABLOOP-W04 Notebook
Saturday sandbox · after The Turing Way, chapter on "Version control" and "Research compendia"
OpenStax Microbiology, ch. 8 "Microbial Metabolism", sections 8.1-8.4 — start at 8.1 Energy, Matter, and Enzymes, chapter entry 8-introduction, recap 8-summary — 8.1 through 8.4; pay attention to aerobic vs anaerobic. Moved out of core on 2026-09-29
In: LABLOOP-W04 Notebook
Saturday sandbox · after OpenStax Microbiology, ch. 8 "Microbial Metabolism"
ISLP ch. 5 "Resampling Methods" — free PDF at statlearning.com — 5.1 cross-validation and 5.2 bootstrap; then the ch. 5 lab. Moved out of core on 2026-09-29
In: LABLOOP-W04 Notebook
Saturday sandbox · after ISLP ch. 5 "Resampling Methods"
Sandve G. et al., "Ten Simple Rules for Reproducible Computational Research", PLOS Comp. Biol. 9(10):e1003285, 2013. DOI 10.1371/journal.pcbi.1003285 — All ten rules, they are one page each. Moved out of core on 2026-09-29
In: LABLOOP-W04 Notebook
Saturday sandbox · after Sandve G. et al., "Ten Simple Rules for Reproducible Computational Research", PLOS Comp. Biol. 9…
StatQuest · "Bootstrapping Main Ideas!!!" — Channel: youtube.com/@statquest — search the exact title. (verify): no stable video ID confirmed on 2026-09-15. Moved out of core on 2026-09-29
In: LABLOOP-W04 Notebook
Saturday sandbox · after StatQuest · "Bootstrapping Main Ideas!!!"
The Turing Way — book.the-turing-way.org, chapters on "Version control" and "Research compendia". The grown-up version of what you shipped this week
In: LABLOOP-W04 Notebook
Saturday sandbox · after The Turing Way — book.the-turing-way.org, chapters on "Version control"
carpentries-lab/good-enough-practices — the hands-on lesson behind week 00's R3
In: LABLOOP-W04 Notebook
Saturday sandbox · after carpentries-lab/good-enough-practices
Zenodo help — versioning and GitHub integration, if the DOI badge misbehaves
In: LABLOOP-W04 Notebook
Saturday sandbox · after Zenodo help
JOSS submission guidance — you submit in week 36, not now. Read it once so that today's release history is already the kind reviewers want
In: LABLOOP-W04 Notebook
Colab: Ch05-resample-lab.ipynb; then rewrite one cell using GroupKFold with batch as the group
In: LABLOOP-W04 Notebook
User guide "Cross-validation: evaluating estimator performance", section on group-wise splitters; run the visualization example "Visualizing cross-validation behavior"
In: LABLOOP-W04 Notebook
Read only the section on evaluation and "incremental tuning"; one page of habits you will reuse in weeks 8 and 17
In: LABLOOP-W04 Notebook
Compare your Makefile with its conventions; add make report FAKE=1
In: LABLOOP-W04 Notebook
READ FIRST
This week delivers the three concrete artifacts below and the supporting learning/branding/opportunity pack. The scientific or commercial outcome follows the preserved source brief, while the acceptance checks make its evidence testable. The career objective is to turn this work into something a scientist, hiring manager or buyer can inspect.
READ FIRST
Read v6 · Week 4 · L1: public and reproducible before Monday. It carries this week's v5 brief unchanged and adds the Welcome analogy, Learn it (▶ core and + deeper sources), Run it (repos with a 20-40 minute exercise), the NotebookLM kit and the mentor check below. Standing v6 rules: resource rules, NotebookLM protocol, chapter anatomy. v6 adds depth only; it does not change a goal, gate, output or the 600-minute cap, so this specification still governs execution.
Verified links, exact scopes and durations for this week's reading and watching: materials.md.
Act I (finale) · Threads: B, M, BL, R · GATE 4
Where this week sits. - ← From: weeks 1-3 (simulator, tidy data, alarms). - → Feeds: week 8 (technical report cites v0.1), week 12 and 17 (batch-wise CV is the backbone of the learning curves), week 36 (JOSS needs a clean release history). - ⟳ Returns in: every release: v0.2 (wk 8), v0.3 (wk 17).
Goals.
- 🎯 This week: batchlens v0.1 released with a DOI, headline number in README, make report reproduces it, batch-wise CV implemented.
- 🏁 This gate (4): L1 public and reproducible + L2 citable (DOI).
- 🌟 Final: the release history JOSS reviewers will read in week 36.
Mentor check. "A stranger can clone batchlens, run one command, and get my number. I can explain why batch-wise CV is not optional."
OPEN WHEN NEEDED
READ FIRST
Source unit: B4 · Microbial metabolism and fermentation
Material: Khan Academy "Fermentation and anaerobic respiration" (trimmed 2026-09-29; Microbiology ch. 8 is Deeper)
Produce: one paragraph "what is a fermentation, really"
Understanding check: You can explain aerobic vs anaerobic to a friend
During preparation, write one worked example connected to the week's actual task, one exercise with a separate answer key and five questions. Peter supplies answers; score explanation quality and flag misconceptions in QUESTIONS. Numeric/scientific conclusions require actual data or explicitly synthetic teaching values.
Source unit: M4 · Validation done right
Material: StatQuest Cross Validation + Kapoor & Narayanan leakage taxonomy (trimmed 2026-09-29; ISLP ch. 5 is Deeper)
Produce: Batch-wise CV implemented in batchlens
Understanding check: You can explain leakage across batches
Use the prompt pack: P1 explanation ladder, P2 concept-to-project bridge and P3 quiz. Coding practice belongs within the allocated study/build block. Where the source asks for a favorable scientific result, substitute an honest measured comparison as explained below.
Select one verified founder/scientific-lead paper relevant to this week's domain. Use P11; save the question, method, numerical result with context, data workflow, three author questions and one connection sentence in founder-paper.md. Keep abstract-only access limitations explicit. On source weeks with no study, prioritize the commercial/submission task and log any skipped digest.
OPEN WHEN NEEDED
Branding: Prepare release post with measured lead time, false alarms, simulation caveat and reproducibility link.
Opportunity action: Prepare one code-review request and a small founder feedback ask; log sent and answered separately.
Use career asset contracts. Publish at most the agreed cadence; one figure and one supported number or admitted failure can support multiple drafts. In long-form weeks, prepare a 1,500–2,500-word article from existing evidence within the build/buffer allocation. In release/demo weeks, prepare a 60-second script: problem, input, command/action, result, limitation and proof link.
Verify individuals, jobs and affiliations at execution time. The GridX list and v4 company map are research seeds, not current facts. Do not reveal named company weaknesses or employer/client confidential information. Keep drafted/sent/replied/booked/held statuses separate. The planning request alone does not authorize external messages or publication; honor explicit authorization in the execution session.
OPEN WHEN NEEDED
A DOI establishes citability, not peer review. Maintain public development from this release for the later JOSS target.
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.
READ FIRST
This is Gate 04: Public and reproducible.
Required proof: batchlens v0.1 public, measured headline, reproducible report, actual DOI.
Reputation interpretation: L1; L2 when citable. Record target, forecast, actual date and evidence link. The original gate stays incomplete until the required external proof exists.
READ FIRST
Source-preserving minimum: the release with the DOI.
Operational first step if stalled: open release-metrics.csv, 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: 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.
OPEN WHEN NEEDED
In review, state exactly what exists, what was verified, what Peter can now explain, which external events remain pending, where the canonical code/data live, and the next file/function or draft paragraph to touch. Link each fact to evidence. Carry scientific assumptions, split definitions and rights constraints forward explicitly.
OPEN WHEN NEEDED
Prepare Week 04 of this LABLOOP execution plan.
Read execution-plan/specs.md, execution-plan/DECISIONS.md,
execution-plan/GATES.md and
execution-plan/weeks/week-04-batchlens-first-release/specs.md, commitment.md, evidence.md and review.md.
Read prior prerequisite reviews and inspect actual repository/data state.
Use v5 as the governing sequence, the v6 Week 04 chapter
(LABLOOP-Master-Plan-v6.md) as the deeper walkthrough, and v4 only for
retained details.
Produce the full local preparation pack and the exact week-specific files named
in the artifact table. Give me a bounded lesson with exercises/answer key,
daily physical actions, technical runbook or draft, branding drafts and
career/commercial actions. Keep the total to 600 minutes.
Separate prepared artifacts from measured results and my learning completion.
Verify sources and do not invent metrics, citations, papers, people or outcomes.
Do not execute external communications, publication or spending unless the
current session already authorizes the specific action.
Finish by updating evidence/review and TODAY with the next physical action.
OPEN WHEN NEEDED
v6 reproduces this brief unchanged inside v6 · Week 4 · L1: public and reproducible. The following is source planning text, not a claim of completion. Apply the explicit evidence corrections in this specification and DECISIONS.md.
make report. Wed: README with the headline number, CITATION.cff, Zenodo integration. Done when the DOI badge renders. Fri: release batchlens v0.1. Send the repo to your Sumble friend for a 30-minute code review.WEEK FILES
State: UNCONFIRMED. Owner: Peter Ciancaglini. Specification
Start date: not set. End date: not set. Available hours: confirm (planned ceiling 10). Primary outcome: batchlens first release. Minimum that keeps the next gate alive: the release with the DOI.
release-metrics.csv: Definitions, numerator/denominator, N and interval method accompany each metric.release-checklist.md: Headline results trace to commands and input checksums.review-request.md: Release is ready; public URL and DOI count only when actually issued.| Day | Minutes | Physical action / outcome | Actual slot | Done |
|---|---|---|---|---|
| Mon | 90 | Compute detection delay from fault onset, lead time before harvest, false-alarm rate and undetected fraction on held-out batches. | Not set | ☐ |
| Tue | 90 | Notes; one paragraph "what is a fermentation, really" | Not set | ☐ |
| Wed | 90 | Prepare README, install instructions, CITATION.cff, license and release metadata with a clean-environment reproduction check. Last ten minutes: optional note. | Not set | ☐ |
| Thu | 90 | Batch-wise CV implemented in batchlens Include relevant founder-paper work within this block. | Not set | ☐ |
| Fri | 90 | Package batchlens v0.1 and DOI deposit materials; prepare a bounded review request for the Sumble contact. | Not set | ☐ |
| Sat | 90 | Resolve critical spillover; long-form draft if due; sandbox only if done. | Not set | ☐ |
| Sun | 60 | Build log, evidence, gap review, next actions. | Not set | ☐ |
Peter's commitment / adjustments: pending. Reviewing model and date: pending.
Execution state: NOT_STARTED. Specification This file is a blank register with planned artifact names; none of the rows prove completion.
| Item | Path / URL / version | State | Verification / actual result | Verified by / date |
|---|---|---|---|---|
| release-metrics.csv | Not created | NOT_STARTED | Pending: Definitions, numerator/denominator, N and interval method accompany each metric. | — |
| release-checklist.md | Not created | NOT_STARTED | Pending: Headline results trace to commands and input checksums. | — |
| review-request.md | Not created | NOT_STARTED | Pending: Release is ready; public URL and DOI count only when actually issued. | — |
| Learning exercise / Peter's quiz | Not created | NOT_STARTED | Peter's actual answers required | — |
| Founder paper digest | Not created | NOT_STARTED | Source/content and access checked | — |
| Branding pack | Not created | NOT_STARTED | Claims audited; drafted/public status distinct | — |
| Opportunity actions | Not created | NOT_STARTED | Drafted/sent/replied/booked/held distinct | — |
| Gate 04 | No evidence | NOT_STARTED | batchlens v0.1 public, measured headline, reproducible report, actual DOI. | — |
| Question / metric | Dataset, N and unit | Split / seed / config | Command or verification method | Output path and measured value | Uncertainty / limitation |
|---|---|---|---|---|---|
| Date | Action / counterpart | Receipt or private reference | State | Next action / date |
|---|---|---|---|---|
Peter's teach-back / quiz score: not assessed. Scientific assumptions and deviations: none recorded yet. Budget allocated / spent: not assessed / no spend recorded. Missing evidence and responsible owner: pending inspection.
Do not put API keys, source full texts with restricted rights, client data or invoice personal details in a public version of this register. Keep private evidence references private.
Review status: NOT_REVIEWED. Specification · Evidence
What Peter can explain or reproduce now: not assessed. Quiz / teach-back gaps: not assessed. Measured result and limitations: pending. Best evidence link for a scientist/recruiter/buyer: pending. What failed or changed, and why: pending.
Gate requirement: batchlens v0.1 public, measured headline, reproducible report, actual DOI. Gate status: NOT_STARTED. Original target week: 04. Actual completion date / forecast: not set. Missing external evidence: pending inspection. Blocks completed / 7: not recorded. Days with commits / 7: not recorded. Sunday build log / optional Wednesday note: not recorded. Founder conversations cumulative: not recorded. Earned evidence level and proof: not assessed. Consecutive lost weeks: not assessed.
Week-specific risk to revisit: A DOI establishes citability, not peer review. Maintain public development from this release for the later JOSS target.
Continue / recover / blocked: not decided. Retain as the minimum: the release with the DOI. Skipped permanently with reason: none recorded. Carryover with owner, dependency and target week: none recorded. Canonical repository paths and versions: pending. Data permissions, split definitions or assumptions to preserve: pending. External action authorization that still applies: not assessed. Next physical action, exact file/function/paragraph: pending. Updates to root PROGRESS / LOG / TODAY completed: ☐
YOUR SPACE