Skip to content

Conversation

@jandylin
Copy link

@jandylin jandylin commented Nov 5, 2025

Summary:
Replaced mean and std with nanmean and nanstd (respectively) for improvement robustness (and matching StratifiedStandardize). Also fixed a small bug in nanstd which caused the returned shapes to be incorrect if keepdim=False.

Note: The random seed in test_transforms in test_fully_bayesian_multitask.py was changed because the previous seed caused the test to fail on a single element due to randomness.

Differential Revision: D86318672

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 5, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 5, 2025

@jandylin has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86318672.

Summary:

Replaced `mean` and `std` with `nanmean` and `nanstd` (respectively) to improve robustness (and matching `StratifiedStandardize`). Also fixed a small bug in `nanstd` which caused the returned shapes to be incorrect if `keepdim=False`.

Note: The random seed in `test_transforms` in `test_fully_bayesian_multitask.py` was changed because the previous seed caused the test to fail on a single element due to randomness.

Differential Revision: D86318672
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2d8bf76) to head (b0eabe6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #3072   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          217       217           
  Lines        20736     20736           
=========================================
  Hits         20736     20736           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meta-codesync
Copy link

meta-codesync bot commented Nov 5, 2025

This pull request has been merged in 40bb460.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants