Provenance of a Run
Provenance of a Run
Every search, training and pipeline run of EvoAl records what it used, so that you can verify its results later and repeat the run: the EvoAl build, the environment, the configuration files and the data files. It also writes the literature of the methods it used.
Where the record is
| Run | Folder of the record | Literature |
|---|---|---|
Search (evoal-search.sh, evoal-evaluate-search.sh) |
<output>/<name of the OL file>/provenance/ |
citations.bib in <output>/<name of the OL file>/ |
Training (evoal-training.sh) |
provenance/<name of the MLL file>/ in the execution folder |
citations.bib in the folder of the record |
Pipeline (evoal-pipeline.sh) |
provenance/<name of the generator file>/ in the execution folder |
citations.bib in the folder of the record |
A later run with the same configuration file replaces the record. The record is written when the application finished without an error.
What the record contains
| File | Content |
|---|---|
environment.json |
EvoAl’s version, the git commit it was built from, the commit time and whether the build had uncommitted changes (dirty); the application and its arguments; the seed; start and end; Java version and vendor; the operating system and its architecture; the EVOAL_* environment variables; every jar of the installation (modules) with its Java module, version and SHA-256. |
files.json |
Every file of the run with its role (configuration, input or output), size and SHA-256: the configuration files and their imports, the data files the run read (e.g. training data, a model file of a surrogate, a template) and the files it wrote (e.g. a model file, generated data). |
configuration/ |
Copies of the configuration files and the files they import, with their paths relative to the execution folder; a file outside the execution folder is copied to configuration/external/. |
All paths are relative to the execution folder, the jars relative to the installation. The record
holds no user name, no host name and no absolute path; EVOAL_HOME is not recorded for this
reason.
The definitions of the plugins (.dl files) are not copied: they are part of the jars, whose
hashes the record holds.
Literature
citations.bib contains the BibTeX entries of the methods the run used, each once: the EvoAl
paper first, then the sources of every DL type of the configuration with its super types, and the
citations the plugins ask for. For a search, see
Literature of a run.
- A training run cites the types of its learning and testing use cases, e.g. the machine
learning method with its kernel. The model file (
.pson) records these types asdefinitions. - A search or pipeline that uses a surrogate model (
surrogateas fitness function,'trained-model'in a pipeline) also cites the types recorded in the model file: the method, the types of its training (definitions) and of its prediction pipeline. A model file written before the types were recorded gives only the method and the prediction pipeline. - A pipeline run cites the types of its components, e.g. a copula or a Sobol’ sequence.
Repeating a run
- Same EvoAl. Compare the
modulesofenvironment.jsonwith your installation, e.g. withsha256sum modules/*.jar plugins/*/*.jar. Two builds of the same commit give the same jars, so a build from the recordedcommit(withdirtyfalse) can be checked this way as well. A SNAPSHOT version alone does not identify a build: compare the commit and the hashes. - Same configuration. Run from a copy of
configuration/as the execution folder. - Same data. Check the
inputfiles offiles.jsonagainst their hashes. - Same seed. Pass the recorded
seed, e.g.EVOAL_SEED=42, and the recordedarguments.
EvoAl’s own computations give the same results on every platform. Libraries with native code can
differ between platforms, e.g. the linear algebra of some surrogate models; compare os and
java of the record in that case. Compare the output files of files.json with the files of
the repeated run to confirm the repetition.