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

Support probabilistic execution of workflows #202

Open
randomir opened this issue Sep 14, 2019 · 0 comments
Open

Support probabilistic execution of workflows #202

randomir opened this issue Sep 14, 2019 · 0 comments
Labels
feature New feature or request

Comments

@randomir
Copy link
Member

One option is to add general conditional execution (i.e. an If block), but then to support probabilistic execution we need to have uniform sampler, threshold condition, if block, etc.

Proposal: introduce the Probably block that accepts a child workflow/runnable and a probability (0 to 1). If child is executed, output is propagated. If not, output is suppressed, or maybe a default value is used.

@randomir randomir added the feature New feature or request label Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant