Skip to main content

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

The ExperimentSession 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:
  1. Commit changes to the experiment branch
  2. Push to origin (available for child experiments)
  3. Record cost from coding agent
  4. Cleanup session folder