Deborah.EstherDocument.EstherDocumentRunner
Deborah.EstherDocument.EstherDocumentRunner.run_EstherDocument — Functionrun_EstherDocument(
toml_path::String,
jobid::Union{Nothing,String}=nothing
) -> NothingRun the full Esther JLD2-generation pipeline for a single ensemble.
Overview
- Produces a multi-target comparison report across four prediction models ($\text{Tr} \, M^{-n} \; (n=1,2,3,4)$).
- Reads a
TOMLconfig, loads/extends summary data, and writes aJLD2snapshot.
Config (TOML) expectations
- The file at
toml_pathmust define, at minimum, the following keys:[data]location::String: project root (e.g.,"./nf4_clover_wilson_finiteT")ensemble::String: ensemble name (e.g.,"L8T4b1.60k13570")analysis_header::String: analysis prefix (e.g.,"analysis")labels::Vector{String}: label indices as strings (parsed toInt)trains::Vector{String}: train indices as strings (parsed toInt)use_abbreviation::Bool: whether to abbreviate observable names in outputsTrM1_X::Vector{String},TrM1_Y::String,TrM1_model::StringTrM2_X::Vector{String},TrM2_Y::String,TrM2_model::StringTrM3_X::Vector{String},TrM3_Y::String,TrM3_model::StringTrM4_X::Vector{String},TrM4_Y::String,TrM4_model::String
[abbreviation]Dict{String,String}mapping raw filenames to short tags (used whenuse_abbreviation=true).
[bootstrap],[jackknife]sections exist and are consumed upstream.
Arguments
toml_path::String: Path to the configurationTOMLfile.jobid::Union{Nothing,String}: Optional job ID appended byDeborah.Sarah.NameParser.model_suffixto disambiguate/log runs.
Outputs
- Console:
- Formatted
AVG(ERR)tables for each prediction tag (as produced by downstream steps).
- Formatted
- Files:
- Results snapshot (
JLD2):<location>/<analysis_header>_<ensemble>/<analysis_header>_<overall_name>/results_<overall_name>.jld2and a copy:./results_<overall_name>.jld2in the current working directory.
- Results snapshot (
Workflow
- Parse configuration from
toml_path. - Build code strings:
- Abbreviation map via
Deborah.Sarah.StringTranscoder.parse_string_dict. - Encoded inputs per model via
Deborah.Sarah.StringTranscoder.input_encoder_abbrev_dict. - Full
"X_Y"names viaDeborah.Sarah.NameParser.make_X_Y. - Model suffixes via
Deborah.Sarah.NameParser.model_suffix. learningassembled from either abbreviated or full names for all four models.
- Abbreviation map via
- Construct naming:
analysis_ensemble = "<analysis_header>_<ensemble>"overall_name = "<ensemble>_<learning>"cumulant_name = "<analysis_header>_<overall_name>"
- Load and extend summary dictionary via:
Deborah.Rebekah.SummaryLoader.load_summary. - Save results to
JLD2and copy to CWD viaDeborah.Rebekah.JLD2Saver.save_resultsandcp(...; force=true).
Notes
- This function focuses on configuration parsing, naming, summary loading, and
JLD2persistence.