Let candidates choose a report improvement as the next practice focus
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 74/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
Start by reading web/render.js::reportMarkup() and the practice-focus flow in web/problem-picker.js and web/app.js. Trace how a selected item can reach the lobby without changing the existing automatic Carry forward behavior or the separate sharing opt-in, then add browser regression coverage for both paths. Done means the exact item is selected, sharing remains unchecked, and the listed interview settings and downloadable Markdown report remain unchanged.
索引モデルが issue の本文から書いたものです。
説明
Problem
A report may recommend several different improvements, such as problem restatement and edge-case enumeration. When a candidate prepares another practice session or uses Try again, CodeTrial currently derives the practice focus from saved reports automatically. The candidate cannot explicitly choose which improvement item should become that focus.
Current behavior
The existing practice-focus flow was introduced as part of #38, including commit 26410f7 (Let a candidate share a practice focus).
I reviewed current main at revision 8f5ad5c.
web/render.js::reportMarkup()renders everyimprovementPlanitem under Practice next, including its phase, drill, duration, success criterion, and self-review checks.web/problem-picker.js::practiceFocus()derives one focus from saved reports. A weakness repeated across reports wins, while ties preserve the newer report and plan ordering.- The derived focus contains the weakness, drill, success criterion, and occurrence count. It does not change problem selection or become new assessment evidence.
web/app.jsdisplays the derived focus in the lobby as Carry forward and lets the candidate explicitly choose whether to share it with Jim.web/interview.jsconsumes the shared focus from session storage.src/agent/prompts.rsallows the shared practice focus to guide at most one neutral follow-up. It does not change the problem, expected solution, rubric, score, or correctness decision.- The existing Try again action selects the previous problem and restores related interview settings, but it does not select a particular
improvementPlanitem from that report.
The existing path therefore supports carrying an automatically selected practice focus into another interview, but it does not let the candidate choose a specific improvement item from the report.
Desired outcome
Each improvement item in the web report has a Practice this action. Pressing it carries that specific improvement item into the lobby as the selected practice focus.
For example, if the candidate chooses an edge-case enumeration item, the existing practice-focus area could show:
Selected practice focus · Test
Drill: Enumerate boundary and edge cases before running tests.
Success: Identify the relevant boundary cases before execution.
The existing Share this focus with Jim checkbox remains below the selected focus and stays unchecked until the candidate explicitly opts in. If the candidate does not press Practice this, the current automatically derived Carry forward behavior remains unchanged.
Proposed scope
- Add a Practice this action to each valid
improvementPlanitem in the web report. - Carry the selected item's phase, weakness, drill, and success criterion into the lobby.
- Let the explicitly selected item take precedence over
practiceFocus(reports)for that lobby session. - Render the selected item in the existing practice-focus area above Share this focus with Jim.
- Keep sharing the focus with Jim as a separate explicit opt-in.
Acceptance criteria
- Each valid Practice next item in the web report offers Practice this.
- Pressing Practice this makes that exact improvement item the selected practice focus in the lobby.
- The explicitly selected item takes precedence over the automatically derived recurring focus for that lobby session.
- Share this focus with Jim remains unchecked after selecting an item.
- If no improvement item is explicitly selected, the existing
practiceFocus()behavior remains unchanged. - Selecting a practice focus does not change the selected problem, difficulty, session length, interview format, or editor settings.
- The downloadable Markdown report remains unchanged.
- Browser regression coverage verifies that Practice this carries the exact selected item into the lobby, leaves sharing with Jim unchecked, and preserves the existing automatic Carry forward behavior when no item is selected.
- 主要言語
- Rust
- スター
- 223
- フォーク
- 148
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 224
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sysprog21/codetrial のほかの issue
-
Check C++ starter node comments against the C++ harness対応中かも @bangyou0912 が今日担当しました。 オープン
sysprog21/codetrial#594 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Transcript tab does not scroll to new turns対応中かも @henrylee1003 が今日担当しました。 オープン
sysprog21/codetrial#592 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Let candidates save and switch between named session setups対応中かも @domin67 が今日担当しました。 オープン
sysprog21/codetrial#591 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Let the candidate choose the editor indentation width対応中かも @princelu1009 が 1 日前に担当しました。 オープン
sysprog21/codetrial#589 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
sysprog21/codetrial#587 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
sysprog21/codetrial の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NSPG13/agent-bounties#1749 ·
メンテナーはふだん 1 日以内に返信
-
area: web bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kinqsradio/orbyn-engineering#227 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows automation repo-assist
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
shanselman/winget-tui#483 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
lightonai/next-plaid#205 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/datafusion-iceberg#100 ·
メンテナーはふだん 1 日以内に返信