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

add remaining n input constructor #2758

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mgarrard
Copy link
Contributor

Summary:
This diff adds the input constructor for our default logic for repeat arms. See note in comments about how this new logic differs
Follow up diffs:

  • update the transition logic to leverage this
  • storage --> let's do this once we all like the 3 input constructors
  • update the input constructors to handle the case where n isn't provided as a kwarg
  • add tests for real world scenario per Liz suggestion
  • add test to enforce signature across input constructors per Liz/Sait/Daniel suggestion

Differential Revision: D62467907

Mia Garrard added 3 commits September 10, 2024 10:11
…t at 9/6/2024, 10:19:43 AM

Differential Revision: D62247100
Summary: todo

Differential Revision: D62310414
Summary: todo

Differential Revision: D62252945
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 10, 2024
@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: facebook#2758

This diff adds the input constructor for our default logic for repeat arms. See note in comments about how this new logic differs
Follow up diffs:
- update the transition logic to leverage this
- storage --> let's do this once we all like the 3 input constructors
- update the input constructors to handle the case where n isn't provided as a kwarg
- add tests for real world scenario per Liz suggestion
- add test to enforce signature across input constructors per Liz/Sait/Daniel suggestion

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

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

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 98.83721% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.60%. Comparing base (9658082) to head (1d685ac).

Files with missing lines Patch % Lines
.../modelbridge/generation_node_input_constructors.py 96.96% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2758   +/-   ##
=======================================
  Coverage   95.60%   95.60%           
=======================================
  Files         489      491    +2     
  Lines       47903    47988   +85     
=======================================
+ Hits        45796    45880   +84     
- Misses       2107     2108    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants