a-plus icon indicating copy to clipboard operation
a-plus copied to clipboard

Check validity of exercise points after admitting deadline deviation or extra attempts

Open PasiSa opened this issue 4 years ago • 11 comments

When student is admitted deadline extension, the exercise points for already submitted tasks should be checked and updated automatically. Currently this requires manual clicking.

Also, if student is given extra attempts, exercise points should be checked for submissions that exceeded the previous limit.

PasiSa avatar Oct 27 '21 11:10 PasiSa

Did some editing and moved modification problem into separate issue #902

PasiSa avatar Nov 04 '21 18:11 PasiSa

It was noted in a meeting today, that re-adjusting points, e.g. removal of late penalties, can be done without needing to rerun the grading process.

PasiSa avatar Nov 04 '21 19:11 PasiSa

Issue 694 in EDIT Jira

PasiSa avatar Nov 08 '21 08:11 PasiSa

It was noted in a meeting today, that re-adjusting points, e.g. removal of late penalties, can be done without needing to rerun the grading process.

Do you mean that this already can be done in the system or that this is another idea for the future implementation? I don't think we currently have a well-automated feature for this use case. It is possible to manually assess submissions or manually send them to auto-regrading, but that is too time-consuming for the teacher.

The idea was that if the student has already made submissions, but they did not get points either due to the late penalty (requires that late submissions are allowed) or becoming an unofficial submission (requires that unofficial submissions are enabled in the category), then either

  1. teacher adds a deadline deviation and A+ should then recognize automatically that the affected submissions must be regraded, OR
  2. teachers presses a new button "accept late points for this student" and A+ automatically removes late penalties from the affected submissions and converts them to normal, official submissions.

I like 2) because:

  • the submission has already been graded and sending it to auto-regrading is unnecessary
  • A+ already knows the potentially existing late penalty or the unofficial submission status
  • teacher does not need to add any new deadline deviations: deviations are intended for the use case when the student needs to make new submissions, but now the submissions already exist and the student is not supposed to make new submissions
  • the new button could do this for all submissions in the whole module (exercise round) at once

markkuriekkinen avatar Nov 09 '21 08:11 markkuriekkinen

The idea was that if the student has already made submissions, but they did not get points either due to the late penalty (requires that late submissions are allowed) or becoming an unofficial submission (requires that unofficial submissions are enabled in the category), then either

  1. teacher adds a deadline deviation and A+ should then recognize automatically that the affected submissions must be regraded, OR
  2. teachers presses a new button "accept late points for this student" and A+ automatically removes late penalties from the affected submissions and converts them to normal, official submissions.

I like 2) because:

With poor phrasing I think I intended to mean the same as (2)

PasiSa avatar Nov 09 '21 16:11 PasiSa

Relevant comment from the duplicate issue: https://github.com/apluslms/a-plus/issues/482#issuecomment-645270871

The old discussion copied to the issue description mentions personal deadline extensions, but on the other hand, it seems unnecessary to create any deadline extensions when the submission already exists in the database. Deadline extensions should only be used when we want the student to submit again after the deadline.

Another idea:

  • There is a button in the inspect submission page for accepting late or unofficial submissions as "normal submissions".

  • The button is available to teachers and if the exercise allows assistant grading, then also to assistants.

  • The submission record in the database contains the original points set by the grading service as well as the service max points. Verify this first so that I remember this correctly. If this is the case, then we should be able to set the points again in A+ without sending the submission again to the service for regrading.

  • When the button is pressed, A+ could set the points based on the original service points again without any late penalties. Unofficial submissions would be set to the "ready" status. The service points may use a different maximum, hence they must be scaled again to the A+ max points.

  • Ensure that the related points caches are updated or invalidated when the submissions points are changed.

markkuriekkinen avatar Dec 15 '21 15:12 markkuriekkinen

Juha confirmed that he likes option (2). Juha emphasized the following needs.

It should be possible to convert a student's late submissions to graded submissions (i) for a whole module at once, and (ii) for individual assignments.

The teacher makes this operation for a single student at a time. It is not necessary to select multiple students at once.

The teacher's UI: the teacher should be able to access this feature in the course participant page (one student's view when you click a single student in the course participants list) AND in the inspect submission page (which shows a single submission, but the feature would still affect the student's all submissions in that assignment).

markkuriekkinen avatar Jan 17 '22 12:01 markkuriekkinen

Notes from a meeting with teachers on 23.2.2022. For your information, @muhammadfaiz12

Included in the first pull request

Inspect view:

  • add a confirmation dialog to the conversion button
  • the dialog should have options for controlling the conversion:
    • include only (1) this submission, (2) all submissions for this student in this assignment, or (3) all submissions for this student in this course module
    • include (i) both late and unofficial submissions, (ii) only late submissions, or (iii) only unofficial submissions
  • terminology: "convert" is not the right word in the user interface.
    • Accept late submissions?
    • what about unofficial submissions?
    • might be best that the source code also avoids the word "convert" since we are not using it in the user interface
  • Another idea to be considered in the UI: in the inspect view, the late penalty label (in the compact submissions table) could be turned into a convert button.

Included in the second pull request

In the add deviations feature:

  • adding new deviations may run the conversion for existing submissions that are covered by the deviation
    • note: take into account both deadline and max submission attempt deviations
    • For example, the student is given a deadline deviation. Existing late submissions made in the extended deadline period are immediately converted to normal graded submissions.
    • For example, the student is given a max submission attempt deviation. An existing unofficial submission that is included in the new personal max submissions limit is immediately converted to a normal graded submission.
    • should there be an option to not run the conversion? Is the conversion always wanted?

Ideas that should be considered in the end

Undo feature:

  • The teacher may undo the late/unofficial submission conversion. The submissions that were affected are converted back to the original state.
  • no time limit on when the undo may be run (e.g., the teacher notices a mistake only several days later and wants to undo)

markkuriekkinen avatar Feb 23 '22 10:02 markkuriekkinen

I assume "first pull request" above means revised version of #991 , second and possibly third will be separate PRs.

PasiSa avatar Feb 24 '22 08:02 PasiSa

I assume "first pull request" above means revised version of #991 , second and possibly third will be separate PRs.

Yes, that is what I meant.

markkuriekkinen avatar Feb 24 '22 15:02 markkuriekkinen

The merged commit https://github.com/apluslms/a-plus/commit/7c65106714abe63caa1dfe644adf5ab34d3a75c9 implements the basic submission approval in the inspect view: a single submission or all submissions in one assignment or module.

Approving when adding deviations is part of the unfinished draft pull request https://github.com/apluslms/a-plus/pull/1029.

The pull request #991 was closed because it had too many issues.

markkuriekkinen avatar May 06 '22 13:05 markkuriekkinen