Donor Configuration

KeyType/defaultContract
schema_versionstring, 1.0Config version.
data_pathstringPre-treatment-only long CSV containing date, location, and Y or metric; adaptive thresholds otherwise see post-period rows.
date_formatstring or omittedExplicit source date format.
treatment_locationslistTreated identifiers, compared after string conversion.
treatment_datestringPre/post split; only pre-period rows are scored.
max_donorsinteger, 10Maximum complete recommendations per treated unit.
min_correlation_thresholdfloat, 0.7Adds low-correlation warnings.
max_rmse_thresholdfloat or nullAdds high-RMSE warnings.
donor_dominance_thresholdfloat, 0.5Adds dominance warnings for recommendation weights.
min_excellent_donorsinteger, 3Pool-summary threshold.
min_good_donorsinteger, 5Pool-summary threshold.
mape_thresholdsmappingacceptable (default 30) controls high-MAPE warnings; other labels are retained compatibility settings.
shapemap_filestring or nullGeoPandas-readable vector file.
shapemap_id_columnstringGeography key in the vector file.
output_dirstringArtefact directory.
parallelbooleanParallel pair scoring.
n_jobsintegerWorker count; -1 uses all cores.

The current donor stage always computes correlation, RMSE, MAPE, and DTW. There are no active evaluation_metrics, pre_treatment_periods, min_donors, limit_donor_pool, top_correlated_donors, acceptable_mape, or correlation_thresholds keys.