diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-09-27 16:14:00 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-09-27 16:14:00 +0200 |
commit | 28116fd8278bb3b8832f4f5b22c68bd7978c8efd (patch) | |
tree | 48c134e70d3e1d3502e1465c92ed80ba7a3315bb /monkey/__init__.py | |
parent | b88aac8b26de977f17e27645fd3d0412a6420f53 (diff) |
Incorporate some tweaks to the monkey methods
Diffstat (limited to 'monkey/__init__.py')
-rw-r--r-- | monkey/__init__.py | 2 |
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}) |