CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustments

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mehralian, Forough, Shar, Ryan, Rae, James R., Hashemi, Alireza
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912679923286016
author Mehralian, Forough
Shar, Ryan
Rae, James R.
Hashemi, Alireza
author_facet Mehralian, Forough
Shar, Ryan
Rae, James R.
Hashemi, Alireza
contents As large language models become increasingly capable of generating code, evaluating their performance remains a complex and evolving challenge. Existing benchmarks primarily focus on functional correctness, overlooking the diversity of real-world coding tasks and developer expectations. To this end, we introduce a multi-language benchmark that evaluates LLM instruction-following capabilities and is extensible to operate on any set of standalone coding problems. Our benchmark evaluates instruction following in two key settings: adherence to pre-defined constraints specified with the initial problem, and the ability to perform refinements based on follow-up instructions. For this paper's analysis, we empirically evaluated our benchmarking pipeline with programming tasks from LiveBench, that are also automatically translated from Python into Java and JavaScript. Our automated benchmark reveals that models exhibit differing levels of performance across multiple dimensions of instruction-following. Our benchmarking pipeline provides a more comprehensive evaluation of code generation models, highlighting their strengths and limitations across languages and generation goals.
format Preprint
id arxiv_https___arxiv_org_abs_2510_27565
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustments
Mehralian, Forough
Shar, Ryan
Rae, James R.
Hashemi, Alireza
Software Engineering
Artificial Intelligence
Human-Computer Interaction
As large language models become increasingly capable of generating code, evaluating their performance remains a complex and evolving challenge. Existing benchmarks primarily focus on functional correctness, overlooking the diversity of real-world coding tasks and developer expectations. To this end, we introduce a multi-language benchmark that evaluates LLM instruction-following capabilities and is extensible to operate on any set of standalone coding problems. Our benchmark evaluates instruction following in two key settings: adherence to pre-defined constraints specified with the initial problem, and the ability to perform refinements based on follow-up instructions. For this paper's analysis, we empirically evaluated our benchmarking pipeline with programming tasks from LiveBench, that are also automatically translated from Python into Java and JavaScript. Our automated benchmark reveals that models exhibit differing levels of performance across multiple dimensions of instruction-following. Our benchmarking pipeline provides a more comprehensive evaluation of code generation models, highlighting their strengths and limitations across languages and generation goals.
title CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustments
topic Software Engineering
Artificial Intelligence
Human-Computer Interaction
url https://arxiv.org/abs/2510.27565