Sweep datasets
Build the folders for a Dataset sweep and run a Sequence across them. A sweep runs the Sequence once per Dataset, such as a region or a scenario. Names are examples.
A Dataset is a folder of input files. During a sweep, Experimenter takes each model input from the Dataset folder when a file with the same name is there. The match is by file name only.
1. Make one folder per Dataset
Create a Datasets/ folder beside your model. Add one flat folder for each
Dataset, with the input files at its root and no subfolders:
Datasets/
RegionA/
Historical.csv
Input-Policy.csv
RegionB/
Historical.csv
Input-Policy.csvA folder name can contain spaces. It cannot contain a path separator.
Validation refuses two names that fold to one folder, such as Base and
base. It also refuses a name that a launch file already uses, such as
.scratch.
2. Add the files that differ
In each folder, put that Dataset’s own copy of every input that varies. Use the exact file names that the model’s imports expect.
Historical.csvdrives that Dataset’s calibration.Input-Policy.csvdrives that Dataset’s simulation.- Add any other driver the model imports.
Keep the column layout the same in every Dataset. A file you leave out falls back to the base copy, with a warning in the Monitor log and the Manifest. See Imports & Exports for the overlay rules. If a Dataset looks like the base, check the Monitor log for that warning.
3. Set the comparison for every calibration
A calibration that runs under more than one Dataset needs its own comparison file and saved-run name. The model keeps one saved run per name, so without a comparison every Dataset scores against the same data. Validate refuses it.
On the Stella engine, one Run compares against one saved run only. A Run
whose payoffs need two or more distinct comparison runs gets an error from
Validate and experimenter validate. It does not start. Give the payoffs
one comparison, split them into separate Runs, or use the Experimenter engine.
- On the Optimization tab, select the Group.
- Set Default comparison run to a bare file name,
Historical.csv. A bare name resolves in each Dataset’s own folder. - Set Comparison run name.
See Calibrate with optimization groups.
4. Add the Datasets to the Sequence
- On the Sequence tab, find the Dataset pane. Row one,
base, is the Experiment’s own inputs. - Click Add and choose Add folder. Pick
Datasets/RegionA. Repeat forRegionB. - To sweep only your folders, untick the
baserow’s Active box. To skip any row, untick it. Do not delete it.

Add from list file adds a text file with one folder path per line. It expands into one Dataset per line each time the file loads. The Run, Optimization, and Sensitivity tabs have a Datasets page too. There, click Add and choose Add dataset, because list files are Sequence-only. Its sweep runs only the listed Datasets, with no base lane.
5. Run and read the results
Run the Sequence as in Sequence for a practical output. Each Dataset writes its own folder:
<model>/Output/<experiment>/<sequence>/RegionA/…
<model>/Output/<experiment>/<sequence>/RegionB/…The Output.csv at the top of the Sequence folder has a dataset column, so
all regions share one table. See Outputs & Manifest.