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

Make cross-validation test less repetitive and add device and dtype checks #2268

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Member

Summary:

  • Deduplicated logic between the cases with and without noise observations
  • Broke up into subtests
  • Added checks for Yvar produced by cross-validation
  • Added checks for device and dtype of results

Differential Revision: D55572962

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 31, 2024
@facebook-github-bot
Copy link
Contributor

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

esantorella added a commit to esantorella/botorch that referenced this pull request Mar 31, 2024
…hecks (pytorch#2268)

Summary:

- Deduplicated logic between the cases with and without noise observations
- Broke up into subtests
- Added checks for Yvar produced by cross-validation
- Added checks for device and dtype of results

Differential Revision: D55572962
esantorella added a commit to esantorella/botorch that referenced this pull request Mar 31, 2024
…hecks (pytorch#2268)

Summary:

- Deduplicated logic between the cases with and without noise observations
- Broke up into subtests
- Added checks for Yvar produced by cross-validation
- Added checks for device and dtype of results

Differential Revision: D55572962
Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.97%. Comparing base (9a2f544) to head (78290ca).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2268   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files         197      197           
  Lines       17148    17148           
=======================================
  Hits        17144    17144           
  Misses          4        4           

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

esantorella added a commit to esantorella/botorch that referenced this pull request Mar 31, 2024
…hecks (pytorch#2268)

Summary:

- Deduplicated logic between the cases with and without noise observations
- Broke up into subtests
- Added checks for Yvar produced by cross-validation
- Added checks for device and dtype of results

Reviewed By: Balandat

Differential Revision: D55572962
@facebook-github-bot
Copy link
Contributor

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

…hecks (pytorch#2268)

Summary:

- Deduplicated logic between the cases with and without noise observations
- Broke up into subtests
- Added checks for Yvar produced by cross-validation
- Added checks for device and dtype of results

Reviewed By: Balandat

Differential Revision: D55572962
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ad848f6.

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.

None yet

2 participants