Skip to content

Commit

Permalink
Pass ensemble test when number of samples is set to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Feb 16, 2024
1 parent ad40220 commit aacfea2
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 3,000 deletions.
2 changes: 1 addition & 1 deletion service/models/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def convert_to_solution_mapping(config):
}

def solution_mapping(individual_states):
ensemble_map = defaultdict(0)
ensemble_map = defaultdict(lambda: 0)
for state, value in individual_states.items():
ensemble_state = (
individual_to_ensemble[state]
Expand Down
282 changes: 0 additions & 282 deletions tests/examples/ensemble-simulate-temp-quick-fix/input/other-model.json

This file was deleted.

17 changes: 0 additions & 17 deletions tests/examples/ensemble-simulate-temp-quick-fix/input/request.json

This file was deleted.

Loading

0 comments on commit aacfea2

Please sign in to comment.