{
 "problem_id": "JG-E0021-Q02-S01",
 "transcript": {
  "text": "2. はじめさんは、2024年4月1日から2025年1月31日(金)まで以下のように計算問題を解きました。\n・月曜日から金曜日までは毎日計算問題を2問ずつ解き、調子が良い日はさらに2問解く。\n・土曜日は計算問題を5問解く。\n・日曜日は計算問題を解かない。\n(1) この期間に、日曜日は何日ありましたか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "43日",
  "unit": null,
  "first_insight": "期間の日数を数えて 7 で割る。終わりの日 (1月31日) が金曜日と分かっているので、あまりの日の曜日は終わりから数えれば決まる。",
  "insight_basis": "『4月1日が何曜日か』は与えられていないが、最後の日の曜日と日数から逆算できる。あまり 5 日が月〜金なら日曜日は週の数と同じ。",
  "steps": [
   "日数: 4月 30 + 5月 31 + 6月 30 + 7月 31 + 8月 31 + 9月 30 + 10月 31 + 11月 30 + 12月 31 + 1月 31 = 306 (日)",
   "306 ÷ 7 = 43 あまり 5。最後の 1月31日が金曜日なので、終わりから数えたあまりの 5 日は『月・火・水・木・金』、その前が 43 週間 (月曜始まり)。よって 4月1日は月曜日",
   "日曜日は 43 週間に 1 回ずつで 43 日。あまりの 5 日 (月〜金) に日曜日はない → 43 日"
  ],
  "why": "曜日は 7 日周期なので、日数を 7 で割った商が『各曜日が必ず現れる回数』。あまりの日にどの曜日が入るかは、分かっている曜日 (終わりの金曜日) から逆向きにたどる。",
  "check": "4月1日が月曜日なら、2024年4月1日は実際に月曜日 (暦で確認可能)。日曜日は 4月7日が最初、1月26日が最後: 4月7日から1月26日までは 294 日 = 42 週間 → 日曜日は 42 + 1 = 43 回 ✓。",
  "common_errors": [
   {
    "error": "2024 年がうるう年なので 2 月を数えてしまう (期間は 4 月から)",
    "where": "1手目",
    "detect": "期間に 2 月は含まれない。大の月・小の月だけ数える"
   },
   {
    "error": "あまりの 5 日を期間の始めに置き、4月1日を金曜日などとする",
    "where": "2手目",
    "detect": "分かっている曜日は終わりの日。終わりから逆にたどる"
   },
   {
    "error": "306 ÷ 7 = 43 あまり 5 の『43』に +1 して 44 とする",
    "where": "3手目",
    "detect": "あまりの 5 日に日曜日が入るかを確認してから足す"
   }
  ],
  "minimal_points": [
   "日数は月ごとに足す (306 日)",
   "7 で割った商 = 各曜日の最低回数",
   "あまりの曜日は『分かっている曜日』から逆算"
  ],
  "related": [
   {
    "problem_id": "TOYO-E0024-Q03-S02",
    "why": "1 週間の周期と余りで日数を数える (2026年度第3回)"
   },
   {
    "problem_id": "TOYO-E0002-Q05-S01",
    "why": "周期をまとめて割る (2018年度第2回)"
   }
  ]
 },
 "hints": [
  "4月1日から1月31日までの日数を月ごとに足す",
  "7 で割って『何週間と何日』にする。あまりの日は、期間が金曜日で終わることから曜日が決まる",
  "あまりの日に日曜日が含まれるかを確かめて、週の数と合わせる"
 ],
 "analysis": {
  "primary_field": "規則性",
  "secondary_fields": [
   "数の性質"
  ],
  "cores": [
   "周期 (1 週間) と余り",
   "終わりの日から曜日を逆算",
   "日数の数え上げ (大の月・小の月)"
  ],
  "prerequisites": [
   "月の日数",
   "周期算 (商と余り)"
  ],
  "insight_triggers": "終わりの曜日だけ分かっている → 終わりから逆算",
  "core_explanation": "",
  "barrier": "計算",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "A",
  "difficulty_basis": "日暦算の基本。日数の足し算を正確にできれば 1 分",
  "difficulty_scale": "典型問題の知識をそのまま使える (1〜2段階)",
  "est_minutes": 1,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "計算ミス",
   "条件の読み落とし"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "(2) の準備として週数を数えさせる導入問題。実在の暦 (2024年4月1日は月曜日) を使い、『2025年1月31日(金)』の表記からあまりの曜日を決めさせる。週の周期を使う点は豊島岡の TOYO-E0024-Q03 と共通だが、こちらは実際の暦 (月ごとの日数・年またぎ・終わりの曜日) を読んで数えさせる。『ルールを読んで数える』型の第 1 段と推定。",
  "confidence": "高"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [
  {
   "page": 8,
   "principle": "日暦算 (○日後と△日目、曜日の計算 = 7 の余り、大の月小の月)"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T21:36:39+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "0dc8c077e387627b72846fa6f0a868d58770dc1d1d5dfb75040462ea2cc9bd19",
 "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": "datetime で 2024-04-01〜2025-01-31 を 1 日ずつ見て日曜日を数える (1/31 が金曜であることも確認)",
    "result": "計算値 43 / 期待値 43 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '43日' → 一致",
    "by": "verification_script"
   },
   {
    "method": "期間は 306 日",
    "result": "成立",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/JG-E0021.py",
  "verified_at": "2026-10-23T00:19:45+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "43日",
  "computed": "43",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}