Skip to content

Conversation

@VijayVignesh1
Copy link
Contributor

@VijayVignesh1 VijayVignesh1 commented Oct 16, 2025

What does this PR do?

Fixes #3278

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
PR review

Modified the line that raises userwarning in _binary_logauc_compute function.

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃


📚 Documentation preview 📚: https://torchmetrics--3295.org.readthedocs.build/en/3295/

@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 31%. Comparing base (e958058) to head (e4482e2).
⚠️ Report is 1 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (e958058) and HEAD (e4482e2). Click for more details.

HEAD has 132 uploads less than BASE
Flag BASE (e958058) HEAD (e4482e2)
Windows 6 2
cpu 48 16
python3.12 12 4
torch2.8.0+cpu 9 3
Linux 36 12
python3.10 33 11
torch2.0.1+cpu 9 3
torch2.7.1+cpu 6 2
macOS 6 2
torch2.0.1 3 1
python3.9 3 1
torch2.2.2+cpu 3 1
gpu 2 0
unittest 2 0
torch2.5.1+cpu 3 1
torch2.1.2+cpu 3 1
torch2.3.1+cpu 3 1
torch2.4.1+cpu 3 1
torch2.6.0+cpu 3 1
torch2.8.0 3 1
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #3295     +/-   ##
========================================
- Coverage      37%     31%     -6%     
========================================
  Files         364     349     -15     
  Lines       20098   19903    -195     
========================================
- Hits         7520    6168   -1352     
- Misses      12578   13735   +1157     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify bot added the ready label Oct 17, 2025
@rittik9 rittik9 force-pushed the patch/logauc_user_warning branch from 10ec94b to e4482e2 Compare January 28, 2026 13:41
@rittik9 rittik9 enabled auto-merge (squash) January 28, 2026 13:44
@rittik9 rittik9 merged commit 631d66f into Lightning-AI:master Jan 28, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UserWarning while using logAUC

3 participants