Major code refactor to unify quasi experiment classes #381
97.08% of diff hit (target 85.60%)
View this Pull Request on Codecov
97.08% of diff hit (target 85.60%)
Annotations
Check warning on line 42 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L42
Added line #L42 was not covered by tests
Check warning on line 48 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L48
Added line #L48 was not covered by tests
Check warning on line 70 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L70
Added line #L70 was not covered by tests
Check warning on line 75 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L75
Added line #L75 was not covered by tests
Check warning on line 80 in causalpy/experiments/base.py
codecov / codecov/patch
causalpy/experiments/base.py#L80
Added line #L80 was not covered by tests
Check warning on line 112 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L112
Added line #L112 was not covered by tests
Check warning on line 127 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L127
Added line #L127 was not covered by tests
Check warning on line 144 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L144
Added line #L144 was not covered by tests
Check warning on line 164 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L164
Added line #L164 was not covered by tests
Check warning on line 191 in causalpy/experiments/diff_in_diff.py
codecov / codecov/patch
causalpy/experiments/diff_in_diff.py#L191
Added line #L191 was not covered by tests
Check warning on line 209 in causalpy/experiments/instrumental_variable.py
codecov / codecov/patch
causalpy/experiments/instrumental_variable.py#L209
Added line #L209 was not covered by tests
Check warning on line 217 in causalpy/experiments/instrumental_variable.py
codecov / codecov/patch
causalpy/experiments/instrumental_variable.py#L217
Added line #L217 was not covered by tests
Check warning on line 109 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L109
Added line #L109 was not covered by tests
Check warning on line 120 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L120
Added line #L120 was not covered by tests
Check warning on line 284 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L283-L284
Added lines #L283 - L284 were not covered by tests
Check warning on line 288 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L286-L288
Added lines #L286 - L288 were not covered by tests
Check warning on line 381 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L381
Added line #L381 was not covered by tests
Check warning on line 411 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L410-L411
Added lines #L410 - L411 were not covered by tests
Check warning on line 418 in causalpy/experiments/inverse_propensity_weighting.py
codecov / codecov/patch
causalpy/experiments/inverse_propensity_weighting.py#L417-L418
Added lines #L417 - L418 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 119 in causalpy/experiments/prepostnegd.py
codecov / codecov/patch
causalpy/experiments/prepostnegd.py#L118-L119
Added lines #L118 - L119 were not covered by tests
Check warning on line 121 in causalpy/experiments/prepostnegd.py
codecov / codecov/patch
causalpy/experiments/prepostnegd.py#L121
Added line #L121 was not covered by tests
Check warning on line 178 in causalpy/experiments/prepostnegd.py
codecov / codecov/patch
causalpy/experiments/prepostnegd.py#L178
Added line #L178 was not covered by tests
Check warning on line 110 in causalpy/experiments/regression_discontinuity.py
codecov / codecov/patch
causalpy/experiments/regression_discontinuity.py#L110
Added line #L110 was not covered by tests
Check warning on line 132 in causalpy/experiments/regression_discontinuity.py
codecov / codecov/patch
causalpy/experiments/regression_discontinuity.py#L132
Added line #L132 was not covered by tests