Skip to main content

Crate xpile_oracle

Crate xpile_oracle 

Source
Expand description

Oracle trait.

An Oracle runs the original source (CPython, gcc-compiled C, the ruchy interpreter) on an input fixture, captures outputs, and lets the agent compare them against transpiled Rust output. This is the semantic gate the agent must pass to exit successfully.

The pattern is borrowed from alchemize: extract reference values before the agent runs, then validate against them.

Structs§

CapturedOutputs
Fixture

Enums§

ComparisonResult
OracleError

Traits§

Oracle