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

adaptive-machine-learning / CapyMOA / 31006143951
80%

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2026 12:55PM UTC
Jobs 1
Files 179
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

05 Aug 2026 12:33PM UTC coverage: 77.396% (+0.05%) from 77.351%
31006143951

push

github

hmgomes
fix(drift): make random_seed keyword-only so leftover alpha fails loudly

Raised in review. Removing `alpha` left a hazard for the positional form:
`Drift(1000, 500, 0.1)` bound 0.1 to `random_seed` instead of raising, and
the mistake only surfaced later inside MOA as

    NumberFormatException: For input string: "0.1"

`GradualDrift(1000, 500, None, None, 0.1)` did the same. The PR text
claimed passing `alpha` raises TypeError, which was only true of the
keyword form.

`random_seed` is now keyword-only on both classes, so a leftover argument
fails at the call site. Nothing passes it positionally: the only
positional use anywhere is the first argument, and recurrent streams
rebuild drifts with `drift_cls(**drift_args)`.

AbruptDrift is unchanged -- it never had `alpha`, so its second positional
argument has always been the seed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

12 of 12 new or added lines in 2 files covered. (100.0%)

8 existing lines in 1 file now uncovered.

7899 of 10206 relevant lines covered (77.4%)

0.77 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
88.08
-0.12% src/capymoa/stream/drift.py
Jobs
ID Job ID Ran Files Coverage
1 31006143951.1 05 Aug 2026 12:55PM UTC 179
77.4
GitHub Action Run
Source Files on build 31006143951
  • Tree
  • List 179
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31006143951
  • c5030429 on github
  • Prev Build on main (#31003203324)
  • Next Build on main (#31008654011)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc