Skip to content

Clarify equal opportunity warning message - #805

Merged
koaning merged 1 commit into
koaning:mainfrom
DresdenGman:fix-equal-opportunity-warning
Jul 5, 2026
Merged

Clarify equal opportunity warning message#805
koaning merged 1 commit into
koaning:mainfrom
DresdenGman:fix-equal-opportunity-warning

Conversation

@DresdenGman

Copy link
Copy Markdown
Contributor

Clarifies the warning emitted by equal_opportunity_score so it includes both the y_true and y_hat positive-target conditions that trigger the zero-return path.

This only updates the warning text and its regression coverage; it does not change the metric logic.

@koaning

koaning commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Will fix the test in another PR.

Thanks!

@koaning
koaning merged commit 2f9f811 into koaning:main Jul 5, 2026
8 of 9 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.

2 participants