orchestrator
orchestrator
¶
Preflight execution entry point.
run_preflight is the single public entry point; _run_registry
handles per-check gating, failure isolation, and result aggregation.
Functions:
| Name | Description |
|---|---|
run_preflight |
Execute all pre-flight checks against the training split. |
Attributes:
| Name | Type | Description |
|---|---|---|
CRASH_CODE |
Issue code used when a check raises from |
CRASH_CODE = 'preflight.check_crash'
module-attribute
¶
Issue code used when a check raises from enabled() or run().
run_preflight(data, config, metadata, *, registry=None, stages=None)
¶
Execute all pre-flight checks against the training split.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
The training split produced by |
required |
config
|
SafeSynthesizerParameters
|
Resolved configuration ( |
required |
metadata
|
ModelMetadata
|
Model metadata (tokenizer and context length). |
required |
stages
|
frozenset[PreflightStage] | None
|
Optional subset of stages to execute. Used when callers need early DataFrame validation before later processing has produced the final training split. |
None
|
Returns:
| Type | Description |
|---|---|
PreflightReport
|
A structured |