[prompt-analysis] Copilot PR Prompt Analysis - 2026-03-04 #19504
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-03-05T05:00:29.593Z.
|
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 (top 1000 PRs from
copilot/*branches)Total PRs: 1,000 | Merged: 772 (77.5%) | Closed: 224 (22.5%) | Open: 4
The overall success rate has been steadily improving over the past week (from 71.5% on Feb 24 to 77.5% today). The biggest differentiator between successful and unsuccessful PRs is whether they are marked
[WIP]— WIP PRs succeed only 33% of the time versus 83% for non-WIP PRs.Prompt Categories and Success Rates
Prompt Analysis
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
START COPILOT ORIGINAL PROMPT): 82% of merged PRs used issue-template promptsTop keywords in merged PRs:
workflow,github,safe,update,test,copilot,output,agent,actions,validation,engineExample successful prompts:
PR #19499 — fix: suppress stderr in get_current_branch.cjs when outside a git repo → Merged
PR #19498 — refactor: extract common CLI install/build codegen → Merged
PR #19466 — create_pull_request: create fallback issue on permission failure → Merged
❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
[WIP]labeled at time of closing (vs 4% in merged)plan,progress,thanks,form,starting,asking,assigning— all from the agent's early-stage boilerplateExample closed PRs:
PR #19386 — [WIP] Investigate CI failure in run [deep-report] Unify AntigravityResponse and GeminiResponse into a shared EngineJSONResponse struct #38646 → Closed
PR #18869 — [WIP] Fix error handling in generate_git_patch.cjs → Closed
PR #19434 — feat(checkout): add
namefield to CheckoutConfig → Closed (superseded by retry)Key Insights
[WIP]label is the strongest failure predictor: WIP PRs have a 33% merge rate vs 83% for non-WIP. The majority of closed non-WIP PRs were later superseded by improved retries (4 title matches found between closed and merged).START COPILOT ORIGINAL PROMPTsection) have an 84% success rate vs 78% for direct prompts. Structured issue context helps the agent produce better PRs.Recommendations
Based on today's analysis:
`pkg/workflow/compiler.go`). This single characteristic is present in 93% of merged PRs.update,refactor, ortestframing when applicable — these categories achieve 88–91% success rates, above the 77.5% average.[WIP]investigations — PRs with[WIP]in the title succeed only 33% of the time. If you need to investigate, do so in an issue first, then create a focused PR with a clear, actionable prompt.Historical Trends
Trend: Success rate has risen +6 points over the past 8 days (71.5% → 77.5%), representing ~57 additional merged PRs per 1000. The improvement appears consistent and not attributable to a single day's outlier.
References: §22655686504
All reactions