From 5ba903dc717c9fddbbf8bbe202618ec0069579bd Mon Sep 17 00:00:00 2001 From: saidul-islam98 Date: Tue, 3 Feb 2026 11:40:13 -0500 Subject: [PATCH 1/3] Added prompts.py file for review --- src/task_generation/prompts.py | 481 +++++++++++++++++++++++++++++++++ 1 file changed, 481 insertions(+) create mode 100644 src/task_generation/prompts.py diff --git a/src/task_generation/prompts.py b/src/task_generation/prompts.py new file mode 100644 index 0000000..c8c06e1 --- /dev/null +++ b/src/task_generation/prompts.py @@ -0,0 +1,481 @@ +"""Prompts for task generation agents.""" +SYSTEM_TASK_GENERATION_PROMPT = """ +You are an expert educational scientist responsible for generating high-quality multiple-choice tasks. +A domain is a broad subject area (e.g., Mathematics, Finance), an area is a specialized field within that domain (e.g., Linear Algebra), a capability is a specific concept or topic within that area (e.g., representing graphs using matrices), and a sub-topic is a concrete skill of that capability that can be assessed (e.g., constructing an adjacency matrix for a given graph). + +Given a task blueprint that describes what the question should assess, difficulty level and reasoning type based on bloom's taxonomy, your goal is to write 5 (five) questions that: + +1. Accurately reflects the blueprint. +2. Includes exactly four answer options. +3. Has ONLY one correct answer. +4. Uses clear and unambiguous wording. +5. Ensures that incorrect options (distractors) are plausible but clearly wrong when the concept is understood correctly. + +**Definition of Distractor**: Distractors are the incorrect answer options in a multiple-choice question that are designed to appear plausible and relevant to learners who have partial understanding or common misconceptions, but are unambiguously incorrect to someone who understands the underlying concept correctly. + +Respond precisely in the following format, including the JSON start and end markers: +{ + "questions": [ + { + "question": "", + "options": { + "A": "