-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exam mode
: Hide unreleased programming exercise results
#9152
Conversation
846bf75
to
1638833
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve code, I will add a manual test soon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found an edge case during testing. In case like this where trigger all gets used to run hidden tests after the deadline:
I was able to see the 25% result on the repository view page, but it was gone after reloading. I'm not completly shure how I triggerd that, it might be the case that this result was send via websocket enven though it should not.
This is an edge case when you have the page open for a long time (maybe opend it during the exam and then looking at it later agin) and the usual behaviour of just opening the page at some later point does not have this problem, so feel free to fix this at a later point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested on ts3, no issues found
ef0d489
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve code and tested on ts3
- tested with a user with team extension and one without
- was not released for student without time extension after while the time extension student was still writing the exam
- was not released after the time extension student finished participating
- was released after results release date was passed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code lgtm.
I'd love to see some server tests in a followup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
Checklist
General
Server
Motivation and Context
Currently, students can see the current result of their programming exercise submissions before the result release date. We do not want to leak this information.
Description
The repository view, the commit history, and the exam summary no longer receive information about the results of exam programming exercises when the results haven't been published yet. Students can still see the results if:
Note that this is meant as a quick fix for the bug described above. In the future, we want to show the results that were created during the exam in the repo view / commit history.
Exam Mode Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Exam Mode Test
Test Coverage
Screenshots
No ui changes
Summary by CodeRabbit
New Features
Improvements