AI Agents

RM -RF: Reward Model for Run-Free Unit Test Evaluation

EElena BruchesDDaniil GrebenkinMMikhail KlementevVVadim AlperovichRRoman DerunetsDDari BaturovaGGeorgy MkrtchyanOOleg SedukhinIIvan BondarenkoNNikolay BushkovSStanislav Moiseev
Published
January 19, 2026
Authors
11
Word Count
7,759

Predict unit test quality without running them.

Abstract

We present RM-RF, a lightweight reward model for run-free evaluation of automatically generated unit tests. Instead of repeatedly compiling and executing candidate tests, RM-RF predicts - from source and test code alone - three execution-derived signals: (1) whether the augmented test suite compiles and runs successfully, (2) whether the generated test cases increase code coverage, and (3) whether the generated test cases improve the mutation kill rate. To train and evaluate RM-RF we assemble a multilingual dataset (Java, Python, Go) of focal files, test files, and candidate test additions labeled by an execution-based pipeline, and we release an associated dataset and methodology for comparative evaluation. We tested multiple model families and tuning regimes (zero-shot, full fine-tuning, and PEFT via LoRA), achieving an average F1 of 0.69 across the three targets. Compared to conventional compile-and-run instruments, RM-RF provides substantially lower latency and infrastructure cost while delivering competitive predictive fidelity, enabling fast, scalable feedback for large-scale test generation and RL-based code optimization.

Key Takeaways

  • 1

    Predicts unit test quality without execution.

  • 2

    Reduces latency and resource consumption.

  • 3

    Shows close alignment with execution-based metrics.

Limitations

  • Currently limited to Java, Python, and Go.

  • Not tested within a reinforcement learning pipeline.

Keywords

reward modelrun-free evaluationunit testsexecution-derived signalscode coveragemutation kill ratemultilingual datasetfocal filestest filescandidate test additionsexecution-based pipelinemodel familiestuning regimeszero-shotfull fine-tuningPEFTLoRAF1 score

More in AI Agents

View all
RM -RF: Reward Model for Run-Free Unit Test Evaluation | Paperchime