Skip to content

Speed up connected-components normalization - #84

Merged
eloualiche merged 3 commits into
FixedEffects:mainfrom
matthieugomez:move-components
Aug 27, 2026
Merged

Speed up connected-components normalization#84
eloualiche merged 3 commits into
FixedEffects:mainfrom
matthieugomez:move-components

Conversation

@matthieugomez

@matthieugomez matthieugomez commented Aug 27, 2026

Copy link
Copy Markdown
Member

Replace the Set-based BFS over observations with union-find over group labels: components now returns flat per-group component ids, rescale! demeans with per-component accumulators, and refsrev is gone

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@bdd9d6c). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #84   +/-   ##
=======================================
  Coverage        ?   67.73%           
=======================================
  Files           ?       12           
  Lines           ?      905           
  Branches        ?        0           
=======================================
  Hits            ?      613           
  Misses          ?      292           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matthieugomez matthieugomez changed the title Move connected-components helpers next to rescale! Speed up connected-components normalization Aug 27, 2026
@eloualiche
eloualiche merged commit 3290c4f into FixedEffects:main Aug 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants