@@ -88,7 +88,8 @@ def get_bugs(self, date="today", bug_ids=[]):
8888 def meets_threshold (bug_data ):
8989 threshold = (
9090 self .general_confidence_threshold
91- if bug_data ["class" ] == "Fenix" or bug_data ["class" ] == "General"
91+ if bug_data ["class" ] == "Firefox for Android"
92+ or bug_data ["class" ] == "General"
9293 else self .component_confidence_threshold
9394 )
9495 return bug_data ["prob" ][bug_data ["index" ]] >= threshold
@@ -112,12 +113,12 @@ def meets_threshold(bug_data):
112113 # security bug.
113114 continue
114115 if meets_threshold (bug_data ):
115- if bug_data .get ("class" ) == "Fenix " :
116+ if bug_data .get ("class" ) == "Firefox for Android " :
116117 fenix_general_bug_ids .append (bug_id )
117118 else :
118119 current_bug_data = raw_bugs [bug_id ]
119120 if (
120- current_bug_data ["product" ] == "Fenix "
121+ current_bug_data ["product" ] == "Firefox for Android "
121122 and current_bug_data ["component" ] == "General"
122123 ):
123124 fenix_general_bug_ids .append (bug_id )
@@ -134,7 +135,7 @@ def meets_threshold(bug_data):
134135 confidence > self .fenix_confidence_threshold
135136 and data ["class" ] != "General"
136137 ):
137- data ["class" ] = f"Fenix ::{ data ['class' ]} "
138+ data ["class" ] = f"Firefox for Android ::{ data ['class' ]} "
138139 bugs [bug_id ] = data
139140
140141 results = {}
0 commit comments