Skip to content

Enhance triage skills with updated scoring, confidence, and P-scale labels#6294

Open
lauren-ciha wants to merge 11 commits intomainfrom
user/laurenciha/weekly-sync-scoring
Open

Enhance triage skills with updated scoring, confidence, and P-scale labels#6294
lauren-ciha wants to merge 11 commits intomainfrom
user/laurenciha/weekly-sync-scoring

Conversation

@lauren-ciha
Copy link
Member

@lauren-ciha lauren-ciha commented Mar 12, 2026

This PR builds upon the issue-triage and feature-area-report skills.

The key changes are:

  • Added a Validate-FeatureAreaReport.ps1 that checks the report against the live GitHub label data using gh cli
  • Updated contacts.json to include a list of contacts rather than a primary/secondary contact
  • Updated scoring for issue priority to give further weight to community feedback
  • Updated "P-rating" priority rankings
  • Added confidence scoring to each part of the skill

Copy link
Contributor

@guimafelipe guimafelipe left a comment

Choose a reason for hiding this comment

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

As this is a script that we use internally, I don't think any of my comments should be blocking. But maybe they will help making this overall process more maintainable and consistent.

Feel free to take them as suggestions.


Normalized Score = (Total Score / 100) × 100
Total Score = Reactions + Age + Comments + Severity
= 30 + 30 + 30 + 10 = 100 max
Copy link
Contributor

Choose a reason for hiding this comment

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

I would like to review that later. I feel like severity should have a way bigger impact on the score. If we have a security issue, we want to act on it ASAP regardless of reactions, comments and age.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm going to loop in @ssparach on this one. I'm open to updating the criteria.

Copy link
Contributor

Choose a reason for hiding this comment

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

Severity handling needs to be adjusted. Once severity is appropriately tracking actual security and data loss issues, its weight can be increased to reflect their higher priority

Comment on lines +175 to +186
$defaultKeywords = @{
'area-Notifications' = @('notification', 'toast', 'badge', 'push', 'appnotification', 'pushnotification', 'wns')
'area-Packaging' = @('msix', 'package', 'deploy', 'install', 'appx', 'deployment')
'area-Windowing' = @('window', 'appwindow', 'titlebar', 'backdrop', 'presenter')
'area-Widgets' = @('widget', 'dashboard')
'area-AppLifecycle' = @('lifecycle', 'activation', 'restart', 'single instance', 'appinstance')
'area-PowerManagement' = @('power', 'battery', 'suspend', 'resume', 'powermanager')
'area-MRTCore' = @('resource', 'mrt', 'localization', 'pri', 'resourcemanager')
'area-DWriteCore' = @('font', 'dwrite', 'text', 'typography')
'area-AccessControl' = @('access', 'security', 'token', 'permission')
'area-Environment' = @('environment', 'variable', 'env')
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this go in the json file too?

Copy link
Member Author

@lauren-ciha lauren-ciha Mar 25, 2026

Choose a reason for hiding this comment

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

Great question! I think instead of having the defaults here, we should rely on the output of .github\skills\triage-meeting-prep\scripts\Get-RepositoryLabels.ps1. I'll update those shortly.

| None of above | 0 |
| Severity Tier | Labels | Score |
|---------------|--------|-------|
| Critical | `regression`, `crash`, `hang`, `data-loss`, `security`, `P0` | 10 |
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we plan to add labels for crash, hang, and data loss and some others? These labels do not exist today.
Also, regarding the security label, the skill is currently referencing area-security, which is intended to track bugs related to OAuth2Manager APIs. Severity falls outside that scope, so a different area label should be used here. Happy to align on which label makes the most sense. Thanks!

# area-Notifications covers all notification types (toast, badge, push, app notifications)
$defaultKeywords = @{
'area-Notifications' = @('notification', 'toast', 'badge', 'push', 'appnotification', 'pushnotification', 'wns')
'area-Packaging' = @('msix', 'package', 'deploy', 'install', 'appx', 'deployment')
Copy link
Contributor

Choose a reason for hiding this comment

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

Keywords such as msix and appxdeployment would be more appropriate for the area-PackageManagement label.

'area-PowerManagement' = @('power', 'battery', 'suspend', 'resume', 'powermanager')
'area-MRTCore' = @('resource', 'mrt', 'localization', 'pri', 'resourcemanager')
'area-DWriteCore' = @('font', 'dwrite', 'text', 'typography')
'area-AccessControl' = @('access', 'security', 'token', 'permission')
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like the area-AccessControl and area-Environment labels do not currently exist. We may want to align on the appropriate existing area labels instead for keyword mapping.

…abels

Scoring System:
- New weights: reactions=30%, age=30%, comments=30%, severity=10%
- P-scale severity labels: P0=critical, P1=high, P2=medium, P3=low
- Confidence scoring with grep-friendly [confidence:XX] format (0-100)

Label Consolidation:
- Merged Hot + Popular into Popular (>=5 reactions threshold)

Contact Schema:
- Simplified from {primary, secondary} to single {contact} field
- Removed legacy schema backward compatibility

Area Suggestions:
- Get-IssueDetails.ps1 dynamically fetches area labels via Get-RepositoryLabels.ps1
- area-Notifications covers all notification types (toast, badge, push, wns)
- Fixed area-PowerManagement naming

Documentation:
- Added PowerShell examples alongside Bash for confidence filtering
- Updated all SKILL.md files with new configuration details
@lauren-ciha lauren-ciha force-pushed the user/laurenciha/weekly-sync-scoring branch 2 times, most recently from 1fcc9b3 to c0833b4 Compare March 25, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants