Task mode learning review refused with "unknown learning review field" on every repair attempt
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start by reading docs/task-mode.md under “Capture and Learning review,” then trace the task review parsing and repair attempts from the server log messages. Reproduce with cargo run -- web --task-mode and inspect how an unknown field is reported and how the repair prompt is built. Done when a review with an extra field can be repaired and accepted, with tests covering the rejected field and retry behavior.
索引モデルが issue の本文から書いたものです。
説明
Observed behavior
After a completed attempt at the default task rubik in task mode, the result page showed "Feedback unavailable" instead of a learning review. The server log shows the review model's answer refused three times (attempts 0, 1 and 2) with "unknown learning review field". The live interview itself ran normally to the end (outcome=ok), so the attempt completed but the learner got no review.
Expected behavior
A learning review with dimensions, gaps and nextActions, as docs/task-mode.md describes under "Capture and Learning review". If the model's answer has an extra field, the repair attempt should lead it to drop that field, so that one of the attempts is accepted.
Reproduction
- Start the server with
cargo run -- web --task-mode. - Open
http://localhost:3000; the default taskrubikopens as a guest. - Choose C, accept the rules, allow the microphone and camera, calibrate, and press Start.
- Work through the task with Jim, then press Finish (after about 43 minutes).
- The result page shows "Feedback unavailable".
Observed once so far.
CodeTrial version
codetrial 0.1.0 (2e5b81b)
Environment
OS: Ubuntu 26.04 on WSL2, Windows 11
Browser: Chrome 157.0.8103.40 on Windows
Language: C
Interview loop: task mode (--task-mode), default task, guest
Problem: rubik
REACTO or STAR step: after Finish, while the learning review was generated
Reconnect: none seen on the page
Live model: gemini-3.1-flash-live-preview
Report model: gemini-3.1-flash-lite (default)
Sanitized evidence
Server log, in order; the room and session identifiers are replaced, and the token-count fields of each line are cut after the first few:
task review room=<room> attempt 0 refused: the answer was refused: unknown learning review field
gemini report room=<room> call=2 retry=0 usage prompt_tokens=18704 response_tokens=321 cached_tokens=16295 thought_tokens=0 ...
task review room=<room> attempt 1 refused: the answer was refused: unknown learning review field
gemini report room=<room> call=3 retry=0 usage prompt_tokens=18704 response_tokens=321 cached_tokens=16295 thought_tokens=0 ...
task review room=<room> attempt 2 refused: the answer was refused: unknown learning review field
codetrial live_usage room=<room> session=<session> model=gemini-3.1-flash-live-preview elapsed_s=2582 outcome=ok sockets=5 prompt_tokens=929420 response_tokens=15879 ...
- The two report calls between the refusals have the same prompt size (18704 tokens) and the same answer size (321 tokens), so the repair attempts may be getting back the same answer each time.
- The refusal does not name the unknown field. Naming it in the message, or logging the rejected keys, would make this easier to diagnose.
Public data confirmation
- I removed credentials, session tokens, candidate recordings, and personal interview content from this public report.
- 主要言語
- Rust
- スター
- 236
- フォーク
- 153
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 187
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sysprog21/codetrial のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Unify Java harness validation error messages対応中かも @weichieh0204 が今日担当しました。 オープン
sysprog21/codetrial#872 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Inferred void class operations are never checked against the starter's return type対応中かも @papaya0112 が今日担当しました。 オープン
sysprog21/codetrial#871 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwrite対応中かも @BOBOGUAGUA428 が今日担当しました。 オープン
sysprog21/codetrial#869 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
sysprog21/codetrial の issue をすべて見る
似ている issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
manaflow-ai/cmux#59692 ·
メンテナーはふだん 1 日以内に返信
-
Retire stale Python-parity labels in Rust ingress and auth tests対応中かも @github-actions が今日担当しました。 オープンfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
JoshCLWren/comic-pile#5874 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
status:ready unit
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nonagenticai/conveyor#787 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信