Apply SQL formatting before fetching test results
We currently fetch test case results before applying the formatted from sqlparse
. This can lead to issues in cases where DuckDB references an input line number because the line number from the unformatted test can be different than from the formatted test code when the test is run on Moodle. Therefore, we need to format the SQL code before calling the constructor of CoderunnerQuestion
.