File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
causal_testing/generation Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -188,13 +188,16 @@ def generate_concrete_tests(
188
188
for var in control_configs .columns
189
189
}
190
190
# Putting treatment and control values in messes it up because the two are not independent...
191
- # This is potentially problematic as constraints might mean we don't get good coverage if we use control values alone
192
- # We might then need to carefully craft our _control value_ generating distributions so that we can get good coverage
191
+ # This is potentially problematic as constraints might mean we don't get good coverage if we use control
192
+ # values alone
193
+ # We might then need to carefully craft our _control value_ generating distributions so that we can get
194
+ # good coverage
193
195
# without the generated treatment values violating any constraints.
194
196
195
197
# treatment_configs = pd.DataFrame([test.treatment_input_configuration for test in concrete_tests])
196
198
# both_configs = pd.concat([control_configs, treatment_configs])
197
- # ks_stats = {var: stats.kstest(both_configs[var], var.distribution.cdf).statistic for var in both_configs.columns}
199
+ # ks_stats = {var: stats.kstest(both_configs[var], var.distribution.cdf).statistic for var in
200
+ # both_configs.columns}
198
201
effect_modifier_configs = pd .DataFrame ([test .effect_modifier_configuration for test in concrete_tests ])
199
202
ks_stats .update (
200
203
{
You can’t perform that action at this time.
0 commit comments