A 50-minute seminar demonstrating how to use AI coding agents for scientific problems.
# Preview the slides
cd slides
quarto preview slides.qmd├── AGENTS.md # Project instructions for AI assistants
├── LICENSE # Project licensing (MIT + CC BY 4.0)
├── requirements.txt # Python dependencies
├── README.md
├── .agent/
│ └── workflows/ # Demo behavior instructions
│ └── live-coding.md
├── data/ # COVID-19 CSV inputs and data helper scripts
├── results/ # Figures and generated reports from analyses
├── slides/ # Presentation files
│ ├── slides.qmd # Main slide deck
│ ├── custom.scss # Theme styling
│ └── _quarto.yml # Quarto config
├── planning/ # Seminar planning & content
│ └── contents_brainstorming.md # Master document (includes all prompts)
├── examples/ # Pre-made fallback code
│ └── sir_simulation/ # Working SIR implementation
├── src/ # Core analysis scripts and reusable modules
└── main.py # Optional convenience entrypoint
- Part 1-2: Simulation from scratch (Basic Python)
- Part 3: Real-World Data Analysis (Italy COVID-19)
- Data loading & visualization
- Fitting SIR model to real data
- Critiquing the fit
- Part 4: Advanced Extensions
- Time-varying parameters (Lockdown modeling)
- Country comparisons (Italy vs South Korea)
- Uncertainty quantification
- Part 5: Scientific Writing
- AI generating full scientific reports
- AI peer reviewing the reports
planning/contents_brainstorming.md: Master prompt list for all sections.agent/workflows/live-coding.md: Agent behavior guide for live demosdata/: COVID-19 time series data (JHU CSSE)src/: Example implementation scriptsfit_sir_model.py: Basic SIR fittingfit_sir_improved.py: Fitting with preprocessing and bounds checksfit_sir_timevarying.py: Piecewise time-varying βcompare_countries.py: Italy vs South Korea comparisonanalyze_uk.py: University of Birmingham special runvisualize_*.py: Figure generation helperssir/: Reusable module package (core.py,fitting.py)
# 1. Preview slides
cd slides && quarto preview slides.qmd
# 2. Run the UK analysis (University of Birmingham Special)
python3 src/analyze_uk.py
# 3. Or run the standalone SIR example
python3 examples/sir_simulation/main.py
# 3. View the generated report
open results/covid_analysis_report.pdf- See
AGENTS.mdfor full project documentation - See
planning/contents_brainstorming.md§6 for all demo prompts
This project uses a dual-licensing approach:
- Code: All source code, simulation scripts, and implementation examples are licensed under the MIT License.
- Content: All presentation slides, documentation, and planning materials are licensed under Creative Commons Attribution 4.0 International (CC-BY 4.0).
Copyright (c) 2026 Fabian Spill