Closed yashpote closed 3 years ago
Looks cool! Would it be okay if I review this on Sunday? Cheers,
Mate
Just some minor feedback: we need to have tests. Currently, we don't have tests and this makes it VERY hard to reason about this program. It'd be nice to have some tests...
Given N samples when K (N>K) samples are required, Barbarik should randomly choose the K from the set of N. However, the implementation currently does it in a way that may introduce bias. This pull request takes care of that issue.