{
  "schemaVersion": 1,
  "code": "D-7-1",
  "title": "統計圖表",
  "priority": "P1",
  "sourceExcerpt": {
    "code": "D-7-1",
    "grade": 7,
    "domain": "D",
    "topic": "統計圖表",
    "sourcePage": 40,
    "excerpt": "統計圖表：蒐集生活中常見的數據資料，整理並繪製成含有原始資料或百分率的統計圖表：直方圖、長條圖、圓形圖、折線圖、列聯表。遇到複雜數據時可使用計算機輔助，教師可使用電腦應用軟體演示教授。計算機d-IV-1n-IV-9"
  },
  "scope": [
    "確認分類頻數→百分率、圓心角與長條刻度",
    "確認時間序列的相鄰差、淨變化與極值",
    "確認原始資料與等寬組界的直方頻數",
    "確認2–4列×2–4欄列聯表交集讀值與列/欄/總計"
  ],
  "inputContract": {
    "task": [
      "solve",
      "verify_proposal"
    ],
    "confirmation": "confirmedGiven和子型必要語意確認為true；先掃所有原條件缺欄/null及觀察資料中的缺值，再驗格式。",
    "numbers": "僅有限整數/小數/分數字面，分段最多12位，約分後分子絕對值/分母≤1000000；禁float/bool/科學記號，整數先界限再str。",
    "answers": "衍生答案另用256位分段/514字元與10^512有理數界限；全欄位/分類/布林/list長度核對，不忽略額外欄位。",
    "decisionMeaning": {
      "pass": "正常合法解題，含空樣本無代表值、合法未定義運算；或正確提案。",
      "reject": "工程格式非法或錯誤提案；錯提案仍附correctSolution。",
      "confirm": "原條件或樣本/頻數分母/順序未確認，資料總數相互矛盾。",
      "block": "超出有限方法契約，不把原數學問題說成無解。"
    }
  },
  "subtypes": [
    {
      "id": "chart-category-share",
      "title": "確認分類頻數→百分率、圓心角與長條刻度",
      "required": [
        "rows",
        "sampleSize",
        "partitionConfirmed",
        "tickStep",
        "unit"
      ],
      "guards": [
        "完整互斥分類須確認，頻數總和＝樣本。",
        "0樣本不計百分率；0頻類別可留。",
        "長條從0起、同單位等距正刻度，不以顯示像素猜值。",
        "最多16類；樣本/各類頻數0..10000整數；輸出百分率與角度保留精確有理數。"
      ],
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。"
    },
    {
      "id": "chart-time-change",
      "title": "確認時間序列的相鄰差、淨變化與極值",
      "required": [
        "points",
        "periodCount",
        "orderConfirmed",
        "tickStart",
        "tickStep",
        "unit"
      ],
      "guards": [
        "時間先後順序須確認，不由值排序。",
        "最多16期；每期標籤唯一，等距縱軸刻度已確認且涵蓋資料。",
        "不推論等時間間隔、不比較跨圖斜率。"
      ],
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。"
    },
    {
      "id": "chart-equal-histogram",
      "title": "確認原始資料與等寬組界的直方頻數",
      "required": [
        "values",
        "sampleSize",
        "boundaries",
        "intervalRule",
        "dataConfirmed",
        "tickStep",
        "unit"
      ],
      "guards": [
        "原始樣本最多32筆；2..9個嚴格遞增等寬組界。",
        "只支援左含右不含、最後右端含的已確認規則；其他規則先確認。",
        "所有值須在總組界內，否則先確認完整範圍；不偷偷丟掉資料。",
        "頻數軸0起正刻度；不實作非等寬組的面積/密度方法。"
      ],
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。"
    },
    {
      "id": "chart-contingency",
      "title": "列聯表交集格、列合計、欄合計與總計",
      "required": [
        "rowLabels",
        "columnLabels",
        "cells",
        "rowSelection",
        "columnSelection",
        "partitionConfirmed",
        "dataConfirmed"
      ],
      "guards": [
        "列/欄分類互斥完整且屬同一批對象，資料與標籤均已確認。",
        "2..4列×2..4欄；標籤各軸唯一且維持字串身份（01≠1）。",
        "每格為0..10000的JSON非負整數；負頻數、已聲明列/欄/全表總計與格數矛盾先確認。",
        "statedTotals可為{}；可含rows、columns、grandTotal；未提供或null的總計可由完整格數自行算，不拿來製造歧義。",
        "只處理頻數和分類，不做條件機率、關聯或因果推論。"
      ],
      "method": [
        "先用指定列標籤與指定欄標籤找唯一交會格；不把整列總數當交集。",
        "沿同一列逐格相加得到列合計，沿同一欄上下相加得到欄合計。",
        "全表每格只算一次：列合計總和與欄合計總和必相同；不把兩個總和再相加。",
        "若題目另附總計，與格數逐一核對；矛盾先確認原表。"
      ],
      "ifNotUnderstood": "先遮住其他格，用一條橫線與一條直線找交會；一次只核對交集、同列或同欄中的一種，不同時換算法。",
      "optional": {
        "statedTotals": "可省略或整欄null，視同未另附總計（{}）；若是非null的錯誤型別則reject；物件內rows/columns/grandTotal已知值才核對。"
      }
    }
  ],
  "cases": [
    {
      "id": "D-7-1.chart-category-share.normal.01",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批20人，分類已確認互斥且完整：甲5人、乙7人、丙8人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 5
          },
          {
            "label": "乙",
            "count": 7
          },
          {
            "label": "丙",
            "count": 8
          }
        ],
        "sampleSize": 20,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 5,
            "percent": "25",
            "angle": "90"
          },
          {
            "label": "乙",
            "count": 7,
            "percent": "35",
            "angle": "126"
          },
          {
            "label": "丙",
            "count": 8,
            "percent": "40",
            "angle": "144"
          }
        ],
        "axisStart": "0",
        "axisMax": "8",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝20，等於同一樣本20。",
        "甲：百分率5÷20×100＝25%；圓心角5÷20×360＝90°。",
        "乙：百分率7÷20×100＝35%；圓心角7÷20×360＝126°。",
        "丙：百分率8÷20×100＝40%；圓心角8÷20×360＝144°。",
        "長條仍用原頻數，0起每格2，上界取8，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.02",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批6人，分類已確認互斥且完整：甲1人、乙2人、丙3人。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 1
          },
          {
            "label": "乙",
            "count": 2
          },
          {
            "label": "丙",
            "count": 3
          }
        ],
        "sampleSize": 6,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 1,
            "percent": "50/3",
            "angle": "60"
          },
          {
            "label": "乙",
            "count": 2,
            "percent": "100/3",
            "angle": "120"
          },
          {
            "label": "丙",
            "count": 3,
            "percent": "50",
            "angle": "180"
          }
        ],
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝6，等於同一樣本6。",
        "甲：百分率1÷6×100＝50/3%；圓心角1÷6×360＝60°。",
        "乙：百分率2÷6×100＝100/3%；圓心角2÷6×360＝120°。",
        "丙：百分率3÷6×100＝50%；圓心角3÷6×360＝180°。",
        "長條仍用原頻數，0起每格1，上界取3，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.03",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批10人，分類已確認互斥且完整：甲2人、乙3人、丙5人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 2
          },
          {
            "label": "乙",
            "count": 3
          },
          {
            "label": "丙",
            "count": 5
          }
        ],
        "sampleSize": 10,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 2,
            "percent": "20",
            "angle": "72"
          },
          {
            "label": "乙",
            "count": 3,
            "percent": "30",
            "angle": "108"
          },
          {
            "label": "丙",
            "count": 5,
            "percent": "50",
            "angle": "180"
          }
        ],
        "axisStart": "0",
        "axisMax": "6",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝10，等於同一樣本10。",
        "甲：百分率2÷10×100＝20%；圓心角2÷10×360＝72°。",
        "乙：百分率3÷10×100＝30%；圓心角3÷10×360＝108°。",
        "丙：百分率5÷10×100＝50%；圓心角5÷10×360＝180°。",
        "長條仍用原頻數，0起每格2，上界取6，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.04",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批18人，分類已確認互斥且完整：甲3人、乙6人、丙9人。長條圖由0起、每格3人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 3
          },
          {
            "label": "乙",
            "count": 6
          },
          {
            "label": "丙",
            "count": 9
          }
        ],
        "sampleSize": 18,
        "partitionConfirmed": true,
        "tickStep": 3,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 3,
            "percent": "50/3",
            "angle": "60"
          },
          {
            "label": "乙",
            "count": 6,
            "percent": "100/3",
            "angle": "120"
          },
          {
            "label": "丙",
            "count": 9,
            "percent": "50",
            "angle": "180"
          }
        ],
        "axisStart": "0",
        "axisMax": "9",
        "tickStep": "3",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝18，等於同一樣本18。",
        "甲：百分率3÷18×100＝50/3%；圓心角3÷18×360＝60°。",
        "乙：百分率6÷18×100＝100/3%；圓心角6÷18×360＝120°。",
        "丙：百分率9÷18×100＝50%；圓心角9÷18×360＝180°。",
        "長條仍用原頻數，0起每格3，上界取9，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.05",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批10人，分類已確認互斥且完整：甲0人、乙4人、丙6人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 0
          },
          {
            "label": "乙",
            "count": 4
          },
          {
            "label": "丙",
            "count": 6
          }
        ],
        "sampleSize": 10,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 0,
            "percent": "0",
            "angle": "0"
          },
          {
            "label": "乙",
            "count": 4,
            "percent": "40",
            "angle": "144"
          },
          {
            "label": "丙",
            "count": 6,
            "percent": "60",
            "angle": "216"
          }
        ],
        "axisStart": "0",
        "axisMax": "6",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝10，等於同一樣本10。",
        "甲：百分率0÷10×100＝0%；圓心角0÷10×360＝0°。",
        "乙：百分率4÷10×100＝40%；圓心角4÷10×360＝144°。",
        "丙：百分率6÷10×100＝60%；圓心角6÷10×360＝216°。",
        "長條仍用原頻數，0起每格2，上界取6，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.06",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批9人，分類已確認互斥且完整：甲3人、乙3人、丙3人。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 3
          },
          {
            "label": "乙",
            "count": 3
          },
          {
            "label": "丙",
            "count": 3
          }
        ],
        "sampleSize": 9,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 3,
            "percent": "100/3",
            "angle": "120"
          },
          {
            "label": "乙",
            "count": 3,
            "percent": "100/3",
            "angle": "120"
          },
          {
            "label": "丙",
            "count": 3,
            "percent": "100/3",
            "angle": "120"
          }
        ],
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝9，等於同一樣本9。",
        "甲：百分率3÷9×100＝100/3%；圓心角3÷9×360＝120°。",
        "乙：百分率3÷9×100＝100/3%；圓心角3÷9×360＝120°。",
        "丙：百分率3÷9×100＝100/3%；圓心角3÷9×360＝120°。",
        "長條仍用原頻數，0起每格1，上界取3，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.07",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批5人，分類已確認互斥且完整：甲1人、乙4人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 1
          },
          {
            "label": "乙",
            "count": 4
          }
        ],
        "sampleSize": 5,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 1,
            "percent": "20",
            "angle": "72"
          },
          {
            "label": "乙",
            "count": 4,
            "percent": "80",
            "angle": "288"
          }
        ],
        "axisStart": "0",
        "axisMax": "4",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝5，等於同一樣本5。",
        "甲：百分率1÷5×100＝20%；圓心角1÷5×360＝72°。",
        "乙：百分率4÷5×100＝80%；圓心角4÷5×360＝288°。",
        "長條仍用原頻數，0起每格2，上界取4，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.normal.08",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批20人，分類已確認互斥且完整：甲2人、乙5人、丙7人、丁6人。長條圖由0起、每格5人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 2
          },
          {
            "label": "乙",
            "count": 5
          },
          {
            "label": "丙",
            "count": 7
          },
          {
            "label": "丁",
            "count": 6
          }
        ],
        "sampleSize": 20,
        "partitionConfirmed": true,
        "tickStep": 5,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 2,
            "percent": "10",
            "angle": "36"
          },
          {
            "label": "乙",
            "count": 5,
            "percent": "25",
            "angle": "90"
          },
          {
            "label": "丙",
            "count": 7,
            "percent": "35",
            "angle": "126"
          },
          {
            "label": "丁",
            "count": 6,
            "percent": "30",
            "angle": "108"
          }
        ],
        "axisStart": "0",
        "axisMax": "10",
        "tickStep": "5",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝20，等於同一樣本20。",
        "甲：百分率2÷20×100＝10%；圓心角2÷20×360＝36°。",
        "乙：百分率5÷20×100＝25%；圓心角5÷20×360＝90°。",
        "丙：百分率7÷20×100＝35%；圓心角7÷20×360＝126°。",
        "丁：百分率6÷20×100＝30%；圓心角6÷20×360＝108°。",
        "長條仍用原頻數，0起每格5，上界取10，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.boundary.01",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批0人，分類已確認互斥且完整：沒有觀察資料。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [],
        "sampleSize": 0,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "empty-sample",
        "rows": [],
        "axisStart": "0",
        "axisMax": "0",
        "tickStep": "1",
        "unit": "人"
      },
      "solutionSteps": [
        "頻數總和為0，這是空樣本。",
        "沒有可用分母，百分率不能算成0÷0，也不能硬湊100%。",
        "長條頻數皆0，刻度上界0；先蒐集資料再解讀比例。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.boundary.02",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批0人，分類已確認互斥且完整：甲0人、乙0人。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 0
          },
          {
            "label": "乙",
            "count": 0
          }
        ],
        "sampleSize": 0,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "empty-sample",
        "rows": [],
        "axisStart": "0",
        "axisMax": "0",
        "tickStep": "1",
        "unit": "人"
      },
      "solutionSteps": [
        "頻數總和為0，這是空樣本。",
        "沒有可用分母，百分率不能算成0÷0，也不能硬湊100%。",
        "長條頻數皆0，刻度上界0；先蒐集資料再解讀比例。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.boundary.03",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批1人，分類已確認互斥且完整：甲1人。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 1
          }
        ],
        "sampleSize": 1,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 1,
            "percent": "100",
            "angle": "360"
          }
        ],
        "axisStart": "0",
        "axisMax": "1",
        "tickStep": "1",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝1，等於同一樣本1。",
        "甲：百分率1÷1×100＝100%；圓心角1÷1×360＝360°。",
        "長條仍用原頻數，0起每格1，上界取1，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.boundary.04",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批3人，分類已確認互斥且完整：甲1人、乙2人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 1
          },
          {
            "label": "乙",
            "count": 2
          }
        ],
        "sampleSize": 3,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 1,
            "percent": "100/3",
            "angle": "120"
          },
          {
            "label": "乙",
            "count": 2,
            "percent": "200/3",
            "angle": "240"
          }
        ],
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝3，等於同一樣本3。",
        "甲：百分率1÷3×100＝100/3%；圓心角1÷3×360＝120°。",
        "乙：百分率2÷3×100＝200/3%；圓心角2÷3×360＝240°。",
        "長條仍用原頻數，0起每格2，上界取2，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.holdout.01",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批20人，分類已確認互斥且完整：甲4人、乙9人、丙7人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 4
          },
          {
            "label": "乙",
            "count": 9
          },
          {
            "label": "丙",
            "count": 7
          }
        ],
        "sampleSize": 20,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 4,
            "percent": "20",
            "angle": "72"
          },
          {
            "label": "乙",
            "count": 9,
            "percent": "45",
            "angle": "162"
          },
          {
            "label": "丙",
            "count": 7,
            "percent": "35",
            "angle": "126"
          }
        ],
        "axisStart": "0",
        "axisMax": "10",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝20，等於同一樣本20。",
        "甲：百分率4÷20×100＝20%；圓心角4÷20×360＝72°。",
        "乙：百分率9÷20×100＝45%；圓心角9÷20×360＝162°。",
        "丙：百分率7÷20×100＝35%；圓心角7÷20×360＝126°。",
        "長條仍用原頻數，0起每格2，上界取10，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.holdout.02",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批12人，分類已確認互斥且完整：甲2人、乙3人、丙7人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 2
          },
          {
            "label": "乙",
            "count": 3
          },
          {
            "label": "丙",
            "count": 7
          }
        ],
        "sampleSize": 12,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 2,
            "percent": "50/3",
            "angle": "60"
          },
          {
            "label": "乙",
            "count": 3,
            "percent": "25",
            "angle": "90"
          },
          {
            "label": "丙",
            "count": 7,
            "percent": "175/3",
            "angle": "210"
          }
        ],
        "axisStart": "0",
        "axisMax": "8",
        "tickStep": "2",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝12，等於同一樣本12。",
        "甲：百分率2÷12×100＝50/3%；圓心角2÷12×360＝60°。",
        "乙：百分率3÷12×100＝25%；圓心角3÷12×360＝90°。",
        "丙：百分率7÷12×100＝175/3%；圓心角7÷12×360＝210°。",
        "長條仍用原頻數，0起每格2，上界取8，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.holdout.03",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批8人，分類已確認互斥且完整：甲1人、乙1人、丙2人、丁4人。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 1
          },
          {
            "label": "乙",
            "count": 1
          },
          {
            "label": "丙",
            "count": 2
          },
          {
            "label": "丁",
            "count": 4
          }
        ],
        "sampleSize": 8,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 1,
            "percent": "25/2",
            "angle": "45"
          },
          {
            "label": "乙",
            "count": 1,
            "percent": "25/2",
            "angle": "45"
          },
          {
            "label": "丙",
            "count": 2,
            "percent": "25",
            "angle": "90"
          },
          {
            "label": "丁",
            "count": 4,
            "percent": "50",
            "angle": "180"
          }
        ],
        "axisStart": "0",
        "axisMax": "4",
        "tickStep": "1",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝8，等於同一樣本8。",
        "甲：百分率1÷8×100＝25/2%；圓心角1÷8×360＝45°。",
        "乙：百分率1÷8×100＝25/2%；圓心角1÷8×360＝45°。",
        "丙：百分率2÷8×100＝25%；圓心角2÷8×360＝90°。",
        "丁：百分率4÷8×100＝50%；圓心角4÷8×360＝180°。",
        "長條仍用原頻數，0起每格1，上界取4，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.holdout.04",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批30人，分類已確認互斥且完整：甲6人、乙10人、丙14人。長條圖由0起、每格5人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 6
          },
          {
            "label": "乙",
            "count": 10
          },
          {
            "label": "丙",
            "count": 14
          }
        ],
        "sampleSize": 30,
        "partitionConfirmed": true,
        "tickStep": 5,
        "unit": "人"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "category-frequency",
        "rows": [
          {
            "label": "甲",
            "count": 6,
            "percent": "20",
            "angle": "72"
          },
          {
            "label": "乙",
            "count": 10,
            "percent": "100/3",
            "angle": "120"
          },
          {
            "label": "丙",
            "count": 14,
            "percent": "140/3",
            "angle": "168"
          }
        ],
        "axisStart": "0",
        "axisMax": "15",
        "tickStep": "5",
        "unit": "人"
      },
      "solutionSteps": [
        "核對分類頻數總和＝30，等於同一樣本30。",
        "甲：百分率6÷30×100＝20%；圓心角6÷30×360＝72°。",
        "乙：百分率10÷30×100＝100/3%；圓心角10÷30×360＝120°。",
        "丙：百分率14÷30×100＝140/3%；圓心角14÷30×360＝168°。",
        "長條仍用原頻數，0起每格5，上界取15，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.negative.01",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批20人，分類已確認互斥且完整：甲5人、乙7人、丙8人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。 學生的想法：把最高類別人數當百分率分母；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 5
          },
          {
            "label": "乙",
            "count": 7
          },
          {
            "label": "丙",
            "count": 8
          }
        ],
        "sampleSize": 20,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人",
        "proposal": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 5,
              "percent": "125/2",
              "angle": "225"
            },
            {
              "label": "乙",
              "count": 7,
              "percent": "175/2",
              "angle": "315"
            },
            {
              "label": "丙",
              "count": 8,
              "percent": "100",
              "angle": "360"
            }
          ],
          "axisStart": "0",
          "axisMax": "8",
          "tickStep": "2",
          "unit": "人"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 5,
              "percent": "25",
              "angle": "90"
            },
            {
              "label": "乙",
              "count": 7,
              "percent": "35",
              "angle": "126"
            },
            {
              "label": "丙",
              "count": 8,
              "percent": "40",
              "angle": "144"
            }
          ],
          "axisStart": "0",
          "axisMax": "8",
          "tickStep": "2",
          "unit": "人"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "核對分類頻數總和＝20，等於同一樣本20。",
        "甲：百分率5÷20×100＝25%；圓心角5÷20×360＝90°。",
        "乙：百分率7÷20×100＝35%；圓心角7÷20×360＝126°。",
        "丙：百分率8÷20×100＝40%；圓心角8÷20×360＝144°。",
        "長條仍用原頻數，0起每格2，上界取8，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。",
        "同一批總數為20人，不是最高類別8人；甲應5÷20×100＝25%，不是5÷8×100＝125/2%。",
        "以總樣本作分母，三類相加才100%；錯案相加為250%。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.negative.02",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批6人，分類已確認互斥且完整：甲1人、乙2人、丙3人。長條圖由0起、每格1人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。 學生的想法：算出比值後，直接加上百分號而漏乘100；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 1
          },
          {
            "label": "乙",
            "count": 2
          },
          {
            "label": "丙",
            "count": 3
          }
        ],
        "sampleSize": 6,
        "partitionConfirmed": true,
        "tickStep": 1,
        "unit": "人",
        "proposal": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 1,
              "percent": "1/6",
              "angle": "60"
            },
            {
              "label": "乙",
              "count": 2,
              "percent": "1/3",
              "angle": "120"
            },
            {
              "label": "丙",
              "count": 3,
              "percent": "1/2",
              "angle": "180"
            }
          ],
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "人"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 1,
              "percent": "50/3",
              "angle": "60"
            },
            {
              "label": "乙",
              "count": 2,
              "percent": "100/3",
              "angle": "120"
            },
            {
              "label": "丙",
              "count": 3,
              "percent": "50",
              "angle": "180"
            }
          ],
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "人"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "核對分類頻數總和＝6，等於同一樣本6。",
        "甲：百分率1÷6×100＝50/3%；圓心角1÷6×360＝60°。",
        "乙：百分率2÷6×100＝100/3%；圓心角2÷6×360＝120°。",
        "丙：百分率3÷6×100＝50%；圓心角3÷6×360＝180°。",
        "長條仍用原頻數，0起每格1，上界取3，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。",
        "甲1人占6人的1/6，轉百分率應(1/6)×100＝50/3%，不是1/6%。",
        "錯在比值與百分數表示不同；各類百分率總和應100%，不是1%。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.negative.03",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批10人，分類已確認互斥且完整：甲2人、乙3人、丙5人。長條圖由0起、每格2人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。 學生的想法：把百分率數字直接當成圓心角；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 2
          },
          {
            "label": "乙",
            "count": 3
          },
          {
            "label": "丙",
            "count": 5
          }
        ],
        "sampleSize": 10,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人",
        "proposal": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 2,
              "percent": "20",
              "angle": "20"
            },
            {
              "label": "乙",
              "count": 3,
              "percent": "30",
              "angle": "30"
            },
            {
              "label": "丙",
              "count": 5,
              "percent": "50",
              "angle": "50"
            }
          ],
          "axisStart": "0",
          "axisMax": "6",
          "tickStep": "2",
          "unit": "人"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 2,
              "percent": "20",
              "angle": "72"
            },
            {
              "label": "乙",
              "count": 3,
              "percent": "30",
              "angle": "108"
            },
            {
              "label": "丙",
              "count": 5,
              "percent": "50",
              "angle": "180"
            }
          ],
          "axisStart": "0",
          "axisMax": "6",
          "tickStep": "2",
          "unit": "人"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "核對分類頻數總和＝10，等於同一樣本10。",
        "甲：百分率2÷10×100＝20%；圓心角2÷10×360＝72°。",
        "乙：百分率3÷10×100＝30%；圓心角3÷10×360＝108°。",
        "丙：百分率5÷10×100＝50%；圓心角5÷10×360＝180°。",
        "長條仍用原頻數，0起每格2，上界取6，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。",
        "甲2人占10人20%，圓心角應(2/10)×360＝72°，不是20°。",
        "圓一周360°對應100%，不能把100%當100°。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.negative.04",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批18人，分類已確認互斥且完整：甲3人、乙6人、丙9人。長條圖由0起、每格3人；整理各類百分率與圓心角，並決定涵蓋最高長條的刻度上界。 學生的想法：把長條佔幾格當作縱軸的最大人數；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 3
          },
          {
            "label": "乙",
            "count": 6
          },
          {
            "label": "丙",
            "count": 9
          }
        ],
        "sampleSize": 18,
        "partitionConfirmed": true,
        "tickStep": 3,
        "unit": "人",
        "proposal": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 3,
              "percent": "50/3",
              "angle": "60"
            },
            {
              "label": "乙",
              "count": 6,
              "percent": "100/3",
              "angle": "120"
            },
            {
              "label": "丙",
              "count": 9,
              "percent": "50",
              "angle": "180"
            }
          ],
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "3",
          "unit": "人"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "category-frequency",
          "rows": [
            {
              "label": "甲",
              "count": 3,
              "percent": "50/3",
              "angle": "60"
            },
            {
              "label": "乙",
              "count": 6,
              "percent": "100/3",
              "angle": "120"
            },
            {
              "label": "丙",
              "count": 9,
              "percent": "50",
              "angle": "180"
            }
          ],
          "axisStart": "0",
          "axisMax": "9",
          "tickStep": "3",
          "unit": "人"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "核對分類頻數總和＝18，等於同一樣本18。",
        "甲：百分率3÷18×100＝50/3%；圓心角3÷18×360＝60°。",
        "乙：百分率6÷18×100＝100/3%；圓心角6÷18×360＝120°。",
        "丙：百分率9÷18×100＝50%；圓心角9÷18×360＝180°。",
        "長條仍用原頻數，0起每格3，上界取9，不能把百分率當人數刻度。",
        "驗算所有百分率精確相加100%，圓心角精確相加360°；不以四捨五入製造總和錯差。",
        "最高9人、每格3人，所以佔3格；縱軸第3格應標9人，不是3人。",
        "每格的單位要乘回刻度，不能讓9人的柱超出標成3人的軸。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.negative.05",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 5
          },
          {
            "label": "乙",
            "count": 7
          },
          {
            "label": "丙",
            "count": 8
          }
        ],
        "sampleSize": true,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "json-integer-count-required"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.negative.06",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 5
          },
          {
            "label": "乙",
            "count": 7
          },
          {
            "label": "丙",
            "count": 8
          }
        ],
        "sampleSize": 100000000,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "block",
      "expectedAnswer": {
        "reasonCode": "count-outside-finite-domain"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.ambiguous.01",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認分類互斥且完整，甲類人數看不清，乙7人、丙8人，整批總數也看不清；長條0起每格2人。請先確認甲類人數或整批總數，不能用最高類別當分母。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": null
          },
          {
            "label": "乙",
            "count": 7
          },
          {
            "label": "丙",
            "count": 8
          }
        ],
        "sampleSize": null,
        "partitionConfirmed": true,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-category-share.ambiguous.02",
      "code": "D-7-1",
      "subtypeId": "chart-category-share",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已記錄甲5人、乙7人、丙8人，共20人，每格2人；但分類會不會重複或漏掉人尚未確認，請先確認。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rows": [
          {
            "label": "甲",
            "count": 5
          },
          {
            "label": "乙",
            "count": 7
          },
          {
            "label": "丙",
            "count": 8
          }
        ],
        "sampleSize": 20,
        "partitionConfirmed": null,
        "tickStep": 2,
        "unit": "人"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈同一批總人數，再只算一個類別的分數；百分率乘100、圓心角乘360分開做，長條仍用原人數。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.01",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:2→第2期:5→第3期:3（℃），共3期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 2
          },
          {
            "time": "第2期",
            "value": 5
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "3"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-2"
          }
        ],
        "netChange": "1",
        "maximumTimes": [
          "第2期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "0",
        "axisMax": "5",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值5－前值2＝3℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值3－前值5＝-2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝1℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為1；縱軸相同單位每格1，上界5。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.02",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:5→第2期:2→第3期:7（℃），共3期；縱軸從0起、每格2。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 5
          },
          {
            "time": "第2期",
            "value": 2
          },
          {
            "time": "第3期",
            "value": 7
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 2,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "-3"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "5"
          }
        ],
        "netChange": "2",
        "maximumTimes": [
          "第3期"
        ],
        "minimumTimes": [
          "第2期"
        ],
        "axisStart": "0",
        "axisMax": "8",
        "tickStep": "2",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值2－前值5＝-3℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值7－前值2＝5℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝2℃；不能把所有增加量當淨變化。",
        "最高期：第3期；最低期：第2期；同高同低都列出。",
        "所有相鄰差相加亦為2；縱軸相同單位每格2，上界8。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.03",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:-2→第2期:3→第3期:1（℃），共3期；縱軸從-4起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": -2
          },
          {
            "time": "第2期",
            "value": 3
          },
          {
            "time": "第3期",
            "value": 1
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": -4,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "5"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-2"
          }
        ],
        "netChange": "3",
        "maximumTimes": [
          "第2期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "-4",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值3－前值-2＝5℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值1－前值3＝-2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝3℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為3；縱軸相同單位每格1，上界3。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.04",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:4→第2期:4→第3期:1（℃），共3期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 4
          },
          {
            "time": "第2期",
            "value": 4
          },
          {
            "time": "第3期",
            "value": 1
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "0"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-3"
          }
        ],
        "netChange": "-3",
        "maximumTimes": [
          "第1期",
          "第2期"
        ],
        "minimumTimes": [
          "第3期"
        ],
        "axisStart": "0",
        "axisMax": "4",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值4－前值4＝0℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值1－前值4＝-3℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝-3℃；不能把所有增加量當淨變化。",
        "最高期：第1期、第2期；最低期：第3期；同高同低都列出。",
        "所有相鄰差相加亦為-3；縱軸相同單位每格1，上界4。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.05",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:0→第2期:2→第3期:0→第4期:5（℃），共4期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 0
          },
          {
            "time": "第2期",
            "value": 2
          },
          {
            "time": "第3期",
            "value": 0
          },
          {
            "time": "第4期",
            "value": 5
          }
        ],
        "periodCount": 4,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "2"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-2"
          },
          {
            "from": "第3期",
            "to": "第4期",
            "delta": "5"
          }
        ],
        "netChange": "5",
        "maximumTimes": [
          "第4期"
        ],
        "minimumTimes": [
          "第1期",
          "第3期"
        ],
        "axisStart": "0",
        "axisMax": "5",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值2－前值0＝2℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值0－前值2＝-2℃；正為增加、負為減少、0為持平。",
        "第3期到第4期：後值5－前值0＝5℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝5℃；不能把所有增加量當淨變化。",
        "最高期：第4期；最低期：第1期、第3期；同高同低都列出。",
        "所有相鄰差相加亦為5；縱軸相同單位每格1，上界5。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.06",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:1/2→第2期:3/2→第3期:1（℃），共3期；縱軸從0起、每格1/2。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": "1/2"
          },
          {
            "time": "第2期",
            "value": "3/2"
          },
          {
            "time": "第3期",
            "value": 1
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": "1/2",
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "1"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-1/2"
          }
        ],
        "netChange": "1/2",
        "maximumTimes": [
          "第2期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "0",
        "axisMax": "3/2",
        "tickStep": "1/2",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值3/2－前值1/2＝1℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值1－前值3/2＝-1/2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝1/2℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為1/2；縱軸相同單位每格1/2，上界3/2。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.07",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:10→第2期:8→第3期:6（℃），共3期；縱軸從0起、每格2。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 10
          },
          {
            "time": "第2期",
            "value": 8
          },
          {
            "time": "第3期",
            "value": 6
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 2,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "-2"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-2"
          }
        ],
        "netChange": "-4",
        "maximumTimes": [
          "第1期"
        ],
        "minimumTimes": [
          "第3期"
        ],
        "axisStart": "0",
        "axisMax": "10",
        "tickStep": "2",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值8－前值10＝-2℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值6－前值8＝-2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝-4℃；不能把所有增加量當淨變化。",
        "最高期：第1期；最低期：第3期；同高同低都列出。",
        "所有相鄰差相加亦為-4；縱軸相同單位每格2，上界10。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.normal.08",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:3→第2期:3→第3期:3（℃），共3期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 3
          },
          {
            "time": "第2期",
            "value": 3
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "0"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "0"
          }
        ],
        "netChange": "0",
        "maximumTimes": [
          "第1期",
          "第2期",
          "第3期"
        ],
        "minimumTimes": [
          "第1期",
          "第2期",
          "第3期"
        ],
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值3－前值3＝0℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值3－前值3＝0℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝0℃；不能把所有增加量當淨變化。",
        "最高期：第1期、第2期、第3期；最低期：第1期、第2期、第3期；同高同低都列出。",
        "所有相鄰差相加亦為0；縱軸相同單位每格1，上界3。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.boundary.01",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：沒有觀察資料（℃），共0期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [],
        "periodCount": 0,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "empty-series",
        "changes": [],
        "axisStart": "0",
        "axisMax": "0",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "共有0期，沒有相鄰資料可相減。",
        "不能編造首尾值或最高最低期。",
        "保留已確認縱軸0與每格1，等補資料後再畫線。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.boundary.02",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:7（℃），共1期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 7
          }
        ],
        "periodCount": 1,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [],
        "netChange": "0",
        "maximumTimes": [
          "第1期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "0",
        "axisMax": "7",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "首尾淨變化＝末值－初值＝0℃；不能把所有增加量當淨變化。",
        "最高期：第1期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為0；縱軸相同單位每格1，上界7。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.boundary.03",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:0→第2期:0（℃），共2期；縱軸從0起、每格2。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 0
          },
          {
            "time": "第2期",
            "value": 0
          }
        ],
        "periodCount": 2,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 2,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "0"
          }
        ],
        "netChange": "0",
        "maximumTimes": [
          "第1期",
          "第2期"
        ],
        "minimumTimes": [
          "第1期",
          "第2期"
        ],
        "axisStart": "0",
        "axisMax": "0",
        "tickStep": "2",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值0－前值0＝0℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝0℃；不能把所有增加量當淨變化。",
        "最高期：第1期、第2期；最低期：第1期、第2期；同高同低都列出。",
        "所有相鄰差相加亦為0；縱軸相同單位每格2，上界0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.boundary.04",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:-3→第2期:-1（℃），共2期；縱軸從-4起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": -3
          },
          {
            "time": "第2期",
            "value": -1
          }
        ],
        "periodCount": 2,
        "orderConfirmed": true,
        "tickStart": -4,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "2"
          }
        ],
        "netChange": "2",
        "maximumTimes": [
          "第2期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "-4",
        "axisMax": "-1",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值-1－前值-3＝2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝2℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為2；縱軸相同單位每格1，上界-1。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.holdout.01",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:6→第2期:1→第3期:8→第4期:3（℃），共4期；縱軸從0起、每格2。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 6
          },
          {
            "time": "第2期",
            "value": 1
          },
          {
            "time": "第3期",
            "value": 8
          },
          {
            "time": "第4期",
            "value": 3
          }
        ],
        "periodCount": 4,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 2,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "-5"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "7"
          },
          {
            "from": "第3期",
            "to": "第4期",
            "delta": "-5"
          }
        ],
        "netChange": "-3",
        "maximumTimes": [
          "第3期"
        ],
        "minimumTimes": [
          "第2期"
        ],
        "axisStart": "0",
        "axisMax": "8",
        "tickStep": "2",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值1－前值6＝-5℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值8－前值1＝7℃；正為增加、負為減少、0為持平。",
        "第3期到第4期：後值3－前值8＝-5℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝-3℃；不能把所有增加量當淨變化。",
        "最高期：第3期；最低期：第2期；同高同低都列出。",
        "所有相鄰差相加亦為-3；縱軸相同單位每格2，上界8。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.holdout.02",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:-4→第2期:0→第3期:-2（℃），共3期；縱軸從-5起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": -4
          },
          {
            "time": "第2期",
            "value": 0
          },
          {
            "time": "第3期",
            "value": -2
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": -5,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "4"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-2"
          }
        ],
        "netChange": "2",
        "maximumTimes": [
          "第2期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "-5",
        "axisMax": "0",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值0－前值-4＝4℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值-2－前值0＝-2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝2℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為2；縱軸相同單位每格1，上界0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.holdout.03",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:1.2→第2期:2.4→第3期:1.8（℃），共3期；縱軸從0起、每格0.6。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": "1.2"
          },
          {
            "time": "第2期",
            "value": "2.4"
          },
          {
            "time": "第3期",
            "value": "1.8"
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": "0.6",
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "6/5"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-3/5"
          }
        ],
        "netChange": "3/5",
        "maximumTimes": [
          "第2期"
        ],
        "minimumTimes": [
          "第1期"
        ],
        "axisStart": "0",
        "axisMax": "12/5",
        "tickStep": "3/5",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值2.4－前值1.2＝6/5℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值1.8－前值2.4＝-3/5℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝3/5℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為3/5；縱軸相同單位每格0.6，上界12/5。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.holdout.04",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:9→第2期:9→第3期:4→第4期:4（℃），共4期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 9
          },
          {
            "time": "第2期",
            "value": 9
          },
          {
            "time": "第3期",
            "value": 4
          },
          {
            "time": "第4期",
            "value": 4
          }
        ],
        "periodCount": 4,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "time-series",
        "changes": [
          {
            "from": "第1期",
            "to": "第2期",
            "delta": "0"
          },
          {
            "from": "第2期",
            "to": "第3期",
            "delta": "-5"
          },
          {
            "from": "第3期",
            "to": "第4期",
            "delta": "0"
          }
        ],
        "netChange": "-5",
        "maximumTimes": [
          "第1期",
          "第2期"
        ],
        "minimumTimes": [
          "第3期",
          "第4期"
        ],
        "axisStart": "0",
        "axisMax": "9",
        "tickStep": "1",
        "unit": "℃"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值9－前值9＝0℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值4－前值9＝-5℃；正為增加、負為減少、0為持平。",
        "第3期到第4期：後值4－前值4＝0℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝-5℃；不能把所有增加量當淨變化。",
        "最高期：第1期、第2期；最低期：第3期、第4期；同高同低都列出。",
        "所有相鄰差相加亦為-5；縱軸相同單位每格1，上界9。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.negative.01",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:2→第2期:5→第3期:3（℃），共3期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。 學生的想法：相鄰變化算成前值減後值；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 2
          },
          {
            "time": "第2期",
            "value": 5
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃",
        "proposal": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "-3"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "-2"
            }
          ],
          "netChange": "1",
          "maximumTimes": [
            "第2期"
          ],
          "minimumTimes": [
            "第1期"
          ],
          "axisStart": "0",
          "axisMax": "5",
          "tickStep": "1",
          "unit": "℃"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "3"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "-2"
            }
          ],
          "netChange": "1",
          "maximumTimes": [
            "第2期"
          ],
          "minimumTimes": [
            "第1期"
          ],
          "axisStart": "0",
          "axisMax": "5",
          "tickStep": "1",
          "unit": "℃"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值5－前值2＝3℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值3－前值5＝-2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝1℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為1；縱軸相同單位每格1，上界5。",
        "第1期2℃到第2期5℃是5－2＝3℃上升，不是2－5＝−3。",
        "固定用後值－前值，保留正負號表示方向。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.negative.02",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:5→第2期:2→第3期:7（℃），共3期；縱軸從0起、每格2。求相鄰變化、首尾淨變化與最高最低期。 學生的想法：只加所有增加量，就稱作首尾淨變化；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 5
          },
          {
            "time": "第2期",
            "value": 2
          },
          {
            "time": "第3期",
            "value": 7
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 2,
        "unit": "℃",
        "proposal": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "-3"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "5"
            }
          ],
          "netChange": "5",
          "maximumTimes": [
            "第3期"
          ],
          "minimumTimes": [
            "第2期"
          ],
          "axisStart": "0",
          "axisMax": "8",
          "tickStep": "2",
          "unit": "℃"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "-3"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "5"
            }
          ],
          "netChange": "2",
          "maximumTimes": [
            "第3期"
          ],
          "minimumTimes": [
            "第2期"
          ],
          "axisStart": "0",
          "axisMax": "8",
          "tickStep": "2",
          "unit": "℃"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值2－前值5＝-3℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值7－前值2＝5℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝2℃；不能把所有增加量當淨變化。",
        "最高期：第3期；最低期：第2期；同高同低都列出。",
        "所有相鄰差相加亦為2；縱軸相同單位每格2，上界8。",
        "5→2→7先減3再增5，淨變化7－5＝2，不是只取增加5。",
        "相鄰差−3＋5＝2；淨變化不能略掉下降。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.negative.03",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:-2→第2期:3→第3期:1（℃），共3期；縱軸從-4起、每格1。求相鄰變化、首尾淨變化與最高最低期。 學生的想法：先按觀察值大小排序，再畫時間折線；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": -2
          },
          {
            "time": "第2期",
            "value": 3
          },
          {
            "time": "第3期",
            "value": 1
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": -4,
        "tickStep": 1,
        "unit": "℃",
        "proposal": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "3"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "2"
            }
          ],
          "netChange": "3",
          "maximumTimes": [
            "第2期"
          ],
          "minimumTimes": [
            "第1期"
          ],
          "axisStart": "-4",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "℃"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "5"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "-2"
            }
          ],
          "netChange": "3",
          "maximumTimes": [
            "第2期"
          ],
          "minimumTimes": [
            "第1期"
          ],
          "axisStart": "-4",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "℃"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值3－前值-2＝5℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值1－前值3＝-2℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝3℃；不能把所有增加量當淨變化。",
        "最高期：第2期；最低期：第1期；同高同低都列出。",
        "所有相鄰差相加亦為3；縱軸相同單位每格1，上界3。",
        "原時間−2→3→1，變化是5、−2；改成−2→1→3會變3、2，已改掉時間意義。",
        "時間順序是資料條件，不按高度重新排列。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.negative.04",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認依時間先後排列：第1期:4→第2期:4→第3期:1（℃），共3期；縱軸從0起、每格1。求相鄰變化、首尾淨變化與最高最低期。 學生的想法：並列最高期只列第一期；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 4
          },
          {
            "time": "第2期",
            "value": 4
          },
          {
            "time": "第3期",
            "value": 1
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃",
        "proposal": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "0"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "-3"
            }
          ],
          "netChange": "-3",
          "maximumTimes": [
            "第1期"
          ],
          "minimumTimes": [
            "第3期"
          ],
          "axisStart": "0",
          "axisMax": "4",
          "tickStep": "1",
          "unit": "℃"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "time-series",
          "changes": [
            {
              "from": "第1期",
              "to": "第2期",
              "delta": "0"
            },
            {
              "from": "第2期",
              "to": "第3期",
              "delta": "-3"
            }
          ],
          "netChange": "-3",
          "maximumTimes": [
            "第1期",
            "第2期"
          ],
          "minimumTimes": [
            "第3期"
          ],
          "axisStart": "0",
          "axisMax": "4",
          "tickStep": "1",
          "unit": "℃"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "先保留題目已確認的時間順序，不能按觀察值大小重排。",
        "第1期到第2期：後值4－前值4＝0℃；正為增加、負為減少、0為持平。",
        "第2期到第3期：後值1－前值4＝-3℃；正為增加、負為減少、0為持平。",
        "首尾淨變化＝末值－初值＝-3℃；不能把所有增加量當淨變化。",
        "最高期：第1期、第2期；最低期：第3期；同高同低都列出。",
        "所有相鄰差相加亦為-3；縱軸相同單位每格1，上界4。",
        "第1期與第2期都是4℃，兩期都達最高；不能只列第1期。",
        "核對所有等於最大值的期，全部列出。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.negative.05",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 2
          },
          {
            "time": "第2期",
            "value": 5
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": true,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "json-integer-count-required"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.negative.06",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 2
          },
          {
            "time": "第2期",
            "value": 5
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": 100000000,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "block",
      "expectedAnswer": {
        "reasonCode": "count-outside-finite-domain"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.ambiguous.01",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "時間順序已確認，共3期；第1期溫度看不清，第2期5℃、第3期3℃，縱軸0起每格1℃。請先確認第1期溫度，再求相鄰及首尾變化。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": null
          },
          {
            "time": "第2期",
            "value": 5
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": 3,
        "orderConfirmed": true,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-observed-row-fact"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-time-change.ambiguous.02",
      "code": "D-7-1",
      "subtypeId": "chart-time-change",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已記錄2、5、3℃共3期，縱軸0起每格1℃，但先後順序尚未確認；先確認哪個值是哪一期，不能依大小排序。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "points": [
          {
            "time": "第1期",
            "value": 2
          },
          {
            "time": "第2期",
            "value": 5
          },
          {
            "time": "第3期",
            "value": 3
          }
        ],
        "periodCount": 3,
        "orderConfirmed": null,
        "tickStart": 0,
        "tickStep": 1,
        "unit": "℃"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先用箭頭固定時間先後，只解釋一段的後值減前值；首尾再直接相減，讓中間差相加核對。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.01",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料1、2、3、4、5（分），共5筆；組界0、2、4、6。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          1,
          2,
          3,
          4,
          5
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "2",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "2",
            "upper": "4",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "4",
            "upper": "6",
            "upperClosed": true,
            "count": 2
          }
        ],
        "sampleSize": 5,
        "binWidth": "2",
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為2，是同寬分組；每個觀察值只記一次。",
        "[0,2) 包含資料1，頻數1。",
        "[2,4) 包含資料2、3，頻數2。",
        "[4,6] 包含資料4、5，頻數2。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同2，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.02",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料0、5、10、15、20（分），共5筆；組界0、10、20。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          0,
          5,
          10,
          15,
          20
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          10,
          20
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "10",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "10",
            "upper": "20",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 5,
        "binWidth": "10",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為10，是同寬分組；每個觀察值只記一次。",
        "[0,10) 包含資料0、5，頻數2。",
        "[10,20] 包含資料10、15、20，頻數3。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同10，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.03",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料2、2、2、5、8（分），共5筆；組界0、3、6、9。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          2,
          2,
          2,
          5,
          8
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          3,
          6,
          9
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "3",
            "upperClosed": false,
            "count": 3
          },
          {
            "lower": "3",
            "upper": "6",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "6",
            "upper": "9",
            "upperClosed": true,
            "count": 1
          }
        ],
        "sampleSize": 5,
        "binWidth": "3",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為3，是同寬分組；每個觀察值只記一次。",
        "[0,3) 包含資料2、2、2，頻數3。",
        "[3,6) 包含資料5，頻數1。",
        "[6,9] 包含資料8，頻數1。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同3，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.04",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料-4、-2、0、2、4（分），共5筆；組界-4、0、4。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          -4,
          -2,
          0,
          2,
          4
        ],
        "sampleSize": 5,
        "boundaries": [
          -4,
          0,
          4
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "-4",
            "upper": "0",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "0",
            "upper": "4",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 5,
        "binWidth": "4",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為4，是同寬分組；每個觀察值只記一次。",
        "[-4,0) 包含資料-4、-2，頻數2。",
        "[0,4] 包含資料0、2、4，頻數3。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同4，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.05",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料0.5、1、1.5、2（分），共4筆；組界0、1、2。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          "0.5",
          1,
          "1.5",
          2
        ],
        "sampleSize": 4,
        "boundaries": [
          0,
          1,
          2
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "1",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "1",
            "upper": "2",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 4,
        "binWidth": "1",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為1，是同寬分組；每個觀察值只記一次。",
        "[0,1) 包含資料0.5，頻數1。",
        "[1,2] 包含資料1、1.5、2，頻數3。",
        "頻數總和4＝樣本4，組界上的值不重複歸兩組。",
        "各柱寬相同1，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.06",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料10、20、20、30（分），共4筆；組界10、20、30。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          10,
          20,
          20,
          30
        ],
        "sampleSize": 4,
        "boundaries": [
          10,
          20,
          30
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "10",
            "upper": "20",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "20",
            "upper": "30",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 4,
        "binWidth": "10",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為10，是同寬分組；每個觀察值只記一次。",
        "[10,20) 包含資料10，頻數1。",
        "[20,30] 包含資料20、20、30，頻數3。",
        "頻數總和4＝樣本4，組界上的值不重複歸兩組。",
        "各柱寬相同10，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.07",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料0、1、2、3、4、5、6（分），共7筆；組界0、2、4、6。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格2。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "sampleSize": 7,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 2,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "2",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "2",
            "upper": "4",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "4",
            "upper": "6",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 7,
        "binWidth": "2",
        "axisStart": "0",
        "axisMax": "4",
        "tickStep": "2",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為2，是同寬分組；每個觀察值只記一次。",
        "[0,2) 包含資料0、1，頻數2。",
        "[2,4) 包含資料2、3，頻數2。",
        "[4,6] 包含資料4、5、6，頻數3。",
        "頻數總和7＝樣本7，組界上的值不重複歸兩組。",
        "各柱寬相同2，柱高用頻數；縱軸每格2、上界4，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.normal.08",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料50、55、60、65、70（分），共5筆；組界50、60、70。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          50,
          55,
          60,
          65,
          70
        ],
        "sampleSize": 5,
        "boundaries": [
          50,
          60,
          70
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "50",
            "upper": "60",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "60",
            "upper": "70",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 5,
        "binWidth": "10",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為10，是同寬分組；每個觀察值只記一次。",
        "[50,60) 包含資料50、55，頻數2。",
        "[60,70] 包含資料60、65、70，頻數3。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同10，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.boundary.01",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料為空（分），共0筆；組界0、2、4。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [],
        "sampleSize": 0,
        "boundaries": [
          0,
          2,
          4
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "empty-sample",
        "bins": [
          {
            "lower": "0",
            "upper": "2",
            "upperClosed": false,
            "count": 0
          },
          {
            "lower": "2",
            "upper": "4",
            "upperClosed": true,
            "count": 0
          }
        ],
        "sampleSize": 0,
        "binWidth": "2",
        "axisStart": "0",
        "axisMax": "0",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為2，是同寬分組；每個觀察值只記一次。",
        "[0,2) 包含資料無，頻數0。",
        "[2,4] 包含資料無，頻數0。",
        "頻數總和0＝樣本0，組界上的值不重複歸兩組。",
        "各柱寬相同2，柱高用頻數；縱軸每格1、上界0，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.boundary.02",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料4、4（分），共2筆；組界0、2、4。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          4,
          4
        ],
        "sampleSize": 2,
        "boundaries": [
          0,
          2,
          4
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "2",
            "upperClosed": false,
            "count": 0
          },
          {
            "lower": "2",
            "upper": "4",
            "upperClosed": true,
            "count": 2
          }
        ],
        "sampleSize": 2,
        "binWidth": "2",
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為2，是同寬分組；每個觀察值只記一次。",
        "[0,2) 包含資料無，頻數0。",
        "[2,4] 包含資料4、4，頻數2。",
        "頻數總和2＝樣本2，組界上的值不重複歸兩組。",
        "各柱寬相同2，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.boundary.03",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料2、2（分），共2筆；組界0、2、4。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          2,
          2
        ],
        "sampleSize": 2,
        "boundaries": [
          0,
          2,
          4
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "2",
            "upperClosed": false,
            "count": 0
          },
          {
            "lower": "2",
            "upper": "4",
            "upperClosed": true,
            "count": 2
          }
        ],
        "sampleSize": 2,
        "binWidth": "2",
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為2，是同寬分組；每個觀察值只記一次。",
        "[0,2) 包含資料無，頻數0。",
        "[2,4] 包含資料2、2，頻數2。",
        "頻數總和2＝樣本2，組界上的值不重複歸兩組。",
        "各柱寬相同2，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.boundary.04",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料0（分），共1筆；組界0、1。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          0
        ],
        "sampleSize": 1,
        "boundaries": [
          0,
          1
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "1",
            "upperClosed": true,
            "count": 1
          }
        ],
        "sampleSize": 1,
        "binWidth": "1",
        "axisStart": "0",
        "axisMax": "1",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為1，是同寬分組；每個觀察值只記一次。",
        "[0,1] 包含資料0，頻數1。",
        "頻數總和1＝樣本1，組界上的值不重複歸兩組。",
        "各柱寬相同1，柱高用頻數；縱軸每格1、上界1，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.holdout.01",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料3、6、9、12（分），共4筆；組界0、4、8、12。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          3,
          6,
          9,
          12
        ],
        "sampleSize": 4,
        "boundaries": [
          0,
          4,
          8,
          12
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "4",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "4",
            "upper": "8",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "8",
            "upper": "12",
            "upperClosed": true,
            "count": 2
          }
        ],
        "sampleSize": 4,
        "binWidth": "4",
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為4，是同寬分組；每個觀察值只記一次。",
        "[0,4) 包含資料3，頻數1。",
        "[4,8) 包含資料6，頻數1。",
        "[8,12] 包含資料9、12，頻數2。",
        "頻數總和4＝樣本4，組界上的值不重複歸兩組。",
        "各柱寬相同4，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.holdout.02",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料-3、-1、1、3（分），共4筆；組界-4、0、4。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          -3,
          -1,
          1,
          3
        ],
        "sampleSize": 4,
        "boundaries": [
          -4,
          0,
          4
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "-4",
            "upper": "0",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "0",
            "upper": "4",
            "upperClosed": true,
            "count": 2
          }
        ],
        "sampleSize": 4,
        "binWidth": "4",
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為4，是同寬分組；每個觀察值只記一次。",
        "[-4,0) 包含資料-3、-1，頻數2。",
        "[0,4] 包含資料1、3，頻數2。",
        "頻數總和4＝樣本4，組界上的值不重複歸兩組。",
        "各柱寬相同4，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.holdout.03",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料0.25、0.5、0.75、1（分），共4筆；組界0、0.5、1。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          "0.25",
          "0.5",
          "0.75",
          1
        ],
        "sampleSize": 4,
        "boundaries": [
          0,
          "0.5",
          1
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "0",
            "upper": "1/2",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "1/2",
            "upper": "1",
            "upperClosed": true,
            "count": 3
          }
        ],
        "sampleSize": 4,
        "binWidth": "1/2",
        "axisStart": "0",
        "axisMax": "3",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為1/2，是同寬分組；每個觀察值只記一次。",
        "[0,1/2) 包含資料0.25，頻數1。",
        "[1/2,1] 包含資料0.5、0.75、1，頻數3。",
        "頻數總和4＝樣本4，組界上的值不重複歸兩組。",
        "各柱寬相同1/2，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.holdout.04",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認原資料60、62、64、66、68（分），共5筆；組界60、63、66、69。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          60,
          62,
          64,
          66,
          68
        ],
        "sampleSize": 5,
        "boundaries": [
          60,
          63,
          66,
          69
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "histogram",
        "bins": [
          {
            "lower": "60",
            "upper": "63",
            "upperClosed": false,
            "count": 2
          },
          {
            "lower": "63",
            "upper": "66",
            "upperClosed": false,
            "count": 1
          },
          {
            "lower": "66",
            "upper": "69",
            "upperClosed": true,
            "count": 2
          }
        ],
        "sampleSize": 5,
        "binWidth": "3",
        "axisStart": "0",
        "axisMax": "2",
        "tickStep": "1",
        "unit": "分"
      },
      "solutionSteps": [
        "相鄰組界之差都為3，是同寬分組；每個觀察值只記一次。",
        "[60,63) 包含資料60、62，頻數2。",
        "[63,66) 包含資料64，頻數1。",
        "[66,69] 包含資料66、68，頻數2。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同3，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.negative.01",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認原資料1、2、3、4、5（分），共5筆；組界0、2、4、6。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。 學生的想法：把剛好落在內部組界2的資料歸前組；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "values": [
          1,
          2,
          3,
          4,
          5
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分",
        "proposal": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "0",
              "upper": "2",
              "upperClosed": false,
              "count": 2
            },
            {
              "lower": "2",
              "upper": "4",
              "upperClosed": false,
              "count": 1
            },
            {
              "lower": "4",
              "upper": "6",
              "upperClosed": true,
              "count": 2
            }
          ],
          "sampleSize": 5,
          "binWidth": "2",
          "axisStart": "0",
          "axisMax": "2",
          "tickStep": "1",
          "unit": "分"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "0",
              "upper": "2",
              "upperClosed": false,
              "count": 1
            },
            {
              "lower": "2",
              "upper": "4",
              "upperClosed": false,
              "count": 2
            },
            {
              "lower": "4",
              "upper": "6",
              "upperClosed": true,
              "count": 2
            }
          ],
          "sampleSize": 5,
          "binWidth": "2",
          "axisStart": "0",
          "axisMax": "2",
          "tickStep": "1",
          "unit": "分"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "相鄰組界之差都為2，是同寬分組；每個觀察值只記一次。",
        "[0,2) 包含資料1，頻數1。",
        "[2,4) 包含資料2、3，頻數2。",
        "[4,6] 包含資料4、5，頻數2。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同2，柱高用頻數；縱軸每格1、上界2，不混用不等寬密度法。",
        "規則是左端含、右端不含；2不在[0,2)，而在[2,4)。",
        "正確前兩組頻數1、2，不能改成2、1；每筆只歸一組。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.negative.02",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認原資料0、5、10、15、20（分），共5筆；組界0、10、20。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。 學生的想法：最後一組也把最右端20排除；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "values": [
          0,
          5,
          10,
          15,
          20
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          10,
          20
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分",
        "proposal": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "0",
              "upper": "10",
              "upperClosed": false,
              "count": 2
            },
            {
              "lower": "10",
              "upper": "20",
              "upperClosed": true,
              "count": 2
            }
          ],
          "sampleSize": 5,
          "binWidth": "10",
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "分"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "0",
              "upper": "10",
              "upperClosed": false,
              "count": 2
            },
            {
              "lower": "10",
              "upper": "20",
              "upperClosed": true,
              "count": 3
            }
          ],
          "sampleSize": 5,
          "binWidth": "10",
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "分"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "相鄰組界之差都為10，是同寬分組；每個觀察值只記一次。",
        "[0,10) 包含資料0、5，頻數2。",
        "[10,20] 包含資料10、15、20，頻數3。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同10，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。",
        "本題明示最後右端也含，所以20須記在[10,20]。",
        "漏掉20會使總頻數4筆，小於確認樣本5筆；補回後各組2、3。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.negative.03",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認原資料2、2、2、5、8（分），共5筆；組界0、3、6、9。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。 學生的想法：把整段0到9的總範圍當作每組寬；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "values": [
          2,
          2,
          2,
          5,
          8
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          3,
          6,
          9
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分",
        "proposal": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "0",
              "upper": "3",
              "upperClosed": false,
              "count": 3
            },
            {
              "lower": "3",
              "upper": "6",
              "upperClosed": false,
              "count": 1
            },
            {
              "lower": "6",
              "upper": "9",
              "upperClosed": true,
              "count": 1
            }
          ],
          "sampleSize": 5,
          "binWidth": "9",
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "分"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "0",
              "upper": "3",
              "upperClosed": false,
              "count": 3
            },
            {
              "lower": "3",
              "upper": "6",
              "upperClosed": false,
              "count": 1
            },
            {
              "lower": "6",
              "upper": "9",
              "upperClosed": true,
              "count": 1
            }
          ],
          "sampleSize": 5,
          "binWidth": "3",
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "分"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "相鄰組界之差都為3，是同寬分組；每個觀察值只記一次。",
        "[0,3) 包含資料2、2、2，頻數3。",
        "[3,6) 包含資料5，頻數1。",
        "[6,9] 包含資料8，頻數1。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同3，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。",
        "組界0、3、6、9相鄰差都是3，所以每組寬3，不是9。",
        "直方圖柱寬要按相鄰組界，不把全部範圍當一組。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.negative.04",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認原資料-4、-2、0、2、4（分），共5筆；組界-4、0、4。每組左端含、右端不含，最後一組右端也含；頻數軸0起每格1。整理等寬直方圖頻數。 學生的想法：負觀察值當成無效資料而略過；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "values": [
          -4,
          -2,
          0,
          2,
          4
        ],
        "sampleSize": 5,
        "boundaries": [
          -4,
          0,
          4
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分",
        "proposal": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "-4",
              "upper": "0",
              "upperClosed": false,
              "count": 0
            },
            {
              "lower": "0",
              "upper": "4",
              "upperClosed": true,
              "count": 3
            }
          ],
          "sampleSize": 5,
          "binWidth": "4",
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "分"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "histogram",
          "bins": [
            {
              "lower": "-4",
              "upper": "0",
              "upperClosed": false,
              "count": 2
            },
            {
              "lower": "0",
              "upper": "4",
              "upperClosed": true,
              "count": 3
            }
          ],
          "sampleSize": 5,
          "binWidth": "4",
          "axisStart": "0",
          "axisMax": "3",
          "tickStep": "1",
          "unit": "分"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "相鄰組界之差都為4，是同寬分組；每個觀察值只記一次。",
        "[-4,0) 包含資料-4、-2，頻數2。",
        "[0,4] 包含資料0、2、4，頻數3。",
        "頻數總和5＝樣本5，組界上的值不重複歸兩組。",
        "各柱寬相同4，柱高用頻數；縱軸每格1、上界3，不混用不等寬密度法。",
        "−4與−2都在合法第一組[−4,0)，負數也是已確認觀察值。",
        "不能刪掉兩筆；正確第一組2筆、第二組3筆，合計5。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.negative.05",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          1,
          2,
          3,
          4,
          5
        ],
        "sampleSize": true,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "json-integer-count-required"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.negative.06",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          1,
          2,
          3,
          4,
          5
        ],
        "sampleSize": 100000000,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "block",
      "expectedAnswer": {
        "reasonCode": "count-outside-finite-domain"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.ambiguous.01",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "完整記錄有5筆，其中一筆數值看不清，另外4筆為2、3、4、5分；組界0、2、4、6，左含右不含、最後右端含。請先補看不清那筆，再分組，不能漏掉它。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          null,
          2,
          3,
          4,
          5
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": true,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-observed-value"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-equal-histogram.ambiguous.02",
      "code": "D-7-1",
      "subtypeId": "chart-equal-histogram",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "暫看到資料1、2、3、4、5共5筆，組界0、2、4、6；但原資料與端點規則尚未核對，請先確認再分組。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "values": [
          1,
          2,
          3,
          4,
          5
        ],
        "sampleSize": 5,
        "boundaries": [
          0,
          2,
          4,
          6
        ],
        "intervalRule": "left-closed-right-open-last-closed",
        "dataConfirmed": null,
        "tickStep": 1,
        "unit": "分"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "在數線先標組界，拿一筆剛好在界上的資料測試「左含右不含」；最後右端另確認，每筆用一個記號只劃一次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.01",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：男：步行=3、搭車=2；女：步行=4、搭車=1。讀出『男且搭車』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "男",
          "女"
        ],
        "columnLabels": [
          "步行",
          "搭車"
        ],
        "cells": [
          [
            3,
            2
          ],
          [
            4,
            1
          ]
        ],
        "rowSelection": "男",
        "columnSelection": "搭車",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "男",
        "selectedColumn": "搭車",
        "intersectionCount": 2,
        "rowTotal": 5,
        "columnTotal": 3,
        "grandTotal": 10,
        "rowTotals": [
          {
            "label": "男",
            "total": 5
          },
          {
            "label": "女",
            "total": 5
          }
        ],
        "columnTotals": [
          {
            "label": "步行",
            "total": 7
          },
          {
            "label": "搭車",
            "total": 3
          }
        ]
      },
      "solutionSteps": [
        "橫向找『男』列、直向找『搭車』欄，交會格為2；這不是整列或整欄總計。",
        "指定列：3＋2＝5。",
        "指定欄：2＋1＝3。",
        "全表按列加總：5＋5＝10；按欄加總：7＋3＝10。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.02",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：七甲：籃球=2、足球=3、游泳=1；七乙：籃球=4、足球=1、游泳=2。讀出『七乙且足球』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "七甲",
          "七乙"
        ],
        "columnLabels": [
          "籃球",
          "足球",
          "游泳"
        ],
        "cells": [
          [
            2,
            3,
            1
          ],
          [
            4,
            1,
            2
          ]
        ],
        "rowSelection": "七乙",
        "columnSelection": "足球",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "七乙",
        "selectedColumn": "足球",
        "intersectionCount": 1,
        "rowTotal": 7,
        "columnTotal": 4,
        "grandTotal": 13,
        "rowTotals": [
          {
            "label": "七甲",
            "total": 6
          },
          {
            "label": "七乙",
            "total": 7
          }
        ],
        "columnTotals": [
          {
            "label": "籃球",
            "total": 6
          },
          {
            "label": "足球",
            "total": 4
          },
          {
            "label": "游泳",
            "total": 3
          }
        ]
      },
      "solutionSteps": [
        "橫向找『七乙』列、直向找『足球』欄，交會格為1；這不是整列或整欄總計。",
        "指定列：4＋1＋2＝7。",
        "指定欄：3＋1＝4。",
        "全表按列加總：6＋7＝13；按欄加總：6＋4＋3＝13。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.03",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：早：現金=1、刷卡=4；中：現金=3、刷卡=2；晚：現金=2、刷卡=5。讀出『晚且刷卡』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "早",
          "中",
          "晚"
        ],
        "columnLabels": [
          "現金",
          "刷卡"
        ],
        "cells": [
          [
            1,
            4
          ],
          [
            3,
            2
          ],
          [
            2,
            5
          ]
        ],
        "rowSelection": "晚",
        "columnSelection": "刷卡",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "晚",
        "selectedColumn": "刷卡",
        "intersectionCount": 5,
        "rowTotal": 7,
        "columnTotal": 11,
        "grandTotal": 17,
        "rowTotals": [
          {
            "label": "早",
            "total": 5
          },
          {
            "label": "中",
            "total": 5
          },
          {
            "label": "晚",
            "total": 7
          }
        ],
        "columnTotals": [
          {
            "label": "現金",
            "total": 6
          },
          {
            "label": "刷卡",
            "total": 11
          }
        ]
      },
      "solutionSteps": [
        "橫向找『晚』列、直向找『刷卡』欄，交會格為5；這不是整列或整欄總計。",
        "指定列：2＋5＝7。",
        "指定欄：4＋2＋5＝11。",
        "全表按列加總：5＋5＋7＝17；按欄加總：6＋11＝17。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.04",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：一年：紅=0、藍=2、綠=3；二年：紅=4、藍=1、綠=0。讀出『一年且紅』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "一年",
          "二年"
        ],
        "columnLabels": [
          "紅",
          "藍",
          "綠"
        ],
        "cells": [
          [
            0,
            2,
            3
          ],
          [
            4,
            1,
            0
          ]
        ],
        "rowSelection": "一年",
        "columnSelection": "紅",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "一年",
        "selectedColumn": "紅",
        "intersectionCount": 0,
        "rowTotal": 5,
        "columnTotal": 4,
        "grandTotal": 10,
        "rowTotals": [
          {
            "label": "一年",
            "total": 5
          },
          {
            "label": "二年",
            "total": 5
          }
        ],
        "columnTotals": [
          {
            "label": "紅",
            "total": 4
          },
          {
            "label": "藍",
            "total": 3
          },
          {
            "label": "綠",
            "total": 3
          }
        ]
      },
      "solutionSteps": [
        "橫向找『一年』列、直向找『紅』欄，交會格為0；這不是整列或整欄總計。",
        "指定列：0＋2＋3＝5。",
        "指定欄：0＋4＝4。",
        "全表按列加總：5＋5＝10；按欄加總：4＋3＋3＝10。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.05",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：A班：甲=1、乙=2、丙=3；B班：甲=4、乙=0、丙=2；C班：甲=2、乙=1、丙=4。讀出『C班且丙』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "A班",
          "B班",
          "C班"
        ],
        "columnLabels": [
          "甲",
          "乙",
          "丙"
        ],
        "cells": [
          [
            1,
            2,
            3
          ],
          [
            4,
            0,
            2
          ],
          [
            2,
            1,
            4
          ]
        ],
        "rowSelection": "C班",
        "columnSelection": "丙",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "C班",
        "selectedColumn": "丙",
        "intersectionCount": 4,
        "rowTotal": 7,
        "columnTotal": 9,
        "grandTotal": 19,
        "rowTotals": [
          {
            "label": "A班",
            "total": 6
          },
          {
            "label": "B班",
            "total": 6
          },
          {
            "label": "C班",
            "total": 7
          }
        ],
        "columnTotals": [
          {
            "label": "甲",
            "total": 7
          },
          {
            "label": "乙",
            "total": 3
          },
          {
            "label": "丙",
            "total": 9
          }
        ]
      },
      "solutionSteps": [
        "橫向找『C班』列、直向找『丙』欄，交會格為4；這不是整列或整欄總計。",
        "指定列：2＋1＋4＝7。",
        "指定欄：3＋2＋4＝9。",
        "全表按列加總：6＋6＋7＝19；按欄加總：7＋3＋9＝19。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.06",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：甲：有=2、無=1；乙：有=1、無=3；丙：有=0、無=2；丁：有=4、無=1。讀出『丁且無』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "甲",
          "乙",
          "丙",
          "丁"
        ],
        "columnLabels": [
          "有",
          "無"
        ],
        "cells": [
          [
            2,
            1
          ],
          [
            1,
            3
          ],
          [
            0,
            2
          ],
          [
            4,
            1
          ]
        ],
        "rowSelection": "丁",
        "columnSelection": "無",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "丁",
        "selectedColumn": "無",
        "intersectionCount": 1,
        "rowTotal": 5,
        "columnTotal": 7,
        "grandTotal": 14,
        "rowTotals": [
          {
            "label": "甲",
            "total": 3
          },
          {
            "label": "乙",
            "total": 4
          },
          {
            "label": "丙",
            "total": 2
          },
          {
            "label": "丁",
            "total": 5
          }
        ],
        "columnTotals": [
          {
            "label": "有",
            "total": 7
          },
          {
            "label": "無",
            "total": 7
          }
        ]
      },
      "solutionSteps": [
        "橫向找『丁』列、直向找『無』欄，交會格為1；這不是整列或整欄總計。",
        "指定列：4＋1＝5。",
        "指定欄：1＋3＋2＋1＝7。",
        "全表按列加總：3＋4＋2＋5＝14；按欄加總：7＋7＝14。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.07",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：甲：一=1、二=0、三=2、四=3；乙：一=2、二=4、三=1、四=0。讀出『乙且四』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "甲",
          "乙"
        ],
        "columnLabels": [
          "一",
          "二",
          "三",
          "四"
        ],
        "cells": [
          [
            1,
            0,
            2,
            3
          ],
          [
            2,
            4,
            1,
            0
          ]
        ],
        "rowSelection": "乙",
        "columnSelection": "四",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "乙",
        "selectedColumn": "四",
        "intersectionCount": 0,
        "rowTotal": 7,
        "columnTotal": 3,
        "grandTotal": 13,
        "rowTotals": [
          {
            "label": "甲",
            "total": 6
          },
          {
            "label": "乙",
            "total": 7
          }
        ],
        "columnTotals": [
          {
            "label": "一",
            "total": 3
          },
          {
            "label": "二",
            "total": 4
          },
          {
            "label": "三",
            "total": 3
          },
          {
            "label": "四",
            "total": 3
          }
        ]
      },
      "solutionSteps": [
        "橫向找『乙』列、直向找『四』欄，交會格為0；這不是整列或整欄總計。",
        "指定列：2＋4＋1＋0＝7。",
        "指定欄：3＋0＝3。",
        "全表按列加總：6＋7＝13；按欄加總：3＋4＋3＋3＝13。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.normal.08",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：A：W=1、X=0、Y=2、Z=1；B：W=0、X=3、Y=1、Z=0；C：W=2、X=1、Y=0、Z=2；D：W=1、X=2、Y=1、Z=1。讀出『C且W』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "A",
          "B",
          "C",
          "D"
        ],
        "columnLabels": [
          "W",
          "X",
          "Y",
          "Z"
        ],
        "cells": [
          [
            1,
            0,
            2,
            1
          ],
          [
            0,
            3,
            1,
            0
          ],
          [
            2,
            1,
            0,
            2
          ],
          [
            1,
            2,
            1,
            1
          ]
        ],
        "rowSelection": "C",
        "columnSelection": "W",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "C",
        "selectedColumn": "W",
        "intersectionCount": 2,
        "rowTotal": 5,
        "columnTotal": 4,
        "grandTotal": 18,
        "rowTotals": [
          {
            "label": "A",
            "total": 4
          },
          {
            "label": "B",
            "total": 4
          },
          {
            "label": "C",
            "total": 5
          },
          {
            "label": "D",
            "total": 5
          }
        ],
        "columnTotals": [
          {
            "label": "W",
            "total": 4
          },
          {
            "label": "X",
            "total": 6
          },
          {
            "label": "Y",
            "total": 4
          },
          {
            "label": "Z",
            "total": 4
          }
        ]
      },
      "solutionSteps": [
        "橫向找『C』列、直向找『W』欄，交會格為2；這不是整列或整欄總計。",
        "指定列：2＋1＋0＋2＝5。",
        "指定欄：1＋0＋2＋1＝4。",
        "全表按列加總：4＋4＋5＋5＝18；按欄加總：4＋6＋4＋4＝18。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.boundary.01",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：甲：有=0、無=0；乙：有=0、無=0。讀出『甲且有』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "甲",
          "乙"
        ],
        "columnLabels": [
          "有",
          "無"
        ],
        "cells": [
          [
            0,
            0
          ],
          [
            0,
            0
          ]
        ],
        "rowSelection": "甲",
        "columnSelection": "有",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "甲",
        "selectedColumn": "有",
        "intersectionCount": 0,
        "rowTotal": 0,
        "columnTotal": 0,
        "grandTotal": 0,
        "rowTotals": [
          {
            "label": "甲",
            "total": 0
          },
          {
            "label": "乙",
            "total": 0
          }
        ],
        "columnTotals": [
          {
            "label": "有",
            "total": 0
          },
          {
            "label": "無",
            "total": 0
          }
        ]
      },
      "solutionSteps": [
        "橫向找『甲』列、直向找『有』欄，交會格為0；這不是整列或整欄總計。",
        "指定列：0＋0＝0。",
        "指定欄：0＋0＝0。",
        "全表按列加總：0＋0＝0；按欄加總：0＋0＝0。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.boundary.02",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：甲：A=10000、B=10000、C=10000、D=10000；乙：A=10000、B=10000、C=10000、D=10000；丙：A=10000、B=10000、C=10000、D=10000；丁：A=10000、B=10000、C=10000、D=10000。讀出『丁且D』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "甲",
          "乙",
          "丙",
          "丁"
        ],
        "columnLabels": [
          "A",
          "B",
          "C",
          "D"
        ],
        "cells": [
          [
            10000,
            10000,
            10000,
            10000
          ],
          [
            10000,
            10000,
            10000,
            10000
          ],
          [
            10000,
            10000,
            10000,
            10000
          ],
          [
            10000,
            10000,
            10000,
            10000
          ]
        ],
        "rowSelection": "丁",
        "columnSelection": "D",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {
          "rows": [
            40000,
            40000,
            40000,
            40000
          ],
          "columns": [
            40000,
            40000,
            40000,
            40000
          ],
          "grandTotal": 160000
        }
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "丁",
        "selectedColumn": "D",
        "intersectionCount": 10000,
        "rowTotal": 40000,
        "columnTotal": 40000,
        "grandTotal": 160000,
        "rowTotals": [
          {
            "label": "甲",
            "total": 40000
          },
          {
            "label": "乙",
            "total": 40000
          },
          {
            "label": "丙",
            "total": 40000
          },
          {
            "label": "丁",
            "total": 40000
          }
        ],
        "columnTotals": [
          {
            "label": "A",
            "total": 40000
          },
          {
            "label": "B",
            "total": 40000
          },
          {
            "label": "C",
            "total": 40000
          },
          {
            "label": "D",
            "total": 40000
          }
        ]
      },
      "solutionSteps": [
        "橫向找『丁』列、直向找『D』欄，交會格為10000；這不是整列或整欄總計。",
        "指定列：10000＋10000＋10000＋10000＝40000。",
        "指定欄：10000＋10000＋10000＋10000＝40000。",
        "全表按列加總：40000＋40000＋40000＋40000＝160000；按欄加總：40000＋40000＋40000＋40000＝160000。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。",
        "題目已標列、欄或全表總計，均與逐格加總一致。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.boundary.03",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：01：甲=1、乙=2；1：甲=3、乙=4。讀出『01且乙』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "01",
          "1"
        ],
        "columnLabels": [
          "甲",
          "乙"
        ],
        "cells": [
          [
            1,
            2
          ],
          [
            3,
            4
          ]
        ],
        "rowSelection": "01",
        "columnSelection": "乙",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "01",
        "selectedColumn": "乙",
        "intersectionCount": 2,
        "rowTotal": 3,
        "columnTotal": 6,
        "grandTotal": 10,
        "rowTotals": [
          {
            "label": "01",
            "total": 3
          },
          {
            "label": "1",
            "total": 7
          }
        ],
        "columnTotals": [
          {
            "label": "甲",
            "total": 4
          },
          {
            "label": "乙",
            "total": 6
          }
        ]
      },
      "solutionSteps": [
        "橫向找『01』列、直向找『乙』欄，交會格為2；這不是整列或整欄總計。",
        "指定列：1＋2＝3。",
        "指定欄：2＋4＝6。",
        "全表按列加總：3＋7＝10；按欄加總：4＋6＝10。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.boundary.04",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：甲：A=1、B=2；乙：A=3、B=4。讀出『甲且A』的格數，並求指定列合計、指定欄合計及全表總數。 題目另標全表總數為11人，請核對是否一致。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "甲",
          "乙"
        ],
        "columnLabels": [
          "A",
          "B"
        ],
        "cells": [
          [
            1,
            2
          ],
          [
            3,
            4
          ]
        ],
        "rowSelection": "甲",
        "columnSelection": "A",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {
          "grandTotal": 11
        }
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "declared-grand-total-conflicts"
      },
      "solutionSteps": [
        "按格數逐列加總：甲列1＋2＝3，乙列3＋4＝7；全表應為3＋7＝10人。",
        "題目另標11人，但10≠11，格數與已標總數相互矛盾，不能同時視為確定條件。",
        "請確認原始格數或全表總數哪裡誤抄；修正前不把10或11包裝成已確認答案。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.holdout.01",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：社團一：上午=5、下午=1；社團二：上午=2、下午=6；社團三：上午=4、下午=3。讀出『社團二且下午』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "社團一",
          "社團二",
          "社團三"
        ],
        "columnLabels": [
          "上午",
          "下午"
        ],
        "cells": [
          [
            5,
            1
          ],
          [
            2,
            6
          ],
          [
            4,
            3
          ]
        ],
        "rowSelection": "社團二",
        "columnSelection": "下午",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "社團二",
        "selectedColumn": "下午",
        "intersectionCount": 6,
        "rowTotal": 8,
        "columnTotal": 10,
        "grandTotal": 21,
        "rowTotals": [
          {
            "label": "社團一",
            "total": 6
          },
          {
            "label": "社團二",
            "total": 8
          },
          {
            "label": "社團三",
            "total": 7
          }
        ],
        "columnTotals": [
          {
            "label": "上午",
            "total": 11
          },
          {
            "label": "下午",
            "total": 10
          }
        ]
      },
      "solutionSteps": [
        "橫向找『社團二』列、直向找『下午』欄，交會格為6；這不是整列或整欄總計。",
        "指定列：2＋6＝8。",
        "指定欄：1＋6＋3＝10。",
        "全表按列加總：6＋8＋7＝21；按欄加總：11＋10＝21。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.holdout.02",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：甲站：現金=2、電子=5、月票=1；乙站：現金=3、電子=2、月票=4。讀出『甲站且月票』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "甲站",
          "乙站"
        ],
        "columnLabels": [
          "現金",
          "電子",
          "月票"
        ],
        "cells": [
          [
            2,
            5,
            1
          ],
          [
            3,
            2,
            4
          ]
        ],
        "rowSelection": "甲站",
        "columnSelection": "月票",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "甲站",
        "selectedColumn": "月票",
        "intersectionCount": 1,
        "rowTotal": 8,
        "columnTotal": 5,
        "grandTotal": 17,
        "rowTotals": [
          {
            "label": "甲站",
            "total": 8
          },
          {
            "label": "乙站",
            "total": 9
          }
        ],
        "columnTotals": [
          {
            "label": "現金",
            "total": 5
          },
          {
            "label": "電子",
            "total": 7
          },
          {
            "label": "月票",
            "total": 5
          }
        ]
      },
      "solutionSteps": [
        "橫向找『甲站』列、直向找『月票』欄，交會格為1；這不是整列或整欄總計。",
        "指定列：2＋5＋1＝8。",
        "指定欄：1＋4＝5。",
        "全表按列加總：8＋9＝17；按欄加總：5＋7＋5＝17。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.holdout.03",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：一：晴=1、雨=2；二：晴=3、雨=0；三：晴=2、雨=4；四：晴=5、雨=1。讀出『三且晴』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "一",
          "二",
          "三",
          "四"
        ],
        "columnLabels": [
          "晴",
          "雨"
        ],
        "cells": [
          [
            1,
            2
          ],
          [
            3,
            0
          ],
          [
            2,
            4
          ],
          [
            5,
            1
          ]
        ],
        "rowSelection": "三",
        "columnSelection": "晴",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "三",
        "selectedColumn": "晴",
        "intersectionCount": 2,
        "rowTotal": 6,
        "columnTotal": 11,
        "grandTotal": 18,
        "rowTotals": [
          {
            "label": "一",
            "total": 3
          },
          {
            "label": "二",
            "total": 3
          },
          {
            "label": "三",
            "total": 6
          },
          {
            "label": "四",
            "total": 6
          }
        ],
        "columnTotals": [
          {
            "label": "晴",
            "total": 11
          },
          {
            "label": "雨",
            "total": 7
          }
        ]
      },
      "solutionSteps": [
        "橫向找『三』列、直向找『晴』欄，交會格為2；這不是整列或整欄總計。",
        "指定列：2＋4＝6。",
        "指定欄：1＋3＋2＋5＝11。",
        "全表按列加總：3＋3＋6＋6＝18；按欄加總：11＋7＝18。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.holdout.04",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：A組：高=2、中=4、低=1；B組：高=3、中=1、低=5；C組：高=0、中=2、低=3。讀出『B組且低』的格數，並求指定列合計、指定欄合計及全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "A組",
          "B組",
          "C組"
        ],
        "columnLabels": [
          "高",
          "中",
          "低"
        ],
        "cells": [
          [
            2,
            4,
            1
          ],
          [
            3,
            1,
            5
          ],
          [
            0,
            2,
            3
          ]
        ],
        "rowSelection": "B組",
        "columnSelection": "低",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "contingency-table",
        "selectedRow": "B組",
        "selectedColumn": "低",
        "intersectionCount": 5,
        "rowTotal": 9,
        "columnTotal": 9,
        "grandTotal": 21,
        "rowTotals": [
          {
            "label": "A組",
            "total": 7
          },
          {
            "label": "B組",
            "total": 9
          },
          {
            "label": "C組",
            "total": 5
          }
        ],
        "columnTotals": [
          {
            "label": "高",
            "total": 5
          },
          {
            "label": "中",
            "total": 7
          },
          {
            "label": "低",
            "total": 9
          }
        ]
      },
      "solutionSteps": [
        "橫向找『B組』列、直向找『低』欄，交會格為5；這不是整列或整欄總計。",
        "指定列：3＋1＋5＝9。",
        "指定欄：1＋5＋3＝9。",
        "全表按列加總：7＋9＋5＝21；按欄加總：5＋7＋9＝21。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.negative.01",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：男：步行=3、搭車=2；女：步行=4、搭車=1。讀出『男且搭車』的格數，並求指定列合計、指定欄合計及全表總數。 學生說「把整個男生列合計5當成「男且搭車」」，請指出錯在哪一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rowLabels": [
          "男",
          "女"
        ],
        "columnLabels": [
          "步行",
          "搭車"
        ],
        "cells": [
          [
            3,
            2
          ],
          [
            4,
            1
          ]
        ],
        "rowSelection": "男",
        "columnSelection": "搭車",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {},
        "proposal": {
          "classification": "contingency-table",
          "selectedRow": "男",
          "selectedColumn": "搭車",
          "intersectionCount": 5,
          "rowTotal": 5,
          "columnTotal": 3,
          "grandTotal": 10,
          "rowTotals": [
            {
              "label": "男",
              "total": 5
            },
            {
              "label": "女",
              "total": 5
            }
          ],
          "columnTotals": [
            {
              "label": "步行",
              "total": 7
            },
            {
              "label": "搭車",
              "total": 3
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "contingency-table",
          "selectedRow": "男",
          "selectedColumn": "搭車",
          "intersectionCount": 2,
          "rowTotal": 5,
          "columnTotal": 3,
          "grandTotal": 10,
          "rowTotals": [
            {
              "label": "男",
              "total": 5
            },
            {
              "label": "女",
              "total": 5
            }
          ],
          "columnTotals": [
            {
              "label": "步行",
              "total": 7
            },
            {
              "label": "搭車",
              "total": 3
            }
          ]
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "橫向找『男』列、直向找『搭車』欄，交會格為2；這不是整列或整欄總計。",
        "指定列：3＋2＝5。",
        "指定欄：2＋1＝3。",
        "全表按列加總：5＋5＝10；按欄加總：7＋3＝10。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。",
        "男生列3＋2＝5是全部男生；男且搭車只看交會格2，不能把步行3也算進交集。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.negative.02",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：七甲：籃球=2、足球=3、游泳=1；七乙：籃球=4、足球=1、游泳=2。讀出『七乙且足球』的格數，並求指定列合計、指定欄合計及全表總數。 學生說「把足球欄合計4當成七乙列總數」，請指出錯在哪一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rowLabels": [
          "七甲",
          "七乙"
        ],
        "columnLabels": [
          "籃球",
          "足球",
          "游泳"
        ],
        "cells": [
          [
            2,
            3,
            1
          ],
          [
            4,
            1,
            2
          ]
        ],
        "rowSelection": "七乙",
        "columnSelection": "足球",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {},
        "proposal": {
          "classification": "contingency-table",
          "selectedRow": "七乙",
          "selectedColumn": "足球",
          "intersectionCount": 1,
          "rowTotal": 4,
          "columnTotal": 4,
          "grandTotal": 13,
          "rowTotals": [
            {
              "label": "七甲",
              "total": 6
            },
            {
              "label": "七乙",
              "total": 7
            }
          ],
          "columnTotals": [
            {
              "label": "籃球",
              "total": 6
            },
            {
              "label": "足球",
              "total": 4
            },
            {
              "label": "游泳",
              "total": 3
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "contingency-table",
          "selectedRow": "七乙",
          "selectedColumn": "足球",
          "intersectionCount": 1,
          "rowTotal": 7,
          "columnTotal": 4,
          "grandTotal": 13,
          "rowTotals": [
            {
              "label": "七甲",
              "total": 6
            },
            {
              "label": "七乙",
              "total": 7
            }
          ],
          "columnTotals": [
            {
              "label": "籃球",
              "total": 6
            },
            {
              "label": "足球",
              "total": 4
            },
            {
              "label": "游泳",
              "total": 3
            }
          ]
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "橫向找『七乙』列、直向找『足球』欄，交會格為1；這不是整列或整欄總計。",
        "指定列：4＋1＋2＝7。",
        "指定欄：3＋1＝4。",
        "全表按列加總：6＋7＝13；按欄加總：6＋4＋3＝13。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。",
        "七乙列要橫向加4＋1＋2＝7；足球欄上下加3＋1＝4是另一個分類邊際，不是七乙總數。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.negative.03",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：早：現金=1、刷卡=4；中：現金=3、刷卡=2；晚：現金=2、刷卡=5。讀出『晚且刷卡』的格數，並求指定列合計、指定欄合計及全表總數。 學生說「刷卡欄只加前兩列」，請指出錯在哪一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rowLabels": [
          "早",
          "中",
          "晚"
        ],
        "columnLabels": [
          "現金",
          "刷卡"
        ],
        "cells": [
          [
            1,
            4
          ],
          [
            3,
            2
          ],
          [
            2,
            5
          ]
        ],
        "rowSelection": "晚",
        "columnSelection": "刷卡",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {},
        "proposal": {
          "classification": "contingency-table",
          "selectedRow": "晚",
          "selectedColumn": "刷卡",
          "intersectionCount": 5,
          "rowTotal": 7,
          "columnTotal": 6,
          "grandTotal": 17,
          "rowTotals": [
            {
              "label": "早",
              "total": 5
            },
            {
              "label": "中",
              "total": 5
            },
            {
              "label": "晚",
              "total": 7
            }
          ],
          "columnTotals": [
            {
              "label": "現金",
              "total": 6
            },
            {
              "label": "刷卡",
              "total": 11
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "contingency-table",
          "selectedRow": "晚",
          "selectedColumn": "刷卡",
          "intersectionCount": 5,
          "rowTotal": 7,
          "columnTotal": 11,
          "grandTotal": 17,
          "rowTotals": [
            {
              "label": "早",
              "total": 5
            },
            {
              "label": "中",
              "total": 5
            },
            {
              "label": "晚",
              "total": 7
            }
          ],
          "columnTotals": [
            {
              "label": "現金",
              "total": 6
            },
            {
              "label": "刷卡",
              "total": 11
            }
          ]
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "橫向找『晚』列、直向找『刷卡』欄，交會格為5；這不是整列或整欄總計。",
        "指定列：2＋5＝7。",
        "指定欄：4＋2＋5＝11。",
        "全表按列加總：5＋5＋7＝17；按欄加總：6＋11＝17。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。",
        "刷卡欄三列應4＋2＋5＝11；漏掉晚間5會誤得6。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.negative.04",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "同一批對象的列/欄分類已確認互斥完整；列聯表：一年：紅=0、藍=2、綠=3；二年：紅=4、藍=1、綠=0。讀出『一年且紅』的格數，並求指定列合計、指定欄合計及全表總數。 學生說「列合計總和再加欄合計總和」，請指出錯在哪一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "rowLabels": [
          "一年",
          "二年"
        ],
        "columnLabels": [
          "紅",
          "藍",
          "綠"
        ],
        "cells": [
          [
            0,
            2,
            3
          ],
          [
            4,
            1,
            0
          ]
        ],
        "rowSelection": "一年",
        "columnSelection": "紅",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {},
        "proposal": {
          "classification": "contingency-table",
          "selectedRow": "一年",
          "selectedColumn": "紅",
          "intersectionCount": 0,
          "rowTotal": 5,
          "columnTotal": 4,
          "grandTotal": 20,
          "rowTotals": [
            {
              "label": "一年",
              "total": 5
            },
            {
              "label": "二年",
              "total": 5
            }
          ],
          "columnTotals": [
            {
              "label": "紅",
              "total": 4
            },
            {
              "label": "藍",
              "total": 3
            },
            {
              "label": "綠",
              "total": 3
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "contingency-table",
          "selectedRow": "一年",
          "selectedColumn": "紅",
          "intersectionCount": 0,
          "rowTotal": 5,
          "columnTotal": 4,
          "grandTotal": 10,
          "rowTotals": [
            {
              "label": "一年",
              "total": 5
            },
            {
              "label": "二年",
              "total": 5
            }
          ],
          "columnTotals": [
            {
              "label": "紅",
              "total": 4
            },
            {
              "label": "藍",
              "total": 3
            },
            {
              "label": "綠",
              "total": 3
            }
          ]
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "橫向找『一年』列、直向找『紅』欄，交會格為0；這不是整列或整欄總計。",
        "指定列：0＋2＋3＝5。",
        "指定欄：0＋4＝4。",
        "全表按列加總：5＋5＝10；按欄加總：4＋3＋3＝10。",
        "兩種總和是同一批對象的兩種分組方式，只選一種作全表總數，不能再相加。",
        "按列為5＋5＝10，按欄為4＋3＋3＝10；兩者是同一批10人的兩種分組，不能加成20。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.negative.05",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：某格頻數傳入布林或超出每格10000的有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "男",
          "女"
        ],
        "columnLabels": [
          "步行",
          "搭車"
        ],
        "cells": [
          [
            true,
            2
          ],
          [
            4,
            1
          ]
        ],
        "rowSelection": "男",
        "columnSelection": "搭車",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "frequency-json-integer-required"
      },
      "solutionSteps": [
        "先確認每格是非負JSON整數，布林不是人數。",
        "格式錯誤拒絕；超出有限範圍改送合適方法，不繼續產生錯誤總計。",
        "請重新確認原始格數，不把工程錯誤算成學生程度。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.negative.06",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：某格頻數傳入布林或超出每格10000的有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "男",
          "女"
        ],
        "columnLabels": [
          "步行",
          "搭車"
        ],
        "cells": [
          [
            100000000,
            2
          ],
          [
            4,
            1
          ]
        ],
        "rowSelection": "男",
        "columnSelection": "搭車",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "block",
      "expectedAnswer": {
        "reasonCode": "per-cell-frequency-over10000"
      },
      "solutionSteps": [
        "先確認每格是非負JSON整數，布林不是人數。",
        "格式錯誤拒絕；超出有限範圍改送合適方法，不繼續產生錯誤總計。",
        "請重新確認原始格數，不把工程錯誤算成學生程度。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.ambiguous.01",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "同一批的表格：男步行3人、男搭車看不清；女步行4人、女搭車1人。沒有另給列/欄或全表總計。請先補男搭車人數，再求男且搭車、男總數、搭車總數與全表總數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "男",
          "女"
        ],
        "columnLabels": [
          "步行",
          "搭車"
        ],
        "cells": [
          [
            3,
            null
          ],
          [
            4,
            1
          ]
        ],
        "rowSelection": "男",
        "columnSelection": "搭車",
        "partitionConfirmed": true,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-table-cell"
      },
      "solutionSteps": [
        "要讀的交會格本身缺值，其他三格不足以推出它。",
        "例如補2或補5，都與目前已知三格相容，但交集與總計不同。",
        "請確認看不清那格，不能用其他列或欄合計猜成固定值。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-7-1.chart-contingency.ambiguous.02",
      "code": "D-7-1",
      "subtypeId": "chart-contingency",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已抄到七甲籃球2、足球3、游泳1；七乙籃球4、足球1、游泳2。但尚未確認每人是否只選一種運動、每人是否都列入。請先確認分類是否互斥完整，再把格數加成總人數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "rowLabels": [
          "七甲",
          "七乙"
        ],
        "columnLabels": [
          "籃球",
          "足球",
          "游泳"
        ],
        "cells": [
          [
            2,
            3,
            1
          ],
          [
            4,
            1,
            2
          ]
        ],
        "rowSelection": "七乙",
        "columnSelection": "足球",
        "partitionConfirmed": null,
        "dataConfirmed": true,
        "statedTotals": {}
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "各格數值雖已抄到，尚未確認是否同一人會被重複列入多種運動。",
        "若有人複選，直接加總不是不重複人數；若有人漏填，也不是完整樣本。",
        "先確認分類互斥且完整，才能把列、欄及全表頻數當作人數總計。"
      ],
      "why": "分類以同一批、互斥完整為前提；交集格不等於列/欄邊際總計，全表只計一次。",
      "ifNotUnderstood": "先畫橫向列與直向欄的交叉定位，再一次只加一列或一欄；全表最後用另一方向驗算，不把同一批人算兩次。",
      "teacherReviewed": false,
      "appConnected": false
    }
  ],
  "teacherReviewed": false,
  "appConnected": false,
  "verificationLimitations": [
    "有限結構化離線案例；不宣稱OCR、任意符號式或App整合。",
    "未經真人教師審核；固定解法不涵蓋整碼所有題目。",
    "非等寬直方密度、未分組原圖像辨識尚未補齊；不宣稱全D-7-1驗收。",
    "只依已確認資料/刻度做圖表整理；未驗OCR或從像素推讀值。",
    "時間只依確認順序求相鄰差，不假設相鄰時間間隔相同、不推斜率速率。"
  ]
}
