Skip to content

Comments

fix(histogram): correct scale factor calculation for cumulative frequency#87

Open
quanjnq wants to merge 1 commit intobytedance:mainfrom
quanjnq:bugfix/histogram-scale-factor
Open

fix(histogram): correct scale factor calculation for cumulative frequency#87
quanjnq wants to merge 1 commit intobytedance:mainfrom
quanjnq:bugfix/histogram-scale-factor

Conversation

@quanjnq
Copy link

@quanjnq quanjnq commented Feb 9, 2026

Pull Request Summary

Fixed an incorrect scale factor calculation for histogram cumulative frequency normalization.
The original formula had the numerator and denominator inverted, preventing the cumulative frequency from being properly normalized to 1.

Related Issues

Resolves: #86

@CLAassistant
Copy link

CLAassistant commented Feb 9, 2026

CLA assistant check
All committers have signed the CLA.

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.

Is scale_factor calculation inverted in HistogramStats.model_post_init?

2 participants