bookingcom / powercalculator

Calculator to define runtime of experiments
https://bookingcom.github.io/powercalculator/
MIT License
87 stars 17 forks source link

[Feature Request] URL parameters for false positive rate and power #21

Open felipempleite opened 6 years ago

felipempleite commented 6 years ago

Is it possible to implement url parameters for the calculator fields in the github.io version? This would be very helpful for us to prevent users from using values that differ from the ones we use to generate the experiment results.

Askoth commented 6 years ago

Hello.

The power calculator component accepts props and also sends updates to the parent component.

Those could be used to read data from url and update it when needed. We actually use it in our internal vue application.

github.io powercalculator app is really simple as it was intended as an example but you guys are using it directly please feel free to send a pull request. You will want to add the feature in the example folder.

Cheers