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

adaptive-machine-learning / CapyMOA / 30972516188
80%

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2026 03:53AM 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 03:31AM UTC coverage: 77.269% (+0.2%) from 77.119%
30972516188

push

github

hmgomes
fix(drift): validate the DriftStream definition up front

Raised in review of #372: malformed definitions still produced silently
wrong streams.

    [generator, AbruptDrift(...)]                 -> get_num_drifts() == 1,
                                                     no drift in the CLI
    [generator, drift1, drift2, generator]        -> get_num_drifts() == 2,
                                                     only the last composed

The builder appends each Drift to self.drifts as it encounters it, before
it knows whether a concept follows, so a list that does not alternate
reports drifts that were never composed. The stream then behaves
differently from what it advertises.

The definition is now checked before anything is composed: it must be
non-empty and alternate concept, drift, concept, ... starting and ending
with a concept. Each failure names the offending position.

This replaces the inline unsupported-component guard from the previous
commit, which the pre-pass now covers, so there is one place that decides
what a valid definition is.

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

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

22 existing lines in 2 files now uncovered.

7842 of 10149 relevant lines covered (77.27%)

0.77 hits per line

Coverage Regressions

Lines Coverage ∆ File
21
88.21
4.09% src/capymoa/stream/drift.py
1
99.47
0.08% tests/test_stream.py
Jobs
ID Job ID Ran Files Coverage
1 30972516188.1 05 Aug 2026 03:53AM UTC 179
77.27
GitHub Action Run
Source Files on build 30972516188
  • 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 #30972516188
  • a515efdf on github
  • Prev Build on main (#30897223177)
  • Next Build on main (#30998004410)
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