Commit c5a4b6d
Use sqrt(n) binning for scalar histograms in bedset aggregation
Match the client-side collection histogram bin count: min(25, max(3, ceil(sqrt(n)))).
Previously used min(25, n) which produced too many bins for small collections.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ea92a13 commit c5a4b6d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
0 commit comments