Deborah.DeborahDocument.DeborahDocumentRunner
Deborah.DeborahDocument.DeborahDocumentRunner.run_DeborahDocument — Functionrun_DeborahDocument(
toml_path::String,
jobid::Union{Nothing,String}=nothing
) -> NothingRun the full Deborah.DeborahCore document-generation pipeline for a single ensemble.
Overview
Config (TOML) expectations
The file at
toml_pathmust contain, at minimum, the following sections/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")X::Vector{String}: input observable file names (e.g.,["plaq.dat","rect.dat"])Y::String: target observable file name (e.g.,"pbp.dat")model::String: learner/model tag (e.g.,"LightGBM")labels::Vector{String}: label indices as strings (later parsed toInt)trains::Vector{String}: train indices as strings (later parsed toInt)use_abbreviation::Bool: whether to abbreviate observable names in outputs
[bootstrap]ranseed::Int,N_bs::Int,blk_size::Int
[jackknife]bin_size::Int
[abbreviation]Dict{String,String}mapping raw filenames to short tags (e.g.,"pbp.dat" => "TrM1","plaq.dat" => "Plaq", ...)
Arguments
toml_path::String: Path to theTOMLconfiguration file.jobid::Union{Nothing,String}: Optional job identifier appended tomodelsuffixes for logging/auditing.
Outputs
- Results snapshot files:
results_<overall_name>.jld2saved under the analysis path and copied toHERE.
Workflow
- Parse configuration from
toml_path. - Build name strings:
analysis_ensemble = "<analysis_header>_<ensemble>"overall_name = "<ensemble>_<learning>"cumulant_name = "<analysis_header>_<overall_name>"- where
learningis either abbreviated (XY_code) or full (X_Y) withmodel(+jobid) suffix.
- Load and extend summary data via
Deborah.Rebekah.SummaryLoader.load_summary. - Save results to
JLD2(results_<overall_name>.jld2) and copy toHERE.
Notes
- Abbreviation map in
[abbreviation]is parsed throughDeborah.Sarah.StringTranscoder.parse_string_dict. - Input code strings for
X/Yare built withDeborah.Sarah.StringTranscoder.input_encoder_abbrev_dict(whenuse_abbreviation=true) and name tuples withDeborah.Sarah.NameParser.make_X_Y+Deborah.Sarah.NameParser.model_suffix.