Skip to content

Conversation

@MarcBresson
Copy link
Member

When computing the disparity, the results will be more consistent

For difference metrics, the privileged group will be put first, so that disparity is always > 0
For ratio metrics, the privileged group will be put last so that disparity is always < 1 (and > 0)

This will avoid negative numbers in the ranking results, or unbound floats

@MarcBresson MarcBresson self-assigned this Oct 1, 2025
Copy link
Contributor

@AmineMahiddine AmineMahiddine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Nice contribution

@MarcBresson MarcBresson merged commit 732a992 into dev Oct 8, 2025
4 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.

3 participants