Phase 3Days 25-36
Files, Errors, OOP & Reproducible Workflows
Make analytical programs survive imperfect inputs and handoffs
Phase Goal
Design file workflows with explicit errors, configuration, domain objects, logs, and reproducible environments.
Progress
Notes
Open the written lectures for this course before checking off the phase topics.
Projects
Archive Condition Survey Pipeline
Day 25: Text, CSV & JSON Boundaries
Day 26: Paths & Safe File Operations
Day 27: Exceptions as Contracts
Day 28: Logging & Diagnostic Evidence
Day 29: Configuration & Environments
Day 30: Classes for Domain Rules
Day 31: Dataclasses & Validated Records
Day 32: Composition, Inheritance & Protocols
Day 33: Context Managers & Resource Safety
Day 34: Regex for Bounded Extraction
Day 35: Auditable Pipeline Stages
Day 36: Phase Project — Archive Survey Pipeline
Capstone
Archive Condition Survey Pipeline
Build for a regional archive conservator. The result must support this decision: which collections should receive the next preservation inspection slots? Include reproducible inputs, validation evidence, one tested failure, a changed requirement, and an explicit non-goal.
- Reproducible source-to-output workflow
- Documented quality checks and assumptions
- Decision-ready output for a named user
- Independent reconstruction and transfer evidence
Phase Complete!
After this phase, you'll be able to:
- Text, CSV & JSON Boundaries
- Paths & Safe File Operations
- Exceptions as Contracts
- Logging & Diagnostic Evidence
- Configuration & Environments
- Classes for Domain Rules
- Dataclasses & Validated Records
- Composition, Inheritance & Protocols
Independently deliver Archive Condition Survey Pipeline, diagnose a planted failure, explain the decision logic, and transfer the workflow to a changed requirement.