[openstreetmap/openstreetmap-website] WIP: Move spam scoring to own class (PR #6549)
Pablo Brasero
notifications at github.com
Thu Nov 20 11:49:04 UTC 2025
Closes https://github.com/openstreetmap/openstreetmap-website/issues/6510
- [x] Move spam scoring out of `RichText` into appropriate module.
- [ ] Move spam scoring out of `User` into appropriate module.
- [ ] Create DB table and model for spammy phrases.
- [ ] Use spammy phrases from table.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6549
-- Commit Summary --
* Move spam scoring to own class
-- File Changes --
M app/models/user.rb (6)
M lib/rich_text.rb (30)
A lib/spam_scorer.rb (41)
M test/lib/rich_text_test.rb (15)
A test/lib/spam_scorer_test.rb (23)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6549.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6549.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6549
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6549 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251120/20eae6cf/attachment.htm>
More information about the rails-dev
mailing list