{
 "problem_id": "TOYO-E0001-Q01-S02",
 "transcript": {
  "text": "1個30円のお菓子を5個と1個50円のお菓子を何個か買うため代金を支払おうとしたところ、3割引きにしてくれたので、代金は350円になりました。1個50円のお菓子をいくつ買いましたか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "7個",
  "unit": null,
  "first_insight": "3 割引きで 350 円 → 割引前の代金は 350÷0.7 で逆算できる。あとは 30 円のお菓子 5 個分を引いて 50 円で割る。",
  "insight_basis": "割引は合計代金にかかるので、先に『割引前の合計』に戻せば個数の問題になる。",
  "steps": [
   "割引前の代金: 350÷(1−0.3)＝350÷0.7＝500 (円)",
   "30 円のお菓子 5 個分: 30×5＝150 (円) → 50 円のお菓子の代金は 500−150＝350 (円)",
   "350÷50＝7 (個)"
  ],
  "why": "割引後の代金 = 割引前 × 0.7 なので、割引前 = 割引後 ÷ 0.7 (割合の逆算)。割引前の合計は各お菓子の代金の和。",
  "check": "(30×5＋50×7)×0.7＝500×0.7＝350 円 ✓",
  "common_errors": [
   {
    "error": "350×1.3 や 350＋350×0.3 で割引前を出す",
    "where": "1手目",
    "detect": "『3 割引き後が 350 円』なので 350 は 0.7 にあたる。÷0.7 で戻す"
   },
   {
    "error": "150 円を引き忘れて 500÷50＝10 個とする",
    "where": "2手目",
    "detect": "30 円のお菓子 5 個も代金に含まれている"
   }
  ],
  "minimal_points": [
   "割引後 ÷ 0.7 = 割引前",
   "合計から 30 円×5 個を引く",
   "残りを 50 円で割る"
  ],
  "related": []
 },
 "hints": [
  "3 割引きで 350 円になったのなら、割引前の代金はいくらか (逆算)",
  "割引前の代金から 30 円のお菓子 5 個分を引く",
  "残った金額を 50 円で割る"
 ],
 "analysis": {
  "primary_field": "割合と比",
  "secondary_fields": [
   "文章題"
  ],
  "cores": [
   "割合の逆算",
   "合計からの差し引き"
  ],
  "prerequisites": [
   "割引の意味 (○割引き = 1−○/10 倍)",
   "割合の3用法"
  ],
  "insight_triggers": "",
  "core_explanation": "",
  "barrier": "計算",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "A",
  "difficulty_basis": "",
  "difficulty_scale": "典型問題の知識をそのまま使える (1〜2段階)",
  "est_minutes": 2,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "知識不足",
   "計算ミス"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "割合の逆算 (もとにする量を求める) の基本確認。大問1 の序盤で確実に得点させる設計と推定。",
  "confidence": "高"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T11:02:58+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "574a8c37878a00c9cc6d1805c887729a97ecf189453a80158a52bb25a3fd8cd0",
 "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": "個数を全探索し、3 割引き後の代金が 350 円になる個数を見つける (主解法の逆算とは別経路)",
    "result": "計算値 7 / 期待値 7 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '7個' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0001.py",
  "verified_at": "2026-10-23T00:19:47+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "7個",
  "computed": "7",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}