-
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
Ensure new arm names do not match a different name on the experiment #2732
Conversation
This pull request was exported from Phabricator. Differential Revision: D62130255 |
This pull request was exported from Phabricator. Differential Revision: D62130255 |
…acebook#2732) Summary: Pull Request resolved: facebook#2732 > In Experiment._name_and_store_arm_if_not_exists (pointer)`, ensure that no other arm with a different signature (but same name) exists on the experiment before adding. This change checks for signature conflict by arm name in Experiment._name_and_store_arm_if_not_exists. A "replace" flag is also added, to maintain the existing functionality where a conflicting arm by the same name existed. => In "clone_with", desired functionality is to replace existing status quo arm with new status quo arm. Differential Revision: D62130255
d85c0ea
to
7556016
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2732 +/- ##
=======================================
Coverage 95.47% 95.47%
=======================================
Files 489 489
Lines 47838 47861 +23
=======================================
+ Hits 45671 45694 +23
Misses 2167 2167 ☔ View full report in Codecov by Sentry. |
This pull request was exported from Phabricator. Differential Revision: D62130255 |
…acebook#2732) Summary: Pull Request resolved: facebook#2732 > In Experiment._name_and_store_arm_if_not_exists (pointer)`, ensure that no other arm with a different signature (but same name) exists on the experiment before adding. This change checks for signature conflict by arm name in Experiment._name_and_store_arm_if_not_exists. ## Replacement support In "clone_with", desired functionality is to replace existing status quo arm with new status quo arm. A "replace" flag is also added, so that a signature conflict of same-named arms will not be errored out. Differential Revision: D62130255
7556016
to
485554e
Compare
This pull request was exported from Phabricator. Differential Revision: D62130255 |
…acebook#2732) Summary: Pull Request resolved: facebook#2732 > In Experiment._name_and_store_arm_if_not_exists (pointer)`, ensure that no other arm with a different signature (but same name) exists on the experiment before adding. This change checks for signature conflict by arm name in Experiment._name_and_store_arm_if_not_exists. ## Replacement support In "clone_with", desired functionality is to replace existing status quo arm with new status quo arm. A "replace" flag is also added, so that a signature conflict of same-named arms will not be errored out. Reviewed By: mpolson64 Differential Revision: D62130255
485554e
to
284b512
Compare
This pull request was exported from Phabricator. Differential Revision: D62130255 |
…acebook#2732) Summary: Pull Request resolved: facebook#2732 > In Experiment._name_and_store_arm_if_not_exists (pointer)`, ensure that no other arm with a different signature (but same name) exists on the experiment before adding. This change checks for signature conflict by arm name in Experiment._name_and_store_arm_if_not_exists. ## Replacement support In "clone_with", desired functionality is to replace existing status quo arm with new status quo arm. A "replace" flag is also added, so that a signature conflict of same-named arms will not be errored out. Reviewed By: mpolson64 Differential Revision: D62130255
284b512
to
eafee45
Compare
…acebook#2732) Summary: Pull Request resolved: facebook#2732 > In Experiment._name_and_store_arm_if_not_exists (pointer)`, ensure that no other arm with a different signature (but same name) exists on the experiment before adding. This change checks for signature conflict by arm name in Experiment._name_and_store_arm_if_not_exists. ## Replacement support In "clone_with", desired functionality is to replace existing status quo arm with new status quo arm. A "replace" flag is also added, so that a signature conflict of same-named arms will not be errored out. Reviewed By: mpolson64 Differential Revision: D62130255
This pull request was exported from Phabricator. Differential Revision: D62130255 |
eafee45
to
35a2ee3
Compare
This pull request has been merged in 76d1db6. |
Summary:
In Experiment._name_and_store_arm_if_not_exists (pointer)`, ensure that no other arm with a different signature (but same name) exists on the experiment before adding.
This change checks for signature conflict by arm name in Experiment._name_and_store_arm_if_not_exists
Differential Revision: D62130255