nirs4all.pipeline.dagml.general_workspace module

Verified captured REFIT models in the general library workspace.

Only the recorded full-training artifact is replayed. A CV score on the same chain is not evidence that individual CV models were retained.

nirs4all.pipeline.dagml.general_workspace.load_general_workspace_chain(workspace_path: str | Path, chain_id: str) → dict[str, Any] | None[source]

Inspect provenance, verify the exact artifact bytes, then load trusted Python.

nirs4all.pipeline.dagml.general_workspace.predict_general_workspace_chain(loaded: dict[str, Any], data: Any) → Any[source]

Execute a verified workspace predictor through native DAG PREDICT only.