diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-05 18:36:37 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-05 18:36:37 +0100 |
commit | 5902e5a5c40ec8fa32c7af8d4bcc57134a0bea66 (patch) | |
tree | 53b9aee47bbee39682a9c1a6c1ab0ef248a78389 /prolog/problems/lists | |
parent | d6b6ab704d4552db052099fa2a7c9b7e9ff6a297 (diff) |
Simplify Prolog hint functions
Diffstat (limited to 'prolog/problems/lists')
-rw-r--r-- | prolog/problems/lists/conc_3/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/count_3/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/del_3/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/divide_3/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/dup_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/evenlen_1_+_oddlen_1/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/insert_3/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/len_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/max_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/memb_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/min_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/palindrome_1/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/permute_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/rev_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/shiftleft_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/shiftright_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/sublist_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists/sum_2/common.py | 2 |
18 files changed, 18 insertions, 18 deletions
diff --git a/prolog/problems/lists/conc_3/common.py b/prolog/problems/lists/conc_3/common.py index ffd8f0f..81b9915 100644 --- a/prolog/problems/lists/conc_3/common.py +++ b/prolog/problems/lists/conc_3/common.py @@ -44,6 +44,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/count_3/common.py b/prolog/problems/lists/count_3/common.py index 7970240..2177e25 100644 --- a/prolog/problems/lists/count_3/common.py +++ b/prolog/problems/lists/count_3/common.py @@ -48,6 +48,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/del_3/common.py b/prolog/problems/lists/del_3/common.py index d0e4a29..0bce133 100644 --- a/prolog/problems/lists/del_3/common.py +++ b/prolog/problems/lists/del_3/common.py @@ -42,6 +42,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/divide_3/common.py b/prolog/problems/lists/divide_3/common.py index 1f14d2f..10873cc 100644 --- a/prolog/problems/lists/divide_3/common.py +++ b/prolog/problems/lists/divide_3/common.py @@ -47,6 +47,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/dup_2/common.py b/prolog/problems/lists/dup_2/common.py index 66b9c64..fb97531 100644 --- a/prolog/problems/lists/dup_2/common.py +++ b/prolog/problems/lists/dup_2/common.py @@ -44,6 +44,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py b/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py index b683cf7..9f64c62 100644 --- a/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py +++ b/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py @@ -50,6 +50,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/insert_3/common.py b/prolog/problems/lists/insert_3/common.py index 7d92726..a380280 100644 --- a/prolog/problems/lists/insert_3/common.py +++ b/prolog/problems/lists/insert_3/common.py @@ -44,6 +44,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/len_2/common.py b/prolog/problems/lists/len_2/common.py index 538db56..5ef52d1 100644 --- a/prolog/problems/lists/len_2/common.py +++ b/prolog/problems/lists/len_2/common.py @@ -43,6 +43,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/max_2/common.py b/prolog/problems/lists/max_2/common.py index 6fd9a4d..e06558b 100644 --- a/prolog/problems/lists/max_2/common.py +++ b/prolog/problems/lists/max_2/common.py @@ -47,6 +47,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/memb_2/common.py b/prolog/problems/lists/memb_2/common.py index 691471f..aa3ed32 100644 --- a/prolog/problems/lists/memb_2/common.py +++ b/prolog/problems/lists/memb_2/common.py @@ -40,6 +40,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/min_2/common.py b/prolog/problems/lists/min_2/common.py index 65ce979..6c9a72c 100644 --- a/prolog/problems/lists/min_2/common.py +++ b/prolog/problems/lists/min_2/common.py @@ -47,6 +47,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/palindrome_1/common.py b/prolog/problems/lists/palindrome_1/common.py index 7050c8c..c9097a7 100644 --- a/prolog/problems/lists/palindrome_1/common.py +++ b/prolog/problems/lists/palindrome_1/common.py @@ -48,6 +48,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/permute_2/common.py b/prolog/problems/lists/permute_2/common.py index 162b018..1102cd8 100644 --- a/prolog/problems/lists/permute_2/common.py +++ b/prolog/problems/lists/permute_2/common.py @@ -46,6 +46,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/rev_2/common.py b/prolog/problems/lists/rev_2/common.py index f5e4d9c..acb4342 100644 --- a/prolog/problems/lists/rev_2/common.py +++ b/prolog/problems/lists/rev_2/common.py @@ -46,6 +46,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/shiftleft_2/common.py b/prolog/problems/lists/shiftleft_2/common.py index 6f3576b..0fbc0b3 100644 --- a/prolog/problems/lists/shiftleft_2/common.py +++ b/prolog/problems/lists/shiftleft_2/common.py @@ -44,6 +44,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/shiftright_2/common.py b/prolog/problems/lists/shiftright_2/common.py index 3084f9f..a9170ff 100644 --- a/prolog/problems/lists/shiftright_2/common.py +++ b/prolog/problems/lists/shiftright_2/common.py @@ -44,6 +44,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/sublist_2/common.py b/prolog/problems/lists/sublist_2/common.py index e2d8964..7b6ea64 100644 --- a/prolog/problems/lists/sublist_2/common.py +++ b/prolog/problems/lists/sublist_2/common.py @@ -47,6 +47,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] diff --git a/prolog/problems/lists/sum_2/common.py b/prolog/problems/lists/sum_2/common.py index 568cfca..3f5ff8c 100644 --- a/prolog/problems/lists/sum_2/common.py +++ b/prolog/problems/lists/sum_2/common.py @@ -43,6 +43,6 @@ def test(code, aux_code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}] return passed, hints -def hint(program, solved_problems): +def hint(code, aux_code): # TODO return [] |