2 ms·
That's part of the problem. In general (and in my opinion), a "good test" is one that asserts that an invariant is always so, or that a property that is expect
by nerdponx 5y ago
That's part of the problem.
In general (and in my opinion), a "good test" is one that asserts that an invariant is always so, or that a property that is expected to hold under certain conditions does indeed hold under those conditions. Defining such invariants and properties for "data science code" tends to be difficult, and even when you define them it might be difficult or impossible to test them in a straightforward fashion.
And that's even before you get to the probabilistic stuff.