STEP 2209 — Ground truth sample infrastructure

2026-09-23 · rei-aios-59 · 2nd batch of 6 items sequential #1 · chat-Claude corrigendum Point 1 対応
★ Corrigendum #1 (2026-09-23、 chat-Claude 3 point feedback Point 1 embed)

Chat-Claude Point 1 明示: 「19 件 を 5 軸 に 層別すると、 各層 は 4 件前後。 この規模で 分かるのは 『scorer が 大きく偏っているかどうか』 だけ で、 『1 軸 で 30-50%』 のような 閾値 を 決める 根拠 には なりません。 19 件 の 割合 には ±20 ポイント程度 の 幅 が 付きます。 humanLabel を 埋めたあと、 その結果から target を 決めるのではなく、 まず 『偏りが 残っているか / 消えたか』 の 判定 だけ に 使う、 と 決めておくのが 安全 です。 target を 数字で 決めるなら 標本 を 足すのが 先 です。」

n=19 で 言える 範囲 (制約 明示): Attribution: [via 藤本さん paste of chat-Claude(cloud) 3 point 2nd batch corrigendum / Point 1 embed: rei-aios-59]
Summary: Chat-Claude corrigendum #1 Point 1 「calibration target を 定義するときは、 閾値の数字を決めるより先に、 人手 で ラベル を 付けた 小 sample (~30 papers) を 作成してください。」 の infrastructure 実装。 私 (Claude) は sample 生成 script + verify script を land、 humanLabel 値 は 藤本さん が 埋める必要あり (labels 自体 を 私 が 生成すると ground truth 意味崩壊、 fm-target-without-ground-truth-baseline 同型 pattern の 自演)。

Implementation

scripts/research-radar/sample-for-ground-truth.ts (~140 line)

Test 実測 (2026-09-22 scores 81 papers):

Stratified sampling: 5 labels present, target ~6 per label (total ≈ 30)
  BOTH: 4 available → 4 sampled
  FALSE: 2 available → 2 sampled
  FLOWING: 55 available → 6 sampled
  NEITHER: 1 available → 1 sampled
  TRUE: 19 available → 6 sampled

✓ Sampling file written: data/research-radar/ground-truth-samples/samples-2026-09-22-n19.json
  19 papers, humanLabel field empty — for 藤本さん to fill.

scripts/research-radar/ground-truth-verify.ts (~120 line)

Chat-Claude Point 1 遵守 verify

Chat-Claude 明示:

標本 が ないまま target を 「1 axis で 30-50%」 と 決めると、 それも 同じく 根拠 のない 数字。

本 STEP 実装 状態:

Next candidates (defer marker、 帰宅後 藤本さん judgment 待ち)

  1. 藤本さん が samples-2026-09-22-n19.jsonhumanLabel を 19 papers 分 埋める
  2. npx tsx scripts/research-radar/ground-truth-verify.ts --samples=data/research-radar/ground-truth-samples/samples-2026-09-22-n19.json 実行
  3. 実測 agreement / kappa / confusion matrix evidence stack で calibration target 設定 判断

Honest scope