Skip to main content
Execution Context — Pipeline Orchestration & Phase Execution. The primary API surface for executing the AIDflow pipeline. Provides phase-based access to all workers and a unified process method for sequential execution. Executes workers by domain-specific pipeline phase: data - encoding - training - selection.
  • Automated execution of all pipeline steps or a selected phase via ctx.flow.process()
  • Execution runs within a defined context scope (ctx.setup), supplied by ProjectContext
  • Pipeline steps are sequence-dependent - e.g., the encoding phase cannot be executed prior to the data phase
1. data
────────────────────
  1. data_loader
  2. fe_cleaner
  3. fe_stabilizer
  4. obs_stabilizer
2. encoding
────────────────────
  1. num_encoder
  2. cat_encoder
  3. ixn_encoder
  4. woe_encoder
  5. woe_stabilizer
  6. data_encoder
3. training
────────────────────
  1. agent1_predictor
  2. agent2_predictor
  3. agent3_predictor
  4. agent4_predictor
4. selection
────────────────────
  1. agents_predictor
  2. agents_comparator
  3. agents_transition
  4. agent_selector
  5. champion_predictor

Examples

Defining the Project Context (Control Plane) & Project Scope:
Run the whole flow within the defined context:
Run the whole flow within the defined context with custom data present in memory:
Run selected flow phase within the defined context:
Run selected single worker within the defined context: