Re:The Economist's excess deaths model
by nerdponx on Tuesday May 25, 2021 @01:18PM
(#27279565)
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.
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.