diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-11 12:02:16 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-11 12:02:16 +0200 |
commit | 64873173e6bb758cd22b60df55cf4415b8651359 (patch) | |
tree | 6d579346a64cdd45bd0a87a00967c6a0b545928c /prolog/common.py | |
parent | f42daa8b31b5772f60d8d8656ad2a5d5d6fd6f67 (diff) |
Accept a list of solved problems for hint/test
Some Prolog problems may be solved using previous solutions. This allows
us to test such programs, and still analyze the submission separately.
Diffstat (limited to 'prolog/common.py')
-rw-r--r-- | prolog/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/common.py b/prolog/common.py index 02c74d0..41377bb 100644 --- a/prolog/common.py +++ b/prolog/common.py @@ -10,7 +10,7 @@ hint_type = { 'syntax_error': Hint('syntax_error'), } -def hint(program): +def hint(program, solved_problems): # Check program for syntax errors. engine_id, output = prolog.engine.create(code=program) if engine_id is not None: |