Skip to main content

scientific_workflow/
study.rs

1//! Effect-free compilation of project declarations into executable scientific intent.
2//!
3//! Config remains the sole parser. Study composes its immutable output with
4//! the retained central Config snapshot, compiled model registrations,
5//! validated program/Python tasks, state semantics, deterministic identities,
6//! phase organization, inferred operational plans, and complete preflight. Runtime
7//! consumes a finished [`advanced::Study`] and never reinterprets project JSON.
8
9mod compilation;
10mod error;
11mod plan;
12
13#[cfg(test)]
14#[path = "study/tests/study_workflow.rs"]
15mod study_workflow_tests;
16
17/// Ordinary application-facing study API.
18///
19/// This scope is intentionally empty: ordinary applications write `study.json`
20/// and call the crate-level `run(&Path)` entry point.
21pub mod basic {}
22
23/// Supported study API for inspection, embedding, and Workflow peer modules.
24pub mod advanced {
25    #[allow(unused_imports)]
26    pub use super::basic::*;
27    pub use super::error::StudyError;
28    pub use super::plan::Study;
29    pub(crate) use super::plan::{StudyPhase, StudyTask};
30}