Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +26 -52
prompts/main_prompt.py
CHANGED
|
@@ -28,9 +28,7 @@ def next_step(step):
|
|
| 28 |
elif step == 2:
|
| 29 |
return """πΉ **Hint 1:**
|
| 30 |
1οΈβ£ "Try setting up a proportion:
|
| 31 |
-
\\
|
| 32 |
-
\\frac{2}{25} = \\frac{24}{x}
|
| 33 |
-
\\]
|
| 34 |
Does this equation make sense?"
|
| 35 |
|
| 36 |
π‘ **Try answering before moving forward.**
|
|
@@ -39,10 +37,8 @@ def next_step(step):
|
|
| 39 |
elif step == 3:
|
| 40 |
return """πΉ **Hint 2:**
|
| 41 |
2οΈβ£ "Now, cross-multiply:
|
| 42 |
-
\\
|
| 43 |
-
|
| 44 |
-
\\]
|
| 45 |
-
Can you solve for \\( x \\)?"
|
| 46 |
|
| 47 |
π‘ **Give it a shot!**
|
| 48 |
"""
|
|
@@ -50,9 +46,7 @@ def next_step(step):
|
|
| 50 |
elif step == 4:
|
| 51 |
return """β
**Solution:**
|
| 52 |
"Final step: divide both sides by 2:
|
| 53 |
-
\\
|
| 54 |
-
x = \\frac{600}{2} = 300
|
| 55 |
-
\\]
|
| 56 |
So, 24 cm represents **300 miles**!"
|
| 57 |
|
| 58 |
π‘ "Does this answer make sense? Want to try another method?"
|
|
@@ -68,12 +62,8 @@ So, 24 cm represents **300 miles**!"
|
|
| 68 |
elif step == 6:
|
| 69 |
return """πΉ **Hint 1:**
|
| 70 |
1οΈβ£ "Find the cost per pencil:
|
| 71 |
-
\\
|
| 72 |
-
\\frac{
|
| 73 |
-
\\] per pencil (Ali)
|
| 74 |
-
\\[
|
| 75 |
-
\\frac{1.80}{5} = 0.36
|
| 76 |
-
\\] per pencil (Ahmet)"
|
| 77 |
|
| 78 |
π‘ **Try calculating it before moving forward!**
|
| 79 |
"""
|
|
@@ -111,55 +101,36 @@ So, **Ali got the better deal!**"
|
|
| 111 |
|
| 112 |
elif step == 10:
|
| 113 |
return """π **Common Core Standards Discussion**
|
| 114 |
-
"Great job!
|
| 115 |
-
π‘ **Which Common Core Standards do you think we covered?**
|
| 116 |
|
| 117 |
-
|
| 118 |
-
-
|
| 119 |
-
-
|
|
|
|
|
|
|
| 120 |
|
| 121 |
-
|
| 122 |
"""
|
| 123 |
|
| 124 |
elif step == 11:
|
| 125 |
-
return """π **Common Core Standards Covered**
|
| 126 |
-
β
**CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
| 127 |
-
β
**CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
|
| 128 |
-
β
**CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
| 129 |
-
β
**CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
| 130 |
-
|
| 131 |
-
π‘ "How do these standards apply to the problems we solved?"
|
| 132 |
-
"""
|
| 133 |
-
|
| 134 |
-
elif step == 12:
|
| 135 |
return """π **Creativity-Directed Practices Discussion**
|
| 136 |
-
"
|
| 137 |
-
π‘ **Which Creativity-Directed Practices do you think we used?**
|
| 138 |
-
|
| 139 |
-
- Did we try multiple solution methods?
|
| 140 |
-
- Did we use real-world contexts?
|
| 141 |
-
- Were we encouraged to think critically about proportional relationships?"
|
| 142 |
-
|
| 143 |
-
πΉ **Pause and think before I summarize!**
|
| 144 |
-
"""
|
| 145 |
-
|
| 146 |
-
elif step == 13:
|
| 147 |
-
return """π **Creativity-Directed Practices Used**
|
| 148 |
β
Encouraging multiple solution methods
|
| 149 |
β
Using real-world contexts
|
| 150 |
β
Thinking critically about proportional relationships
|
| 151 |
|
| 152 |
-
π‘
|
|
|
|
| 153 |
"""
|
| 154 |
|
| 155 |
-
elif step ==
|
| 156 |
return """π **Reflection & Problem Posing Activity**
|
| 157 |
-
"
|
| 158 |
π‘ "Would you like to modify one of the previous problems, or create a brand new one?"
|
| 159 |
"""
|
| 160 |
|
| 161 |
-
elif step ==
|
| 162 |
-
return """
|
| 163 |
"Before we wrap up, letβs reflect!"
|
| 164 |
|
| 165 |
- "Which problem type was the most challenging? Why?"
|
|
@@ -167,9 +138,12 @@ So, **Ali got the better deal!**"
|
|
| 167 |
- "What insights did you gain about proportional reasoning?"
|
| 168 |
"""
|
| 169 |
|
| 170 |
-
elif step ==
|
| 171 |
-
return """
|
| 172 |
-
"Great job today! Would you like to explore additional examples or discuss how to
|
| 173 |
"""
|
| 174 |
|
|
|
|
|
|
|
|
|
|
| 175 |
return "π **End of module! Thanks for participating.**"
|
|
|
|
| 28 |
elif step == 2:
|
| 29 |
return """πΉ **Hint 1:**
|
| 30 |
1οΈβ£ "Try setting up a proportion:
|
| 31 |
+
$$ \\frac{2}{25} = \\frac{24}{x} $$
|
|
|
|
|
|
|
| 32 |
Does this equation make sense?"
|
| 33 |
|
| 34 |
π‘ **Try answering before moving forward.**
|
|
|
|
| 37 |
elif step == 3:
|
| 38 |
return """πΉ **Hint 2:**
|
| 39 |
2οΈβ£ "Now, cross-multiply:
|
| 40 |
+
$$ 2 \\times x = 24 \\times 25 $$
|
| 41 |
+
Can you solve for \( x \)?"
|
|
|
|
|
|
|
| 42 |
|
| 43 |
π‘ **Give it a shot!**
|
| 44 |
"""
|
|
|
|
| 46 |
elif step == 4:
|
| 47 |
return """β
**Solution:**
|
| 48 |
"Final step: divide both sides by 2:
|
| 49 |
+
$$ x = \\frac{600}{2} = 300 $$
|
|
|
|
|
|
|
| 50 |
So, 24 cm represents **300 miles**!"
|
| 51 |
|
| 52 |
π‘ "Does this answer make sense? Want to try another method?"
|
|
|
|
| 62 |
elif step == 6:
|
| 63 |
return """πΉ **Hint 1:**
|
| 64 |
1οΈβ£ "Find the cost per pencil:
|
| 65 |
+
$$ \\frac{3.50}{10} = 0.35 $$ per pencil (Ali)
|
| 66 |
+
$$ \\frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
π‘ **Try calculating it before moving forward!**
|
| 69 |
"""
|
|
|
|
| 101 |
|
| 102 |
elif step == 10:
|
| 103 |
return """π **Common Core Standards Discussion**
|
| 104 |
+
"Great job! Now, letβs reflect on how these problems connect to teaching strategies."
|
|
|
|
| 105 |
|
| 106 |
+
πΉ **Which Common Core Standards did we cover?**
|
| 107 |
+
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
| 108 |
+
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
|
| 109 |
+
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
| 110 |
+
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
| 111 |
|
| 112 |
+
π‘ **Which of these standards do you think applied most to the problems we solved? Why?**
|
| 113 |
"""
|
| 114 |
|
| 115 |
elif step == 11:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
return """π **Creativity-Directed Practices Discussion**
|
| 117 |
+
"Throughout these problems, we engaged in creativity-directed strategies, such as:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
β
Encouraging multiple solution methods
|
| 119 |
β
Using real-world contexts
|
| 120 |
β
Thinking critically about proportional relationships
|
| 121 |
|
| 122 |
+
π‘ **Which of these strategies did you use while solving the problems?**
|
| 123 |
+
π‘ **How do you think encouraging creativity helps students develop deeper understanding?**
|
| 124 |
"""
|
| 125 |
|
| 126 |
+
elif step == 12:
|
| 127 |
return """π **Reflection & Problem Posing Activity**
|
| 128 |
+
"Letβs take it one step further! Try creating your own proportional reasoning problem."
|
| 129 |
π‘ "Would you like to modify one of the previous problems, or create a brand new one?"
|
| 130 |
"""
|
| 131 |
|
| 132 |
+
elif step == 13:
|
| 133 |
+
return """π **Final Reflection**
|
| 134 |
"Before we wrap up, letβs reflect!"
|
| 135 |
|
| 136 |
- "Which problem type was the most challenging? Why?"
|
|
|
|
| 138 |
- "What insights did you gain about proportional reasoning?"
|
| 139 |
"""
|
| 140 |
|
| 141 |
+
elif step == 14:
|
| 142 |
+
return """π― **Final Encouragement**
|
| 143 |
+
"Great job today! Would you like to explore additional examples or discuss how to integrate these strategies into your classroom?"
|
| 144 |
"""
|
| 145 |
|
| 146 |
+
elif step == 20:
|
| 147 |
+
return """π **You've completed the module! Would you like to review anything again?**"""
|
| 148 |
+
|
| 149 |
return "π **End of module! Thanks for participating.**"
|