Closed chrispyles closed 3 years ago
This one may be relevant: https://docs.python.org/3/library/trace.html
I think we decided to resolve this issue by instead tracking function calls and letting the instructor use some post-grading process to assert conditions on this information.
(filename, function name)
tuples in StudentImplementation.calls
.
Instructors should be able to write annotations for asserting the use or non-use of specific functions.
This change is somewhat complicated, as it will involve editing the trace function to track information that it is not currently tracking (which function is being traced and to what package it belongs, namely).