You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic in bug_to_types could be refactored to better fit our use case. These are the main points:
It would be best to avoid creating models that depend on each other. If there is a need to modify the logic in the bugtype model, it might not be apparent that other models will be affected. Therefore, it is better to keep the common logic separate from the model file.
We don't need to check all types in this case, just the performance type. So, we can split the function and only use the part that detects if the bug is related to performance.
Originally posted by @suhaibmujahid in #3895 (comment)
The text was updated successfully, but these errors were encountered: