-
Notifications
You must be signed in to change notification settings - Fork 311
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
Remove status quo weight override from COPY_DB_IDS_ATTRS_TO_SKIP #2615
Conversation
This pull request was exported from Phabricator. Differential Revision: D60413211 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2615 +/- ##
==========================================
- Coverage 95.22% 95.22% -0.01%
==========================================
Files 492 492
Lines 47672 47692 +20
==========================================
+ Hits 45394 45413 +19
- Misses 2278 2279 +1 ☔ View full report in Codecov by Sentry. |
This pull request was exported from Phabricator. Differential Revision: D60413211 |
…ebook#2615) Summary: Pull Request resolved: facebook#2615 Encoder and decoder both deal with `_status_quo_weight_override`. In decoder in happens through the status quo generator run. The problem is when a trial has a `_status_quo_weight_override`, but no status quo. The solution in this diff is to make it impossible (unless you use protected fields directly) to have a `_status_quo_weight_override` without a `status_quo`. ## How could this be wrong? If the user needs to store a status quo weight override on the trial for later but does not yet have a status quo. But I don't know why they could only calculate the weight now and not later. Reviewed By: mgarrard Differential Revision: D60413211
408826f
to
9dff7f2
Compare
…ebook#2615) Summary: Pull Request resolved: facebook#2615 Encoder and decoder both deal with `_status_quo_weight_override`. In decoder in happens through the status quo generator run. The problem is when a trial has a `_status_quo_weight_override`, but no status quo. The solution in this diff is to make it impossible (unless you use protected fields directly) to have a `_status_quo_weight_override` without a `status_quo`. ## How could this be wrong? If the user needs to store a status quo weight override on the trial for later but does not yet have a status quo. But I don't know why they could only calculate the weight now and not later. Reviewed By: mgarrard Differential Revision: D60413211
This pull request was exported from Phabricator. Differential Revision: D60413211 |
9dff7f2
to
90b3281
Compare
This pull request has been merged in abacaea. |
Summary:
Encoder and decoder both deal with
_status_quo_weight_override
. In decoder in happens through the status quo generator run. The problem is when a trial has a_status_quo_weight_override
, but no status quo. The solution in this diff is to make it impossible (unless you use protected fields directly) to have a_status_quo_weight_override
without astatus_quo
.How could this be wrong?
If the user needs to store a status quo weight override on the trial for later but does not yet have a status quo. But I don't know why they could only calculate the weight now and not later.
Differential Revision: D60413211