ndarray-linalg icon indicating copy to clipboard operation
ndarray-linalg copied to clipboard

Deterministic testing

Open termoshtt opened this issue 3 years ago • 1 comments

Some test fails randomly because they use random vectors without fixing its value via seed. This reduces the worth of auto-testing since we have to check the CI failure is due to bug in changes or due to random number.

TODO

  • [x] Add API to use any random number generator (RNG) in ndarray_linalg::generate #337
  • [x] Replace random vector generation in tests using fixed seed RNG #338

termoshtt avatar Sep 16 '22 04:09 termoshtt

Tests for LOBPCG still randomly fails due to it uses random in itself. It should accept to use specific RNG.

termoshtt avatar Sep 17 '22 07:09 termoshtt