A new study published on arXiv explores the impact of prompt language on code generation quality across different Large Language Models (LLMs). Researchers found that the language used to prompt models like GPT-4o mini, DeepSeek, and Claude can significantly affect the functional correctness and structural quality of the generated code. The study utilized a benchmark of 460 Python and Java coding tasks, with prompts translated into Chinese, Hindi, Spanish, and Italian, revealing that English prompts do not always yield the best results and that generated code can sometimes mix languages. AI
IMPACT This research highlights the need for multilingual prompt engineering to optimize code generation quality across different LLMs and programming languages.
RANK_REASON The cluster contains a research paper detailing a benchmark and study on LLM code generation.
AI-generated summary · Google Gemini · from 3 sources. How we write summaries →