summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmonkey/monkey.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/monkey/monkey.py b/monkey/monkey.py
index a7beb6e..8cf2163 100755
--- a/monkey/monkey.py
+++ b/monkey/monkey.py
@@ -220,6 +220,7 @@ def fix(name, code, edits, aux_code='', timeout=30, debug=False):
# Each program gets a task with the sequence of edits that generated it and
# the associated cost. First candidate with cost 1 is the initial program.
+ program = tuple(annotate(code))
todo.push((program, (), 1.0), -1.0)
n_tested = 0