summaryrefslogtreecommitdiff
path: root/monkey
diff options
context:
space:
mode:
Diffstat (limited to 'monkey')
-rw-r--r--monkey/edits.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/monkey/edits.py b/monkey/edits.py
index 1743864..56bf773 100644
--- a/monkey/edits.py
+++ b/monkey/edits.py
@@ -157,11 +157,9 @@ def get_edits_from_solutions(solutions, test):
del edits[edit]
n_start = collections.Counter()
- n_start_all = 0
for (path, a, b), uids in edits.items():
edits[(path, a, b)] = (len(uids), uids)
n_start[(path, a)] += len(uids)
- n_start_all += len(uids)
# Find the probability of each edit a → b.
new_edits = {}