Show recorded scores in past attempt rows

オープン 初心者向け
#604 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, rust
領域
frontend

調査の方向性

web/app.js の renderAttemptHistory() と、web/progress.js の normalizeProgressEntry() が公開する記録済みフィールドを読む。合成した保存済みの試行を使うブラウザテストを追加し、エディター、ホワイトボード、不完全、レガシーの各エントリーについて、レポートを折りたたんだ状態で行に表示されるテキストを確認する。行に有効な記録済みスコアと、不完全または未採点のレポートに指定されたラベルが表示されれば完了。

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

説明

Motivation

Candidates comparing their results in Interview progress → Past attempts currently have to open each report to see its scores. The row already shows the date, problem, difficulty, language, and verdict. Showing the saved scores alongside the verdict would let candidates compare attempts while their reports are collapsed.

Expected behavior

  • Show the recorded work and communication scores in each attempt row. An editor attempt could read HIRE · Coding 82/100 · Communication 74/100.
  • Label the work score Board work for whiteboard attempts, consistent with the full report.
  • Omit missing scores and display an explicitly recorded zero as 0/100.
  • Show INCOMPLETE without scores for incomplete reports. Show UNSCORED when a saved report has no valid recorded verdict.

Proposed approach

At af66541, renderAttemptHistory() in web/app.js builds the row label, and normalizeProgressEntry() in web/progress.js already exposes the recorded verdict and scores. Using those fields lets the row distinguish missing values from recorded zeroes. A separate comparison panel would require another interaction, so I propose extending the existing row.

The change is limited to the Past attempts list. Add a browser test with synthetic saved attempts that checks the visible row text while the reports are collapsed, including editor, whiteboard, incomplete, and legacy entries.

Related work

#276 presents phase scores in charts, and #466 compares attempts inside an opened report. The CodeTrial contribution guide lists attempt history with scores in the HackerRank Mock Interviews comparison.

主要言語
Rust
スター
223
フォーク
148
平均マージ
1日 10時間
マージ済み PR(30日)
227

環境構築

はじめの一歩

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

sysprog21/codetrial のほかの issue

sysprog21/codetrial の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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