Skip to content

Study checkpointing and resumption #75

@jc-macdonald

Description

@jc-macdonald

Problem

Long-running studies can't resume if interrupted. save_results/load_results exist for ResultsTable but Study doesn't persist mid-run state. A multi-phase study that fails in Phase 3 must restart from scratch.

Proposed

  • Study.save(path) / Study.load(path) — serialize completed phase results + current phase index
  • Auto-checkpoint after each phase completes (opt-in via checkpoint_dir= parameter)
  • On Study.run(), skip phases whose results already exist on disk
  • Use existing save_results/load_results under the hood

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-highImportant, fix soonfeatureNew feature or enhancementperformancePerformance, resumption, and scalabilitystudystudy.py module

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions