{
 "problem_id": "TOYO-E0013-Q02-S03",
 "transcript": {
  "text": "ある中学校の全校生徒の男子と女子の人数の比は 5:4 です。また、通学に電車を利用している生徒と利用していない生徒の人数の比は 10:17 です。通学に電車を利用している男子の人数が 180 人で、通学に電車を利用していない女子の人数が 240 人のとき、全校生徒は何人ですか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "810人",
  "unit": null,
  "first_insight": "全校生徒は 5+4 = 9 でも 10+17 = 27 でも割れるので、全体を ㉗ とおくと男子 ⑮・女子 ⑫・電車 ⑩・電車以外 ⑰ と全部マルで表せる。あとは『男女 × 電車の有無』の 2×2 の表に書き込む。",
  "insight_basis": "2 つの比の全体が同じ人数を指しているので、比の単位をそろえる (9 と 27 の最小公倍数 27)。表にすると『電車の合計』を 2 通りに表せる。",
  "steps": [
   "全体を ㉗ とおく: 男子 ⑮、女子 ⑫、電車 ⑩、電車以外 ⑰",
   "表に書き込む: 男子・電車 = 180、女子・電車以外 = 240。残りは 女子・電車 = ⑫ − 240、男子・電車以外 = ⑮ − 180",
   "電車の合計: 180 + (⑫ − 240) = ⑩ → ⑫ − ⑩ = ② = 240 − 180 = 60 → ① = 30",
   "全校生徒 = ㉗ = 27 × 30 = 810 人"
  ],
  "why": "男女の比と電車の比はどちらも全校生徒を分けた比なので、1 つの単位で表せる。表の行と列の合計が両方の比に合うように式を立てると、未知の単位が 1 つに決まる。",
  "check": "① = 30: 男子 450 (電車 180、電車以外 270)、女子 360 (電車 120、電車以外 240)。電車 300 : 電車以外 510 = 10:17、男子 450 : 女子 360 = 5:4 で成立。電車以外の合計でも 270 + 240 = 510 = ⑰ で一致。教師用: 全校生徒数を全探索しても表が整合するのは 810 のみ。",
  "common_errors": [
   {
    "error": "男子の比 5 と電車の比 10 を同じ単位と思い 180 ÷ 5 や 180 ÷ 10 を単位にする",
    "where": "1手目",
    "detect": "2 つの比は全体が同じ 1 つの集団。全体を 9 と 27 の公倍数でそろえる"
   },
   {
    "error": "女子・電車 = ⑫ − 240 を忘れ、電車 ⑩ = 180 として ① = 18 とする",
    "where": "3手目",
    "detect": "表の 4 マスを全部埋めてから合計の式を作る"
   },
   {
    "error": "① = 30 を出した後、男子 ⑮ = 450 などを答えてしまう",
    "where": "4手目",
    "detect": "問われているのは全校生徒 ㉗"
   }
  ],
  "minimal_points": [
   "全体を ㉗ (9 と 27 の公倍数) とおく",
   "2×2 の表の 4 マスを埋める",
   "電車の合計を 2 通りに表して ② = 60"
  ],
  "related": []
 },
 "hints": [
  "全校生徒は 5+4 と 10+17 の両方で割り切れる。両方の比に合う 1 つの単位 (全体をいくつとおくか) を決める",
  "『男子/女子 × 電車/電車以外』の 2×2 の表を作り、わかっている 2 マスを書き込む",
  "電車を利用する生徒の合計を 2 通りに表して比べる"
 ],
 "analysis": {
  "primary_field": "割合と比",
  "secondary_fields": [
   "文章題"
  ],
  "cores": [
   "比の単位の統一 (公倍数)",
   "2×2 の表による整理"
  ],
  "prerequisites": [
   "比の統一 (連比)",
   "表で条件を整理する"
  ],
  "insight_triggers": "『全体を分ける比が 2 つ』→ 公倍数で単位をそろえ、2×2 の表",
  "core_explanation": "",
  "barrier": "条件整理",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "B",
  "difficulty_basis": "比の統一と表の整理を組み合わせる。計算は軽い",
  "difficulty_scale": "典型解法を組み合わせる・条件整理が必要 (3〜4段階)",
  "est_minutes": 4,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし",
   "計算ミス"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "2 つの比を 1 つの単位に統一し、表で条件を整理する力を問うと推定",
  "confidence": "高"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [
  {
   "page": 15,
   "principle": "比と比例式 (連比・比の統一)"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T11:12:18+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "75471ff69c6c59f2b01ef136305ddddec17213431812c144646ef72e4e450461",
 "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": "全校生徒数を 1〜10000 で全探索し 2×2 表 (男女×電車) が整合する値を列挙 (一意)",
    "result": "計算値 810 / 期待値 810 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '810人' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0013.py",
  "verified_at": "2026-10-23T00:20:15+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "810人",
  "computed": "810",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}