From b38db7fe532e60426099471ac4e8d46b38a12f62 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 4 Oct 2016 14:59:21 +0200 Subject: Prolog: reduce inference limit for rev_2 --- prolog/problems/lists_advanced/rev_2/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prolog/problems/lists_advanced') diff --git a/prolog/problems/lists_advanced/rev_2/common.py b/prolog/problems/lists_advanced/rev_2/common.py index f79ddca..1ce0031 100644 --- a/prolog/problems/lists_advanced/rev_2/common.py +++ b/prolog/problems/lists_advanced/rev_2/common.py @@ -57,7 +57,7 @@ def test(code, aux_code): if engine_id is not None and 'error' not in map(itemgetter(0), output): # Engine successfully created, and no syntax error in program. for query, answers in test_cases: - if prolog.engine.check_answers(engine_id, query=query, answers=answers, timeout=1.0): + if prolog.engine.check_answers(engine_id, query=query, answers=answers, timeout=1.0, inference_limit=1000): n_correct += 1 except socket.timeout: pass -- cgit v1.2.1