[prompt-clustering] Copilot Agent Prompt Clustering Analysis — 1,000 PRs, Last 30 Days #45974
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Copilot Agent Prompt Clustering Analysis. A newer discussion is available at Discussion #46203. |
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: PRs created 2026-06-26 → 2026-07-16 (last 30 days)
Total Copilot PRs Analyzed: 1,000 (
app/copilot-swe-agent)Clusters Identified: 8 (TF-IDF + K-means, k selected by silhouette)
Outcome mix: 649 merged · 194 closed · 157 still open
Overall merge rate: 64.9% (all PRs) — 77.0% among the 843 already-resolved PRs
The Copilot coding agent's work over the last month splits into eight recurring task families. The single largest is core agent-runtime & safe-outputs plumbing (41% of all PRs). The most reliably-merged work is small, targeted config tuning (Sous-Chef / sub-agent, 79% merged, ~2 files); the least reliable is version/dependency bumps (50% merged) — not because they're hard, but because they drag huge regenerated diffs (avg ~124 files touched).
Key Findings
[WIP]PRs remain in flight — concentrated in CI-failure-fixing and the agent-runtime cluster.Full Analysis Report
Methodology
app/copilot-swe-agent, full metadata (body, comments, reviews, commits, files) pre-fetched per PR.gh,aw,workflow,fix,add, ...), then TF-IDF (uni+bigrams,min_df=3,max_df=0.6, sublinear).gh-aw logsturn-counts do not apply here (Copilot's coding agent is a distinct system from gh-aw engines), so commit count and files changed stand in for iteration/scope. This is noted as a limitation.General Insights
Cluster Summary
Cluster Detail
Agent runtime & safe-outputs — 411 PRs, 63.7% merged. Core engine plumbing: safe-output handlers, job/step wiring, token minting, harness fail-fast. The default bucket where most day-to-day fixes land. Example: #45827 fast-fail copilot harness on LLM cap.
Refactor into shared helpers — 171 PRs, 68.4% merged. Splitting large functions, extracting packages, adding focused tests. Low scope (12.6 files), healthy merge rate. Example: #45635 split a 430-line function.
Docs, prompts & instructions — 146 PRs, 63.7% merged. Documentation, frontmatter, prompt/instruction-file edits. Fewest commits (2.82). Example: #45826
maxLengthexemption in schema docs.CLI & engine features — 90 PRs, 71.1% merged. New CLI flags, engine bootstrap flows, feature frontmatter. Highest iteration (7.6 commits) — feature work needs the most back-and-forth. Example: #45831
--createbootstrap flow.ESLint rule factory — 62 PRs, 61.3% merged. Surgical, single-purpose lint-rule work; smallest scope (4.8 files). Example: #44706.
Version / dependency bumps — 60 PRs, 50.0% merged (lowest). Bumping CLI/MCP/action versions and regenerating compiled workflows → enormous diffs (avg 124 files). The churn, not the intent, drives closures. Example: #45832 touched 279 files.
Sous-Chef & sub-agent tuning — 43 PRs, 79.1% merged (highest). Small nudge-heuristic and sub-agent model/config tweaks. Tight scope + clear intent = best conversion. Example: #43888.
CI job failure fixes — 17 PRs, 64.7% merged. Auto-generated
[WIP] Fix failing GitHub Actions job ...PRs; tiny diffs (4.5 files). Example: #45935.Representative PRs
repositories: ["*"]in token minting--createrepository bootstrap flowRecommendations
Generated by Prompt Clustering Analysis · methodology: TF-IDF + K-means (k=8, silhouette 0.031, thematic) · complexity via commit/file proxies (gh-aw turn-logs N/A for Copilot agent) · Run: §29490568873
Beta Was this translation helpful? Give feedback.
All reactions