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

fix: Add gyat to DefaultProfanities #96

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Conversation

jasonuc
Copy link
Contributor

@jasonuc jasonuc commented Oct 3, 2024

Summary

  • Added a new word to DefaultProfanities to improve profanity detection.
  • Implemented a test case to validate the addition of the new word.
  • Updated falsenegatives.go to include the missing word.
Word
  • gyat

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • [ - ] Updated documentation in README.md, if applicable (ensure any new functionality or word lists are described).

Add new word to the DefaultProfanities slice in profanities.go: "gyat". Update one comment in falsenegatives.go to add missing word "matter".
@jasonuc jasonuc changed the title Update/profanities: Add new word to DefaultProfanities update/profanities: Add new word to DefaultProfanities Oct 3, 2024
@jasonuc jasonuc marked this pull request as draft October 3, 2024 18:47
@jasonuc jasonuc marked this pull request as ready for review October 3, 2024 18:48
@jasonuc jasonuc marked this pull request as draft October 17, 2024 15:39
@jasonuc jasonuc force-pushed the update/profanities branch from 26d2114 to 704362e Compare October 17, 2024 15:52
@jasonuc jasonuc marked this pull request as ready for review October 17, 2024 15:54
@TwiN TwiN changed the title update/profanities: Add new word to DefaultProfanities fix: Add gyat to DefaultProfanities Oct 18, 2024
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b25edf1) to head (704362e).
Report is 2 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #96   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          167       189   +22     
=========================================
+ Hits           167       189   +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TwiN TwiN merged commit 9fd1d22 into TwiN:master Oct 18, 2024
1 check passed
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.

3 participants