The reward function is the hinge of any RL training pipeline for agentic coding, and the one piece of the stack where public research is weakest. Most open attempts collapse to "run the tests" as the reward — but that signal is too sparse to drive early training, and too binary to distinguish near-miss patches from unrelated ones.
This axiom produces a structured reward. The solver delivers a scoring function that takes (issue, repository snapshot, candidate patch) and emits a dense scalar. The function must incorporate at minimum four components: test-pass rate on the declared test set, AST-level validity of the resulting file state, diff minimalism relative to the ground-truth patch, and no-regression behavior on tests unrelated to the issue. Component weights and functional form are the solver's choice; the only contract is the output distribution.
Verification is a correlation measurement. The protocol runs the submitted reward function on a held-out set of 1,000 issues, each with a labeled ground-truth resolution quality score produced by a panel of senior engineers on a 10-point scale. The axiom passes when the Pearson correlation coefficient between the submitted reward and the ground-truth score meets or exceeds 0.85.
Beyond its use in AX-00008, this reward function becomes the standard signal for any open lab training a coding agent. Its presence unblocks dozens of downstream RL pipelines that are currently stuck designing ad-hoc reward shaping.