You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation Tasks: Cluster 7 (fix/tests) shows 81.7% success - these straightforward tasks work well. Prioritize similar well-defined, testable tasks.
Complex Refactoring: Cluster 6 (code analysis/refactoring) at 77.0% success suggests autonomous refactoring is viable. Consider expanding to more refactoring workflows.
MCP Server Tasks: Cluster 1 (MCP server) at 62.6% success with largest code changes suggests complexity. Break down MCP-related tasks into smaller, focused changes.
Workflow Standardization: With 37.4% of tasks in Cluster 4, standardize common patterns. Create templates for frequent task types to improve consistency.
Cluster-Specific Actions
Cluster 5 (CLI tasks at 68.9%): Review failed PRs to identify common failure patterns. Consider adding more specific instructions or breaking down complex tasks.
Cluster 1 (MCP server at 62.6%): High comment count (avg 5.1) suggests clarification needs. Improve initial prompt clarity or add more context. Break large tasks into incremental changes.
Methodology
Analysis Pipeline
Data Collection: Extracted 2,381 task prompts from Copilot-created pull requests
Text Processing: Cleaned and normalized prompts, removing markdown, code blocks, and noise
Vectorization: Applied TF-IDF (Term Frequency-Inverse Document Frequency) with 150 features, 1-3 word n-grams
Clustering: K-means clustering with k=8 (determined via elbow method and silhouette score)
Analysis: Extracted top keywords, success rates, and code change patterns per cluster
Cluster Interpretation
Each cluster represents a distinct type of task based on:
Semantic similarity of task prompts (TF-IDF vectors)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🔬 Copilot Agent Prompt Clustering Analysis
Daily NLP-based clustering analysis of Copilot coding agent task prompts using TF-IDF vectorization and K-means clustering.
Summary
Analysis Period: 2025-10-22 to 2025-12-26 (65 days)
Total Tasks Analyzed: 2,381
Clusters Identified: 8
Overall Success Rate: 73.1%
Average Tasks/Day: 36.6
Key Findings
Cluster Summary
Full Cluster Analysis
Cluster 4: General Updates & Issues (37.4% of tasks)
Cluster 2: Workflow Investigation (21.0% of tasks)
Cluster 3: Agentic Workflow Management (12.3% of tasks)
Cluster 5: CLI & Configuration (9.9% of tasks)
Cluster 8: Agent Instructions (6.6% of tasks)
Cluster 1: MCP Server Work (5.2% of tasks)
Cluster 7: Fixes & Tests (4.6% of tasks)
Cluster 6: Code Refactoring (3.1% of tasks)
Recommendations
Strategic Recommendations
Documentation Tasks: Cluster 7 (fix/tests) shows 81.7% success - these straightforward tasks work well. Prioritize similar well-defined, testable tasks.
Complex Refactoring: Cluster 6 (code analysis/refactoring) at 77.0% success suggests autonomous refactoring is viable. Consider expanding to more refactoring workflows.
MCP Server Tasks: Cluster 1 (MCP server) at 62.6% success with largest code changes suggests complexity. Break down MCP-related tasks into smaller, focused changes.
Workflow Standardization: With 37.4% of tasks in Cluster 4, standardize common patterns. Create templates for frequent task types to improve consistency.
Cluster-Specific Actions
Cluster 5 (CLI tasks at 68.9%): Review failed PRs to identify common failure patterns. Consider adding more specific instructions or breaking down complex tasks.
Cluster 1 (MCP server at 62.6%): High comment count (avg 5.1) suggests clarification needs. Improve initial prompt clarity or add more context. Break large tasks into incremental changes.
Methodology
Analysis Pipeline
Cluster Interpretation
Each cluster represents a distinct type of task based on:
Next Steps: This analysis will run daily to track trends, identify emerging patterns, and monitor the impact of prompt engineering improvements.
Beta Was this translation helpful? Give feedback.
All reactions