Overview
Each experiment follows a lifecycle from solution selection through code generation, execution, and optional debugging.Git Branch Model
Each experiment runs in its own git branch, inheriting code from its parent experiment. This enables:- Isolation: Each experiment starts from a clean parent state
- Inheritance: Child experiments build on parent solutions
- Versioning: All code changes are tracked
Experiment Session
TheExperimentSession manages a single experiment:
Implementation Flow
1. Implement Solution
2. Debug Loop
If the code fails, the debug loop attempts to fix it:3. Debug Solution
Result Structure
Session Finalization
After an experiment completes:- Commit changes to the experiment branch
- Push to origin (available for child experiments)
- Record cost from coding agent
- Cleanup session folder