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

code-shoily / yog_ex / 39925fbaefac6c4c85179886d1cb13e1b98771cd
93%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 12:56AM 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 12:54AM UTC coverage: 92.985% (-0.01%) from 92.995%
39925fbaefac6c4c85179886d1cb13e1b98771cd

push

github

code-shoily
fix(louvain): run full hierarchical Louvain, fix dendrogram levels

Bug 1: detect/1 ran only phase 1 of Louvain. The recursive aggregation
step was implemented but never invoked from detect/1. Fixed by adding
phase2_aggregate + rebuild_state + recursive do_louvain call, then
mapping aggregated communities back to original nodes.

Bug 2: detect_hierarchical/1 stored normalized community IDs at each
level, breaking the chain of community-ID mappings across levels.
Fixed by storing raw assignments so that Dendrogram.flatten_to_original/1
can correctly compose levels back to original node IDs.

Also added Dendrogram.flatten_to_original/1 as the canonical way to
obtain a final flat partition from a hierarchical dendrogram.

Fixes #141

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

3 existing lines in 2 files now uncovered.

10406 of 11191 relevant lines covered (92.99%)

8126.33 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
94.12
-0.9% lib/yog/matching.ex
1
94.41
-0.22% lib/yog/generator/random.ex
Jobs
ID Job ID Ran Files Coverage
1 39925fbaefac6c4c85179886d1cb13e1b98771cd.1 09 Jun 2026 12:56AM UTC 117
92.99
GitHub Action Run
Source Files on build 39925fbaefac6c4c85179886d1cb13e1b98771cd
  • Tree
  • List 117
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 39925fba on github
  • Prev Build on main (#E44D1E72...)
  • Next Build on main (#C220EB59...)
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