Repository navigation
feat(binary-search): フェーズ6応用問題を4問から6問へ拡充 - #442
Open
BeppuKanato wants to merge 1 commit into
Open
BeppuKanato wants to merge 1 commit into
BeppuKanato wants to merge 1 commit into
Conversation
フェーズ7が前提とする力のうち、転移リストの全体の追跡と、不在の ときにコードが返す値(-1)が未確認だったため、関連する既存設問の 直後に選択肢設問を2問追加(2026-11-17 の基準)。正解は実行記録 から導出し、検証も6問構成へ一般化。Parsons 対象外行の組み立ては フェーズ5の空欄と追跡で代替確認する判断を明記。
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
「全単元のフェーズ3・5・6課題強化」プログラムの二分探索・第3弾。フェーズ6「応用問題」を、当初の4問から6問へ拡充する。
設問数の基準は固定数ではなく、2026-11-17 に確定した基準(フェーズ6は「自力で流れからコードを組み立てる力があると判断するに足るか」)に従う。先行単元(BFS #433・DFS #436・バブルソート #439)と同じ手順で、フェーズ7が前提とする力を列挙して監査し、未カバー分だけを既存形式で追加した。
監査結果(フェーズ7が前提とする力 10件)
フェーズ7のテストは D1・J1(主教材)、J2(転移リストで 23 → 位置5)、J3(不在で -1)。
init-hi空欄で対応づけを確認drop-right空欄+追加する転移の追跡で確認変更範囲
consolidation.content.ts: 選択肢設問2問を追加(計6問)。正解はすべて実行記録から導出し、読み込み時検証に転移の比較列と不在の戻り値の照合を追加。transfer-trace(転移タップの直後): 転移リストで調べる値の順番 → 「16 → 56 → 23」。選択肢の文は実行記録の比較列から組み立てるabsent-return(不在の選択の直後): 範囲が空になったときbinary_searchが返す値 → -1(誤答は最後に調べた位置・値・0)scripts/verifyBinarySearchConsolidation.cjs: 6問構成へ一般化(独立トレースで転移の全追跡と戻り値を裏づけ、診断マスクを6問分に、Parsons・rejects は設問 ID で特定)docs/concept/binary-search-unit-baseline.md§3 フェーズ6 とconsolidation/README.mdを現行仕様に更新実行した検証
npm run typecheck/npx eslint(変更範囲)/npm run build成功未実施の検証
DB 適用の要否
不要(フロントの教材コンテンツ・検証・ドキュメントのみ。seed・schema 変更なし)
補足