[prompt-analysis] Copilot PR Prompt Analysis - 2026-04-04 #24445
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Copilot PR Prompt Pattern Analysis. A newer discussion is available at Discussion #24672. |
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 | Total PRs: 1,000 | Merged: 829 (83.1%) | Closed: 169 (16.9%) | Open: 2
Overall, Copilot PRs in this repository have a strong 83.1% merge rate, consistent with previous analysis runs (83.5% on Apr 1, 82.5% on Apr 2).
Prompt Categories and Success Rates
Prompt Pattern Analysis
✅ Successful Prompt Patterns
Characteristics of merged PRs:
fix:,feat:,chore:,refactor:prefixes vs only 39.1% of closed PRs — a 19.6 percentage point advantageExample merged PRs:
fix: format pkg/cli/remote_workflow_test.go with go fmt→ Merged — Specific file, clear actionchore: Bump AWF firewall version to v0.25.11→ Merged — Version bump with clear contextci-doctor: remove workflow_run, stop-after, and if→ Merged — Targeted changes enumerated❌ Unsuccessful Prompt Patterns
Characteristics of closed PRs:
[WIP]prefix: Multiple closed PRs use[WIP]in the title indicating incomplete work- [ ]checklists (8x more than merged), suggesting the agent left tracking-style content in PR bodies instead of focused descriptionsExample closed PRs:
Completing task→ Closed — Generic, no actionable contextNo-op: CLI version tracking — Claude Code 2.1.92, Copilot CLI 1.0.18→ Closed — No actual code change[WIP] Rename 'Checkout code' to 'Checkout repository'→ Closed — Work-in-progress stateKey Insights
fix:,feat:,chore:etc. achieve 58.7% adoption among merged PRs vs 39.1% in closed PRs. When the workflow prompt explicitly requests conventional commit style, merge rates improve noticeably.- [ ]) in the PR body is an 8x stronger signal of a closed PR than a merged one — these appear in PRs where the agent tracked its own tasks rather than describing the actual change.Recommendations
fix:,feat:,chore:,refactor:) — this is the single strongest predictor of success[WIP]prefix — commit work-in-progress only when ready for review- [ ] step 1,- [ ] step 2) — these indicate agent confusion rather than clear change descriptionsHistorical Trends
Trend: The 30-day merge rate has stabilized in the 82–84% range. The slight uptick today (+0.6pp from Apr 2) suggests no significant regression. The ratio of conventional-commit-titled PRs continues to differentiate merged from closed consistently across all analysis runs.
View Full Category Breakdown
add,implement,createkeywordsupgrade,bump,migratereadme,documentView Methodology Notes
Data Source: Pre-fetched
copilot/*branch PRs from the last 30 days (1,000 PRs total).Categorization: Keyword-based classification of PR titles + bodies. Due to the automated prompt template used in this repository, most PRs contain broad keywords (fix, resolve, error) which biases toward the
bug_fixcategory.Conventional commit detection: Regex match on
^(fix|feat|chore|refactor|docs|test|ci|build|perf|style|revert)(\(.+\))?:in PR title.Checklist detection: Presence of
- [pattern in PR body.References:
Beta Was this translation helpful? Give feedback.
All reactions