Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +44 -23
prompts/main_prompt.py
CHANGED
@@ -18,14 +18,24 @@ 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 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
23 |
-
- "
|
24 |
|
25 |
-
πΉ **Try
|
26 |
"""
|
27 |
|
28 |
elif step == 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
return """πΉ **Hint 1:**
|
30 |
1οΈβ£ "Try setting up a proportion:
|
31 |
\\[
|
@@ -33,10 +43,10 @@ def next_step(step):
|
|
33 |
\\]
|
34 |
Does this equation make sense?"
|
35 |
|
36 |
-
π‘ **Try
|
37 |
"""
|
38 |
|
39 |
-
elif step ==
|
40 |
return """πΉ **Hint 2:**
|
41 |
2οΈβ£ "Now, cross-multiply:
|
42 |
\\[
|
@@ -47,7 +57,7 @@ def next_step(step):
|
|
47 |
π‘ **Give it a shot!**
|
48 |
"""
|
49 |
|
50 |
-
elif step ==
|
51 |
return """β
**Solution:**
|
52 |
"Final step: divide both sides by 2:
|
53 |
\\[
|
@@ -58,14 +68,27 @@ So, 24 cm represents **300 miles**!"
|
|
58 |
π‘ "Does this answer make sense? Want to try another method?"
|
59 |
"""
|
60 |
|
61 |
-
elif step ==
|
62 |
return """π **Problem 2: Numerical Comparison Problem**
|
63 |
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
|
64 |
|
65 |
-
π‘ **Try solving
|
|
|
|
|
|
|
|
|
66 |
"""
|
67 |
|
68 |
-
elif step ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
return """πΉ **Hint 1:**
|
70 |
1οΈβ£ "Find the cost per pencil:
|
71 |
\\[
|
@@ -80,7 +103,7 @@ So, 24 cm represents **300 miles**!"
|
|
80 |
π‘ **Try calculating it before moving forward!**
|
81 |
"""
|
82 |
|
83 |
-
elif step ==
|
84 |
return """β
**Solution:**
|
85 |
"Which is cheaper?
|
86 |
- **Ali pays less per pencil** (35 cents vs. 36 cents).
|
@@ -89,29 +112,27 @@ So, **Ali got the better deal!**"
|
|
89 |
π‘ "Does this make sense? Would you like to discuss unit rates more?"
|
90 |
"""
|
91 |
|
92 |
-
elif step ==
|
93 |
return """π **Problem 3: Qualitative Reasoning Problem**
|
94 |
"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?"
|
95 |
|
96 |
-
π‘ **
|
97 |
- "How does the ratio of red to white change?"
|
98 |
- "Would the color become darker, lighter, or stay the same?"
|
99 |
|
100 |
-
πΉ **
|
101 |
"""
|
102 |
|
103 |
-
elif step ==
|
104 |
-
return """πΉ **
|
105 |
-
|
106 |
-
2οΈβ£ "Today: More red, same white β **Higher red-to-white ratio**."
|
107 |
-
3οΈβ£ "Higher red β **Darker shade!**"
|
108 |
|
109 |
-
|
110 |
|
111 |
-
|
112 |
"""
|
113 |
|
114 |
-
elif step ==
|
115 |
return """π **Common Core Standards Discussion**
|
116 |
"Great job! Now, letβs reflect on how these problems connect to teaching strategies."
|
117 |
|
@@ -124,7 +145,7 @@ So, **Ali got the better deal!**"
|
|
124 |
π‘ **Which of these standards do you think applied most to the problems we solved? Why?**
|
125 |
"""
|
126 |
|
127 |
-
elif step ==
|
128 |
return """π **Creativity-Directed Practices Discussion**
|
129 |
"Throughout these problems, we engaged in creativity-directed strategies, such as:
|
130 |
β
Encouraging multiple solution methods
|
@@ -135,7 +156,7 @@ So, **Ali got the better deal!**"
|
|
135 |
π‘ **How do you think encouraging creativity helps students develop deeper understanding?**
|
136 |
"""
|
137 |
|
138 |
-
elif step ==
|
139 |
return """π **Reflection & Problem Posing Activity**
|
140 |
"Letβs take it one step further! Try creating your own proportional reasoning problem."
|
141 |
π‘ "Would you like to modify one of the previous problems, or create a brand new one?"
|
|
|
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 |
+
π‘ **What do you think? Try solving before I provide hints.**
|
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 |
+
- "What would be a good way to set up a proportion for this?"
|
25 |
|
26 |
+
πΉ **Try explaining your reasoning before I provide hints!**
|
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 |
\\[
|
|
|
43 |
\\]
|
44 |
Does this equation make sense?"
|
45 |
|
46 |
+
π‘ **Try solving it yourself first.**
|
47 |
"""
|
48 |
|
49 |
+
elif step == 4:
|
50 |
return """πΉ **Hint 2:**
|
51 |
2οΈβ£ "Now, cross-multiply:
|
52 |
\\[
|
|
|
57 |
π‘ **Give it a shot!**
|
58 |
"""
|
59 |
|
60 |
+
elif step == 5:
|
61 |
return """β
**Solution:**
|
62 |
"Final step: divide both sides by 2:
|
63 |
\\[
|
|
|
68 |
π‘ "Does this answer make sense? Want to try another method?"
|
69 |
"""
|
70 |
|
71 |
+
elif step == 6:
|
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 |
+
π‘ **What do you think? Try solving before I provide hints.**
|
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 == 8:
|
92 |
return """πΉ **Hint 1:**
|
93 |
1οΈβ£ "Find the cost per pencil:
|
94 |
\\[
|
|
|
103 |
π‘ **Try calculating it before moving forward!**
|
104 |
"""
|
105 |
|
106 |
+
elif step == 9:
|
107 |
return """β
**Solution:**
|
108 |
"Which is cheaper?
|
109 |
- **Ali pays less per pencil** (35 cents vs. 36 cents).
|
|
|
112 |
π‘ "Does this make sense? Would you like to discuss unit rates more?"
|
113 |
"""
|
114 |
|
115 |
+
elif step == 10:
|
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 |
+
π‘ **What do you think? Try explaining before I provide hints.**
|
120 |
- "How does the ratio of red to white change?"
|
121 |
- "Would the color become darker, lighter, or stay the same?"
|
122 |
|
123 |
+
πΉ **Explain your reasoning before I provide hints!**
|
124 |
"""
|
125 |
|
126 |
+
elif step == 11:
|
127 |
+
return """πΉ **Identifying the Method:**
|
128 |
+
"This is a **qualitative reasoning problem** because it focuses on how a proportion changes, not exact numbers."
|
|
|
|
|
129 |
|
130 |
+
How would you describe the color change using proportional reasoning?"
|
131 |
|
132 |
+
π‘ **Think before answering! Type your response below.**
|
133 |
"""
|
134 |
|
135 |
+
elif step == 12:
|
136 |
return """π **Common Core Standards Discussion**
|
137 |
"Great job! Now, letβs reflect on how these problems connect to teaching strategies."
|
138 |
|
|
|
145 |
π‘ **Which of these standards do you think applied most to the problems we solved? Why?**
|
146 |
"""
|
147 |
|
148 |
+
elif step == 13:
|
149 |
return """π **Creativity-Directed Practices Discussion**
|
150 |
"Throughout these problems, we engaged in creativity-directed strategies, such as:
|
151 |
β
Encouraging multiple solution methods
|
|
|
156 |
π‘ **How do you think encouraging creativity helps students develop deeper understanding?**
|
157 |
"""
|
158 |
|
159 |
+
elif step == 14:
|
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?"
|