Ensembles and intervals
One run is one possible future. An ensemble of replications gives an interval, and an interval is what a policy result is reported with.
One run draws one possible future for each person. A result reported from one run would hide how much it depends on chance. cohortix is built to report results with their uncertainty: an ensemble of replications of a scenario, and an interval rather than a single date or a single number.
Replications
A replication is the same scenario run with another replication number in its seed path. The seed path has four parts, each recorded in provenance:
| Part | What changes it |
|---|---|
| Root | scenario.seed. |
| Population realization | Another draw of the initial population. |
| Replication | Another draw of the run on the same population. |
| Parameter set | Another set of parameter values, for calibration and sensitivity. |
Each replication is reproducible on its own: the same seed path gives the same journal, byte for byte.
Comparing scenarios
A baseline and a policy scenario run with the same seed paths share common random numbers, so each pair of replications differs only where the policy acts.
In this version
Version 0.1 runs one replication per command. The ensemble service, which runs replications in parallel, compares scenarios and reports the cost of runs, is planned and not written yet (crate cohortix-ensemble). The [ensemble] table of the scenario file is refused as not supported yet. Each run stays single-threaded; parallelism will be across runs.
Common random numbers
Two scenarios that share a seed give each person the same draws, so a difference between them comes from the policy, not from chance.
Places and space-time follow-up
People live in territorial units; the engine follows each one through place and time, and survey rounds are slices of that history.