Test Groups
autm8qc implements a feature called test groups, which allows to aggregate the results of several tests into a single flag using some sort of aggregation function (worst, OR, ...). This feature seems to be appreciated and the question arose, if we are able to support something like this.
I am currently thinking, that we could, to some extend, with a method that aggregates one or more columns of our History
. Something like qc.groupFlags(field="x", columns=[0, 1], method="or")
, whereas [0, 1]
refers to some History
columns. To make things more convenient, we could also provide a way to refer to columns by test name or label
.
However, this only works after the fact, so only after the functions were already called with masking and everything in place. So we won't be able to freely combine flags. E.g. the combination with logical and
won't be possible, if we mask values flagged by one test, before it reaches the second. We could solve that with an appropiaze usage of dfilter
, but this is not to convenient.
Any smart ideas on this topic @palmb?