Skip to content

Commit

Permalink
fix probability in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kasyanovse committed Dec 19, 2023
1 parent b188592 commit 842771c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/optimizer/gp_operators/test_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ def descriptive_id_without_atomized(graph: OptGraph):
all_mutations = [x + (y != z) for x, y, z in zip(all_mutations, origin_descriptive_ids, descriptive_ids)]

# check that all graphs receive at least 20% of mutations share
assert all(x / sum(all_mutations) > 0.2 for x in all_mutations)
assert all(x / sum(all_mutations) > 0.1 for x in all_mutations)

0 comments on commit 842771c

Please sign in to comment.