summaryrefslogtreecommitdiff
path: root/monkey
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-03 12:43:30 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-03 12:43:30 +0100
commit312b57ac25e083c890c9dd01a25e9313d3068f0b (patch)
treecf919031331c5c7869efe09e5b9ee27b13bcdc4f /monkey
parent3af76b914dc48f7c729b34d8605bb2ad51a5156b (diff)
Remove unused variable
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 = {}