{
 "problem_id": "JG-E0020-Q05-S01",
 "transcript": {
  "text": "5、6、7について □にあてはまる数を入れなさい。\n5. ある数を2倍する操作をA、ある数から1を引く操作をBとします。はじめの数を1として、A、Bの操作を何回か行います。\n(1) 操作をA→A→B→B→Aの順に行うと、数は □ になります。",
  "status": "agent_visual_confirmed",
  "notes": "切り出し (領域 JG-E0020-Q05-S01-main-p03) の下端に (2) の解答欄の上辺が、(2) の切り出し上端に (1) の解答欄の下辺がわずかに写り込むが、本文の欠けはない。"
 },
 "depends_on": [],
 "solution": {
  "final_answer": "4",
  "unit": null,
  "first_insight": "1 から順に操作を当てはめるだけ。A は 2 倍、B は 1 を引く。",
  "insight_basis": "操作の定義どおりに 5 回計算する。",
  "steps": [
   "1 → (A) 2",
   "2 → (A) 4",
   "4 → (B) 3",
   "3 → (B) 2",
   "2 → (A) 4"
  ],
  "why": "操作の定義どおりに順に計算する。",
  "check": "逆にたどる: 4 ← (A) 2 ← (B) 3 ← (B) 4 ← (A) 2 ← (A) 1 ✓ (教師用: 操作列をそのままシミュレーションしても 4)",
  "common_errors": [
   {
    "error": "B を『1 を足す』と読む、または A→A→B→B→A の順を取り違える",
    "where": "読解",
    "detect": "操作の定義を書き写してから順に計算"
   }
  ],
  "minimal_points": [
   "定義どおり順に計算"
  ],
  "related": [
   {
    "problem_id": "TOYO-E0014-Q05-S01",
    "why": "ルール (操作) の言い換えと書き出し"
   },
   {
    "problem_id": "TOYO-E0005-Q05-S01",
    "why": "交換規則どおりのシミュレーション"
   }
  ]
 },
 "hints": [
  "A は 2 倍、B は 1 を引く。はじめの数 1 に順番に当てはめる",
  "1 つ操作するごとに数を書いていく",
  "最後の A まで 5 回ぶん書けたか確認"
 ],
 "analysis": {
  "primary_field": "数の性質",
  "secondary_fields": [
   "規則性"
  ],
  "cores": [
   "操作の定義の読み取り"
  ],
  "prerequisites": [
   "整数の計算"
  ],
  "insight_triggers": "操作の定義 → 順に適用",
  "core_explanation": "",
  "barrier": "読解",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "A",
  "difficulty_basis": "",
  "difficulty_scale": "典型問題の知識をそのまま使える (1〜2段階)",
  "est_minutes": 1,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "(3) に向けて操作のルールを確認させる導入問題。女子学院のルール型大問は (1) で定義の理解を確認し、(2)(3) で逆算に進む誘導型の構成が多い。",
  "confidence": "高"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T18:53:21+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "e7ecdfa6920836926ecc3a8241e61a9c7c74f920ab13be96053aed46cfe05c7f",
 "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": "操作列をそのままシミュレーション",
    "result": "計算値 4 / 期待値 4 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '4' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/JG-E0020.py",
  "verified_at": "2026-10-23T00:19:45+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "4",
  "computed": "4",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}