-
Notifications
You must be signed in to change notification settings - Fork 305
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
: Participate in the test exam multiple times
#10340
Open
coolchock
wants to merge
131
commits into
develop
Choose a base branch
from
feature/exam-mode/participate-in-test-exam-multiple-times
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+909
−249
Open
Changes from all commits
Commits
Show all changes
131 commits
Select commit
Hold shift + click to select a range
7392a09
refactor StudentExamService
coolchock 89ef7fb
refactor ParticipationService^
coolchock 61cba39
add student_exam_participation table
coolchock 8da735c
assign generated participations to the student exam
coolchock 07c541e
refactor start exercise method
coolchock c6ced67
remove index to allow multiple participations with the same student_i…
coolchock fff4bfa
refactor exam access service
coolchock 6dc3c42
add participation_id column to participation table
coolchock 4b90546
add participation_id column to the index
coolchock b882350
add a query to fetch last text exam participation
coolchock ffb9eab
add changelogs to master.xml
coolchock 6912659
change navigation in the attempt-review-component
coolchock 261c3be
refactor ExamSubmissionService
coolchock 43b0ef1
refactor ExamDateService
coolchock c055ef1
add isFinished method in the StudentExam class
coolchock 9e2e08c
change column name from participation_id to number_of_attempts
coolchock dd4e8a7
add query to check if an exam is a test exam
coolchock e552578
add column to Participation entity
coolchock 1ab81f1
set number of attempts
coolchock bf79e1b
check for the testExam in the live-events
coolchock 7f3da78
change method in the exam summary method
coolchock f632053
filter out participations in the ExamService
coolchock b9cd7db
set number of attempts to 255
coolchock 3a022b5
add comment
coolchock 0023448
adjust comments
coolchock 0fb3cfd
remove commented method
coolchock c58dd87
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 7d4a49c
fetch latest student exam in ResultService
coolchock 0fbb9c3
add repository method to fetch latest StudentParticipation
coolchock 1a8c1a5
distinguish between test exam and other exam types in ProgrammingExer…
coolchock 7fc8758
change ParticipationServiceTest
coolchock aaaa4b2
fetch latest participation for the test exam exercise
coolchock 87b9321
implement findLatest methods
coolchock 38e08bf
remove attemptNumber from repository slug
coolchock cb24abf
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock b1c1b9c
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock dc95707
remove redundant call to set attempt number
coolchock 564bde9
convert list to a set to improve performance
coolchock ca54780
add attempt number to repository name
coolchock da998a0
rename method and remove submission policy
coolchock 044fadc
change router link
coolchock 7e7b868
change logic of openStudentExam
coolchock ae91e10
make attempt component non-clickable if the attempt was not submitted…
coolchock 5f34573
change repositoryLink for test-exams
coolchock 49f5d11
remove @Transactional
coolchock 1e1c3b5
add @Param annotations
coolchock ed10000
optimize query by using limit and order instead of select max
coolchock b604bf0
use toList() instead of Collectors
coolchock 52f1e5a
change repository method
coolchock 74599b9
fix the issue, that submissions of first attempt are not saved
coolchock 1c0c7af
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock e4ddb76
distinguish between test exams in repository method
coolchock cd7dc52
move filtering of the student exam participations to the repository m…
coolchock 631dd2f
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 8476dcd
fix tests
coolchock d00108f
adjust architecture test
coolchock 71171c0
avoid unnecessary DB call
coolchock 6c085c3
adjust repository methods
coolchock 8c9f604
rename method^
coolchock 6500a9e
fix test
coolchock 3b9a656
remove unnecessary test
coolchock 8fad453
adjust translations
coolchock ac396fd
refactor getExamInCourseElseThrow method
coolchock 2e4ad8c
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 0a2519c
translations
coolchock 8ed669d
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 6b4856e
resolve rabbit comments
coolchock c6d851e
adjust tests
coolchock ea1f359
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock b186bae
adjust filtering of sensitive feedbacks in exam exercises
coolchock afeed60
implement isTestExamExercise method
coolchock 7b8ec72
isTestExam method
coolchock ee30325
add numberOfAttempts @param docu
coolchock bfd9323
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock bac9202
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock b40c3ab
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock c85c599
fix instructors not being able to participate
coolchock 7644eb6
prettier
coolchock 54853d5
remove LIMIT from JPQL queries
coolchock edc9c18
add ElseThrow to method signature^
coolchock f913762
Remove unused files in new exam mode ui
edkaya ebcdd54
Resolve merge conflict
edkaya 2025853
Implement new attempt design and integrate to new exam mode ui
edkaya 8870714
Fix one client test
edkaya 1b6c16e
Add javadoc comments
edkaya 588e161
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock dc78eec
solve problems after merging develop
coolchock 613fd3a
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 32e4e75
add test exam to condition
coolchock 6e00298
modify repository method to find first participation with submissions
coolchock 183d28c
merge changes in sidebar-card-item.component.html
coolchock 1398574
reload attempts after finishing one
coolchock 35d6501
rename number_of_attempts to attempts in migrations and class
coolchock 3fa1a04
remove entity graph
coolchock 8ec09d1
fix architecture test
coolchock 72f8906
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock f0730d6
add tests
coolchock 42258ed
resolve TODOs
coolchock 73acd0b
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 622ac46
don't show percentDiff for test exams
coolchock 53c2219
show start and end dates for test exams
coolchock 11abf89
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock f8c24cb
resolve merge conflicts
coolchock 7956b02
incorporate feedback
coolchock 690d249
add javadoc
coolchock d75d88f
improve coverage
coolchock def8e4e
fix tests
coolchock a51b76e
improve coverage
coolchock 5d7067d
fix typo
coolchock 0bed9b0
use findFirst to simplify the code
coolchock 2bd0b8e
use template literals to improve readability
coolchock 1d11448
rename method
coolchock abea29b
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 6c526d8
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 917afe7
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock dcc5903
resolve merge conflicts
coolchock 0658e9a
resolve merge conflicts
coolchock 0400798
resolve merge conflicts
coolchock e83d11e
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 6fd8939
Merge branch 'refs/heads/develop' into feature/exam-mode/participate-…
coolchock 90976c9
Merge branch 'develop' into feature/exam-mode/participate-in-test-exa…
coolchock c5cd022
resolve merge conflicts
coolchock 6c0ebad
resolve merge conflicts
coolchock 54ebd06
add missing properties
coolchock 34a49a3
rename variable
coolchock dfff20c
style
coolchock 2d7e48d
add attempt properties to sidebar
coolchock 9850879
Merge branch 'develop' into feature/exam-mode/participate-in-test-exa…
coolchock 972c279
fix issues
coolchock 283ee32
Merge branch 'develop' into feature/exam-mode/participate-in-test-exa…
coolchock 6eb3a67
add missing import
coolchock File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🛠️ Refactor suggestion
Enhance robustness and consistency of
isExamOver
method.The method should be made more consistent with existing exam date checks and handle edge cases:
isExamWithGracePeriodOver
Apply this diff to improve the implementation:
📝 Committable suggestion