Capture
A run or evaluation fails. The failure, its inputs and its outputs are recorded.
Turn graded failures into the next candidate, inside a bounded loop with a person at the end.
Ships as training/retrain-cycle
A model that misses its bar is not the end of the run. Its failures are graded and mined, a new candidate is trained and compared on the same held-out set, and the loop repeats for at most six cycles before a person decides.
A run or evaluation fails. The failure, its inputs and its outputs are recorded.
Graded failures become preference pairs or a corrected dataset revision, with lineage.
Each cycle trains from the previous cycle's adapter on the pinned data, inside the budget.
The candidate is scored against the approved model on the same test. After six cycles without a pass, the loop stops and asks a person.
Every cycle's inputs, adapter, scores and spend; the cycle count; and the final decision.
max_iterations is literal and mandatory; exhaustion asks a human, it never fails silently.
Cycles are compared on the same held-out set, so gains are real.
Nothing replaces it until a candidate beats it and a person signs off.
Ships as training/retrain-cycle. Trigger wiring depends on your deployment.
See how failure can trigger a reviewed improvement cycle →Apache 2.0 licensed, self-hosted. cairn pipeline run training/retrain-cycle