Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
florence-bockting committed Dec 5, 2024
1 parent f8df823 commit b4e7356
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions elicit/elicitation_techniques.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def computation_elicited_statistics(target_quantities, ground_truth,
)
elicited_statistic = computed_sd
# save all moments in one tensor
elicit = target_dict[tar]["elicitation_method"]
elicits_res[f"{elicit}.{mom}_{tar}"] = elicited_statistic
elicits = target_dict[tar]["elicitation_method"]
elicits_res[f"{elicits}.{mom}_{tar}"] = elicited_statistic

if global_dict["model_parameters"]["independence"] is not None:
elicits_res["correlation"] = target_quantities["correlation"]
Expand Down
2 changes: 0 additions & 2 deletions elicit/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,3 @@ def print_res_summary(path_res, global_dict):
"""
print(create_output_summary(path_res, global_dict))


2 changes: 1 addition & 1 deletion elicit/logs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"loggers": {"": {"handlers": ["json_file"], "level": "INFO"}},
}

logging.config.dictConfig(LOGGING)
logging.config.dictConfig(LOGGING)

0 comments on commit b4e7356

Please sign in to comment.