formatting

This commit is contained in:
Alex Stokes 2021-08-21 16:59:02 -07:00
parent 92aabcd207
commit 5094193f9a
No known key found for this signature in database
GPG Key ID: 99B3D88FD6C55A69
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,6 @@ def _generate_randomized_scenarios():
the slot transitions are offset by -1 to target certain boundaries. the slot transitions are offset by -1 to target certain boundaries.
""" """
rng = Random(1336) rng = Random(1336)
leak_transitions = (_no_op_transition, _transition_to_leaking)
# go forward 0 or 1 epochs # go forward 0 or 1 epochs
epochs_set = (_epoch_transition(n=0), _epoch_transition(n=1)) epochs_set = (_epoch_transition(n=0), _epoch_transition(n=1))
@ -209,6 +208,7 @@ def _generate_randomized_scenarios():
# and preface each block transition with the possible leak transitions # and preface each block transition with the possible leak transitions
# (... either no leak or transition to a leak before applying the block transition) # (... either no leak or transition to a leak before applying the block transition)
leak_transitions = (_no_op_transition, _transition_to_leaking)
scenarios = [ scenarios = [
{"transitions": list(t)} {"transitions": list(t)}
for t in itertools.product(leak_transitions, block_transitions) for t in itertools.product(leak_transitions, block_transitions)