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

code-shoily / yog_ex / 088cf5e4479587ee52d760d6427456cecbf2c372
93%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 02:02AM UTC
Jobs 1
Files 117
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

10 Jun 2026 02:00AM UTC coverage: 93.071% (-0.009%) from 93.08%
088cf5e4479587ee52d760d6427456cecbf2c372

push

github

code-shoily
fix(tests): eliminate flaky community quality floors with multi-seed runs

Louvain, Leiden, and Label Propagation are all sensitive to random
node-visit ordering. A single bad seed can trap the algorithm in a
poor local optimum (e.g. Louvain NMI 0.76 on an otherwise trivial SBM).

Instead of lowering the quality floors, we now run each algorithm with
5 different random seeds and take the best NMI. This is standard
practice in community-detection evaluation and eliminates the flakiness
without weakening the regression signal.

Empirical validation (1000 seeds each):
- Louvain single-seed: 2/1000 failures at 0.85 → multi-seed: 0/500
- Leiden single-seed: 5/1000 failures at 0.85 → multi-seed: 0/500
- LPA single-seed: 1/200 failures at 0.70 → multi-seed: 0/200

Also fixes the Label Propagation property name to match its assert
(0.70, not 0.75).

10544 of 11329 relevant lines covered (93.07%)

34653.54 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.2
-0.45% lib/yog/matching.ex
Jobs
ID Job ID Ran Files Coverage
1 088cf5e4479587ee52d760d6427456cecbf2c372.1 10 Jun 2026 02:02AM UTC 117
93.07
GitHub Action Run
Source Files on build 088cf5e4479587ee52d760d6427456cecbf2c372
  • Tree
  • List 117
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 088cf5e4 on github
  • Prev Build on main (#F922F967...)
  • Next Build on main (#89C9DB2E...)
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