Skip to content

Conversation

@thimo72
Copy link

@thimo72 thimo72 commented Aug 10, 2025

Changed RBC calculation from
rbc = 1 - (2 * uval) / diff.size
to
rbc = 2 * cles - 1

This makes RBC directional and consistent with CLES, so that RBC > 0 when x > y.

@raphaelvallat raphaelvallat self-requested a review August 30, 2025 07:17
@raphaelvallat
Copy link
Owner

raphaelvallat commented Aug 30, 2025

Hi,

Thanks for opening the PR. Is this linked to a particular GitHub issue/discussion? If not, can you please first open an issue to describe the problem, with minimal code to reproduce the issue?

Also, for this PR, please add unit tests to validate the new behavior.

Thanks
Raphael

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