- gadm03c.py: four cohorts with demography, cohort capability, mentoring, care load on attention; stationary at replacement fertility (tested) - life_cycle.py: L1 supported after fixing an inert mentoring term; L2 conditional on who carries care per person, care relief via participation claims protects carers' attention; L3 not supported (H lacks a durable component) - GADM-0.3.md complete; ASSEMBLY-WP-0006 (GADM-0.4, proposed residual) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 1494246@bnt-lap001 Assistant-Session: caf6de6f-f9e4-47ce-a584-49baa271fa4b
23 lines
1.2 KiB
Markdown
23 lines
1.2 KiB
Markdown
# Simulations
|
|
|
|
Runnable implementations of the models in `models/`. Each simulation names the
|
|
model version it implements.
|
|
|
|
| Directory | Model | Entry points |
|
|
|-----------|-------|--------------|
|
|
| `gadm02/` | GADM-0.2 (`models/GADM-0.2.md`) | `run_scenarios.py`, `sensitivity.py`, `gsa.py`, `test_gadm02.py` |
|
|
| `gadm02/gadm03.py` | GADM-0.3: power channels, wealth, attention (`models/GADM-0.3.md`) | `power_channels.py`, `wealth.py`, `organism_grid.py`, `test_gadm03.py` |
|
|
| `gadm02/gadm03c.py` | GADM-0.3 with life-cycle cohorts (`models/GADM-0.3.md` § 5) | `life_cycle.py`, `test_gadm03c.py` |
|
|
|
|
Python 3.10+, standard library only. Use `python3 -B` after quick edits: a stale
|
|
bytecode cache can mask same-size changes made within the same second.
|
|
|
|
```bash
|
|
python3 -m unittest discover -s simulations/gadm02 # tests
|
|
cd simulations/gadm02 && python3 run_scenarios.py # → results/summary.md + CSVs
|
|
cd simulations/gadm02 && python3 sensitivity.py # → results/sensitivity.md
|
|
cd simulations/gadm02 && python3 gsa.py # → results/gsa.md (~5 min; --quick)
|
|
```
|
|
|
|
Results under `results/` are committed so that model documents can cite them.
|
|
Regenerate them after any change to the model or the scenarios.
|