Let candidates pick a random problem from a saved practice list
维护者通常 1 天内回复
评估
调研方向
Start by locating the lobby, problem cards, and existing recommendation and random-selection logic, then read the tests around those flows. Trace how the lobby stores browser-local preferences and how manual selection and difficulty filters are maintained. Done means candidates can persist a marked problem list, draw only from it with the stated repeat-selection behavior, and pass tests for persistence, add/remove, and selection.
由索引模型根据 Issue 内容生成。
描述
Who is affected
Candidates who want to practice a hand-picked subset of problems without choosing each next problem manually.
Current behavior
The lobby can recommend or randomly select a problem from the available problem bank, but candidates cannot create a personal list and draw only from that list.
Desired outcome
Let candidates mark problems for a personal practice list, then request a random problem from the marked problems.
Scope
- Add a separate control on each problem card to add or remove that problem from the practice list.
- Save the selected problem IDs in the current browser.
- Add a “Pick from my list” action that selects uniformly from marked problems, regardless of the difficulty filters used for general recommendations.
- Keep the existing recommendation and random-selection behavior unchanged.
- Do not sync the list across accounts or devices.
Acceptance criteria
- Candidates can add and remove problems from their practice list.
- The list remains available after reloading the lobby in the same browser.
- “Pick from my list” chooses only a marked problem.
- When more than one problem is marked, repeated draws avoid immediately selecting the current problem when another marked problem is available.
- The action is disabled with a clear explanation when the list is empty.
- The feature works with the existing difficulty filters and manual problem selection without silently changing either preference.
- Automated tests cover list persistence, add/remove behavior, and random selection from only the marked problems.
Related: #210 changed how the existing random selection handles difficulty and review priority. This proposal adds a user-curated pool as a separate selection mode.
- 主要语言
- Rust
- 星标
- 177
- 派生
- 100
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 138
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Audio output can be confirmed without playing a test sound可能已有人在做 @ChenYingHan1121 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
sysprog21/codetrial#359 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add a Copy code button to the final report可能已有人在做 @yansawu 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
sysprog21/codetrial#318 · 5 条评论 · 2 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Use the full lobby width for the expanded problem picker可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
longbridge/gpui-kit#3620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
mongodb/kingfisher#564 ·
维护者通常 1 天内回复
-
bug qq-feedback
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
corro-client drops the last byte of a response line that has no trailing newline可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
-
proxy: include denial_category in the "proxy request denied" log line可能已有人在做 @sreyas-endor 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复