Closed nicofirst1 closed 3 years ago
Hi @nicofirst1!
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.
In order for us to review and merge your code, 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.
If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
Thanks a lot! I have few comments above.
This looks slightly convoluted though. How about something like this? https://github.com/facebookresearch/EGG/compare/master...robertodessi:tmp
@robertodessi also nice, but what if we init prob
to 1.0 and use this as the only interaction impl? :)
mmh, sounds a bit odd to have the prob
parameter and (I'm assuming) most of the times will be used as set to 1
but I don't have any strong counterarguments for having a subclass so I guess you're right, let's go in that direction :D
To me @robertodessi 's solution looks cleaner
I'll go ahead and close this then
Abstracted LoggingStrategy class to allow for subclassing. Solves this issue