Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +87 -116
prompts/main_prompt.py
CHANGED
@@ -1,49 +1,50 @@
|
|
1 |
MAIN_PROMPT = """
|
2 |
-
### **Module 4: Proportional Thinking with Percentages**
|
3 |
-
#### **Task Introduction**
|
4 |
-
"Welcome to this module on proportional reasoning with percentages!
|
5 |
-
Your task is to solve the following problem using different representations and connect the proportional relationship to the meaning of the problem."
|
6 |
|
7 |
-
**
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
10 |
|
11 |
-
Solve the problem using **any representation** (e.g., **bar model, double number line, or equations**).
|
12 |
-
💡 **Before I help, I encourage you to explain your reasoning first.**
|
13 |
-
|
14 |
-
---
|
15 |
-
### 🚀 **Choose a Representation**
|
16 |
-
"Which method would you like to use first?"
|
17 |
-
1️⃣ **Bar Model**
|
18 |
-
2️⃣ **Double Number Line**
|
19 |
-
3️⃣ **Equation and Proportional Relationship**
|
20 |
---
|
21 |
-
"""
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
BAR_MODEL_PROMPT = """
|
24 |
### 🚀 **Solving with a Bar Model**
|
25 |
-
Great!
|
26 |
-
|
27 |
-
🔹 **Before I provide hints, please explain how you plan to solve it using a bar model.**
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
- How
|
32 |
-
- How
|
|
|
33 |
|
34 |
🔹 **Try explaining first! Then, if needed, I will guide you.**
|
35 |
"""
|
36 |
-
|
37 |
BAR_MODEL_HINTS = """
|
38 |
-
🔹 **If you're unsure, let’s
|
39 |
|
40 |
-
**Step 1:
|
41 |
-
- Draw a
|
42 |
-
- Divide
|
43 |
-
- Shade **6 parts** (since
|
44 |
|
45 |
**Step 2: Finding the Value of One Part**
|
46 |
-
- Since 60% corresponds to $1,500,
|
47 |
\[
|
48 |
\frac{1500}{6} = 250
|
49 |
\]
|
@@ -52,127 +53,97 @@ BAR_MODEL_HINTS = """
|
|
52 |
250 \times 10 = 2500
|
53 |
\]
|
54 |
|
55 |
-
**Step 3:
|
56 |
-
- The **total
|
|
|
|
|
57 |
|
58 |
-
|
59 |
"""
|
60 |
-
|
61 |
DOUBLE_NUMBER_LINE_PROMPT = """
|
62 |
### 🚀 **Solving with a Double Number Line**
|
63 |
-
Great!
|
64 |
|
65 |
-
🔹 **Before I provide
|
66 |
-
|
67 |
-
|
68 |
-
- How
|
69 |
-
- What key values should you label (0%, 60%, 100%)?
|
70 |
-
- How can you use **10% steps** to find the total investment?
|
71 |
|
72 |
🔹 **Try explaining first! Then, if needed, I will guide you.**
|
73 |
"""
|
74 |
-
|
75 |
DOUBLE_NUMBER_LINE_HINTS = """
|
76 |
-
🔹 **If you're unsure, let’s
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
-
**Step
|
79 |
-
-
|
80 |
-
- The other line represents **money** ($0, ?, ?, ..., Total Investment).
|
81 |
-
- Label **60%** as $1,500.
|
82 |
|
83 |
-
**Step
|
84 |
- Divide **$1,500 by 6** to find **10%**:
|
85 |
\[
|
86 |
-
\
|
87 |
\]
|
88 |
-
-
|
89 |
-
|
90 |
-
**Step 3: Find 100% (Total Investment)**
|
91 |
-
- Multiply by 10:
|
92 |
\[
|
93 |
250 \times 10 = 2500
|
94 |
-
\]
|
95 |
|
96 |
-
|
97 |
-
|
98 |
|
|
|
|
|
99 |
EQUATION_PROMPT = """
|
100 |
### 🚀 **Solving with an Equation**
|
101 |
-
Great!
|
102 |
|
103 |
-
🔹 **Before I provide
|
104 |
-
|
105 |
-
|
106 |
-
- How
|
107 |
-
- What equation represents the total investment?
|
108 |
-
- How do you solve for the unknown value?
|
109 |
|
110 |
🔹 **Try explaining first! Then, if needed, I will guide you.**
|
111 |
"""
|
112 |
-
|
113 |
EQUATION_HINTS = """
|
114 |
-
🔹 **If you're unsure, let’s
|
115 |
|
116 |
-
**Step 1:
|
117 |
-
-
|
118 |
\[
|
119 |
-
0.6 \times
|
120 |
\]
|
121 |
-
|
|
|
|
|
122 |
\[
|
123 |
-
|
124 |
\]
|
125 |
-
|
126 |
-
**Step 2: Solve for Total Investment**
|
127 |
\[
|
128 |
-
|
129 |
-
\]
|
130 |
-
|
131 |
-
💡 **Would you like to check your work or try another representation?**
|
132 |
-
"""
|
133 |
-
|
134 |
-
REFLECTION_PROMPT = """
|
135 |
-
### 🔹 **Reflection & Discussion**
|
136 |
-
"Great work! Now, let’s reflect on what we learned."
|
137 |
-
|
138 |
-
💡 **How did each method (bar model, number line, equation) help in solving the problem?**
|
139 |
-
💡 **Which method did you find the most intuitive? Why?**
|
140 |
-
💡 **How might different students benefit from different representations?**
|
141 |
-
|
142 |
-
🚀 **Let’s connect this to teaching strategies!**
|
143 |
-
"""
|
144 |
-
|
145 |
-
COMMON_CORE_PROMPT = """
|
146 |
-
### 📌 **Common Core Standards Discussion**
|
147 |
-
"Let’s reflect on how this problem aligns with Common Core practices."
|
148 |
|
149 |
-
|
150 |
-
- **
|
151 |
-
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships).
|
152 |
-
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering).
|
153 |
-
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics).
|
154 |
|
155 |
-
|
156 |
"""
|
|
|
|
|
|
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
✅ Encouraging multiple solution methods.
|
162 |
-
✅ Using real-world contexts.
|
163 |
-
✅ Exploring connections between representations.
|
164 |
-
|
165 |
-
💡 **Which of these strategies did you find most effective?**
|
166 |
-
💡 **How do you think encouraging creativity helps students build deeper understanding?**
|
167 |
-
"""
|
168 |
|
169 |
-
|
170 |
-
### 📌 **Problem-Posing Activity**
|
171 |
-
"Now, let’s take it a step further! Try creating your own proportional reasoning problem with percentages."
|
172 |
|
173 |
-
|
174 |
-
|
175 |
|
176 |
-
|
177 |
"""
|
178 |
-
|
|
|
1 |
MAIN_PROMPT = """
|
2 |
+
### **Module 4: Proportional Thinking with Percentages**
|
|
|
|
|
|
|
3 |
|
4 |
+
🚀 **Welcome to this module on proportional reasoning with percentages!**
|
5 |
+
In this module, you will:
|
6 |
+
1️⃣ Solve a problem using different proportional representations.
|
7 |
+
2️⃣ Explain your reasoning before receiving any hints.
|
8 |
+
3️⃣ Compare multiple solution methods.
|
9 |
+
4️⃣ Reflect on how different models support student understanding.
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
|
|
12 |
|
13 |
+
### **📌 Problem Statement**
|
14 |
+
"Orrin and Damen decided to invest money in a local ice cream shop.
|
15 |
+
Orrin invests **$1,500**, which is **60%** of their total investment.
|
16 |
+
💡 **How much do Orrin and Damen invest together?**
|
17 |
+
|
18 |
+
Solve the problem using one of the following representations:
|
19 |
+
🔹 **Bar Model**
|
20 |
+
🔹 **Double Number Line**
|
21 |
+
🔹 **Equation**
|
22 |
+
|
23 |
+
💡 **Which method would you like to use first?**
|
24 |
+
(*Please select one, and then explain your reasoning before AI provides any guidance!*)
|
25 |
+
"""
|
26 |
BAR_MODEL_PROMPT = """
|
27 |
### 🚀 **Solving with a Bar Model**
|
28 |
+
Great choice! A bar model is a powerful way to visualize proportional relationships.
|
|
|
|
|
29 |
|
30 |
+
🔹 **Before I provide guidance, please explain your approach.**
|
31 |
+
💡 **How do you plan to set up the bar model to solve this problem?**
|
32 |
+
- How will you represent the total investment?
|
33 |
+
- How will you show Orrin’s 60% investment?
|
34 |
+
- What steps will you take to find the total amount?
|
35 |
|
36 |
🔹 **Try explaining first! Then, if needed, I will guide you.**
|
37 |
"""
|
|
|
38 |
BAR_MODEL_HINTS = """
|
39 |
+
🔹 **If you're unsure, let’s work through it step by step.**
|
40 |
|
41 |
+
**Step 1: Setting Up the Bar Model**
|
42 |
+
- Draw a horizontal bar representing **100% of the total investment**.
|
43 |
+
- Divide it into **10 equal parts**, where each part represents **10% of the total**.
|
44 |
+
- Shade in **6 parts** (since Orrin’s $1,500 represents 60%).
|
45 |
|
46 |
**Step 2: Finding the Value of One Part**
|
47 |
+
- Since 60% corresponds to $1,500, divide by **6** to find 10%:
|
48 |
\[
|
49 |
\frac{1500}{6} = 250
|
50 |
\]
|
|
|
53 |
250 \times 10 = 2500
|
54 |
\]
|
55 |
|
56 |
+
**Step 3: Interpret the Bar Model**
|
57 |
+
- The **total bar** represents **$2,500**.
|
58 |
+
- The **first segment (60%)** is Orrin’s **$1,500**.
|
59 |
+
- The **remaining segment (40%)** represents Damen’s investment.
|
60 |
|
61 |
+
🔹 **Would you like to check your reasoning or explore another method?**
|
62 |
"""
|
|
|
63 |
DOUBLE_NUMBER_LINE_PROMPT = """
|
64 |
### 🚀 **Solving with a Double Number Line**
|
65 |
+
Great choice! A double number line is a great way to compare proportional relationships visually.
|
66 |
|
67 |
+
🔹 **Before I provide guidance, please explain your approach.**
|
68 |
+
💡 **How would you set up a double number line to solve this problem?**
|
69 |
+
- What values will you place on the top and bottom lines?
|
70 |
+
- How will you determine the missing total investment?
|
|
|
|
|
71 |
|
72 |
🔹 **Try explaining first! Then, if needed, I will guide you.**
|
73 |
"""
|
|
|
74 |
DOUBLE_NUMBER_LINE_HINTS = """
|
75 |
+
🔹 **If you're unsure, let’s work through it step by step.**
|
76 |
+
|
77 |
+
**Step 1: Setting Up the Double Number Line**
|
78 |
+
- Draw two parallel number lines.
|
79 |
+
- Label one line for **percentages** (0%, 10%, 20%, …, 100%).
|
80 |
+
- Label the other line for **money values** ($0, ?, ?, …, Total).
|
81 |
|
82 |
+
**Step 2: Placing Known Values**
|
83 |
+
- Since **60% = $1,500**, mark **60% under the percentage line** and **$1,500 under the money line**.
|
|
|
|
|
84 |
|
85 |
+
**Step 3: Finding 10% and 100%**
|
86 |
- Divide **$1,500 by 6** to find **10%**:
|
87 |
\[
|
88 |
+
1500 \div 6 = 250
|
89 |
\]
|
90 |
+
- Multiply **$250 by 10** to get **100%**:
|
|
|
|
|
|
|
91 |
\[
|
92 |
250 \times 10 = 2500
|
93 |
+
\]
|
94 |
|
95 |
+
**Step 4: Interpret the Number Line**
|
96 |
+
- **100% = $2,500**, which is the total investment.
|
97 |
|
98 |
+
🔹 **Does this method make sense to you? Would you like to try solving another way?**
|
99 |
+
"""
|
100 |
EQUATION_PROMPT = """
|
101 |
### 🚀 **Solving with an Equation**
|
102 |
+
Great choice! Using an equation is a powerful way to solve proportional problems.
|
103 |
|
104 |
+
🔹 **Before I provide guidance, please explain your approach.**
|
105 |
+
💡 **How would you write an equation to represent the relationship between 60% and $1,500?**
|
106 |
+
- What variable will you use for the total investment?
|
107 |
+
- How will you set up the proportion?
|
|
|
|
|
108 |
|
109 |
🔹 **Try explaining first! Then, if needed, I will guide you.**
|
110 |
"""
|
|
|
111 |
EQUATION_HINTS = """
|
112 |
+
🔹 **If you're unsure, let’s work through it step by step.**
|
113 |
|
114 |
+
**Step 1: Set Up the Equation**
|
115 |
+
- Since 60% of the total investment is $1,500, write the equation:
|
116 |
\[
|
117 |
+
0.6 \times x = 1500
|
118 |
\]
|
119 |
+
|
120 |
+
**Step 2: Solve for \( x \)**
|
121 |
+
- Divide both sides by 0.6:
|
122 |
\[
|
123 |
+
x = \frac{1500}{0.6}
|
124 |
\]
|
125 |
+
- Compute the result:
|
|
|
126 |
\[
|
127 |
+
x = 2500
|
128 |
+
\]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
+
**Step 3: Interpret the Solution**
|
131 |
+
- The **total investment** is **$2,500**.
|
|
|
|
|
|
|
132 |
|
133 |
+
🔹 **Would you like to check your reasoning or explore another method?**
|
134 |
"""
|
135 |
+
REFLECTION_PROMPT = """
|
136 |
+
### 🚀 **Final Reflection & Discussion**
|
137 |
+
Great job! Let’s take a moment to reflect on the strategies used.
|
138 |
|
139 |
+
🔹 **Which method did you find most useful and why?**
|
140 |
+
🔹 **How do these models help students understand proportional relationships?**
|
141 |
+
🔹 **When might one representation be more useful than another?**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
+
Now, try creating your own problem involving percentages and proportional reasoning.
|
|
|
|
|
144 |
|
145 |
+
🔹 **What real-world context will you use (e.g., discounts, savings, recipes)?**
|
146 |
+
🔹 **How will your problem allow students to use different representations?**
|
147 |
|
148 |
+
Post your problem, and I’ll give you feedback! 🚀
|
149 |
"""
|
|