tla-org / poweranalyses

Statistical power analyses in the browser
https://poweranalyses.org
GNU General Public License v3.0
4 stars 0 forks source link

Test Javascript #4

Closed rikhuijzer closed 8 months ago

rikhuijzer commented 1 year ago

This is a nice idea, but so far the hassle doesn't seem to be worth the gain. It looks like WebAssembly doesn't work (run) inside the headless browser because the value is 100. The value is also 100 in Edge on my pc where WebAssembly also doesn't work.

Also note that testing the Javascript side is not so important. Bugs are way easier to spot than at the math side. So as long as the math is correct (and tested) and the correct function calls are connected to the correct cases in the front end, then all should be fine.

storopoli commented 10 months ago

Should we do a new try of this in the future?