Skip to content

Conversation

@jpangas
Copy link
Collaborator

@jpangas jpangas commented Mar 14, 2024

Issue:
Closes #4094

Comments:
This PR introduces work the base comment model and the necessary functions to work with classifying and predicting comments.
Other specific comment models e.g spamcomment in #3994 will inherit from it.


# TODO: Classify could choke on a single bug which could make the whole
# job to fails. What should we do here?
probs = model.classify(list(comments.values()), True)
Copy link
Member

Choose a reason for hiding this comment

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

We should pass the bug here as well i.e., (bug, comment)

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.

Prepare for classification of comments

2 participants