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

umputun / newscope / 16818615022 / 1
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/go-pkgz/rest-1.20.6
DEFAULT BRANCH: master
Ran 08 Aug 2025 12:10AM UTC
Files 24
Run time 1s
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

08 Aug 2025 12:08AM UTC coverage: 81.169% (+0.007%) from 81.162%
16818615022.1

push

github

umputun
feat(llm): implement batch processing for AI classification with 90% cost reduction

- Add configurable batch processing with size (default: 10) and timeout (default: 5s)
- Remove 500-character content truncation for improved classification accuracy
- Update OpenAI library from v1.40.3 to v1.40.5 and upgrade model to gpt-5
- Implement ProcessBatch method in FeedProcessor for efficient batch handling
- Add comprehensive token usage monitoring and logging for cost tracking
- Fix async test patterns using require.Eventually instead of time.Sleep
- Add setupBasicItemManagerMocks helper to reduce test code duplication
- Update integration tests to handle asynchronous batch processing properly

The batch processing reduces API calls from ~50 individual calls to 2-3 batch calls
for the same number of articles, providing significant cost savings while maintaining
classification quality through full article content analysis.

3625 of 4466 relevant lines covered (81.17%)

28.18 hits per line

Source Files on job 16818615022.1
  • Tree
  • List 24
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16818615022
  • 3a4417b3 on github
  • Prev Job for on feature/ai-classification-improvements (#15965969137.1)
  • Delete
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