Code Cleanup
Over time the code has accumulated quite some cruft. Before the release we should definitively get some cleanups done. I think the following parts are especially important targets:
-
flagger
interface. Can we get rid of some methods? -
tests. Using more of the pytest
features could reduce quite some code -
flagger
implementations. Can we assure the type of passedpandas
-Objects a bit more rigorously at the very beginning and get rid of some of theassure_*
statements everywhere. And What about theisinstance
-calls? -
funcs
. Can we get some thematic sub modules there?-
move statistic_functions.py
tolib
dir, as this are just helper -
consistent naming of the functions, both internally as well as the exposed name -
test function parameters should be named (roughly) consistently
-
-
slightly unrelated, but anyhow important: delete unused branches (@palmb, @luenensc, @schmidle)