Output Format Biases in the Evaluation of Large Language Models for Code Translation
25 Mar · Marcos Macedo, Yuan Tian, Filipe R. Cogo +1 · arXiv:2403.17214
Code translation between programming languages (PLs) is a critical task in software engineering, facilitating the modernization of legacy systems, ensuring cross-platform compatibility, and enhancing software performance. Most existing studies instruct LLMs to perform code translation and evaluate their performance by either running the generated outputs through test suites or comparing them to reference outputs…