Deborah.Sarah

Deborah.SarahModule
module Sarah

Deborah.Sarah — Common utilities for configuration, logging, resampling, I/O, and naming.

Deborah.Sarah is the utility toolkit shared across the Deborah.jl ecosystem. It offers job-aware logging, TOML helpers, string/name encoding, deterministic seeding, dataset partitioning and meta extraction, data loading, bootstrap/jackknife resampling, and summary formatting/collection. These utilities keep the higher-level modules small, consistent, and reproducible.

Scope & Responsibilities

Key Components (selected)

Minimal Usage (REPL)

julia> using Deborah

# Append metadata to an existing TOML
julia> using Deborah.Sarah.TOMLLogger, OrderedCollections
julia> TOMLLogger.append_section_to_toml("config.toml", "metadata", OrderedCollections.OrderedDict("creator"=>"alice","notes"=>"test"))  # appends a [metadata] section

# Extract configuration IDs and X info from raw matrices
julia> using Deborah.Sarah.XYInfoGenerator
julia> conf = XYInfoGenerator.gen_conf_from_Y(Y, N_cnf, N_src, 3)  # read conf IDs from 3rd column
julia> X_info = XYInfoGenerator.gen_X_info(X, N_cnf, N_src, 1)      # take column 1 as the component

# Print bootstrap and jackknife summaries
julia> using Deborah.Sarah.SummaryFormatter
julia> SummaryFormatter.print_bootstrap_average_error(bs_arr, "Y_P2", "OBS")
julia> SummaryFormatter.print_jackknife_average_error_from_raw(raw_arr, 20, "cond", "OJK")

Notes

See Also

source