S2C Spec2Code StrategySpec -> code -> validation

Subsystem 02 / Spec2Code

Turn structured strategy specs into code-facing artifacts and checks.

Spec2Code is the back half of the AI Paper Agent: keep generated code, validation output, backtest metrics and diagnosis reports as explicit dataclass contracts before any result is trusted.

CODE MODULES / AST / METRICS deterministic checks before claims
01

Spec2Code Pipeline

    02

    Python Files