Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bugbot/rules/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def meets_threshold(bug_data):
confidence = data["prob"][data["index"]]

if confidence > self.fenix_confidence_threshold:
data["class"] = f"Fenix::{data['class']}"
if data["class"] == "General":
data["class"] = "GeckoView::General"
else:
data["class"] = f"Fenix::{data['class']}"
Comment on lines -131 to +134
Copy link
Member

Choose a reason for hiding this comment

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

@benjaminmah is this still relevant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Based on the conversation with Marco here: mozilla/bugbug#4682 (comment), we can leave as it is. However, I was under the impression that we wanted the Fenix model to move bugs to GeckoView as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@suhaibmujahid I was thinking we could just close this PR for now. WDYT?

bugs[bug_id] = data

results = {}
Expand Down