-
Notifications
You must be signed in to change notification settings - Fork 310
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
Add should_skip setting to input constructors #2894
Conversation
This pull request was exported from Phabricator. Differential Revision: D64475782 |
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Differential Revision: D64475782
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
9bb01e3
to
f616efa
Compare
This pull request was exported from Phabricator. Differential Revision: D64475782 |
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2894 +/- ##
=======================================
Coverage 95.78% 95.78%
=======================================
Files 504 504
Lines 49790 49806 +16
=======================================
+ Hits 47692 47708 +16
Misses 2098 2098 ☔ View full report in Codecov by Sentry. |
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
Summary: There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generaiton strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. This simply exposes a prop on gen node to expose this, and default it to false Following diffs will: - update TC.is_met() to accept a GenNode instead of just the name - update input constructor to properly set should skip - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64444258
…ebook#2893) Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** updates tc.is_met() to accept a full generation node which allows us to access the should_skip property we added in the previous diff Following diffs will: - update input constructor to properly set should skip - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64445871
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
f616efa
to
791b95f
Compare
This pull request was exported from Phabricator. Differential Revision: D64475782 |
Summary: **Context:** There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node. **This diff** adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node Following diffs will: - update the gs to appropiately handle resetting to false after a gen is completed Reviewed By: lena-kashtelyan Differential Revision: D64475782
This pull request has been merged in a6ce2c3. |
Summary:
Context: There are some cases where the input constructor returns n=o, specifically for repeat arms, this is currently causing an issue in generation strategy gen method because if we don't generate from a node we can't meet the TC, and move forward, however, we don't actually want to generate from that node.
This diff adds the setting of should skip to repeat_arm_n input constructor as it's currently the only input constructor that could enter a condition that creates a skippable node
Following diffs will:
Differential Revision: D64475782