Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Spam Detection #2854

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

HanilJain
Copy link
Contributor

Issues Solved

#2223
#2224
#2225
#2226
#2227
#2228
#2229

Screen.Recording.2024-11-04.003208.mp4

We have trained an ML model using a publicly available spam dataset, which has been integrated within an API. This model predicts whether the description or title of an issue is spam or not. If flagged as spam, the issue is marked accordingly in the system and then proceeds to a human review layer for further validation.

Copy link
Collaborator

@DonnieBLT DonnieBLT left a comment

Choose a reason for hiding this comment

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

Can you please add tests to make sure this is working?

@HanilJain
Copy link
Contributor Author

@DonnieBLT @AtmegaBuzz @arkid15r Could you please review this PR.

@HanilJain
Copy link
Contributor Author

Can you please add tests to make sure this is working?

Add the tests for it.
@DonnieBLT could you please check

@DonnieBLT
Copy link
Collaborator

@HanilJain please check slack.

Copy link
Collaborator

Choose a reason for hiding this comment

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

can delete this

@@ -2207,3 +2208,19 @@ def get_context_data(self, **kwargs):
context["screenshots"] = IssueScreenshot.objects.filter(issue=self.object).all()

return context


class SpamDetection(View):
Copy link
Collaborator

Choose a reason for hiding this comment

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

this can move over to issue.py now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants