Prompt Clustering: add mandatory root-cause drilldown for low-merge outlier clusters - #51141
Merged
Merged
Conversation
… report Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate low merge rate of image/container/digest Copilot PRs
Prompt Clustering: add mandatory root-cause drilldown for low-merge outlier clusters
Aug 7, 2026
pelikhan
marked this pull request as ready for review
August 7, 2026 17:29
Contributor
There was a problem hiding this comment.
Pull request overview
Adds mandatory root-cause analysis for statistically significant low-merge prompt clusters.
Changes:
- Defines outlier thresholds and blocker taxonomy.
- Adds evidence, comparison, and mitigation reporting requirements.
- Extends the report template and success criteria.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/prompt-clustering-analysis.md |
Adds outlier investigation and reporting instructions. |
.github/workflows/prompt-clustering-analysis.lock.yml |
Updates the compiled workflow body hash. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Suppressed comments (1)
.github/workflows/prompt-clustering-analysis.md:595
- The investigation phase requires three concrete mitigation actions, while the report template requests only one outlier recommendation. Agents following the template can therefore omit two required mitigations. Provide three dedicated outlier mitigation slots.
4. **[Outlier Cluster Recommendation]**: [Action specifically targeting the lowest-merge cluster blocker]
- Files reviewed: 2/2 changed files
- Comments generated: 4
- Review effort level: Balanced
Comment on lines
+367
to
+368
| 2. Use full PR data (`comments`, `reviews`, `reviewDecision`, changed files) to classify merge blockers per PR into categories: | ||
| - CI/test failure (including container/image build failures) |
| 2. **[Finding 2]**: [Description and data supporting this finding] | ||
| 3. **[Finding 3]**: [Description and data supporting this finding] | ||
|
|
||
| ### Lowest-Merge Cluster Root Cause |
Comment on lines
+581
to
+586
| | Blocker Category | Count | Share | Notes | | ||
| |------------------|-------|-------|-------| | ||
| | CI/test failure | X | Y% | [notable failure pattern] | | ||
| | Review friction | X | Y% | [notable review concern] | | ||
| | Scope mismatch | X | Y% | [complexity signal] | | ||
| | Other/unknown | X | Y% | [notes] | |
| - **Merge Rate Gap**: [cluster rate]% vs [overall rate]% (gap: [X] points) | ||
| - **Primary Blocker**: [CI failures / review friction / scope mismatch / other] | ||
| - **Confidence**: [high/medium/low] | ||
| - **Evidence PRs**: #[id], #[id], #[id] |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This was referenced Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The prompt-clustering workflow identified cluster-level merge-rate variance but did not require a blocker analysis for low-performing clusters. This left outlier clusters (notably image/container/digest-themed groups) without a concrete, evidence-backed root cause.
Root-cause trigger for outlier clusters
>=15 PRs)>=10 percentage points below overall)New investigation phase (Phase 4.5)
comments,reviews,reviewDecision, changed files).Report output upgrades