Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docstrings and type annotations #2746

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Contributor

Summary:

  • Expand docstrings
  • is_moo syntatactic sugar
  • Use mutable annotations where appropriate
  • Have BenchmarkRunner.evaluate_oracle return a Numpy arrray rather than a tensor (broader detorchification would be good)

Differential Revision: D62246721

Summary:
* Expand docstrings
* `is_moo` syntatactic sugar
* Use mutable annotations where appropriate
* Have `BenchmarkRunner.evaluate_oracle` return a Numpy arrray rather than a tensor (broader detorchification would be good)
*

Differential Revision: D62246721
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Sep 5, 2024
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.47%. Comparing base (81a4e5b) to head (b30237b).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
ax/benchmark/benchmark_problem.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2746      +/-   ##
==========================================
- Coverage   95.47%   95.47%   -0.01%     
==========================================
  Files         489      489              
  Lines       47871    47876       +5     
==========================================
+ Hits        45707    45709       +2     
- Misses       2164     2167       +3     

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

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