Towards Detecting Prompt Knowledge Gaps for Improved LLM-guided Issue Resolution
Ramtin Ehsani, Sakshi Pathak, Preetha Chatterjee

TL;DR
This paper analyzes developer-ChatGPT interactions in GitHub issues to identify prompt knowledge gaps affecting issue resolution, proposing heuristics and a prototype tool to improve prompt quality and developer productivity.
Contribution
It identifies key prompt knowledge gaps and conversational styles impacting LLM effectiveness, and introduces heuristics and a prototype tool for prompt quality assessment.
Findings
Knowledge gaps are present in 44.6% of ineffective conversations.
Missing Context is the most common knowledge gap.
A prototype tool can detect prompt gaps and suggest improvements.
Abstract
Large language models (LLMs) have become essential in software development, especially for issue resolution. However, despite their widespread use, significant challenges persist in the quality of LLM responses to issue resolution queries. LLM interactions often yield incorrect, incomplete, or ambiguous information, largely due to knowledge gaps in prompt design, which can lead to unproductive exchanges and reduced developer productivity. In this paper, we analyze 433 developer-ChatGPT conversations within GitHub issue threads to examine the impact of prompt knowledge gaps and conversation styles on issue resolution. We identify four main knowledge gaps in developer prompts: Missing Context, Missing Specifications, Multiple Context, and Unclear Instructions. Assuming that conversations within closed issues contributed to successful resolutions while those in open issues did not, we find…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFinancial Distress and Bankruptcy Prediction · Data Mining Algorithms and Applications · Advanced Materials Characterization Techniques
