{
 "problem_id": "TOYO-E0010-Q02-S01",
 "transcript": {
  "text": "コップを1個800円で何個か仕入れ、2割の利益を見込んで定価をつけて販売しました。しかし、全体の5%が売れ残ったため、利益は17920円でした。仕入れたコップは全部で何個でしたか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "160個",
  "unit": null,
  "first_insight": "仕入れ個数を 1 とおき、『売上 − 仕入れ総額 = 利益』を 1 個あたりで整理する。",
  "insight_basis": "定価 960 円、売れたのは全体の 95% という割合情報だけなので、全体を 100 個と仮定すると数が整う。",
  "steps": [
   "定価 = 800 × 1.2 = 960 (円)",
   "全部で 100 個と仮定: 売上 = 960 × 95 = 91200 (円)、仕入れ = 800 × 100 = 80000 (円) → 利益 11200 円",
   "実際の利益 17920 円は 11200 円の 1.6 倍 → 個数も 1.6 倍: 100 × 1.6 = 160 (個)"
  ],
  "why": "売上・仕入れ・利益はすべて個数に比例する (割合条件だけなので)。100 個で計算した利益と実際の利益の比が個数の比。",
  "check": "160 個: 売れた 152 個 × 960 = 145920、仕入れ 128000、差 17920 ✓",
  "common_errors": [
   {
    "error": "売れ残り分の仕入れ値を引き忘れる (売れた分だけで利益を出す)",
    "where": "2手目",
    "detect": "売れ残ったコップの仕入れ代も損失に入る"
   },
   {
    "error": "定価を 800+20=820 など割合の誤り",
    "where": "1手目",
    "detect": "2割は 0.2 倍"
   }
  ],
  "minimal_points": [
   "『1個あたり』か『100個仮定』で整理",
   "利益 = 売上 − 仕入れ総額 (売れ残りも仕入れている)",
   "利益は個数に比例"
  ],
  "related": []
 },
 "hints": [
  "定価はいくらか。全体を 100 個として売上と仕入れ総額を出してみる",
  "100 個のときの利益はいくらか",
  "実際の利益との比が個数の比"
 ],
 "analysis": {
  "primary_field": "文章題",
  "secondary_fields": [
   "割合と比"
  ],
  "cores": [
   "比例関係",
   "仮定して比で合わせる(100個仮定)"
  ],
  "prerequisites": [
   "売買損益の用語",
   "割合の3用法"
  ],
  "insight_triggers": "",
  "core_explanation": "",
  "barrier": "条件整理",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "A",
  "difficulty_basis": "",
  "difficulty_scale": "典型問題の知識をそのまま使える (1〜2段階)",
  "est_minutes": 3,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "",
  "confidence": "中"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [
  {
   "page": 1,
   "principle": "自分の都合のいいように考えよう (全体を100個と仮定)"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T06:39:07+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "5e416cec8f80f40c7af01357607bc7f04250d3a29050f1cca5b50f87566471f8",
 "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〜1999) して利益 17920 円になる個数を見つける",
    "result": "計算値 160 / 期待値 160 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '160個' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0010.py",
  "verified_at": "2026-10-23T00:20:14+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "160個",
  "computed": "160",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}