Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support multiple area labels #78

Open
danmoseley opened this issue Jun 26, 2024 · 0 comments
Open

support multiple area labels #78

danmoseley opened this issue Jun 26, 2024 · 0 comments

Comments

@danmoseley
Copy link
Member

Unlike dotnet/runtime and dotnet/aspnetcore, dotnet/aspire issues typically have more than one area label, which works well for their context as boundaries aren't always clear and stuff sometimes straddles them. There is no expectation that the labeler apply more than one area label, but only choose what it believes the best one and apply that. The question is whether this is a problem for training.

Currently the bot appears to train based on a random one of the area labels on an issue

areaLabel = areaLabelPerhaps.Select(x => x.Name).First();

That will make its predictions relatively poor.

A possible improvement here could be to treat an issue with several area labels as an issue that appears several times in the training set, each time with one of those area labels.

cc @jeffhandley would that work

cc @RussKie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant