From 28116fd8278bb3b8832f4f5b22c68bd7978c8efd Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 27 Sep 2016 16:14:00 +0200 Subject: Incorporate some tweaks to the monkey methods --- monkey/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monkey/__init__.py') 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}) -- cgit v1.2.1