Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +47 -63
prompts/main_prompt.py
CHANGED
@@ -18,92 +18,57 @@ def next_step(step):
|
|
18 |
return """π **Problem 1: Missing Value Problem**
|
19 |
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
|
20 |
|
21 |
-
π‘ **
|
22 |
-
- "What type of proportional reasoning is needed here?"
|
23 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
24 |
-
- "
|
25 |
|
26 |
-
πΉ **Try
|
27 |
"""
|
28 |
|
29 |
elif step == 2:
|
30 |
-
return """πΉ **Identifying the Method:**
|
31 |
-
"This is a **missing value problem** because we know a proportional relationship but need to find an unknown value.
|
32 |
-
|
33 |
-
How would you set up an equation for this problem?"
|
34 |
-
|
35 |
-
π‘ **Think before answering! Type your response below.**
|
36 |
-
"""
|
37 |
-
|
38 |
-
elif step == 3:
|
39 |
return """πΉ **Hint 1:**
|
40 |
1οΈβ£ "Try setting up a proportion:
|
41 |
-
\\
|
42 |
-
\\frac{2}{25} = \\frac{24}{x}
|
43 |
-
\\]
|
44 |
Does this equation make sense?"
|
45 |
|
46 |
-
π‘ **Try
|
47 |
"""
|
48 |
|
49 |
-
elif step ==
|
50 |
return """πΉ **Hint 2:**
|
51 |
2οΈβ£ "Now, cross-multiply:
|
52 |
-
\\
|
53 |
-
|
54 |
-
\\]
|
55 |
-
Can you solve for \\( x \\)?"
|
56 |
|
57 |
π‘ **Give it a shot!**
|
58 |
"""
|
59 |
|
60 |
-
elif step ==
|
61 |
return """β
**Solution:**
|
62 |
"Final step: divide both sides by 2:
|
63 |
-
\\
|
64 |
-
x = \\frac{600}{2} = 300
|
65 |
-
\\]
|
66 |
So, 24 cm represents **300 miles**!"
|
67 |
|
68 |
π‘ "Does this answer make sense? Want to try another method?"
|
69 |
"""
|
70 |
|
71 |
-
elif step ==
|
72 |
return """π **Problem 2: Numerical Comparison Problem**
|
73 |
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
|
74 |
|
75 |
-
π‘ **
|
76 |
-
- "What is the best way to compare prices fairly?"
|
77 |
-
- "Why would calculating unit rates be useful here?"
|
78 |
-
|
79 |
-
πΉ **Explain your reasoning before I provide hints!**
|
80 |
-
"""
|
81 |
-
|
82 |
-
elif step == 7:
|
83 |
-
return """πΉ **Identifying the Method:**
|
84 |
-
"This is a **numerical comparison problem** because we are comparing two different rates."
|
85 |
-
|
86 |
-
How would you set up an equation for this problem?"
|
87 |
-
|
88 |
-
π‘ **Think before answering! Type your response below.**
|
89 |
"""
|
90 |
|
91 |
-
elif step ==
|
92 |
return """πΉ **Hint 1:**
|
93 |
1οΈβ£ "Find the cost per pencil:
|
94 |
-
\\
|
95 |
-
\\frac{
|
96 |
-
\\]
|
97 |
-
per pencil (Ali)
|
98 |
-
\\[
|
99 |
-
\\frac{1.80}{5} = 0.36
|
100 |
-
\\]
|
101 |
-
per pencil (Ahmet)"
|
102 |
|
103 |
π‘ **Try calculating it before moving forward!**
|
104 |
"""
|
105 |
|
106 |
-
elif step ==
|
107 |
return """β
**Solution:**
|
108 |
"Which is cheaper?
|
109 |
- **Ali pays less per pencil** (35 cents vs. 36 cents).
|
@@ -112,27 +77,29 @@ So, **Ali got the better deal!**"
|
|
112 |
π‘ "Does this make sense? Would you like to discuss unit rates more?"
|
113 |
"""
|
114 |
|
115 |
-
elif step ==
|
116 |
return """π **Problem 3: Qualitative Reasoning Problem**
|
117 |
"Kim is mixing paint. Yesterday, she mixed red and white paint. Today, she added **more red paint** but kept the **same white paint**. What happens to the color?"
|
118 |
|
119 |
-
π‘ **
|
120 |
- "How does the ratio of red to white change?"
|
121 |
- "Would the color become darker, lighter, or stay the same?"
|
122 |
|
123 |
-
πΉ **
|
124 |
"""
|
125 |
|
126 |
-
elif step ==
|
127 |
-
return """πΉ **
|
128 |
-
"
|
|
|
|
|
129 |
|
130 |
-
|
131 |
|
132 |
-
|
133 |
"""
|
134 |
|
135 |
-
elif step ==
|
136 |
return """π **Common Core Standards Discussion**
|
137 |
"Great job! Now, letβs reflect on how these problems connect to teaching strategies."
|
138 |
|
@@ -145,7 +112,7 @@ How would you describe the color change using proportional reasoning?"
|
|
145 |
π‘ **Which of these standards do you think applied most to the problems we solved? Why?**
|
146 |
"""
|
147 |
|
148 |
-
elif step ==
|
149 |
return """π **Creativity-Directed Practices Discussion**
|
150 |
"Throughout these problems, we engaged in creativity-directed strategies, such as:
|
151 |
β
Encouraging multiple solution methods
|
@@ -156,10 +123,27 @@ How would you describe the color change using proportional reasoning?"
|
|
156 |
π‘ **How do you think encouraging creativity helps students develop deeper understanding?**
|
157 |
"""
|
158 |
|
159 |
-
elif step ==
|
160 |
return """π **Reflection & Problem Posing Activity**
|
161 |
"Letβs take it one step further! Try creating your own proportional reasoning problem."
|
162 |
π‘ "Would you like to modify one of the previous problems, or create a brand new one?"
|
163 |
"""
|
164 |
|
165 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
return """π **Problem 1: Missing Value Problem**
|
19 |
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
|
20 |
|
21 |
+
π‘ **Think before answering:**
|
|
|
22 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
23 |
+
- "If **2 cm = 25 miles**, how can we use this to scale up?"
|
24 |
|
25 |
+
πΉ **Try solving it before I provide hints! Type your answer below.**
|
26 |
"""
|
27 |
|
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.**
|
35 |
"""
|
36 |
|
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 |
"""
|
45 |
|
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?"
|
53 |
"""
|
54 |
|
55 |
+
elif step == 5:
|
56 |
return """π **Problem 2: Numerical Comparison Problem**
|
57 |
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
|
58 |
|
59 |
+
π‘ **Try solving it before I provide hints!**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
"""
|
61 |
|
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 |
"""
|
70 |
|
71 |
+
elif step == 7:
|
72 |
return """β
**Solution:**
|
73 |
"Which is cheaper?
|
74 |
- **Ali pays less per pencil** (35 cents vs. 36 cents).
|
|
|
77 |
π‘ "Does this make sense? Would you like to discuss unit rates more?"
|
78 |
"""
|
79 |
|
80 |
+
elif step == 8:
|
81 |
return """π **Problem 3: Qualitative Reasoning Problem**
|
82 |
"Kim is mixing paint. Yesterday, she mixed red and white paint. Today, she added **more red paint** but kept the **same white paint**. What happens to the color?"
|
83 |
|
84 |
+
π‘ **Think before answering:**
|
85 |
- "How does the ratio of red to white change?"
|
86 |
- "Would the color become darker, lighter, or stay the same?"
|
87 |
|
88 |
+
πΉ **Try explaining before I provide hints!**
|
89 |
"""
|
90 |
|
91 |
+
elif step == 9:
|
92 |
+
return """πΉ **Hint 1:**
|
93 |
+
1οΈβ£ "Yesterday: **Ratio of red:white** was **R:W**."
|
94 |
+
2οΈβ£ "Today: More red, same white β **Higher red-to-white ratio**."
|
95 |
+
3οΈβ£ "Higher red β **Darker shade!**"
|
96 |
|
97 |
+
π‘ "Does this explanation match your thinking?"
|
98 |
|
99 |
+
π **Now, let's connect what we did to teaching strategies. Ready?"**
|
100 |
"""
|
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 |
|
|
|
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
|
|
|
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?"
|
137 |
+
- "Which strategies helped you solve these problems efficiently?"
|
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.**"
|