[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-273853-105":59,"doc-detail-273853-en":131,"doc-similar-273853":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","promptresponse-optimizing-prompts-for-llm-coding-tasks","PromptResponse - Optimizing Prompts for LLM Coding Tasks","","Large language models (LLMs) are increasingly used in research workflows and software development, yet their generated code remains sensitive to prompt formatting and variations. This paper introduces “PromptResponse,” a controlled study assessing how formatting and LLM-based tuning of coding task prompts affect code performance, efficiency, and stability. Five semantically identical HumanEval variants are evaluated via 8200 GPT-4o executions, showing consistent formatting—especially JSON—improves efficiency and syntactic stability with only minor performance gains. Prompt tuning degrades performance without comparable improvements, motivating alignment-aware approaches. The work concludes with practical recommendations and released dataset variants plus an evaluation pipeline.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/promptresponse-optimizing-prompts-for-llm-coding-tasks/273853/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/promptresponse-optimizing-prompts-for-llm-coding-tasks/273853.png","ImageObject",300,407,{"name":92,"@type":93},"Valentina","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-15","2026-09-15",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",15,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is the main focus of “PromptResponse” in this paper?","Question",{"text":113,"@type":114},"The study examines how prompt formatting and LLM-based tuning influence code generation performance, efficiency, and stability for LLM coding tasks.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How are the experiments conducted in the paper?",{"text":118,"@type":114},"The authors evaluate five semantically identical HumanEval dataset variants (baseline, JSON, Markdown, YAML, and an LLM-tuned version) using 8200 GPT-4o API executions.",{"name":120,"@type":111,"acceptedAnswer":121},"What do the results indicate about consistent formatting versus prompt tuning?",{"text":122,"@type":114},"Consistent formatting—especially JSON—improves generation efficiency and syntactic stability with minor gains in performance, while LLM-tuned prompts significantly degrade task performance without improving the other measured dimensions.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},273853,1789473000,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":130,"read_time":145,"preview_page_count":19,"preview_urls":146},13056703020460,"https://ap-avatar.wpscdn.com/avatar/be000253dac470eee5d?_k=1778207105932848923","HUMBOLDT-UNIVERSITÄT ZU BERLIN  \nMATH EMATISCH-NATURWIS SEN SCH AFT LICHE FA KU LTÄT INSTITUT F Ü R IN FORMAT IK  \nHUMAN-COMPUTER INTERACTION LAB  \nPromptResponse: Optimizing Prompts for LLM Coding Tasks  \nERIK THURECK, HU Berlin, Germany ROBERT KÜHNEN, HU Berlin, Germany TIM JACOBOWITZ, HU Berlin, Germany  \narXiv : 2608 .2 1074v 1 [cs .CL] 2 1 Aug 2026  \n1 2  \n3  \n4 5  \n6 7  \n8 9  \n10  \n11  \n12  \n1 { 2 3 4 5 6 7 8 9 10 11  \n12 }  \nOriginal  \nLLM-generated Code  \nTask Performance, Efficiency,& Prompt Stability?  \n Reformatted  \nFig. 1. A prompt designed to highlight some of the inconsistencies present in the HumanEval dataset, before and after possible reformatting. Which one will lead to better results?  \nABSTRACT. 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 «PromptResponse», 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 dataset—baseline, JSON, Markdown, YAML, and an LLM-tuned version—we had GPT-4o solve its coding problems over 8200 executions. Our results show that consistent formatting—especially JSON—improves 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.  \nCCS Concepts: • Human-centered computing → Human computer interaction (HCI); • Computing methodologies → Natural language processing.  \nAdditional Key Words and Phrases: Large Language Models, LLM Code Generation, Prompt Engineering, Prompt Format, LLM Tuning, Prompt Stability, Evaluation Metrics  \nAuthors’ Contact Information: Erik Thureck, [erik.thureck@hu-berlin.de](erik.thureck@hu-berlin.de), HU Berlin, Berlin, Germany; Robert Kühnen, robert.kuehnen@hu[berlin.de](berlin.de), HU Berlin, Berlin, Germany; Tim Jacobowitz, [jacobowt@hu-berlin.de](jacobowt@hu-berlin.de), HU Berlin, Berlin, Germany.  \nPromptResponse: Optimizing Prompts for LLM Coding Tasks 2  \n1 Introduction  \nWith the rapid proliferation of artificial intelligence (AI) and large language models (LLMs) in all walks of life in recent years, they also play an increasingly important role in the field of human-computer interaction (HCI) [13] . Due to their high accessibility and ease of use via chat interfaces, they have not only caught the interest of civilians but researchers alike, who have begun using them, for example, for text classification, generating synthetic participant data, and even to produce code. However, the integration of LLMs into research workflows is often ad hoc, as researchers tend to formulate prompts on the fly, informally, and without following best practices. Not only does this jeopardize the stability of results, but—especially when not properly documented—heavily undermines the reproducibility of the conducted work.  \nLLM-generated output is known to be sensitive to variations in input phrasing and format. This raises questions about the scientific validity of LLMs as tools in the field of research. Previous work has proposed best-practice guidelines for prompting LLMs [13, 16], as well as metrics such as the Prompt Stability Score (PSS) [2] or benchmarks like PromptSET [15] and E-Bench [18] to quantify this sensitivity. These contributions show that even semantically identical prompts can lead to varying outputs [1], especially under low-control or rea","cbCaiawm7Jsw32Vo","https://ap.wps.com/l/cbCaiawm7Jsw32Vo","pdf",780629,22,"English","# Abstract\n# Introduction\n# Related Work","[{\"question\":\"What is the main focus of “PromptResponse” in this paper?\",\"answer\":\"The study examines how prompt formatting and LLM-based tuning influence code generation performance, efficiency, and stability for LLM coding tasks.\"},{\"question\":\"How are the experiments conducted in the paper?\",\"answer\":\"The authors evaluate five semantically identical HumanEval dataset variants (baseline, JSON, Markdown, YAML, and an LLM-tuned version) using 8200 GPT-4o API executions.\"},{\"question\":\"What do the results indicate about consistent formatting versus prompt tuning?\",\"answer\":\"Consistent formatting—especially JSON—improves generation efficiency and syntactic stability with minor gains in performance, while LLM-tuned prompts significantly degrade task performance without improving the other measured dimensions.\"}]","PromptResponse - Optimizing Prompts for LLM Coding Tasks | PDF",55,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/81c11c767911d937e2272231931dd157.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2c48ac8d4c5b139c425f717e7bc5c86e.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/33aeeb7c65878880349c90b1f000e1d1.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b3b8aae7bf49ec2f6e0e52c850345454.webp",980,1268,{"list":164,"token":66},[165,172,179,185,191,197,204,210,216,223],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":40,"create_tm":171},273740,"Beyond Prompt Engineering - A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899962297/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=Np3fEQMIfUGz%2B7avdv8pf7o1nuk%3D","beyond-prompt-engineering-a-systematic-analysis-of-prompt-lexical-sensitivity-and-its-impacts-on-quality",11,1789472683,{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},84067,"Evaluating Fine-Tuning and Metrics for Neural Decompilation of Dart AOT Binaries","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809015592/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=Xor6caMrTQfXrSvmwpQYQ7FKmXU%3D","evaluating-fine-tuning-and-metrics-for-neural-decompilation-of-dart-aot-binaries",27,1784192384,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":29,"category_name":40,"create_tm":184},489366,"PROMTEC - Fast LLM Inference Decoding using Prompt Multi-Lookup with Template Database and Common Sequences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926994795/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=1Ku4TR4zPZDoSeb8JqMxMRVJO4s%3D","promtec-fast-llm-inference-decoding-using-prompt-multi-lookup-with-template-database-and-common-sequences",1790822467,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":39,"category_name":40,"create_tm":190},665443,"Query2Diagram - Answering Developer Queries with UML Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983494381/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=%2BJhqU4nGI6wcIzl33LXBgv6AjJc%3D","query2diagram-answering-developer-queries-with-uml-diagrams",1793304176,{"doc_id":192,"doc_title":193,"file_type":138,"home_preview_img_url":194,"slug":195,"view_count":46,"category_name":40,"create_tm":196},184331,"ICLR-2026-routing-manifold-alignment-improves-generalization-of-mixture-of-experts-llms-Paper-Conference - research results","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229878412527/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=XJhUe%2FeP9o5KSPPju9p99V83TKw%3D","iclr-2026-routing-manifold-alignment-improves-generalization-of-mixture-of-experts-llms-paper-conference-research-results",1788358855,{"doc_id":198,"doc_title":199,"file_type":138,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":40,"create_tm":203},273852,"Scaling Unsupervised Word Alignment to Documents via Structural Constraints","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899558692/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=6CNEws44ltzlOXAbj5krDpkNXnk%3D","scaling-unsupervised-word-alignment-to-documents-via-structural-constraints",14,1789472988,{"doc_id":205,"doc_title":206,"file_type":138,"home_preview_img_url":207,"slug":208,"view_count":8,"category_name":40,"create_tm":209},759570,"Prompt Design at Scale - How Format, Instruction Count, and Context Length Shape Instruction Adherence and Hallucination in Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044463066/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=qVAptjLPGnIxwkyiz7r02O15gpA%3D","prompt-design-at-scale-how-format-instruction-count-and-context-length-shape-instruction-adherence-and-hallucination-in-large-language-models",1795888136,{"doc_id":211,"doc_title":212,"file_type":138,"home_preview_img_url":213,"slug":214,"view_count":105,"category_name":40,"create_tm":215},151939,"Loop Rerolling for Hardware Decompilation - Research Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869939966/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=K2IMwD91cREEX9zpBSdUiE1iASA%3D","loop-rerolling-for-hardware-decompilation-research-paper",1787853224,{"doc_id":217,"doc_title":218,"file_type":138,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":40,"create_tm":222},84055,"BlueMagpie TTS：Token高效分词、语言模型与台语口音代码切换语音合成","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809127738/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=asMKOdteB0koXrhuDymhTCOGHPw%3D","bluemagpie-tts-a-token-efficient-tokenizer-language-model-and-tts-for-taiwanese-accent-code-switching-speech",33,1784192268,{"doc_id":224,"doc_title":225,"file_type":138,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":40,"create_tm":229},121505,"Machine Learning in Resource-Constrained Distributed and Dynamic Environments - Dissertation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835423255/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=0%2Fxyn7ywy1ecA0f8w1ThpgiHmtM%3D","machine-learning-in-resource-constrained-distributed-and-dynamic-environments-dissertation",17,1785735987]