Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major code refactor to unify quasi experiment classes #381

Merged
merged 72 commits into from
Aug 22, 2024

remove redundant sample_kwargs definition in test

e0b0847
Select commit
Loading
Failed to load commit list.
Merged

Major code refactor to unify quasi experiment classes #381

remove redundant sample_kwargs definition in test
e0b0847
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 22, 2024 in 0s

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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

causalpy/experiments/regression_discontinuity.py#L132

Added line #L132 was not covered by tests