Odd sorting order when some assignments have reduced scoring enabled

Đang mở
#3,011 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
perl
Lĩnh vực
frontend

Hướng nghiên cứu

The bug is in how sets are sorted on the Problem Sets page, which currently ignores each set's reduced scoring date. Find the sort logic for open sets and see where the due date is used as the only key. Add the reduced scoring date as a sort input, then check the issue's example: Set A (reduced scoring Wednesday, due Friday) should come before Set B (due Thursday). Nothing in the payload names a test, so confirm the expected ordering with a maintainer.

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

Mô tả

Reduced scoring is not taken into account when sorting sets on the Problem Sets page, which leads to some counterintuitive sorting of open sets.
Consider the following scenario:

  • Set A has a reduced scoring date of Wednesday and a due date of Friday.
  • Set B has a due date of Thursday, and no reduced scoring period.

In this case Set B will be shown ahead of Set A, though I would argue that Set A has higher urgency.

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.