PUBLIC PYTHON HARNESS

Forge the candidate.
Keep the reference.

The Python harness behind Raddle. Your coding agent builds alternatives; Forge checks correctness before measuring performance.

Define what to measure

Keep a trusted reference and a representative case. Measure the baseline before comparing alternative implementations.

Supply three workload callbacks

from raddle.forge import ForgeContract, ForgeCampaign, BenchmarkResult

# Workload-owned callbacks passed to campaign.evaluate:
build(snapshot)       # candidate and build evidence
validate(candidate)   # status="matched" under the fixed policy
benchmark(candidate)  # BenchmarkResult(evidence, score)

Forge validates each candidate before timing it and retains eligible improvements. Workload callbacks control how code is built, checked and measured.

Inspect a recorded campaign

See baseline/profile, failed candidates, accepted incumbent and artifact evidence in the SSAPy synthetic propagation integration.

View the campaign lifecycle →
Start in your project →