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//! already-resolved program/Python tasks, state semantics, deterministic
6//! identities, phase organization, inferred operational plans, and complete
7//! preflight. Runtime consumes a finished [`advanced::Study`] and never
8//! reinterprets project JSON.
9
10mod compilation;
11mod error;
12mod plan;
13
14#[cfg(test)]
15#[path = "study/tests/study_workflow.rs"]
16mod study_workflow_tests;
17
18/// Ordinary application-facing study API.
19///
20/// This scope is intentionally empty: ordinary applications write
21/// `wf_configs/study.json`
22/// and call the crate-level `run(&Path)` entry point.
23pub mod basic {}
24
25/// Supported study API for inspection, embedding, and Workflow peer modules.
26pub mod advanced {
27    #[allow(unused_imports)]
28    pub use super::basic::*;
29    pub use super::error::StudyError;
30    pub use super::plan::Study;
31    pub(crate) use super::plan::{StudyPhase, StudyTask};
32}