Skip to content

Conversation

@esantorella
Copy link
Contributor

Summary: It is not used.

Differential Revision: D60474602

esantorella and others added 2 commits July 30, 2024 15:14
Summary:
Pull Request resolved: facebook#2618

Context: some refactoring is coming to enable benchmarking a broader class of problems in which the value that captures optimization progress (such as the ground truth) doesn't match what is observed during optimization (such as noisy measurements).

This PR:
* Adds a property test, asserting that with a noisy problem whose ground truth is always 3, the ground-truth vaules are always 3, and the observed values are not.
* Adds a characterization (golden master) test, asserting that outputs match specific values. Passing this test doesn't indicate correctness per se, but indicates that behavior has not changed since the test was added.
* Fixes stub functions for surrogate problems so that their optimization configs include `BenchmarkMetric`s, which is needed for this to work.

Differential Revision: D60472381
Summary: It is not used.

Differential Revision: D60474602
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 30, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60474602

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.22%. Comparing base (8e07000) to head (28c50aa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2619   +/-   ##
=======================================
  Coverage   95.22%   95.22%           
=======================================
  Files         492      492           
  Lines       47672    47708   +36     
=======================================
+ Hits        45394    45431   +37     
+ Misses       2278     2277    -1     

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in e459a08.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants