Open
Description
Some functions have testes for checking the type of input.
For example: random_state in knockoff_aggregation in hidimstat/knockoff_aggregation.py.
random_state is a variable existing in multiple methods but this one is the only one which tests the type.
Which policy do we choose for testing the type of variable?
- Do we test all the input variables? (This can create a bit of slowing down the code.)
- Do we test only the most important?
- if yes, how do we choose the most important variables?
- We don't test their type only to make the difference is their set or not.