Anonymous View
Skip to content

fix classification of questions#7051

Merged
escattone merged 1 commit into
mozilla:mainfrom
escattone:fix-classify-2650
Nov 17, 2025
Merged

fix classification of questions#7051
escattone merged 1 commit into
mozilla:mainfrom
escattone:fix-classify-2650

Conversation

@escattone

Copy link
Copy Markdown
Contributor

mozilla/sumo#2650

Notes

  • Adds "action": ModerationAction.NOT_SPAM to the not-spam path in classify_question(), and removes the if "action" not in result: code , because now all paths always return an action.
  • Removes unnecessary if "action" not in result: code from classify_zendesk_submission(), since all paths always return an action.

@escattone escattone merged commit 67853cc into mozilla:main Nov 17, 2025
2 checks passed
@escattone escattone deleted the fix-classify-2650 branch November 17, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants