{
 "problem_id": "TOYO-E0014-Q02-S01",
 "transcript": {
  "text": "次の各問いに答えなさい。\n(1) 何本かのえんぴつをA組の生徒に1人7本ずつ配ったところ4本余りました。同じ本数のえんぴつをB組の生徒に1人5本ずつ配ったところ、余りも不足もありませんでした。A組とB組の生徒の人数の合計は80人です。このとき、A組の生徒の人数は何人ですか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "33人",
  "unit": null,
  "first_insight": "えんぴつの本数は 1 つ。A 組の人数を □ 人とおけば B 組は (80 − □) 人で、本数を『7 × □ + 4』と『5 × (80 − □)』の 2 通りに表せる。",
  "insight_basis": "2 つの組で配り方が違うが、配るえんぴつの本数は同じ。人数の合計が分かっているので未知数は 1 つ (A 組の人数) で済む。",
  "steps": [
   "A 組の人数を □ 人とすると、B 組は (80 − □) 人",
   "えんぴつの本数は、A 組から見ると 7 × □ + 4 (本)、B 組から見ると 5 × (80 − □) = 400 − 5 × □ (本)",
   "同じ本数だから 7 × □ + 4 = 400 − 5 × □ → 12 × □ = 396 → □ = 33",
   "確認: 7 × 33 + 4 = 235 本、B 組は 80 − 33 = 47 人で 5 × 47 = 235 本 ✓"
  ],
  "why": "『同じ量を 2 通りに表して等しいとおく』のが文章題の基本。B 組の式を 400 − 5 × □ と直すと、□ が左右に分かれているのを 1 つにまとめられる。",
  "check": "別解 (数の性質): 本数は『7 で割ると 4 余り、5 で割り切れる』数。最小は 25 (A 3 人、B 5 人で計 8 人)。本数が 35 増えるごとに人数は 5 + 7 = 12 人増えるので、80 − 8 = 72 = 12 × 6 → 本数 25 + 35 × 6 = 235、A = (235 − 4) ÷ 7 = 33 ✓",
  "common_errors": [
   {
    "error": "A 組の 4 本余りを B 組の式にも入れる (5 × B + 4)",
    "where": "2手目",
    "detect": "B 組は『余りも不足もない』"
   },
   {
    "error": "7 × □ + 4 = 5 × (80 − □) を 7 × □ + 4 = 400 − □ と展開する (5 のかけ忘れ)",
    "where": "3手目",
    "detect": "80 人全員に 5 本なら 400 本、そこから A 組の分 5 × □ を引く"
   },
   {
    "error": "□ = 33 を出した後に B 組の 47 人を答える",
    "where": "最後",
    "detect": "問われているのは A 組"
   }
  ],
  "minimal_points": [
   "A 組を □ 人、B 組を (80 − □) 人",
   "本数を 2 通りに表す: 7 × □ + 4 = 5 × (80 − □)",
   "12 × □ = 396"
  ],
  "related": []
 },
 "hints": [
  "A 組の人数を □ 人とおくと、B 組は (80 − □) 人",
  "えんぴつの本数を、A 組の配り方と B 組の配り方の 2 通りの式で表す (同じ本数)",
  "7 × □ + 4 = 5 × (80 − □) の形になる。右辺を 400 − 5 × □ と直して □ をそろえる"
 ],
 "analysis": {
  "primary_field": "文章題",
  "secondary_fields": [
   "数の性質"
  ],
  "cores": [
   "同じ量を 2 通りに表す",
   "□ を使った式の整理 (消去算)"
  ],
  "prerequisites": [
   "過不足算",
   "□ を使った式の変形"
  ],
  "insight_triggers": "『同じ本数のえんぴつ』を 2 通りの配り方で → 等しいとおく",
  "core_explanation": "",
  "barrier": "条件整理",
  "approach_comparison": "□ の式で整理する主解法が最短。本数を『7 で割って 4 余る 5 の倍数』として探す別解は人数の増え方 (12 人ずつ) に気づく必要があるが検算に有効。"
 },
 "learning": {
  "difficulty": "B",
  "difficulty_basis": "典型の過不足算と違い 2 つの集団にまたがる。□ の式に整理する 1 段階が必要",
  "difficulty_scale": "典型解法を組み合わせる・条件整理が必要 (3〜4段階)",
  "est_minutes": 4,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし",
   "計算ミス"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "過不足算の形をした問題を、『同じ量を 2 通りに表す』という基本に戻って整理できるかの確認と推定。集団が 2 つあることで公式あてはめでは解けない設計",
  "confidence": "中"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [
  {
   "page": 31,
   "principle": "消去算・差集め算 (そろえる)"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T11:00:05+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "972de6e67ae711a29a129e3c1e3c2e1bf5e0d0e97f68bc00e63e79ab0af4ff39",
 "verification": {
  "checks": {
   "source_mapping_confirmed": true,
   "crop_visually_checked": true,
   "shared_context_confirmed": true,
   "answer_consistency_checked": true,
   "independent_verification_passed": true,
   "no_unresolved_conflicts": true,
   "explanation_reproducible": true,
   "no_answer_leak_on_front": true
  },
  "methods": [
   {
    "method": "A 組の人数を 0〜80 で全探索し、本数が一致する人数を見つける (一意性も確認)",
    "result": "計算値 33 / 期待値 33 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '33人' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0014.py",
  "verified_at": "2026-10-23T00:20:49+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "33人",
  "computed": "33",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}