Barat123 commited on
Commit
b1d7dbb
·
verified ·
1 Parent(s): fb23c2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -11
app.py CHANGED
@@ -79,22 +79,34 @@ General Requirements:
79
  return {
80
  "lesson": base + """
81
  Generate a period-wise teaching schedule (Lesson Plan):
82
- - Assume 10-12 periods of 45-50 minutes each.
83
  - Output MUST be a single Markdown table with exactly these columns:
84
- | Period | Topic/Subtopic | Key Teaching Points | SASTRA Resource/Activity Hint |
85
- - In the 'SASTRA Resource/Activity Hint' column, specify relevant SASTRA Material Hub modules, standard prescribed book chapters, or typical CIA question types for that topic.
86
  - Keep descriptions brief. Focus on logical progression.
87
- - Reserve the final period for SASTRA end-semester pattern revision.
88
- - Do not add any introductory or concluding text outside the table.
 
 
 
 
89
  """,
90
- "qa": base + """
91
- Generate 8 exam-style short questions with precise answers:
92
- - Mirror SASTRA CIA and End-Semester phrasing and difficulty.
93
- - Cover definitions, direct applications, derivations, and 1-step reasoning.
 
 
 
 
94
  - Format strictly:
95
  **Q1.** [Question]
96
- **A:** [Concise answer, max 2 lines]
97
- - If the question matches a known pattern from SASTRA Material Base or a prescribed textbook exercise, note it briefly at the end of the answer.
 
 
 
 
 
98
  """,
99
  "mcq": base + """
100
  Generate 8 multiple-choice questions:
 
79
  return {
80
  "lesson": base + """
81
  Generate a period-wise teaching schedule (Lesson Plan):
82
+ - Assume each period is 45-50 minutes each.
83
  - Output MUST be a single Markdown table with exactly these columns:
84
+ | Period | Topic/Subtopic | Key Teaching Points |
 
85
  - Keep descriptions brief. Focus on logical progression.
86
+ - Reserve the final period for revision.
87
+ - Output MUST be a valid GitHub-Flavored Markdown table.
88
+ - Do NOT use ASCII separators like +--- or ----
89
+ - Table must render correctly in Markdown.
90
+ - Give 'Resources' relevant SASTRA Material Hub modules, slides or materials from the interneton that topic, standard prescribed book chapters, or typical CIA question types for all topics.
91
+ - Explain each concepts: Defintion (understandable way only, like points), examples (very important)
92
  """,
93
+ "qa": base + """ Generate 8 exam-style questions with answers:
94
+ - Match SASTRA CIA and End-Sem difficulty (include tricky and conceptual questions).
95
+ - Mix:
96
+ * 3 short answers (2–3 lines)
97
+ * 3 medium answers (5–6 lines)
98
+ * 2 long answers (8–12 lines, may include derivations or explanations or code, for diagrams verify materials/resources/text books)
99
+ - Include at least 2 tricky or application-based questions.
100
+
101
  - Format strictly:
102
  **Q1.** [Question]
103
+ **A:** [Answer]
104
+
105
+ - For long answers:
106
+ - Use stepwise explanation or bullet points
107
+ - Include formulas where relevant
108
+
109
+ - If aligned with SASTRA Material Base or textbook patterns, mention briefly.
110
  """,
111
  "mcq": base + """
112
  Generate 8 multiple-choice questions: