[prompt-analysis] Copilot PR Prompt Analysis - 2026-03-23 #22379
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Copilot PR Prompt Pattern Analysis. A newer discussion is available at Discussion #22599. |
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 (2026-02-22 → 2026-03-23)
Total PRs: 1,000 | Merged: 825 (82.5%) | Closed: 173 (17.3%) | Open: 2 (0.2%)
Overall success rate has been gradually improving over the past week (+2.3 pp), reaching 82.7% today.
Prompt Categories and Success Rates
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
fix:(87.3% success rate) vsfeat:(78.3%)Example successful prompts:
PR #22377:
fix: use <strong> instead of ** bold in <summary> elements→ MergedPR #22359:
perf: eliminate hot-path regexp compilations and redundant YAML parses→ MergedPR #22361:
fix: remove required inputs from smoke-* workflows, always provide defaults→ Merged❌ Unsuccessful Prompt Patterns
The WIP signal is the strongest predictor of failure:
[WIP]vs only 2.1% of merged PRs[ ]items) have a slightly lower success rate (77.7% vs 84.3%), possibly because WIP PRs often include task checklistsExample unsuccessful prompts:
PR #22345:
[WIP] Fix agent assignment comment behavior on failure→ ClosedPR #22205:
Fix CRITICAL toolName shell injection in mcp_setup_generator.go→ ClosedPR #22244:
fix(compiler): use push-to-pull-request-branch target-repo for safe_outputs check→ ClosedKey Insights
Pattern 1 — WIP is a merge killer: PRs marked
[WIP]have a 32.1% success rate — less than half the 85.5% baseline for non-WIP PRs. Avoid using WIP status unless genuinely exploratory; prefer feature branches for work-in-progress.Pattern 2 — Bug fixes dominate and succeed: 90.2% of all PRs are bug-fix oriented (reflecting the project's iterative development phase), and they have a strong 83.2% success rate. Concrete, scoped bug reports with reproduction context perform best.
Pattern 3 — Feature and test PRs face more friction: Feature addition PRs (69.2%) and testing PRs (74.1%) have meaningfully lower success rates, suggesting these often require more iteration or discussion before merging.
Recommendations
fix:and include a clear root cause — this prefix correlates with the highest success rate (87.3%)[WIP]unless intentionally exploratory — it signals incomplete work and is strongly associated with closures (3× lower success)Historical Trends (Last 7 Days)
Trend: Steady improvement over the past week (+1.3 pp). The gradual increase suggests improved prompt quality or faster triage of non-viable PRs.
Data Notes & Methodology
copilot/*branches (last 30 days)[WIP]orWIPReferences:
Beta Was this translation helpful? Give feedback.
All reactions