[prompt-analysis] Copilot PR Prompt Pattern Analysis - 2026-01-23 #11491
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-01-30T12:03:46.687Z. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🤖 Copilot PR Prompt Pattern Analysis - 2026-01-23
Summary
Analysis Period: Last 30 days
Total PRs Analyzed: 1,000 | Merged: 639 (63%) | Closed: 358 (35%) | Open: 3
Success Rate (Merged/Completed): 64.1%
📊 Prompt Categories and Success Rates
Key Findings
🎯 Bug Fix Dominance: Bug fix prompts make up 967/1000 (96%) of all PRs with a 65.1% success rate.
📈 Prompt Length: Merged PRs average 340 words vs 351 words for closed PRs.
🔗 Specific References: Merged PRs average 9.4 file/function references vs 10.3 for closed PRs.
✅ Successful Prompt Patterns
Most successful category: Other (66.7% success rate)
Common keywords in merged PRs:
copilot(701 occurrences)agent(544 occurrences)coding(431 occurrences)github(381 occurrences)start(297 occurrences)https(257 occurrences)workflows(256 occurrences)details(244 occurrences)summary(232 occurrences)test(231 occurrences)View Example Successful Prompts
Example 1: PR #11474
Example 2: PR #11473
campaign:(id)toz_campaign_(id)formatcampaign:(id)format. Go code already usedz_campaign_(id), but JavaScript code and documentation still referenced...Example 3: PR #11462
shared/go-make.mdworkflow exposingsafeinputs-goandsafeinputs-maketools for executing Go and Make commands in agentic workf...❌ Unsuccessful Prompt Patterns
Least successful categories:
Common keywords in closed PRs:
copilot(735 occurrences)agent(597 occurrences)coding(432 occurrences)github(431 occurrences)workflow(342 occurrences)https(305 occurrences)campaign(287 occurrences)start(286 occurrences)githubnext(278 occurrences)details(247 occurrences)View Example Unsuccessful Prompts
Example 1: PR #11481
worker_workflowProject board field. ThenormalizeItem()function received the wor...Example 2: PR #11472
campaign:(id)toz_campaign_(id)in response to@mnkiefer's question about whether this fixes the "0 di...Example 3: PR #11465
Chang...
💡 Key Insights
Bug Fixes Win: Bug fix prompts have the highest success rate (65.1%) and make up the majority of successful PRs. Focus on clear problem statements with error descriptions.
Prompt Length: Merged and closed PRs have similar lengths (~340 words), suggesting length alone doesn't predict success. Quality and specificity matter more.
Specificity: Both merged and closed PRs have similar reference counts (~9), indicating that specific references alone don't guarantee success.
🎯 Recommendations
Based on the analysis of 1,000 PRs:
📈 Historical Trends
First analysis - building historical baseline. Future reports will show trends over time.
Analysis Methodology: Analyzed 1,000 Copilot-generated PRs from the last 30 days, categorizing by prompt type, extracting keywords, and measuring success metrics.
References:
Beta Was this translation helpful? Give feedback.
All reactions