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

umputun / newscope
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/sashabaranov/go-openai-1.41.2
DEFAULT BRANCH: master
Repo Added 29 Jun 2025 08:22PM UTC
Token B1ANRvmViJzhtlBIzE15bImi0zjBKBfCt regen
Build 52 Last
Files 24
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

LAST BUILD ON BRANCH feature/ai-classification-improvements
branch: feature/ai-classification-improvements
CHANGE BRANCH
x
Reset
Sync Branches
  • feature/ai-classification-improvements
  • add-claude-github-actions-1754853952019
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/go_modules/github.com/go-pkgz/rest-1.20.4
  • dependabot/go_modules/github.com/sashabaranov/go-openai-1.40.5
  • dependabot/go_modules/github.com/sashabaranov/go-openai-1.41.0
  • dependabot/go_modules/github.com/sashabaranov/go-openai-1.41.1
  • dependabot/go_modules/github.com/sashabaranov/go-openai-1.41.2
  • dependabot/go_modules/golang.org/x/net-0.42.0
  • dependabot/go_modules/golang.org/x/net-0.43.0
  • dependabot/go_modules/golang.org/x/net-0.44.0
  • dependabot/go_modules/golang.org/x/sync-0.16.0
  • dependabot/go_modules/golang.org/x/sync-0.17.0
  • dependabot/go_modules/modernc.org/sqlite-1.38.1
  • feat/summary-validation-theme-toggle
  • feature/multi-user-auth
  • master

08 Aug 2025 12:08AM UTC coverage: 81.124% (-0.04%) from 81.162%
16818656031

Pull #14

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.
Pull Request #14: feat(llm): implement batch processing for AI classification with 90% cost reduction

100 of 124 new or added lines in 2 files covered. (80.65%)

3623 of 4466 relevant lines covered (81.12%)

28.17 hits per line

Relevant lines Covered
Build:
Build:
4466 RELEVANT LINES 3623 COVERED LINES
28.17 HITS PER LINE
Source Files on feature/ai-classification-improvements
  • Tree
  • List 24
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16818656031 feature/ai-classification-improvements 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 accura... Pull #14 08 Aug 2025 12:13AM UTC umputun github
81.12
16818615022 feature/ai-classification-improvements 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 accura... push 08 Aug 2025 12:10AM UTC umputun github
81.17
See All Builds (39)

Badge your Repo: newscope

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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