Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Tests for randomized code #24

Open
trevorcampbell opened this issue Aug 6, 2023 · 0 comments
Open

Tests for randomized code #24

trevorcampbell opened this issue Aug 6, 2023 · 0 comments

Comments

@trevorcampbell
Copy link
Contributor

A lot of ML/stat/dsci-related notebooks will involve randomness, which makes autograding difficult. It would be nice to include some elegant functionality to test randomized code. Some rough initial ideas:

  • somehow pass the random state to the test code and verify against that
  • use a statistical test as opposed to exact tests (with a sufficiently low p(failure) )
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant