-
Notifications
You must be signed in to change notification settings - Fork 294
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
: Generate student exam on demand if student is registered for the exam
#9123
Exam mode
: Generate student exam on demand if student is registered for the exam
#9123
Conversation
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
…sing-student-exams-on-demand
Does this resolve #3835 as well? |
…sing-student-exams-on-demand
WalkthroughThe changes enhance the functionality of the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
@dfuchss yes, it does. Students can be added to an exam after it has started, and their individual student exams will be generated on demand. It's also possible to adjust individual working time. |
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.
Actionable comments posted: 7
src/main/java/de/tum/in/www1/artemis/service/exam/ExamAccessService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/exam/ExamAccessService.java
Outdated
Show resolved
Hide resolved
src/test/java/de/tum/in/www1/artemis/service/exam/ExamAccessServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/de/tum/in/www1/artemis/service/exam/ExamAccessServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/de/tum/in/www1/artemis/service/exam/ExamAccessServiceTest.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/exam/StudentExamService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/exam/StudentExamService.java
Outdated
Show resolved
Hide resolved
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.
Reapprove after merge conflict
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.
Reapprove after merge conflicts
…sing-student-exams-on-demand
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
…sing-student-exams-on-demand # Conflicts: # src/test/java/de/tum/cit/aet/artemis/exam/service/ExamAccessServiceTest.java
d0702e7
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.
reapprove
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.
reapprove
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.
Reapprove after merge conflicts
…t-exams-on-demand
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 looks good to me 👍
Checklist
General
Server
Motivation and Context
Currently, student exams can only be generated on demand for test exams, but not for real exams. This limitation can be problematic if additional students are registered for the exam and the instructor forgets to click
Generate missing student exams
. If this oversight is discovered after the exam has started, the only way to allow the student to participate is to duplicate the exam and register the missing students for the new one. This pull request adds a feature to generate student exams on demand for real exams as well.resolves #3835
Description
The condition for allowing a student to generate a student exam (previously applicable only to test exams) has been extended to include a check to see if the student is registered for the exam. Now, a student exam will be generated if the exam is a test exam OR if the student is registered for the exam. This is possible only starting from 5 minutes before the exam to prevent inconsistencies, such as an instructor adding another exercise group after a student has generated their exam on demand.
Furthermore, if a student is registered for the exam after the exam has started, a student exam is now generated automatically.
Steps for 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
Performance Review
Code Review
Manual Tests
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes
Tests