Show recorded scores in past attempt rows
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 workfor whiteboard attempts, consistent with the full report. - Omit missing scores and display an explicitly recorded zero as
0/100. - Show
INCOMPLETEwithout scores for incomplete reports. ShowUNSCOREDwhen 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 小时
- 30 天内合并 PR
- 227
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
Compare code semantically across a force push in review bundles可能已有人在做 @Alan52254 今天认领。 未关闭
sysprog21/codetrial#606 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Calculator % disagrees with // on negative operands可能已有人在做 @YunJ-Chang 今天认领。 未关闭
sysprog21/codetrial#602 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Start does nothing visible in the lobby when site data is blocked可能已有人在做 @sidney-Hung 今天认领。 未关闭
sysprog21/codetrial#600 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add a Copy results action to the coding test panel可能已有人在做 @seallllllllll 今天认领。 未关闭
sysprog21/codetrial#598 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Review history drops older reports that still fit可能已有人在做 @HellHBBD 今天认领。 未关闭
sysprog21/codetrial#596 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
ScoopInstaller/Extras#19275 ·
维护者通常 1 天内回复
-
area:plugins kind:bug priority:p2 ready
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
bug priority: medium ui
难度 2/5 1-3 小时 新手友好度 62/100
storytold/gridcraft#3496 · 1 条评论 ·
维护者通常 1 天内回复
-
bip39: Mnemonic::new_from_phrase rejects phrases with extra or non-space whitespace可能已有人在做 @chukwudiikeh 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复