[prompt-analysis] Copilot PR Prompt Analysis - 2025-12-14 #6414
Closed
Replies: 1 comment
-
|
⚓ Avast! This discussion be marked as outdated by Copilot PR Prompt Pattern Analysis. |
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.
-
Analysis Period: Last 30 days
Total PRs: 1000 | Merged: 776 (77.9%) | Closed: 220 (22.1%) | Open: 4
Executive Summary
Analysis of 1000 Copilot-generated pull requests over the past 30 days reveals that bug fixes dominate both volume and success rates. With a 77.9% overall merge rate, prompts that are specific, detailed, and error-focused significantly outperform vague or broad-scope requests.
Key Finding: Successful prompts average 449 words compared to 404 words for closed PRs—an 11% difference suggesting that detail and specificity matter.
Prompt Categories and Success Rates
Key Observations:
Prompt Analysis Deep Dive
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
Example successful prompts:
PR #6385 → ✅ Merged
PR #6382 → ✅ Merged
PR #6378 → ✅ Merged
❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
Example unsuccessful prompts:
PR #6386 → ❌ Closed
PR #6379 → ❌ Closed
PR #6376 → ❌ Closed
Key Insights and Patterns
📊 Statistical Findings
🎯 What Makes Prompts Successful
Specificity wins:
Scoping matters:
Length correlation:
🚫 What Makes Prompts Fail
Vague scope:
Broad automation:
Insufficient detail:
Recommendations for Writing Better Prompts
✅ DO: Best Practices
Focus on bug fixes (78.2% success rate)
Write detailed prompts (450+ words average for success)
Include specific technical terms
Prioritize documentation changes (100% success rate)
Be specific about scope
❌ AVOID: Anti-Patterns
Very short prompts (< 300 words)
Feature requests without clear scope (44.4% success)
Vague automation requests
Test-only changes (low success in this dataset)
Broad sweeping changes
📝 Prompt Template for High Success
Historical Trends
Trend Analysis
This is the first automated analysis run for this repository. Future reports will include week-over-week comparisons showing:
Next run: Tomorrow at the same time
References:
Beta Was this translation helpful? Give feedback.
All reactions