Show recorded scores in past attempt rows

Aperta Adatta ai principianti
#604 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, rust
Ambito
frontend

Direzione di ricerca

Leggi renderAttemptHistory() in web/app.js e i campi registrati esposti da normalizeProgressEntry() in web/progress.js. Aggiungi un test del browser con tentativi salvati sintetici e controlla il testo visibile delle righe mentre i report sono compressi per le voci editor, lavagna, incomplete e legacy. Il lavoro è completato quando le righe mostrano punteggi registrati validi e le etichette specificate per i report incompleti o senza punteggio.

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

Descrizione

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.

Lingua principale
Rust
Stelle
223
Fork
148
Merge medio
1g 10h
PR unite (30g)
227

Preparare l'ambiente

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 sysprog21/codetrial

Tutte le issue di sysprog21/codetrial

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.