• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / tg-spam / 12685978355
80%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.23.3
DEFAULT BRANCH: master
Ran 09 Jan 2025 08:15AM UTC
Jobs 1
Files 19
Run time 138min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jan 2025 08:12AM UTC coverage: 79.521% (+0.2%) from 79.323%
12685978355

Pull #220

github

umputun
Implement message removal for spam and ham samples

- Add `Remove` method to `SampleUpdater` interface for deleting messages from sample storage.
- Update `Detector` to support unlearning of samples upon their removal.
- Modify tests to include scenarios for removing messages and verifying probability consistency.
- Refactor `SpamFilter` to use new `RemoveHam` and `RemoveSpam` methods in detector.
- Ensure message-related operations are executed with proper context and error handling.
Pull Request #220: Classifier unlearn

80 of 90 new or added lines in 5 files covered. (88.89%)

48 existing lines in 2 files now uncovered.

3223 of 4053 relevant lines covered (79.52%)

84.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.72
0.62% app/storage/samples.go
2
98.47
-1.53% lib/tgspam/classifier.go
7
90.6
-0.99% lib/tgspam/detector.go

Uncovered Existing Lines

Lines Coverage ∆ File
5
93.42
1.02% app/bot/spam.go
43
82.72
0.62% app/storage/samples.go
Jobs
ID Job ID Ran Files Coverage
1 12685978355.1 09 Jan 2025 08:15AM UTC 19
79.52
GitHub Action Run
Source Files on build 12685978355
  • Tree
  • List 19
  • Changed 6
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #220
  • PR Base - master (#12679596850)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc