Skip to content

Add automated SQL Assignment 2 marking - #481

Merged
Jiazhou-Bi merged 3 commits into
mainfrom
sql-automated-marking
Oct 13, 2026
Merged

Jiazhou-Bi merged 3 commits into
mainfrom
sql-automated-marking

Conversation

@danielrazavi

@danielrazavi danielrazavi commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

The existing Assignment 2 runner shows query output but does not check whether answers are correct. This PR adds correctness checks for all 12 SQL questions and posts feedback on students' pull requests, including after new commits. ERDs, written responses, and final grades still require instructor marking.

Instructor solutions stay in the private staff repo. This PR also reminds students to enable GitHub Actions in their forks.

Tested on GitHub: the private suite passed 21 tests and 25 subtests. A fork submission received the expected feedback for correct and wrong answers, then automatically ran again after an answer was fixed.

References:

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

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.

@danielrazavi
danielrazavi requested review from khsergvl and mrpotatocode and removed request for mrpotatocode October 9, 2026 20:00

@Jiazhou-Bi Jiazhou-Bi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the overall picture of this code, but I could see the logic of comparing the result with expected rows.

@Jiazhou-Bi
Jiazhou-Bi merged commit 72456c5 into main Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants