-
Notifications
You must be signed in to change notification settings - Fork 301
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
Programming exercises
: Add server support for feedback suggestions
#7136
Programming exercises
: Add server support for feedback suggestions
#7136
Conversation
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 at a testing session, works as expected
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.
Works as expected. Tested during testing session
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 during the testing session, worked well.
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 https://ma-schwind.ase.cit.tum.de/course-management/7/text-exercises/35 and worked fine!
- suggestions are displayed for programming and text exercises
- when disabling suggestions there are no errors displayed for the text exercises
- suggestions can be applied and rejected
Only a small comment (no need to change it now): I think that Delete
and the trash bin is a quite strong wording - so I would either directly apply the suggestions to programming exercises (similar to the text exercises) or make the wording less strong
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 in testing session. Found everything working as described!
f0f44a2
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 after the latest commit.
Just found some minor copy & paste mistakes in the comments that can be corrected in a follow up
/** | ||
* Create a new TextExerciseDTO from a TextExercise | ||
*/ |
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.
/** | |
* Create a new TextExerciseDTO from a TextExercise | |
*/ | |
/** | |
* Create a new ProgrammingExerciseDTO from a ProgrammingExercise | |
*/ |
* Creates a TextFeedbackDTO from a Feedback object | ||
* | ||
* @param exerciseId the id of the exercise the feedback is given for | ||
* @param submissionId the id of the submission the feedback is given for | ||
* @param feedback the feedback object | ||
* @return the TextFeedbackDTO |
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.
Copy & paste mistake:
* Creates a TextFeedbackDTO from a Feedback object | |
* | |
* @param exerciseId the id of the exercise the feedback is given for | |
* @param submissionId the id of the submission the feedback is given for | |
* @param feedback the feedback object | |
* @return the TextFeedbackDTO | |
* Creates a ProgrammingFeedbackDTO from a Feedback object | |
* | |
* @param exerciseId the id of the exercise the feedback is given for | |
* @param submissionId the id of the submission the feedback is given for | |
* @param feedback the feedback object | |
* @return the ProgrammingFeedbackDTO |
…ggestions-server # Conflicts: # src/main/java/de/tum/in/www1/artemis/repository/ProgrammingExerciseRepository.java
Warning
This PR includes a migration! Do not deploy to a normal test server. Instead, use ma-schwind.ase.cit.tum.de.
Checklist
General
Server
Client
Motivation and Context
We want to actually show feedback suggestions from Athena in the programming exercise tutor assessment editor.
Description
Steps for Testing
Prerequisites:
Pre-configured example exercises: https://ma-schwind.ase.cit.tum.de/courses/7/exercises
(New) The first referenced test feedback will be associated with a grading instruction.
After testing, ask Paul to look into the Artemis+Athena server logs to confirm that there were no new problems with submission sending, feedback sending, and submission selection either.
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
Client
improved from 86.81% on develop
improved from 83.39% on develop
increased from 84.61% on develop
Server
Only an exception that should never happen is untested
Screenshots
Suggestions in Text Exercise (looks a bit weird because I hardcoded the suggestion index ranges to better test):
Suggestions in Programming Exercise:
Confirmation if there are pending feedback suggestions (programming exercises only):