[prompt-analysis] Copilot PR Prompt Analysis - 2025-12-08 #5843
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.
-
Summary
Analysis Period: Last 30 days (ending 2025-12-08)
Dataset: 1000 Copilot-generated PRs
Overall Success Rate: 78.9%
Full Analysis Report
Prompt Categories and Success Rates
The analysis categorized prompts based on keywords in titles and descriptions. Categories are not mutually exclusive—a single PR can belong to multiple categories.
Key Category Insights
Prompt Length Analysis
Merged PRs: Average 471 words
Closed PRs: Average 424 words
The data shows merged PRs have slightly longer prompts on average, suggesting more detailed explanations correlate with success. However, the difference is modest (about 48 words), indicating quality matters more than quantity.
Keyword Analysis
Most Common Keywords Overall
In Merged PRs:
In Closed PRs:
Distinctive Patterns
Keywords that appear significantly more often in one outcome vs another can reveal success patterns.
Keywords MORE common in MERGED PRs:
No distinctive keywords found that strongly correlate with closed PRs.
Example Prompts
✅ Successful (Merged) Prompts
1. PR #5820: Add early compilation explanation to Quick Start guide
Prompt length: 729 words
2. PR #5818: Add minItems constraint to schedule array in workflow schema
Prompt length: 694 words
3. PR #5819: Document branches/paths mutual exclusivity in workflow schema
Prompt length: 902 words
❌ Unsuccessful (Closed) Prompts
1. PR #5825: Verify strict field already exists in schema
Prompt length: 846 words
2. PR #5810: Hardcode safeinputs MCP server to port 52000 and remove API key authentication
Prompt length: 698 words
3. PR #5801: [WIP] Fix environment variable expansion for safeinputs MCP server
Prompt length: 294 words
Key Insights and Patterns
What Makes Prompts Successful?
Common Characteristics of Closed PRs
Based on the examples analyzed:
These are often closed not due to poor prompts, but because they're superseded, obsolete, or part of an iterative process.
Recommendations
✅ DO: Best Practices for Copilot Prompts
💡 INSIGHT: High Success Rate Indicates Mature Workflow
The 78.9% overall merge rate suggests:
Historical Trends
Trend: 📈 Success rate is improving (78.9% today vs 78.7% seven days ago)
References:
Beta Was this translation helpful? Give feedback.
All reactions