Repository navigation
Accept valid A2 SQL alternatives and improve grading feedback - #484
Conversation
|
Thanks for your contribution! 🎉 Please remember to tag or request a review from the DSI team. Give us up to 72 hours to review your pull request. We appreciate your patience and efforts. |
|
@khsergvl @niyazmnazari thanks again for the feedback! I've addressed the points you raised and tested the changes in my fork, including renamed/reordered columns and a deliberately wrong answer to check it still gets rejected. The description links each fix and the test results. Could you take a look and review when you have a chance? |
|
@danielrazavi there is a need to make this part abstract: And here: https://github.com/UofT-DSI/sql/blob/main/.github/workflows/sql_assignment_runner.yml#L93 |
|
@khsergvl we kept those parts specific to A2 because that’s the only assignment the grader supports right now. Once we add support for other assignments, we can make them configurable rather than hardcoded. |
khsergvl
left a comment
There was a problem hiding this comment.
Looks good! Thank you so much!
Just FYI khsergvl#13 |
|
Now that the A1 restoration is part of this branch and PR, I'm moving this back to draft while I test both Assignment 1 and Assignment 2 in my fork. I'll mark it ready for review again once testing is finished. |
Follow-up to #481: accept different valid SQL answers without accepting incorrect results.
Fixes
-- querycomments caused errorsBoth A2 versions (DC Cohort and Microcredential Cohort) now remind students to track names used in earlier queries, rather than impose output-name restrictions.
Cleaner feedback: correct answers' SQL/output is collapsed; wrong answers and errors stay expanded. Status/messages always remain visible. bb2e41b
What I Tested
No sample answers or instructor solutions are added to the course repo.