-
Notifications
You must be signed in to change notification settings - Fork 307
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
Extract the logic to identify bug types into individual feature classes #3907
Conversation
…e` into a new function, `is_performance_related`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @PromiseFru! Could you please modify the PR description to mention "Address part of:" instead of "Fixes:"? The scope of the issue is not limited to the performance part. Anyway, we can limit this PR to do the performance part for now.
…d it to `bugbug/bug_features.py`
bugtype model file
into a new function, is_performance_related
bugtype model file
into a new function, is_performance_bug
…pe-specific functions.
bugtype model file
into a new function, is_performance_bug
bug_to_types
to infer_bug_types
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @PromiseFru! It look good, I just have some variable name suggestions to improve the readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! LGTM!
Could you please check the model accuracy metrics before and after the refactoring? They should be in the same range.
bug_to_types
to infer_bug_types
I cannot obtain the performance metrics similar to the situation encountered here. Training before refactoring
Training after refactoring
|
…_bug_features.py`
Resolves: #3900