Skip to main content

Module parallel

Module parallel 

Source
Expand description

Parallel Simulation Module

Provides concurrent agent exploration capabilities:

  • Fork multiple branches from a parent commit
  • Run agent variants concurrently using Tokio
  • Prune low-performing branches based on score threshold

§TDD Tests:

  • test_five_branches_are_forked_and_run_concurrently_via_tokio
  • test_optimizer_kills_branch_when_score_threshold_is_missed

Structs§

BranchStatus
Status of a running parallel branch
ForkResult
Result of forking multiple branches
ParallelConfig
Configuration for parallel exploration
ParallelManager
Parallel branch manager for tracking and pruning branches

Functions§

fork_agent_parallel
Fork multiple agent branches from a parent commit