answer on the cusp of a close date

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
perl
領域
backend

調査の方向性

The payload names no source files, so begin by finding where WeBWorK records an answer submission after a problem set's close time, and where it sets the score status. Reproduce by submitting an answer a few seconds after the close time and compare the answer log line with the stored score and past-answer row. Done when a late submission is either credited consistently in every place or rejected consistently, and the maintainers have agreed which behavior is correct.

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

説明

A student submitted a correct answer to a question, but was not awarded credit (their score/status is still zero). But the answer submission made it into the past answer table, and it shows up when we load the page, including with the green indicating it is correct:

Screenshot 2024-07-24 at 4 51 45 PM

Here is what the past answer page shows:

Screenshot 2024-07-24 at 4 52 40 PM

Note the close time was 10:00pm. And here is the answer log entry:

[Sun Jul 21 22:00:25 2024] |student.name|11_3-Using_Technology_to_Explore_Functions_Selected_Exercises|45|1	1721624425	[0,1.1]

So it was 25 seconds late. I think this all indicates an inconsistency somewhere. 22:00:25 was too late for the status to be updated to 1, but not so late to prevent the log entry and past answer entry.

主要言語
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 を短くまとめたダイジェスト。