Major code refactor to unify quasi experiment classes #381
96.93% of diff hit (target 85.60%)
View this Pull Request on Codecov
96.93% of diff hit (target 85.60%)
Annotations
Check warning on line 31 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L31
Added line #L31 was not covered by tests
Check warning on line 53 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L53
Added line #L53 was not covered by tests
Check warning on line 58 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L58
Added line #L58 was not covered by tests
Check warning on line 63 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L63
Added line #L63 was not covered by tests
Check warning on line 109 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L109
Added line #L109 was not covered by tests
Check warning on line 124 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L124
Added line #L124 was not covered by tests
Check warning on line 141 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L141
Added line #L141 was not covered by tests
Check warning on line 161 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L161
Added line #L161 was not covered by tests
Check warning on line 188 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L188
Added line #L188 was not covered by tests
Check warning on line 206 in causalpy/experiments/instrumental_variable.py
codecov / codecov/patch
causalpy/experiments/instrumental_variable.py#L206
Added line #L206 was not covered by tests
Check warning on line 214 in causalpy/experiments/instrumental_variable.py
codecov / codecov/patch
causalpy/experiments/instrumental_variable.py#L214
Added line #L214 was not covered by tests
Check warning on line 106 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L106
Added line #L106 was not covered by tests
Check warning on line 117 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L117
Added line #L117 was not covered by tests
Check warning on line 281 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L280-L281
Added lines #L280 - L281 were not covered by tests
Check warning on line 285 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L283-L285
Added lines #L283 - L285 were not covered by tests
Check warning on line 378 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L378
Added line #L378 was not covered by tests
Check warning on line 408 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L407-L408
Added lines #L407 - L408 were not covered by tests
Check warning on line 415 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L414-L415
Added lines #L414 - L415 were not covered by tests
Check warning on line 83 in causalpy/experiments/prepostfit.py
codecov / codecov/patch
causalpy/experiments/prepostfit.py#L83
Added line #L83 was not covered by tests
Check warning on line 116 in causalpy/experiments/prepostnegd.py
codecov / codecov/patch
causalpy/experiments/prepostnegd.py#L115-L116
Added lines #L115 - L116 were not covered by tests
Check warning on line 118 in causalpy/experiments/prepostnegd.py
codecov / codecov/patch
causalpy/experiments/prepostnegd.py#L118
Added line #L118 was not covered by tests
Check warning on line 175 in causalpy/experiments/prepostnegd.py
codecov / codecov/patch
causalpy/experiments/prepostnegd.py#L175
Added line #L175 was not covered by tests
Check warning on line 107 in causalpy/experiments/regression_discontinuity.py
codecov / codecov/patch
causalpy/experiments/regression_discontinuity.py#L107
Added line #L107 was not covered by tests
Check warning on line 129 in causalpy/experiments/regression_discontinuity.py
codecov / codecov/patch
causalpy/experiments/regression_discontinuity.py#L129
Added line #L129 was not covered by tests
Check warning on line 70 in causalpy/experiments/regression_kink.py
codecov / codecov/patch
causalpy/experiments/regression_kink.py#L70
Added line #L70 was not covered by tests