Skip to content

Conversation

@hvarfner
Copy link

Summary: Updates benchmark.py to use the new Noise module architecture: passes problem.noise instead of problem.noise_std to BenchmarkRunner, and removes the obsolete add_custom_noise replacement since noise is now handled entirely by the Noise object on the runner.

Differential Revision: D90597013

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

meta-codesync bot commented Jan 13, 2026

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

@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.73%. Comparing base (cd548b7) to head (f3c643c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4761   +/-   ##
=======================================
  Coverage   96.72%   96.73%           
=======================================
  Files         582      584    +2     
  Lines       60742    60815   +73     
=======================================
+ Hits        58754    58827   +73     
  Misses       1988     1988           

☔ 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.

Carl Hvarfner added 3 commits January 13, 2026 14:08
…acebook#4687)

Summary:

Adjustment after discussion in D89407340.

Changing optimization trace to return underlying noiseless value instead of noisy for custom noise functions.

Reviewed By: Balandat

Differential Revision:
D89544093

Privacy Context Container: L1307644
Summary:

T249209321

Introduces a unified Noise abstraction for benchmark problems, replacing the split responsibility between noise_std on BenchmarkProblem and add_custom_noise on BenchmarkTestFunction.

Adds two noise implementations:

GaussianNoise - standard IID Gaussian noise with configurable noise_std
GaussianMixtureNoise - mixture of Gaussians for heteroskedastic problems 

Subsequent diff migrates current benchmarking to incorporate these changes.

Differential Revision: D90596997
Summary:

Updates `benchmark.py` to use the new Noise module architecture: passes `problem.noise` instead of `problem.noise_std` to `BenchmarkRunner`, and removes the obsolete `add_custom_noise` replacement since noise is now handled entirely by the `Noise` object on the runner.

Differential Revision: D90597013
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants