summaryrefslogtreecommitdiff
path: root/monkey/__init__.py
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-09-27 16:14:00 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-09-27 16:14:00 +0200
commit28116fd8278bb3b8832f4f5b22c68bd7978c8efd (patch)
tree48c134e70d3e1d3502e1465c92ed80ba7a3315bb /monkey/__init__.py
parentb88aac8b26de977f17e27645fd3d0412a6420f53 (diff)
Incorporate some tweaks to the monkey methods
Diffstat (limited to 'monkey/__init__.py')
-rw-r--r--monkey/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/__init__.py b/monkey/__init__.py
index 5408061..42e0691 100644
--- a/monkey/__init__.py
+++ b/monkey/__init__.py
@@ -147,7 +147,7 @@ def fix_hints(code, steps):
for h1, h2 in product(hints, hints):
if h1 is h2 or h2['start'] <= h1['start']:
continue
- if h1['id'] == h2['id'] == 'monkey_insert' and h2['start'] - h1['start'] < 3:
+ if h1['id'] == h2['id'] == 'monkey_insert' and h2['start'] - h1['start'] < 5:
hints.remove(h1)
hints.remove(h2)
hints.append({'id': 'monkey_change', 'start': h1['start'], 'end': h2['end']-1})