overcode icon indicating copy to clipboard operation
overcode copied to clipboard

issues with Tidy

Open eglassman opened this issue 11 years ago • 0 comments

When collecting function information from all the hangman data, pg_logger spat back errors from some of the solutions. Most of them seemed to be errors within the solution itself (I noticed AttributeErrors, TypeErrors, and AssertionErrors) but there were a few IndentationErrors caused by students redefining getGuessedWord after the template signature with a docstring. Since tidying removes comments, the tidied solution has an error that the untidied one doesn't. This happens in solutions 1226, 1581, and 1669.

There didn't seem to be a way to tell which solution the other errors were coming from without modifying pg_logger, since the IndentationErrors are the only ones that weren't caught within pg_logger.exec_script_str_local. So I couldn't look at those solutions to determine if the other types of errors are the fault of the students who submitted the solutions or something else weird about the tidying.

eglassman avatar Oct 22 '15 02:10 eglassman