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

do not group by time cols when creating observations #2293

Closed
wants to merge 1 commit into from

Conversation

sdaulton
Copy link
Contributor

Summary:
See title. Add the time columns only if all metrics for a given trial-arm pair have the same start/end time. This means that if one wants time to be included, then they should ensure the metric gives the same start/end time for each all metrics for a single trial-arm pair.

This was causing an issue where status quo data for a single trial could be split across multiple observations because the metrics had different start and end times. This largely reverts D54017025.

Reviewed By: Balandat

Differential Revision: D55099571

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

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

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Mar 20, 2024
Summary:

See title. Add the time columns only if all metrics for a given trial-arm pair have the same start/end time. This means that if one wants time to be included, then they should ensure the metric gives the same start/end time for each all metrics for a single trial-arm pair.

This was causing an issue where status quo data for a single trial could be split across multiple observations because the metrics had different start and end times. This largely reverts D54017025.

Reviewed By: Balandat

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

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

Summary:

See title. Add the time columns only if all metrics for a given trial-arm pair have the same start/end time. This means that if one wants time to be included, then they should ensure the metric gives the same start/end time for each all metrics for a single trial-arm pair.

This was causing an issue where status quo data for a single trial could be split across multiple observations because the metrics had different start and end times. This largely reverts D54017025.

Reviewed By: Balandat

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

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

@codecov-commenter
Copy link

codecov-commenter commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 96.42857% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 94.90%. Comparing base (0819fbd) to head (bf3a22e).

❗ Current head bf3a22e differs from pull request most recent head f0a6f0d. Consider uploading reports for the commit f0a6f0d to get more accurate results

Files Patch % Lines
ax/core/tests/test_observation.py 96.87% 1 Missing ⚠️
ax/modelbridge/base.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2293      +/-   ##
==========================================
- Coverage   94.91%   94.90%   -0.01%     
==========================================
  Files         489      489              
  Lines       47611    47658      +47     
==========================================
+ Hits        45190    45231      +41     
- Misses       2421     2427       +6     

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

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