{
 "problem_id": "TOYO-E0013-Q03-S02",
 "transcript": {
  "text": "品物 B を 120 円で □ 個仕入れました。この品物に 5 割増しの定価をつけたところ 700 個売れ、残りの品物は定価の 2 割引きで売ったところ、全ての品物が売れました。このとき、利益は全部で 43800 円でした。□ にあてはまる数を答えなさい。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "775",
  "unit": null,
  "first_insight": "定価 180 円 (1 個の利益 60 円) と 2 割引き 144 円 (1 個の利益 24 円) を先に出す。定価で売れた 700 個の利益を引けば、残りの利益から値引き品の個数が出る。",
  "insight_basis": "1 個あたりの利益が 2 種類しかなく、片方の個数 (700) がわかっているので、全体の利益から順に引く (逆算)。",
  "steps": [
   "定価 = 120 × 1.5 = 180 円 → 1 個の利益 180 − 120 = 60 円。2 割引きの売値 = 180 × 0.8 = 144 円 → 1 個の利益 144 − 120 = 24 円",
   "定価で売れた 700 個の利益: 60 × 700 = 42000 円",
   "残りの利益: 43800 − 42000 = 1800 円 → 値引きで売れた個数 = 1800 ÷ 24 = 75 個",
   "仕入れた個数 = 700 + 75 = 775 個"
  ],
  "why": "利益の合計 = (定価で売った個数 × 60) + (値引きで売った個数 × 24)。前者がわかるので後者が逆算できる。",
  "check": "775 個: 仕入れ 120 × 775 = 93000 円、売上 180 × 700 + 144 × 75 = 126000 + 10800 = 136800 円、差 43800 円 で成立。教師用: 個数を未知数にした方程式を解いても 775 のみ。",
  "common_errors": [
   {
    "error": "値引き品の 1 個あたり利益を 180 − 144 = 36 円とする (定価との差を利益と誤る)",
    "where": "1手目",
    "detect": "利益は売値 − 仕入れ値 120"
   },
   {
    "error": "75 を答えにする (値引きで売れた個数と仕入れ総数の混同)",
    "where": "4手目",
    "detect": "問われているのは仕入れた個数 □ = 700 + 75"
   },
   {
    "error": "2 割引きを 120 円の 2 割引きと誤る",
    "where": "1手目",
    "detect": "割引きの基準は定価 180 円"
   }
  ],
  "minimal_points": [
   "1 個の利益: 定価 60 円、値引き 24 円",
   "700 個分 42000 円を引く",
   "残り 1800 ÷ 24 = 75、合計 775"
  ],
  "related": []
 },
 "hints": [
  "定価と 2 割引きの売値を出し、それぞれ 1 個あたりの利益を求める",
  "定価で売れた 700 個の利益を先に計算する",
  "残りの利益を、値引き後の 1 個あたりの利益で割る。問われているのは仕入れた個数全部"
 ],
 "analysis": {
  "primary_field": "文章題",
  "secondary_fields": [
   "割合と比"
  ],
  "cores": [
   "1 個あたりの利益で整理",
   "逆算"
  ],
  "prerequisites": [
   "売買損益の用語",
   "割合の 3 用法"
  ],
  "insight_triggers": "『700 個は定価、残りは値引き』→ 1 個あたりの利益 2 種類",
  "core_explanation": "",
  "barrier": "条件整理",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "A",
  "difficulty_basis": "(1) の割合計算を複数個に広げただけ。逆算 1 回",
  "difficulty_scale": "典型問題の知識をそのまま使える (1〜2段階)",
  "est_minutes": 3,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし",
   "計算ミス"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "差集め算 (教師用): 全部を定価で売ったとすると利益は 60 × □ 円。実際は (□ − 700) 個が 36 円ずつ少ないので 60 × □ − 36 × (□ − 700) = 43800 → 24 × □ = 43800 − 25200 = 18600 → □ = 775。",
  "intent_estimate": "(1) と同じ設定で個数を未知にし、利益の内訳を整理できるかを問う段階設計と推定",
  "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:12:18+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "283248cf93ac869d41b1a66cab508c14afda6a2d4012277275fb876d334a099b",
 "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": "総個数 n を未知数に売上−仕入れ = 利益 の方程式を sympy で解く",
    "result": "計算値 775 / 期待値 775 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '775' → 一致",
    "by": "verification_script"
   },
   {
    "method": "775 個 (定価 700・割引 75) で利益 43800 を再現",
    "result": "成立",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0013.py",
  "verified_at": "2026-10-23T00:20:48+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "775",
  "computed": "775",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}