-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure new arm names do not match a different name on the experiment (#…
…2732) Summary: Pull Request resolved: #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 fbshipit-source-id: 77d2b1cc123cbc3c6deb289ce1d50078191d45a2
- Loading branch information
1 parent
98c2140
commit 76d1db6
Showing
4 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters