{
  "templateId": "linear-eq",
  "title": "일차방정식 풀이 단계 AST 패턴",
  "gradeRange": ["m1", "m2"],
  "errorPatterns": [
    {
      "stepId": "transpose",
      "label": "이항",
      "description": "상수항을 우변으로 이항할 때 부호 변환",
      "exampleInput":  "2x + 3 = 7",
      "expectedOutput": "2x = 7 - 3",
      "canonicalForm":  "2x=4",
      "errorTag": "MC_TRANSPOSE_ERROR",
      "wrongExamples": ["2x = 7 + 3", "2x = 10"],
      "tokenPattern": ["num","x","=","num"]
    },
    {
      "stepId": "divide",
      "label": "계수 나누기",
      "description": "양변을 계수로 나누기",
      "exampleInput":  "2x = 4",
      "expectedOutput": "x = 2",
      "canonicalForm":  "x=2",
      "errorTag": "MC_SIGN_ERROR",
      "wrongExamples": ["x = -2", "x = 8"],
      "tokenPattern": ["x","=","num"]
    },
    {
      "stepId": "expand",
      "label": "분배법칙 전개",
      "description": "괄호 전개 시 계수 곱하기",
      "exampleInput":  "2(x + 3) = 14",
      "expectedOutput": "2x + 6 = 14",
      "canonicalForm":  "2x+6=14",
      "errorTag": "MC_EXPAND_ERROR",
      "wrongExamples": ["2x + 3 = 14"],
      "tokenPattern": ["num","x","+","num","=","num"]
    }
  ],
  "difficultyWeights": { "+": 1, "-": 1, "*": 2, "/": 2, "^": 3 }
}
