Skip to content

Commit

Permalink
Merge pull request #44 from kenki931128/hotfix/use-correct-variable
Browse files Browse the repository at this point in the history
use correct variable
  • Loading branch information
kenki931128 authored Apr 23, 2024
2 parents 85e148d + 915a1a6 commit 8c3dccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synthx/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def process_placebo(
)
return None

results = Parallel(n_jobs=-1)(
results = Parallel(n_jobs=n_jobs)(
delayed(process_placebo)(test_unit_placebo) for test_unit_placebo in tqdm(control_units)
)

Expand Down Expand Up @@ -222,7 +222,7 @@ def sensitivity_check(
)
.then(pl.col(dataset.y_column) * uplift)
.otherwise(pl.col(dataset.y_column))
.alias('y')
.alias(dataset.y_column)
)

dataset_sensitivity = sx.Dataset(
Expand Down

0 comments on commit 8c3dccb

Please sign in to comment.