export interface NumericalQuestion {
  id: number;
  stem: string;
  expected_value: number;
  tolerance: number;
  unit?: string;
}

export interface ExpressionQuestion {
  id: number;
  stem: string;
  expected_expression: string;
  variables?: string[];
}

export interface MatrixQuestion {
  id: number;
  stem: string;
  rows: number;
  cols: number;
  expected_values: number[][];
}

export interface GraphQuestion {
  id: number;
  stem: string;
  graph_type: "linear" | "quadratic" | "custom";
  expected_function: string;
  x_range: [number, number];
  y_range: [number, number];
}
