Incorporates additional error checks from most recent mozanalysis version. Also catches case where covariate adjustment was configured correctly, but metric was also configured for the other preenrollment analysis basis. In that case, we do not want to attempt to adjust inferences for PREENROLLMENT_DAYS_28 using PREENROLLMENT_WEEK. Additionally, adds check for missing covariate column, logs a warning and falls back to unadjusted inferences in that case.
Incorporates additional error checks from most recent mozanalysis version. Also catches case where covariate adjustment was configured correctly, but metric was also configured for the other preenrollment analysis basis. In that case, we do not want to attempt to adjust inferences for
PREENROLLMENT_DAYS_28
usingPREENROLLMENT_WEEK
. Additionally, adds check for missing covariate column, logs a warning and falls back to unadjusted inferences in that case.Added 2 unit tests for the new fallback cases.