Odd sorting order when some assignments have reduced scoring enabled

Aperta
#3,011 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
perl
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Perl
Stelle
164
Fork
167
Merge medio
6g 7h
PR unite (30g)
27

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openwebwork/webwork2

Tutte le issue di openwebwork/webwork2

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.