Skip to content

Commit 9c11c29

Browse files
Merge pull request #199 from lambda-feedback/tr169-flag-for-detailed-feedback
Fixed issue with wrong tags in test
2 parents ec4ef08 + 02085f0 commit 9c11c29

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/symbolic_comparison_evaluation_tests.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,17 @@ def test_syntactical_comparison(self, response, answer, criteria, value, feedbac
13881388
'atol': 0,
13891389
}
13901390
),
1391-
("-10225", "-2525", "response = a*50 + d*51*25 where a=77; d=-5", False, ["response candidates 50*a - 1275*d", "response = a*50 + d*51*25 where a=77; d=-5_FALSE", "response = a*50 + d*51*25 where a=77; d=-5_ONE_ADDITION_TO_SUBTRACTION"], {'detailed_feedback': True}),
1391+
(
1392+
"-10225",
1393+
"-2525",
1394+
"response = a*50 + d*51*25 where a=77; d=-5",
1395+
False,
1396+
[
1397+
"response = a*50 + d*51*25 where a=77; d=-5_ONE_ADDITION_TO_SUBTRACTION",
1398+
"response candidates -50*a + 1275*d",
1399+
"response = a*50 + d*51*25 where a=77; d=-5_FALSE"
1400+
],
1401+
{'detailed_feedback': True}),
13921402
]
13931403
)
13941404
def test_criteria_where_numerical_comparison(self, response, answer, criteria, value, feedback_tags, additional_params):

0 commit comments

Comments
 (0)