-
Notifications
You must be signed in to change notification settings - Fork 351
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
Added version_prompt parameter to robyn_refresh() #375
Added version_prompt parameter to robyn_refresh() #375
Conversation
…able to specify a version of the refresh instead of selecting it automatically
Hi @JustStas! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thanks for submitting a PR. I understand what you did here but how does asking the user for a model ID here actually help? How will the user select a model ID while the function is waiting for a |
@laresbernardo thanks for the comment. |
Also, you can see that I kept the default behaviour as it was, just added the option to enable the prompt - I think that it should not cause any harm, but could be a good way to add some flexibility. |
Yes, noticed and agree. Let me talk with the team and please, follow the steps of the Facebook CLA Check for the License Agreement so we can merge this and any following PR if/when approved. |
I agree this would be a pretty useful and quick addition to the current |
I signed the CLA, but the failed check is still here. Do I need to do anything else? |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
No. You can check that check's done now.
@Tsurty I think that's not an option given we'd have to select a different model ID for each run so a fixed parameter doesn't make much sense. But feel free to change anything in this same branch before we proceed to merge. Also, I want to comment that one of our main goals with Robyn is to minimize analyst bias and automate decisions, but also are open to enabling advanced parameters to advanced users in cases like this when required. |
Pending: add new parameter into function's documentation (using roxygen's format) and run |
Done. |
Do you agree @Tsurty? Should we merge as is? Any improvement you'd like to provide or suggest to the flow suggested? |
I believe you are referring to my previous comment which I edited as it didn't really make sense indeed. |
Project Robyn
Currently the refresh() function selects the refresh version on its own. Here I added an additional bool param version_prompt that allows to pause the code and ask the user to input a specific refresh model name.
Type of change
How Has This Been Tested?
Checklist: