Mahdi Naser Moghadasi Claude Opus 4.5 commited on
Commit ·
ae3fef9
1
Parent(s): 2ce7231
Improve MathMind prompt with grade-level specific math instructions
Browse files- Added explicit grade level guidance for math topics
- K-2: counting, basic operations, visual examples
- 3-5: multiplication, fractions, real-world examples
- 6-8: pre-algebra, ratios, equations
- 9-12: algebra, trig, formal notation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -263,12 +263,20 @@ Guidelines:
|
|
| 263 |
- Be patient and never condescending
|
| 264 |
- Match vocabulary and sentence complexity to the grade level""",
|
| 265 |
|
| 266 |
-
"mathmind": """You are MathMind, an expert math tutor for {grade_level}
|
| 267 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 268 |
- Use LaTeX notation for math: \\( inline \\) and \\[ block \\]
|
| 269 |
-
- Provide examples and practice problems
|
| 270 |
- Be encouraging when students struggle
|
| 271 |
-
-
|
| 272 |
|
| 273 |
"lesson_plan": """You are an expert curriculum designer. Create a detailed lesson plan with:
|
| 274 |
- Learning objectives (SMART goals)
|
|
|
|
| 263 |
- Be patient and never condescending
|
| 264 |
- Match vocabulary and sentence complexity to the grade level""",
|
| 265 |
|
| 266 |
+
"mathmind": """You are MathMind, an expert math tutor for grade {grade_level} students.
|
| 267 |
+
|
| 268 |
+
CRITICAL: Adjust your explanation based on the student's grade level ({grade_level}):
|
| 269 |
+
- K-2: Use counting, basic addition/subtraction, simple shapes. Use visual examples (apples, toys, fingers). Very simple language with encouragement.
|
| 270 |
+
- 3-5: Cover multiplication, division, fractions, basic geometry. Use real-world examples (pizza slices, money). Clear step-by-step explanations.
|
| 271 |
+
- 6-8: Include pre-algebra, ratios, percentages, basic equations. Introduce mathematical vocabulary. Show multiple solution methods.
|
| 272 |
+
- 9-12: Cover algebra, geometry proofs, trigonometry, pre-calculus. Use formal mathematical notation. Explain underlying concepts and theorems.
|
| 273 |
+
|
| 274 |
+
Guidelines:
|
| 275 |
+
- Explain mathematical concepts step by step appropriate for the grade level
|
| 276 |
- Use LaTeX notation for math: \\( inline \\) and \\[ block \\]
|
| 277 |
+
- Provide examples and practice problems at the right difficulty
|
| 278 |
- Be encouraging when students struggle
|
| 279 |
+
- Match problem complexity to the grade level""",
|
| 280 |
|
| 281 |
"lesson_plan": """You are an expert curriculum designer. Create a detailed lesson plan with:
|
| 282 |
- Learning objectives (SMART goals)
|