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

code-shoily / yog_ex / 4ad43d2c8f092f09803c65e3175dbd296d858b2f
93%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 01:26AM 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

09 Jun 2026 01:18AM UTC coverage: 93.034% (+0.01%) from 93.024%
4ad43d2c8f092f09803c65e3175dbd296d858b2f

push

github

code-shoily
fix(girvan-newman): default to modularity-maximizing partition

GirvanNewman.detect/1 with default options was returning the last
dendrogram level, which is the trivial all-singletons partition
(because GN is divisive and removes all edges). This produced negative
modularity on typical graphs.

Fixed the nil branch of detect_with_options/2 to select the
modularity-maximizing level across the dendrogram, matching the
canonical GN stopping criterion and Walktrap's fix pattern.

Updated docstrings and the moduledoc example to reflect the new
modularity-optimal default.

Fixes #138

3 of 4 new or added lines in 1 file covered. (75.0%)

10444 of 11226 relevant lines covered (93.03%)

8023.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
88.71
0.19% lib/yog/community/girvan_newman.ex
Jobs
ID Job ID Ran Files Coverage
1 4ad43d2c8f092f09803c65e3175dbd296d858b2f.1 09 Jun 2026 01:26AM UTC 117
93.03
GitHub Action Run
Source Files on build 4ad43d2c8f092f09803c65e3175dbd296d858b2f
  • Tree
  • List 117
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4ad43d2c on github
  • Prev Build on main (#23261B86...)
  • Next Build on main (#2DEF48A2...)
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