Feedback wanted: Intuitive scoring for just-in-time sets

Đang mở
#1,791 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
perl
Lĩnh vực
backend

Hướng nghiên cứu

The proposal concerns the jitar_problem_adjusted_status routine in lib/WeBWorK/Utils.pm, where child-problem weights are summed into $childScore. Read that routine and the just-in-time set grading logic first, then decide how a new scoring mode would sit beside the current one. Done would mean a maintainer-agreed design, since the thread has no decision and the issue has been open about four years.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

The current grading algorithm for just-in-time problem sets is rather unintuitive in my opinion, since for child problems it abuses the meaning of the value field to store some factor which - when considering all child problems which count towards the parent - results in a weight. Also, the points for a child problem shown to the student do not correspond to the actually achievable points if I'm not mistaken.

Solution

It would be better in my opinion if the value field retained its meaning (maximum points to reach for the child problem). The relevant jitar_problem_adjusted_status routine in /lib/WeBWorK/Utils.pm could simply proceed as follows when computing the status of a parent problem:

  1. Gather the weighted sum of all subproblems (as is currently done and saved in $childScore)
  2. If this weighted sum is greater than the value of the parent, return one as the status (i.e. when the values of all child problems counting towards the parent problem add up to something at least as large as the value of the parent problem, the score is capped)
  3. Otherwise divide the weighted sum by the parent problem's value and return the maximum of the result and the parent problem's current status.

Instead of the capping in step two, one could simply consider the case where child problems can yield more points than the parent when combined as illegal and throw an error when the user tries to import or save such a set, but this would unfortunately break backwards compatibility (although I'm sure that everybody will switch to the new algorithm...).

Advantages

In addition to being much more intuitive for the end user, this would also enable to apply penalties when a student reaches the child problems after not being able to solve the parent. With the current algorithm, I see no alternative to the insertion of a dummy child problem (always counted as false).

Instead of the capping in step two, it would be better to consider the case where child problems can yield more points than the parent when combined as illegal and throw an error when the user tries to import or save such a set. However, this would break backwards compatibility.

Implementation

I intend to add another routine for the adjusted status to Utils.pm and then offer either a checkbox labelled “use alternative jit scoring” or a dropdown “scoring algorithm for jit sets” with the current algorithm as default to keep backwards compatibility.

Before implementing this, I'd be thankful for some feedback, in particular whether this has a chance to be included in the main tree as I don't want to maintain a local fork.

Ngôn ngữ chính
Perl
Star
164
Fork
167
Merge trung bình
6 ngày 7 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openwebwork/webwork2

Tất cả issue của openwebwork/webwork2

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.