Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +119 -102
prompts/main_prompt.py
CHANGED
@@ -1,147 +1,164 @@
|
|
1 |
MAIN_PROMPT = """
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
3 |
-
#### **Task Introduction**
|
4 |
"Welcome to this module on proportional reasoning with percentages!
|
5 |
-
|
6 |
-
📌 **Here is the problem:**
|
7 |
-
|
8 |
-
**Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests $1,500, which is 60% of their total investment. How much do Orrin and Damen invest together?**
|
9 |
-
|
10 |
-
You will explore different methods to solve this problem:
|
11 |
1️⃣ **Bar Model**
|
12 |
2️⃣ **Double Number Line**
|
13 |
-
3️⃣ **Equation**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
- "What strategies could help us solve this?"
|
19 |
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
"Great! Now, which method would you like to use first?"
|
27 |
-
1️⃣ **Bar Model**
|
28 |
-
2️⃣ **Double Number Line**
|
29 |
-
3️⃣ **Equation**
|
30 |
|
31 |
-
Type your
|
32 |
"""
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
- What calculations would you use?"
|
42 |
|
43 |
-
|
|
|
|
|
44 |
"""
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
🔎 **Let's check your reasoning:**
|
49 |
-
- If 60% of the total is $1,500, how can we determine what 10% is?
|
50 |
-
- How can we use that to find 100%?
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
55 |
|
56 |
-
💡 **
|
|
|
57 |
"""
|
58 |
|
59 |
-
|
60 |
-
|
61 |
-
"Let's
|
|
|
|
|
|
|
62 |
|
63 |
-
|
64 |
-
-
|
65 |
-
-
|
66 |
-
- How would you calculate the total investment?"
|
67 |
|
68 |
-
|
69 |
"""
|
70 |
|
71 |
-
|
72 |
-
|
73 |
-
🔎 **Let’s check your reasoning:**
|
74 |
-
- Did you correctly align $1,500 with 60%?
|
75 |
-
- Did you divide $1,500 by 6 to find 10%?
|
76 |
-
- Did you multiply by 10 to find the total?
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
3️⃣ "Multiply that by 10 to find 100%."
|
82 |
|
83 |
-
|
|
|
84 |
"""
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
|
|
|
|
|
|
89 |
|
90 |
-
|
91 |
-
-
|
92 |
-
-
|
|
|
|
|
93 |
|
94 |
-
|
|
|
95 |
"""
|
96 |
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
3️⃣ "Solve for **x** to find the total investment."
|
107 |
|
108 |
-
|
109 |
"""
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
"Great job solving the problem using different methods! Now, let's reflect:
|
114 |
|
115 |
-
|
116 |
-
-
|
117 |
-
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
|
118 |
-
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
119 |
-
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
120 |
|
121 |
-
|
|
|
122 |
"""
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
💡 **Which of these strategies did you use while solving the problems?**
|
132 |
-
💡 **How do you think encouraging creativity helps students develop deeper understanding?**
|
133 |
"""
|
134 |
|
135 |
-
|
136 |
-
|
137 |
-
|
|
|
|
|
|
|
138 |
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
|
144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
"""
|
146 |
|
147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
MAIN_PROMPT = """
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
|
|
3 |
"Welcome to this module on proportional reasoning with percentages!
|
4 |
+
Today, we will explore solving problems with percentages using different representations:
|
|
|
|
|
|
|
|
|
|
|
5 |
1️⃣ **Bar Model**
|
6 |
2️⃣ **Double Number Line**
|
7 |
+
3️⃣ **Equation-Based Approach**
|
8 |
+
|
9 |
+
Your goal is to **apply these methods, explain your thinking, and reflect on their usefulness.**
|
10 |
+
💡 **I will guide you step by step.**
|
11 |
+
💡 **You will first explain your own reasoning before receiving hints or feedback.**
|
12 |
+
💡 **If you need help, I will provide step-by-step support.**
|
13 |
+
🚀 **Let’s begin! Which method would you like to use first?**
|
14 |
+
(Type 'Bar Model,' 'Double Number Line,' or 'Equation')
|
15 |
+
"""
|
16 |
|
17 |
+
BAR_MODEL_PROMPT = """
|
18 |
+
### **🚀 Bar Model Approach**
|
19 |
+
"Great choice! Let's solve this problem using a **bar model**.
|
|
|
20 |
|
21 |
+
🔹 **How would you set up a bar model to represent this problem?**
|
22 |
+
💡 **Try explaining your approach before I provide any hints.**
|
23 |
|
24 |
+
- What does the full bar represent?
|
25 |
+
- How would you divide the bar to show 60%?
|
26 |
+
- How can you use this to find the total investment?
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
✏️ **Type your explanation before I provide feedback!**
|
29 |
"""
|
30 |
|
31 |
+
BAR_MODEL_FEEDBACK_PROMPT = """
|
32 |
+
✅ **Great! You set up the bar model as follows:**
|
33 |
+
|
34 |
+
- You represented the total investment as a bar.
|
35 |
+
- You divided the bar into equal parts to show 60% as Orrin's share.
|
36 |
+
- Now, let’s check the calculations!
|
37 |
|
38 |
+
🔹 **What value does 10% of the total represent?**
|
39 |
+
✏️ **Try calculating and explaining before I give hints!**
|
40 |
+
"""
|
|
|
41 |
|
42 |
+
BAR_MODEL_HINT_PROMPT = """
|
43 |
+
🔹 **Hint:** Since Orrin's $1,500 represents 60%, divide it by 6 to find 10% of the total investment.
|
44 |
+
✏️ **What do you get?**
|
45 |
"""
|
46 |
|
47 |
+
BAR_MODEL_SOLUTION_PROMPT = """
|
48 |
+
✅ **Here’s how we solve it using a bar model:**
|
|
|
|
|
|
|
49 |
|
50 |
+
- The total investment is represented as a full bar (100%).
|
51 |
+
- Since Orrin’s $1,500 represents 60%, we divide the bar into 10 equal parts.
|
52 |
+
- 60% means 6 parts represent $1,500.
|
53 |
+
- **Value of 10% =** $1,500 ÷ 6 = $250.
|
54 |
+
- **Total investment =** $250 × 10 = **$2,500.**
|
55 |
|
56 |
+
💡 **Would you like to reflect on why the bar model was useful, or try another method?**
|
57 |
+
(Type ‘Double Number Line’ or ‘Equation’ to proceed.)
|
58 |
"""
|
59 |
|
60 |
+
DOUBLE_NUMBER_LINE_PROMPT = """
|
61 |
+
### **🚀 Double Number Line Approach**
|
62 |
+
"Great choice! Let's solve this problem using a **double number line**.
|
63 |
+
|
64 |
+
🔹 **How would you set up the number line to represent this problem?**
|
65 |
+
💡 **Try explaining your approach before I provide any hints.**
|
66 |
|
67 |
+
- What would the two number lines represent?
|
68 |
+
- What key values should be placed on the number line?
|
69 |
+
- How can you use the 60% value to determine the total?
|
|
|
70 |
|
71 |
+
✏️ **Type your explanation before I provide feedback!**
|
72 |
"""
|
73 |
|
74 |
+
DOUBLE_NUMBER_LINE_FEEDBACK_PROMPT = """
|
75 |
+
✅ **Great! You set up the double number line as follows:**
|
|
|
|
|
|
|
|
|
76 |
|
77 |
+
- One number line represents percentages (0% to 100%).
|
78 |
+
- The second number line represents dollar values.
|
79 |
+
- You placed 60% at $1,500.
|
|
|
80 |
|
81 |
+
🔹 **What value does 10% represent on the number line?**
|
82 |
+
✏️ **Try calculating before I give hints!**
|
83 |
"""
|
84 |
|
85 |
+
DOUBLE_NUMBER_LINE_HINT_PROMPT = """
|
86 |
+
🔹 **Hint:** Divide $1,500 by 6 to find 10%.
|
87 |
+
✏️ **What do you get?**
|
88 |
+
"""
|
89 |
+
|
90 |
+
DOUBLE_NUMBER_LINE_SOLUTION_PROMPT = """
|
91 |
+
✅ **Here’s how we solve it using a double number line:**
|
92 |
|
93 |
+
- One number line represents percentages (0% to 100%).
|
94 |
+
- The second number line represents dollar values.
|
95 |
+
- 60% corresponds to $1,500.
|
96 |
+
- **10% =** $1,500 ÷ 6 = $250.
|
97 |
+
- **100% =** $250 × 10 = **$2,500.**
|
98 |
|
99 |
+
💡 **Would you like to reflect on why the double number line was useful, or try another method?**
|
100 |
+
(Type ‘Bar Model’ or ‘Equation’ to proceed.)
|
101 |
"""
|
102 |
|
103 |
+
EQUATION_PROMPT = """
|
104 |
+
### **🚀 Equation-Based Approach**
|
105 |
+
"Great choice! Let's solve this problem using an **equation**.
|
106 |
+
|
107 |
+
🔹 **How would you write an equation to represent this problem?**
|
108 |
+
💡 **Try explaining your approach before I provide any hints.**
|
109 |
|
110 |
+
- How can you express 60% in fraction or decimal form?
|
111 |
+
- What variable would represent the total investment?
|
112 |
+
- What equation would you set up to solve for the total?
|
|
|
113 |
|
114 |
+
✏️ **Type your explanation before I provide feedback!**
|
115 |
"""
|
116 |
|
117 |
+
EQUATION_FEEDBACK_PROMPT = """
|
118 |
+
✅ **Great! You wrote the equation as follows:**
|
|
|
119 |
|
120 |
+
- You set up the proportional relationship between 60% and $1,500.
|
121 |
+
- You identified the total investment as **x**.
|
|
|
|
|
|
|
122 |
|
123 |
+
🔹 **What happens when you solve for x?**
|
124 |
+
✏️ **Try solving before I provide hints!**
|
125 |
"""
|
126 |
|
127 |
+
EQUATION_HINT_PROMPT = """
|
128 |
+
🔹 **Hint:** Set up the equation:
|
129 |
+
\[
|
130 |
+
\frac{60}{100} = \frac{1500}{x}
|
131 |
+
\]
|
132 |
+
✏️ **Can you solve for x?**
|
|
|
|
|
|
|
133 |
"""
|
134 |
|
135 |
+
EQUATION_SOLUTION_PROMPT = """
|
136 |
+
✅ **Here’s how we solve it using an equation:**
|
137 |
+
|
138 |
+
\[
|
139 |
+
\frac{60}{100} = \frac{1500}{x}
|
140 |
+
\]
|
141 |
|
142 |
+
- Cross multiply:
|
143 |
+
\[
|
144 |
+
60x = 1500 \times 100
|
145 |
+
\]
|
146 |
|
147 |
+
- Solve for **x**:
|
148 |
+
\[
|
149 |
+
x = \frac{1500 \times 100}{60} = 2500
|
150 |
+
\]
|
151 |
+
|
152 |
+
💡 **Would you like to reflect on why the equation method was useful, or try another method?**
|
153 |
+
(Type ‘Bar Model’ or ‘Double Number Line’ to proceed.)
|
154 |
"""
|
155 |
|
156 |
+
REFLECTION_PROMPT = """
|
157 |
+
"Great job! Now, let's reflect on the strategies we used.
|
158 |
+
|
159 |
+
- Which method did you find most helpful, and why?
|
160 |
+
- How does this connect to real-world proportional reasoning?
|
161 |
+
- How would you explain this to a student?
|
162 |
+
|
163 |
+
✏️ **Share your thoughts before we conclude!**
|
164 |
+
"""
|