Loads previous run state for resumption. Validates schema compatibility and configuration fingerprint before allowing resume.
Value
A list with elements:
task_grid: Task grid with restored status from checkpointprior_results: Data frame of results from checkpointcheckpoint_id: ID of the checkpoint being resumed from
Details
The function performs the following validation steps:
Reads and validates run_manifest.json
Checks schema version compatibility
Computes and compares configuration fingerprints
Finds the most recent valid checkpoint
Rebuilds task grid with status from checkpoint
Examples
if (FALSE) { # \dontrun{
config <- simulation_config(...)
resume_state <- load_for_resume("/path/to/results", config)
task_grid <- resume_state$task_grid
prior_results <- resume_state$prior_results
} # }