Skip to content

test: raise coverage 48% -> 64% (collectors, scheduler, digest)#4

Merged
royavrahami merged 1 commit into
mainfrom
test/coverage-to-60
Jun 1, 2026
Merged

test: raise coverage 48% -> 64% (collectors, scheduler, digest)#4
royavrahami merged 1 commit into
mainfrom
test/coverage-to-60

Conversation

@royavrahami

Copy link
Copy Markdown
Owner

Mirror of the QA agent coverage work. Tests the I/O + orchestration layers (Arxiv/GitHub collectors, scheduler, daily-digest builders) with network/DB/LLM mocked. 48% → 64%, 97 tests (up from 78). --cov-fail-under 45 → 60.

🤖 Generated with Claude Code

Mirror of the QA agent coverage work. Add tests for the previously-untested
I/O and orchestration layers (network/DB/LLM mocked), taking real coverage
from 48% to 64% (97 tests, up from 78):

- Arxiv collector: collect_all parses + persists papers, dedup, static helpers.
- GitHub collector: trending HTML scrape + search-API JSON path, auth headers.
- Scheduler: AgentScheduler registers the job and starts (no blocking loop).
- Daily digest agent: enrichment/statistics builders + date formatting.

Raise pytest --cov-fail-under 45 -> 60 to lock in the gain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@royavrahami royavrahami merged commit 971a77e into main Jun 1, 2026
1 check passed
@royavrahami royavrahami deleted the test/coverage-to-60 branch June 1, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant