Skip to content

Commit 8471702

Browse files
Copilotpelikhan
andauthored
fix(workflow): normalize report formatting in prompt-clustering-analysis (#21915)
* Initial plan * fix: normalize report formatting in prompt-clustering-analysis workflow - Remove H1 header from report template body (title goes in title field) - Downgrade H2 (##) to H3 (###) for all section headers - Update cluster sub-headers from ### to #### (nested under ### Cluster Analysis) - Add bold formatting to <summary> tag: <summary><b>Full Analysis Report</b></summary> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/gh-aw/sessions/26cf2ac6-cde8-4a6e-a4b1-2953a960ce77 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
1 parent 906c3e7 commit 8471702

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/prompt-clustering-analysis.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -488,30 +488,26 @@ Create a comprehensive discussion report with:
488488
**Report Template**:
489489

490490
```markdown
491-
# 🔬 Copilot Agent Prompt Clustering Analysis - [DATE]
492-
493-
Daily NLP-based clustering analysis of copilot agent task prompts.
494-
495-
## Summary
491+
### Summary
496492

497493
**Analysis Period**: Last 30 days
498494
**Total Tasks Analyzed**: [count]
499495
**Clusters Identified**: [count]
500496
**Overall Success Rate**: [percentage]%
501497

502498
<details>
503-
<summary>Full Analysis Report</summary>
499+
<summary><b>Full Analysis Report</b></summary>
504500

505-
## General Insights
501+
### General Insights
506502

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

512-
## Cluster Analysis
508+
### Cluster Analysis
513509

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

524520
---
525521

526-
### Cluster 2: [Theme/Description]
522+
#### Cluster 2: [Theme/Description]
527523
...
528524

529-
## Success Rate by Cluster
525+
### Success Rate by Cluster
530526

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

537-
## Full Data Table
533+
### Full Data Table
538534

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

545-
## Key Findings
541+
### Key Findings
546542

547543
1. **[Finding 1]**: [Description and data supporting this finding]
548544
2. **[Finding 2]**: [Description and data supporting this finding]
549545
3. **[Finding 3]**: [Description and data supporting this finding]
550546

551-
## Recommendations
547+
### Recommendations
552548

553549
Based on clustering analysis:
554550

0 commit comments

Comments
 (0)