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

umputun / tg-spam / 12936419141
83%

Build:
DEFAULT BRANCH: master
Ran 23 Jan 2025 07:19PM UTC
Jobs 1
Files 19
Run time 1min
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

23 Jan 2025 07:15PM UTC coverage: 79.637% (+0.02%) from 79.617%
12936419141

push

github

umputun
Simplify iterator and force passing spam/ham samples classes in detector

This commit:
- Adds constants for spam and ham classes
- Refactors tokenIterator to readerIterator for simpler line-based parsing
- Updates tests to reflect new reader iterator behavior
- Adjusts sample loading and classification to use new constants
- Improves UpdateSpam to maintain tokenized spam samples

28 of 32 new or added lines in 1 file covered. (87.5%)

1 existing line in 1 file now uncovered.

3289 of 4130 relevant lines covered (79.64%)

84.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
90.77
0.07% lib/tgspam/detector.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.77
0.07% lib/tgspam/detector.go
Jobs
ID Job ID Ran Files Coverage
1 12936419141.1 23 Jan 2025 07:19PM UTC 19
79.64
GitHub Action Run
Source Files on build 12936419141
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4e703434 on github
  • Prev Build on master (#12773425640)
  • Next Build on master (#12936874916)
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

© 2025 Coveralls, Inc