Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +61 -83
prompts/main_prompt.py
CHANGED
@@ -12,8 +12,8 @@ Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests
|
|
12 |
2οΈβ£ **Double Number Line**
|
13 |
3οΈβ£ **Equations**
|
14 |
|
15 |
-
π‘ **
|
16 |
-
π **
|
17 |
"""
|
18 |
|
19 |
def next_step(step):
|
@@ -26,140 +26,118 @@ def next_step(step):
|
|
26 |
- **Double Number Line**
|
27 |
- **Equation**
|
28 |
|
29 |
-
πΉ **
|
30 |
-
πΉ **Try your best before I provide guidance!**
|
31 |
"""
|
32 |
|
33 |
elif step == 2:
|
34 |
return """π **Step 2: Solve Using a Bar Model**
|
35 |
-
"Great choice! Let
|
36 |
|
37 |
-
π‘ **
|
38 |
-
- "How
|
39 |
-
- "
|
40 |
-
- "How will you calculate the total investment?"
|
41 |
|
42 |
πΉ **Explain your reasoning before I provide hints!**
|
43 |
"""
|
44 |
|
45 |
elif step == 3:
|
46 |
-
return """
|
47 |
-
|
48 |
-
-
|
49 |
-
-
|
|
|
50 |
|
51 |
-
|
52 |
"""
|
53 |
|
54 |
elif step == 4:
|
55 |
-
return """
|
56 |
-
"
|
|
|
57 |
\\[
|
58 |
-
\\
|
59 |
\\]
|
60 |
-
|
61 |
-
"""
|
62 |
-
|
63 |
-
elif step == 5:
|
64 |
-
return """β
**Solution:**
|
65 |
-
"Great job! Since **1 part = $250**, multiplying by **10** gives:
|
66 |
\\[
|
67 |
\\text{Total Investment} = 250 \\times 10 = 2500
|
68 |
\\]
|
69 |
-
So, the total investment by Orrin and Damen together is **$2,500.**"
|
70 |
|
71 |
π‘ **Reflection:**
|
72 |
-
- "How did the bar model help
|
73 |
-
π
|
74 |
"""
|
75 |
|
76 |
-
elif step ==
|
77 |
return """π **Step 3: Solve Using a Double Number Line**
|
78 |
-
"Now, let
|
79 |
|
80 |
-
π‘ **
|
81 |
-
- "How
|
82 |
-
- "What
|
83 |
-
- "How can you use it to find the total investment?"
|
84 |
|
85 |
-
πΉ **
|
86 |
"""
|
87 |
|
88 |
-
elif step ==
|
89 |
-
return """
|
90 |
-
|
91 |
-
-
|
92 |
-
-
|
93 |
-
|
94 |
-
What values go in between?"
|
95 |
-
"""
|
96 |
|
97 |
-
|
98 |
-
return """πΉ **Hint 2:**
|
99 |
-
"Now, divide $1,500 by 6 to find **10%**:
|
100 |
-
\\[
|
101 |
-
\\text{Value of 10\\%} = \\frac{1500}{6} = 250
|
102 |
-
\\]
|
103 |
-
Align this with **10% on the number line.**
|
104 |
-
Now, what is the value at 100%?"
|
105 |
"""
|
106 |
|
107 |
-
elif step ==
|
108 |
-
return """β
**Solution:**
|
109 |
-
"
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
So, the total investment is **$2,500!**
|
114 |
|
115 |
π‘ **Reflection:**
|
116 |
- "How does this method compare to the bar model?"
|
117 |
-
π
|
118 |
"""
|
119 |
|
120 |
-
elif step ==
|
121 |
return """π **Step 4: Solve Using an Equation**
|
122 |
-
"Now, let
|
123 |
|
124 |
-
π‘ **
|
125 |
-
- "How
|
126 |
-
- "
|
127 |
|
128 |
-
πΉ **Try
|
129 |
"""
|
130 |
|
131 |
-
elif step ==
|
132 |
-
return """
|
133 |
-
|
134 |
\\[
|
135 |
\\frac{60}{100} = \\frac{1500}{x}
|
136 |
\\]
|
137 |
-
|
|
|
|
|
138 |
"""
|
139 |
|
140 |
-
elif step ==
|
141 |
-
return """
|
142 |
-
"
|
|
|
143 |
\\[
|
144 |
60x = 1500 \\times 100
|
145 |
\\]
|
146 |
-
|
147 |
-
"""
|
148 |
-
|
149 |
-
elif step == 13:
|
150 |
-
return """β
**Solution:**
|
151 |
-
"Great job! Solving the equation:
|
152 |
\\[
|
153 |
-
x =
|
154 |
\\]
|
155 |
-
So, the total investment is **$2,500!**
|
156 |
|
157 |
π‘ **Reflection:**
|
158 |
-
- "Which method
|
159 |
-
π
|
160 |
"""
|
161 |
|
162 |
-
elif step ==
|
163 |
return """π **Common Core Standards Discussion**
|
164 |
"Great job! Letβs reflect on how this connects to teaching strategies."
|
165 |
|
@@ -169,10 +147,10 @@ So, the total investment is **$2,500!**
|
|
169 |
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
170 |
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
171 |
|
172 |
-
π‘
|
173 |
"""
|
174 |
|
175 |
-
elif step ==
|
176 |
return """π **Creativity-Directed Practices Discussion**
|
177 |
"Throughout this module, we engaged in creativity-directed strategies, such as:
|
178 |
β
Using multiple solution methods
|
|
|
12 |
2οΈβ£ **Double Number Line**
|
13 |
3οΈβ£ **Equations**
|
14 |
|
15 |
+
π‘ **Try solving the problem first before I provide guidance!**
|
16 |
+
π **Which method would you like to use first?**
|
17 |
"""
|
18 |
|
19 |
def next_step(step):
|
|
|
26 |
- **Double Number Line**
|
27 |
- **Equation**
|
28 |
|
29 |
+
πΉ **Try your best first. I wonβt provide hints until you attempt a solution!**
|
|
|
30 |
"""
|
31 |
|
32 |
elif step == 2:
|
33 |
return """π **Step 2: Solve Using a Bar Model**
|
34 |
+
"Great choice! Letβs use a bar model to represent the problem visually."
|
35 |
|
36 |
+
π‘ **Give it a try:**
|
37 |
+
- "How would you divide the bar to represent percentages?"
|
38 |
+
- "How will you use this to find the total investment?"
|
|
|
39 |
|
40 |
πΉ **Explain your reasoning before I provide hints!**
|
41 |
"""
|
42 |
|
43 |
elif step == 3:
|
44 |
+
return """π€ **Do you need a hint?**
|
45 |
+
If you're stuck, try this:
|
46 |
+
- **Step 1:** Draw a bar divided into **10 equal parts** (each representing 10%).
|
47 |
+
- **Step 2:** Since **60% = $1,500**, shade in 6 parts of the bar.
|
48 |
+
- **Step 3:** How much is **1 part** worth?
|
49 |
|
50 |
+
π‘ **Take a moment to think and let me know your reasoning.**
|
51 |
"""
|
52 |
|
53 |
elif step == 4:
|
54 |
+
return """β
**Solution Explanation:**
|
55 |
+
"Great effort! Hereβs the correct approach using a bar model:"
|
56 |
+
- Each 10% part of the bar represents **$250** because:
|
57 |
\\[
|
58 |
+
\\frac{1500}{6} = 250
|
59 |
\\]
|
60 |
+
- Since **100% = 10 parts**, multiplying by 10 gives:
|
|
|
|
|
|
|
|
|
|
|
61 |
\\[
|
62 |
\\text{Total Investment} = 250 \\times 10 = 2500
|
63 |
\\]
|
|
|
64 |
|
65 |
π‘ **Reflection:**
|
66 |
+
- "How did the bar model help your understanding?"
|
67 |
+
π **Would you like to try another method, such as a Double Number Line?**
|
68 |
"""
|
69 |
|
70 |
+
elif step == 5:
|
71 |
return """π **Step 3: Solve Using a Double Number Line**
|
72 |
+
"Now, letβs try solving using a **double number line**."
|
73 |
|
74 |
+
π‘ **Your turn to think:**
|
75 |
+
- "How would you label the number lines?"
|
76 |
+
- "What values go in between?"
|
|
|
77 |
|
78 |
+
πΉ **Try solving first before I provide hints!**
|
79 |
"""
|
80 |
|
81 |
+
elif step == 6:
|
82 |
+
return """π€ **Do you need help?**
|
83 |
+
- **Step 1:** One number line represents **percentages** (0%, 60%, 100%).
|
84 |
+
- **Step 2:** The other represents **dollars** ($0, $1,500, total investment).
|
85 |
+
- **Step 3:** Find the value of **10%** by dividing **$1,500 by 6**.
|
|
|
|
|
|
|
86 |
|
87 |
+
π‘ **What do you think the total investment is?**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
"""
|
89 |
|
90 |
+
elif step == 7:
|
91 |
+
return """β
**Solution Explanation:**
|
92 |
+
"Letβs confirm the answer using a double number line:"
|
93 |
+
- **10% = $250**
|
94 |
+
- **100% = $2,500**
|
|
|
|
|
95 |
|
96 |
π‘ **Reflection:**
|
97 |
- "How does this method compare to the bar model?"
|
98 |
+
π **Would you like to try solving with an **equation**?"
|
99 |
"""
|
100 |
|
101 |
+
elif step == 8:
|
102 |
return """π **Step 4: Solve Using an Equation**
|
103 |
+
"Now, letβs try setting up an equation to solve this problem."
|
104 |
|
105 |
+
π‘ **Your turn first:**
|
106 |
+
- "How would you express 60% mathematically?"
|
107 |
+
- "How will you set up the equation?"
|
108 |
|
109 |
+
πΉ **Try writing your equation before I guide you!**
|
110 |
"""
|
111 |
|
112 |
+
elif step == 9:
|
113 |
+
return """π€ **Do you need a hint?**
|
114 |
+
- Set up the proportion:
|
115 |
\\[
|
116 |
\\frac{60}{100} = \\frac{1500}{x}
|
117 |
\\]
|
118 |
+
- Solve for \\(x\\) using cross-multiplication.
|
119 |
+
|
120 |
+
π‘ **What do you get?**
|
121 |
"""
|
122 |
|
123 |
+
elif step == 10:
|
124 |
+
return """β
**Solution Explanation:**
|
125 |
+
"Letβs solve step by step:"
|
126 |
+
- Using cross-multiplication:
|
127 |
\\[
|
128 |
60x = 1500 \\times 100
|
129 |
\\]
|
130 |
+
- Divide both sides by **60**:
|
|
|
|
|
|
|
|
|
|
|
131 |
\\[
|
132 |
+
x = 2500
|
133 |
\\]
|
|
|
134 |
|
135 |
π‘ **Reflection:**
|
136 |
+
- "Which methodβBar Model, Double Number Line, or Equationβhelped you most?"
|
137 |
+
π **Now, letβs reflect on the **Common Core practices** we used.**
|
138 |
"""
|
139 |
|
140 |
+
elif step == 11:
|
141 |
return """π **Common Core Standards Discussion**
|
142 |
"Great job! Letβs reflect on how this connects to teaching strategies."
|
143 |
|
|
|
147 |
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
148 |
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
149 |
|
150 |
+
π‘ **Which of these standards do you think applied most? Why?**
|
151 |
"""
|
152 |
|
153 |
+
elif step == 12:
|
154 |
return """π **Creativity-Directed Practices Discussion**
|
155 |
"Throughout this module, we engaged in creativity-directed strategies, such as:
|
156 |
β
Using multiple solution methods
|