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
# Converts label_groups (which maps primary label to associated labels) to a list of lists, where the first element is the primary label and the rest are the associated labels
# Sometimes, the LLM will give us associated labels that, to put it bluntly, are not associated labels.
229
+
# For example, if the primary label is "Navigation", the LLM might give us "Usability" or "User Interface" as associated labels.
230
+
# In a case like that, "Usability" and "User Interface" are obviously more general, so will most likely have more feedbacks associated with them than "Navigation".
231
+
# One way to filter these out is to check the counts of each associated label, and compare that to the counts of the primary label.
232
+
# If the count of the associated label is >3/4 of the count of the primary label, we can assume that the associated label is not a valid associated label.
233
+
# Even if it is valid, we don't really care, it matters more that we get rid of it in the situations that it is invalid (which is pretty often).
234
+
235
+
# Stores each label as an individual label group (so a list of lists, each inside list containing a single label)
236
+
# This is done to get the counts of each label individually, so we can filter out invalid associated labels
0 commit comments