ReCode evaluates code-generation models by measuring robustness under prompt perturbations, using worst-case behavior as the signal for prompt sensitivity and production usefulness. section 7.2.3 section 7.4
It is applied here to Python code generation with HumanEval, alongside syntactic validation and unit tests for functional correctness. section 7.2.3 section 7.4
Key pieces used in the evaluation path are:
- HumanEval prompts with function signatures, docstrings, and tests. section 7.2.3
- Generation settings for bounded output length and cached decoding. section 7.2.3
- Python-package setup for running the evaluation locally. section 7.2.3
Prompt-robustness evaluation
A model is run against HumanEval tasks, then checked for how much performance shifts when prompts are perturbed, so the result reflects worst-case robustness rather than a single prompt outcome. section 7.2.3 section 7.4
