PromptResponse: Optimizing Prompts for LLM Coding Tasks
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used in research workflows and software development pipelines, yet their output remains sensitive to input prompt variations. This paper presents unicodex00ABPromptResponseunicodex00BB, a controlled study examining how formatting and LLM-based tuning of coding task prompts affect the resulting code's performance, efficiency, and stability. Using five semantically identical yet syntactically distinct variants of the HumanEval datasetunicodex2014baseline, JSON, Markdown, YAML, and an LLM-tuned versionunicodex2014we had GPT-4o solve its coding problems over 8200unicodex00A0executions. Our results show that consistent formattingunicodex2014especially JSONunicodex2014improves generation efficiency and syntactic stability, with minor gains in task performance. Conversely, the LLM-tuned prompts resulted in significantly degraded task performance without significant improvements in any other dimension. These findings suggest that low-effort reformatting alone can yield measurable improvements, while tuning must account for model alignment. We conclude our work with providing a set of practical recommendations informed by our results as well as releasing our dataset variants and evaluation pipeline for future work.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 19 references that are in the map. First posted on arXiv 21 Aug 2026.
Builds on
8 of 19 references.
References · 8
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2023How is ChatGPT's behavior changing over time?cited by 270
- 2024Does Prompt Formatting Have Any Impact on LLM Performance?cited by 141
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 92
- 2024Efficacy of Synthetic Data as a Benchmarkcited by 30
- 2024PrExMe! Large Scale Prompt Exploration of Open Source LLMs for Machine Translation and Summarization Evaluationcited by 16
- 2025Prompt-Hacking: The New p-Hacking?cited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Prompt engineering and framework: implementation to increase code reliability based guideline for LLMs
- 2025An Empirical Study on Prompt Compression for Large Language Models
- 2026Prompt Minimization: Reducing Input Redundancy Without Sacrificing Output Fidelity
- 2024The Impact of Prompt Programming on Function-Level Code Generation
- 2026Reflective Prompt Tuning through Language Model Function-Calling
- 2026Prompt Compression in the Wild: Measuring Latency, Rate Adherence, and Quality for Faster LLM Inference
- 2025Cross-Lingual Prompt Steerability: Towards Accurate and Robust LLM Behavior across Languages
- 2025Self-Supervised Prompt Optimization