Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 10 additions & 14 deletions .github/workflows/prompt-clustering-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,30 +488,26 @@ Create a comprehensive discussion report with:
**Report Template**:

```markdown
# 🔬 Copilot Agent Prompt Clustering Analysis - [DATE]

Daily NLP-based clustering analysis of copilot agent task prompts.

## Summary
### Summary

**Analysis Period**: Last 30 days
Comment on lines +491 to 493
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description says only the H1 title line was removed from the report body, but this change also removes the introductory sentence (“Daily NLP-based clustering analysis of copilot agent task prompts.”). Either re-add that intro line (without using an H1) or update the PR description to reflect that the intro text is intentionally being dropped.

Copilot uses AI. Check for mistakes.
**Total Tasks Analyzed**: [count]
**Clusters Identified**: [count]
**Overall Success Rate**: [percentage]%

<details>
<summary>Full Analysis Report</summary>
<summary><b>Full Analysis Report</b></summary>

## General Insights
### General Insights

- **Most Common Task Type**: [cluster description]
- **Highest Success Rate**: [cluster with best success rate]
- **Most Complex Tasks**: [cluster with most turns/highest complexity]
- **Outliers**: [number of outlier tasks identified]

## Cluster Analysis
### Cluster Analysis

### Cluster 1: [Theme/Description]
#### Cluster 1: [Theme/Description]
- **Size**: X tasks ([percentage]% of total)
- **Success Rate**: [percentage]%
- **Average Turns**: [number]
Expand All @@ -523,32 +519,32 @@ Daily NLP-based clustering analysis of copilot agent task prompts.

---

### Cluster 2: [Theme/Description]
#### Cluster 2: [Theme/Description]
...

## Success Rate by Cluster
### Success Rate by Cluster

| Cluster | Tasks | Success Rate | Avg Turns | Top Keywords |
|---------|-------|--------------|-----------|--------------|
| 1 | 15 | 87% | 3.2 | refactor, cleanup |
| 2 | 12 | 75% | 4.1 | bug, fix, error |
| 3 | 8 | 100% | 2.5 | docs, update |

## Full Data Table
### Full Data Table

| PR # | Title | Cluster | Outcome | Turns | Keywords |
|------|-------|---------|---------|-------|----------|
| 123 | Fix bug in parser | 2 | Merged | 4 | bug, fix, parser |
| 124 | Update docs | 3 | Merged | 2 | docs, update |
| 125 | Refactor logger | 1 | Merged | 3 | refactor, logger |

## Key Findings
### Key Findings

1. **[Finding 1]**: [Description and data supporting this finding]
2. **[Finding 2]**: [Description and data supporting this finding]
3. **[Finding 3]**: [Description and data supporting this finding]

## Recommendations
### Recommendations

Based on clustering analysis:

Expand Down
Loading