[PR #1] [MERGED] Tune/precision from corpus #2

Closed
opened 2026-10-31 13:06:09 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lutris/lutris-antispam/pull/1
Author: @strycore
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @strycore

Base: main ← Head: tune/precision-from-corpus


📝 Commits (4)

  • b6869ad fix(rules): tune weights against the submission corpus
  • 83a5d63 feat(rules): score websites already seen in banned submissions
  • 3faee70 docs: drop the closed-source framing
  • 7fd6067 feat(rules): bundle the list of shared hosting domains

📊 Changes

16 files changed (+316 additions, -44 deletions)

View changed files

📝 README.md (+51 -8)
📝 pyproject.toml (+2 -2)
📝 src/lutris_antispam/__init__.py (+6 -4)
📝 src/lutris_antispam/_util.py (+32 -0)
📝 src/lutris_antispam/data/disposable_domains.txt (+0 -7)
➕ src/lutris_antispam/data/shared_hosting_domains.txt (+41 -0)
📝 src/lutris_antispam/engine.py (+48 -3)
📝 src/lutris_antispam/models.py (+4 -0)
📝 src/lutris_antispam/rules/__init__.py (+2 -1)
📝 src/lutris_antispam/rules/account.py (+2 -2)
📝 src/lutris_antispam/rules/content.py (+11 -4)
📝 src/lutris_antispam/rules/email.py (+27 -5)
➕ src/lutris_antispam/rules/history.py (+25 -0)
📝 src/lutris_antispam/rules/name.py (+24 -5)
📝 tests/test_engine.py (+39 -1)
📝 uv.lock (+2 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lutris/lutris-antispam/pull/1 **Author:** [@strycore](https://github.com/strycore) **Created:** 9/20/2026 **Status:** ✅ Merged **Merged:** 9/20/2026 **Merged by:** [@strycore](https://github.com/strycore) **Base:** `main` ← **Head:** `tune/precision-from-corpus` --- ### 📝 Commits (4) - [`b6869ad`](https://github.com/lutris/lutris-antispam/commit/b6869adb69f02b51bd47ca327d05d3fee01c2749) fix(rules): tune weights against the submission corpus - [`83a5d63`](https://github.com/lutris/lutris-antispam/commit/83a5d6381b8771747c68fefb08c4b493d8bf3693) feat(rules): score websites already seen in banned submissions - [`3faee70`](https://github.com/lutris/lutris-antispam/commit/3faee70945045ce47319aab99304bd0e0b05fb60) docs: drop the closed-source framing - [`7fd6067`](https://github.com/lutris/lutris-antispam/commit/7fd606742d814a33ba626a5eeadd679d84178a22) feat(rules): bundle the list of shared hosting domains ### 📊 Changes **16 files changed** (+316 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+51 -8) 📝 `pyproject.toml` (+2 -2) 📝 `src/lutris_antispam/__init__.py` (+6 -4) 📝 `src/lutris_antispam/_util.py` (+32 -0) 📝 `src/lutris_antispam/data/disposable_domains.txt` (+0 -7) ➕ `src/lutris_antispam/data/shared_hosting_domains.txt` (+41 -0) 📝 `src/lutris_antispam/engine.py` (+48 -3) 📝 `src/lutris_antispam/models.py` (+4 -0) 📝 `src/lutris_antispam/rules/__init__.py` (+2 -1) 📝 `src/lutris_antispam/rules/account.py` (+2 -2) 📝 `src/lutris_antispam/rules/content.py` (+11 -4) 📝 `src/lutris_antispam/rules/email.py` (+27 -5) ➕ `src/lutris_antispam/rules/history.py` (+25 -0) 📝 `src/lutris_antispam/rules/name.py` (+24 -5) 📝 `tests/test_engine.py` (+39 -1) 📝 `uv.lock` (+2 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 13:06:09 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lutris/lutris-antispam#2
No description provided.