Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Let candidates pick a random problem from a saved practice list

未关闭
#368 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@Quinton1230 已经在做这个了。

开始于 2026年10月20日。

  • #401 来自 @Quinton1230 —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust
领域
frontend

调研方向

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

  1. Candidates can add and remove problems from their practice list.
  2. The list remains available after reloading the lobby in the same browser.
  3. “Pick from my list” chooses only a marked problem.
  4. When more than one problem is marked, repeated draws avoid immediately selecting the current problem when another marked problem is available.
  5. The action is disabled with a clear explanation when the list is empty.
  6. The feature works with the existing difficulty filters and manual problem selection without silently changing either preference.
  7. 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sysprog21/codetrial 的其他 Issue

查看 sysprog21/codetrial 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。