import type { AssignmentSetupForm, DifficultyValue, QuestionGenerationForm, SelectOption } from "./dashboard-teacher-assignment-create.types";

export const FIXED_PASS_THRESHOLD_LABEL = "60% (6.0/10)";

export const GENERATION_TOPIC_OPTIONS: readonly SelectOption[] = [
	{ value: "place_value", label: "Place Value" },
	{ value: "arithmetic", label: "Arithmetic" },
	{ value: "negative_numbers", label: "Negative Numbers" },
	{ value: "bidmas", label: "BIDMAS" },
	{ value: "fractions", label: "Fractions" },
	{ value: "algebra", label: "Algebra" },
	{ value: "geometry", label: "Geometry" },
	{ value: "data", label: "Data" },
];

export const GENERATION_DIFFICULTY_OPTIONS: readonly SelectOption<DifficultyValue>[] = [
	{ value: "easy", label: "Easy" },
	{ value: "medium", label: "Medium" },
	{ value: "hard", label: "Hard" },
];

export const emptySetupForm: AssignmentSetupForm = {
	classroomId: "",
	title: "",
	instructions: "",
	dueAt: "",
	selectedQuestionIds: [],
	useMixedGeneration: false,
	primaryTopic: "fractions",
	primaryDifficulty: "easy",
	totalQuestions: "10",
	personalizedRatio: "30",
	seed: "",
	personalizedDifficulty: "easy",
	subject: "Maths",
};

export const defaultGenerationForm: QuestionGenerationForm = {
	topic: "arithmetic",
	difficulty: "easy",
	count: "3",
	seed: "",
};
