Skip to content

decimate sankey data (~1/10th the JS for large elections)#614

Merged
artoonie merged 1 commit intomainfrom
decimate-sankey
Mar 24, 2026
Merged

decimate sankey data (~1/10th the JS for large elections)#614
artoonie merged 1 commit intomainfrom
decimate-sankey

Conversation

@artoonie
Copy link
Owner

@artoonie artoonie commented Mar 24, 2026

On a 33-round election, before this change:
image

After:
image

@artoonie artoonie changed the title decimate sankey data (actually: 1/10th the JS for large elections) decimate sankey data (~1/10th the JS for large elections) Mar 24, 2026
@codecov
Copy link

codecov bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.04%. Comparing base (59788d9) to head (d4bbce6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #614      +/-   ##
==========================================
+ Coverage   96.03%   96.04%   +0.01%     
==========================================
  Files         132      132              
  Lines        6306     6301       -5     
==========================================
- Hits         6056     6052       -4     
+ Misses        250      249       -1     
Files with missing lines Coverage Δ
visualizer/sankey/graphToD3.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 59788d9...d4bbce6. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@artoonie artoonie merged commit 5313410 into main Mar 24, 2026
8 checks passed
@artoonie artoonie deleted the decimate-sankey branch March 24, 2026 18:05
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.

1 participant