{
 "problem_id": "TOYO-E0009-Q03-S02",
 "transcript": {
  "text": "下の図のように、ある水そうに4つの管A、B、C、Dがついています。Aからは毎分3Lで水を入れます。Bからは毎分6Lで水を抜き、Cからは毎分2Lで水を抜き、Dからは一定の割合で水を抜きます。この水そうが満水の状態から、AとDを同時に開くと2時間30分で水そうは空になり、AとCとDを同時に開くと1時間15分で水そうは空になります。このとき、次の各問いに答えなさい。\n(2) この水そうが満水の状態から、AとBとDを同時に開き、しばらくしてBを閉じました。その10分後、Aを閉じると同時にCを開き、CとDだけで水を抜きました。AとBとDを同時に開いてから48分で水そうが空になったとすると、Bを開いていた時間は何分間ですか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [
  {
   "problem_id": "TOYO-E0009-Q03-S01",
   "label": "容積 300L と D の排水量 (毎分 5L)"
  }
 ],
 "solution": {
  "final_answer": "14分間",
  "unit": null,
  "first_insight": "(1) から D は毎分 5L (A と D で毎分 2L 減る → 5 − 3)。3 つの区間の『毎分減る量』を出すと、真ん中の 10 分は確定なので、残り 38 分を 2 種類の速さで分けるつるかめ算になる。",
  "insight_basis": "管の開閉で区間が 3 つ (A,B,D → A,D → C,D)。それぞれの減る速さは分かるので、時間が未知なのは最初と最後の 2 区間だけ → 合計時間と合計量が分かる 2 種類 = つるかめ算。",
  "steps": [
   "(1) より容積 300L、D は毎分 5L 抜く (A と D で毎分 2L 減るので D = 2 + 3)",
   "区間ごとの毎分減る量: ①A,B,D: 6 + 5 − 3 = 8L、②A,D: 5 − 3 = 2L、③C,D: 2 + 5 = 7L",
   "②は 10 分で 2 × 10 = 20L。残り 300 − 20 = 280L を①と③で合計 48 − 10 = 38 分",
   "つるかめ算: 38 分すべて③なら 7 × 38 = 266L。280 − 266 = 14L 足りない。①に 1 分かえるごとに 8 − 7 = 1L 増えるので、①は 14 分",
   "B を開いていた時間 = ①の時間 = 14 分間"
  ],
  "why": "区間ごとに速さを確定させ、確定している 10 分を先に引く。残りは『2 種類の速さ・合計時間・合計量』が分かるつるかめ算の形。",
  "check": "①14 分 × 8 = 112L、②10 分 × 2 = 20L、③24 分 × 7 = 168L → 112 + 20 + 168 = 300L、14 + 10 + 24 = 48 分で条件どおり。",
  "common_errors": [
   {
    "error": "A が入れる管なので減る速さから 3 を引くのを忘れる (①を 11L とする)",
    "where": "2手目",
    "detect": "A は『入れる』。(1) の『A と D で 2L』と整合するか確認"
   },
   {
    "error": "B を閉じた後の 10 分を D だけ (5L) とする",
    "where": "2手目",
    "detect": "『A を閉じると同時に C を開き』は 10 分後なので、10 分間は A と D"
   },
   {
    "error": "つるかめ算の合計時間を 48 分のままにする",
    "where": "3手目",
    "detect": "真ん中の 10 分 (20L) を先に引く"
   }
  ],
  "minimal_points": [
   "D = 5L/分 ((1) から)",
   "3 区間の毎分減る量 8, 2, 7",
   "10 分を先に引いてつるかめ算"
  ],
  "related": []
 },
 "hints": [
  "(1) の結果から D が毎分何 L 抜くかを先に出す",
  "『A,B,D』『A,D』『C,D』の 3 つの区間で、1 分に減る量をそれぞれ出す",
  "真ん中の 10 分を先に引くと、残りは 2 種類の速さのつるかめ算"
 ],
 "analysis": {
  "primary_field": "文章題",
  "secondary_fields": [
   "水そう・グラフ"
  ],
  "cores": [
   "区間ごとの速さの整理",
   "つるかめ算",
   "確定部分を先に引く"
  ],
  "prerequisites": [
   "つるかめ算",
   "ニュートン算型の速さの合成"
  ],
  "insight_triggers": "",
  "core_explanation": "",
  "barrier": "条件整理・計算",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "B",
  "difficulty_basis": "区間が 3 つで、確定している真ん中を引いてからつるかめ算に持ち込む整理が必要",
  "difficulty_scale": "典型解法を組み合わせる・条件整理が必要 (3〜4段階)",
  "est_minutes": 5,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし",
   "計算ミス"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "(1) の結果 (容積と D の量) を使って区間を整理し、つるかめ算に落とし込めるか。管の開閉の時系列を正確に読む読解力も見る設計と推定。",
  "confidence": "中"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T10:59:52+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "28784e45b7fe78f957c456c74717cdecf871a4e46a393cba37fda8e677cf8cd5",
 "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) の D から組み、時間の連立一次方程式を sympy で解く",
    "result": "計算値 14 / 期待値 14 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '14分間' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0009.py",
  "verified_at": "2026-10-23T00:20:12+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "14分間",
  "computed": "14",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}