Open erdogmush opened 2 years ago
Added a test to RRelative tab of TestModeKey.xlsx about >= but it crashes the grader because of the syntax error, so the test is disabled in CheckOrder sheet. Once fixed add this test back to RRelative_CheckOrder
This bug is caused by the naive treatment of formulas that replaces all equal signs in Excel formulas with == to be convert them to equality comparison in Python. How could the student who implemented this not think of this or not tested this? Sheer rookie mistake!
issue was due to the excel formulas adding == as mentioned earlier. issue fixed in formula_parser with an aggressively simple (perhaps too simple?) string hack
expanded_form = expanded_form.replace('<==', '<=').replace('>==', '>=')
Example: =C4 <= C3
This was noticed in the check rubric type originally (check tab RCheck in the TestModeKey.xlsx), but it probably applies to formula and relative rubric types as well, any rubric type that evaluates a formula in python.