[prompt-clustering] Copilot Agent Prompt Clustering — 2026-07-23 (1,000 PRs, 76.3% merge rate) #47549
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Agent Prompt Clustering Analysis. A newer discussion is available at Discussion #47770. |
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 window: Jul 2 → Jul 23, 2026 (last 30 days) · PRs analyzed: 1,000 (989 by
copilot-swe-agent)Outcomes: 763 merged · 234 closed · 3 open · Merge (success) rate: 76.3%
Clusters identified: 10 (silhouette-selected
k) · Cohesion: 0.043 · Avg PR body: ~1,670 charsMerge rate is flat vs yesterday (76.4% → 76.3%, −0.1pp) and sits right on the 16-day mean. The prompt population is stable and healthy — the actionable signal is concentrated in two under-performing niches (release/version-bump chores and the docs-site audit tail), not in the broad workload.
Key findings
fixtask type is 42% of all work (416 PRs) and merges at 81% — well above the 76.3% baseline. Sharply-scoped rule/lint fixes (lines / import / rulecluster) hit 84.7%, and firewall/domain-allowlist fixes (blocked / firewall / aic) top the board at 91.7%. Precise, acceptance-criteria-driven prompts convert.version / release / changes(chore/dependency bumps, 42 PRs) merges at only 54.8%, and thesite / docs / docs-siteaudit tail (21 PRs) at just 23.8% — the clear outlier. Together they are ~6% of volume but account for a disproportionate share of closures.Cluster analysis (10 clusters, ranked by size)
Silhouette by k: {4: .024, 5: .033, 6: .035, 7: .038, 8: .039, 9: .042, 10: .043}. Cohesion is intrinsically low because TF-IDF prompt space is high-dimensional; k=10 maximized separation. Themes are stable vs the 07-22 run (fix core strong, docs-site + release chores weak).
Success rate by task type (conventional-commit classification)
fixis both the largest and the highest-converting type;chore(dependency/version work) is the weakest sizeable type, reinforcing the cluster-level finding. Type classification is heuristic (title + body verbs) and independent from the 07-22 classifier, so treat type counts as a snapshot, not a day-over-day delta — the tracked, comparable trend is the overall merge rate above.Methodology & limitations
pr-data/copilot-prs.json, snapshot 2026-07-23). Prompt text extracted from the<issue_title>/<issue_description>blocks in each PR body, then stripped of code fences, HTML/tracker comments, URLs, and memory IDs.cache-memory/clustering/history.jsonl(16 comparable merge-rate points); per-day cluster snapshot cached; analyzed-PR list deduped to avoid rework.gh-aw logsmatching was possible. Report is prompt- and outcome-based only. Silhouette scores are low by construction for sparse text; clusters are directional, not hard partitions.Recommendations
workshopdocs cluster (83.3%).fixnorm.References: §29999578819
All reactions