Odd sorting order when some assignments have reduced scoring enabled

オープン
#3,011 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
perl
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Perl
スター
164
フォーク
167
平均マージ
6日 7時間
マージ済み PR(30日)
27

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openwebwork/webwork2 のほかの issue

openwebwork/webwork2 の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。