Skip to content
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

Present Sample Solution #16

Closed
andreasseitz opened this issue Jul 17, 2017 · 8 comments · Fixed by #4795
Closed

Present Sample Solution #16

andreasseitz opened this issue Jul 17, 2017 · 8 comments · Fixed by #4795

Comments

@andreasseitz
Copy link

As Instructor, I want to be able to provide a sample solution for an exercise.
As Student, I want to see a sample solution of an exercise after the exercise deadline has passed.

@krusche
Copy link
Member

krusche commented Feb 3, 2019

We have this in the database, but need to work on how instructors can insert sample solutions and how this is presented to students after the deadline

@Garfield96
Copy link
Contributor

What's the current status of this feature?

@krusche
Copy link
Member

krusche commented Dec 14, 2019

Instructors can provide sample solutions for programming, text and modeling exercises, but they cannot be displayed to students automatically.

@COM8
Copy link
Contributor

COM8 commented Jan 23, 2020

This was one of the biggest criticisms of Artemis in our lecture evaluation.

@krusche
Copy link
Member

krusche commented Jan 23, 2020

Thanks for the feedback! You can already use the solution repository and simply give the student group of the course read permissions. Then you could simply distribute this link using the problem statement. In the future, we will integrate this into Artemis so that at a specific date the solution is automatically readable to all students and properly linked in the exercise details page

@1-alex98
Copy link
Member

Would also be interesting for our use case

@krusche
Copy link
Member

krusche commented Nov 18, 2020

I think the easiest implementation would be to

  1. add a button to the course management --> (programming) exercise details page “Publish solution” (only visible after due date and with a confirmation dialog).
  2. If this button was pressed and confirmed, the student group will get read access to the solution repo and the link will be displayed in the student exercise details page.

This also means we need a new attribute in Exercise.java (as this would also be useful for other exercise types in the future) and a new column in the exercise table to save if the solution is available.

An alternative would be to allow instructor to store a solutionPublicationDate in the exercise itself. Then, they could setup the solution publication even before the exercise due date has passed. This would then need to be automatically scheduled

@krusche krusche modified the milestones: 4.8.0, 4.8.2 Nov 18, 2020
@krusche krusche removed this from the 4.8.2 milestone Dec 10, 2020
@1-alex98
Copy link
Member

1-alex98 commented Dec 15, 2020

@krusche your workaround does not work for GitLab because there is no student group there. Or at least it needs a different workaround

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants