Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +32 -26
prompts/main_prompt.py
CHANGED
@@ -3,10 +3,11 @@ MAIN_PROMPT = """
|
|
3 |
#### **Task Introduction**
|
4 |
"Welcome to this module on **proportional reasoning with percentages!**
|
5 |
Today, we will explore how to use **bar models, double number lines, and equations** to solve percentage problems.
|
|
|
6 |
π‘ **Your task is to solve the following problem using different representations.**
|
7 |
-
π‘ **I will
|
8 |
-
π‘ **You will explain your reasoning
|
9 |
-
π **Letβs
|
10 |
|
11 |
---
|
12 |
### **π Solve the Following Problem**
|
@@ -15,7 +16,11 @@ Today, we will explore how to use **bar models, double number lines, and equatio
|
|
15 |
Orrin invests **$1,500**, which is **60%** of their total investment.
|
16 |
How much do Orrin and Damen invest together?"
|
17 |
|
18 |
-
π‘
|
|
|
|
|
|
|
|
|
19 |
---
|
20 |
"""
|
21 |
|
@@ -23,20 +28,18 @@ How much do Orrin and Damen invest together?"
|
|
23 |
def bar_model_step(step):
|
24 |
if step == 1:
|
25 |
return """π **Step 1: Solve Using a Bar Model**
|
26 |
-
"
|
27 |
-
Think of a rectangular bar divided into parts to represent percentages. How can you use this model to find the total investment?"
|
28 |
|
29 |
-
π‘ **Before I give hints,
|
30 |
-
- "
|
31 |
-
- "
|
32 |
|
33 |
-
πΉ **Try
|
34 |
"""
|
35 |
elif step == 2:
|
36 |
return """πΉ **Hint 1:**
|
37 |
-
"Start by
|
38 |
-
|
39 |
-
Since **60% = $1,500**, how much does **each part** represent?"
|
40 |
"""
|
41 |
elif step == 3:
|
42 |
return """πΉ **Hint 2:**
|
@@ -48,6 +51,7 @@ Then, multiply by **10** to find **100%**."
|
|
48 |
"$1,500 Γ· 6 = $250$ (for 10%)
|
49 |
$250 Γ 10 = $2,500$
|
50 |
So, the total investment is **$2,500.**"
|
|
|
51 |
π‘ "Does this make sense? How would you explain this to students?"
|
52 |
π "Now, let's solve this problem using a **double number line!**"
|
53 |
"""
|
@@ -56,14 +60,13 @@ So, the total investment is **$2,500.**"
|
|
56 |
def double_number_line_step(step):
|
57 |
if step == 1:
|
58 |
return """π **Step 2: Solve Using a Double Number Line**
|
59 |
-
"
|
60 |
-
One line represents **percentages**, and the other represents **dollars**. How would you align the intervals?"
|
61 |
|
62 |
-
π‘ **
|
63 |
-
- "If **60% = $1,500**, what are the missing values for 10%, 20%, and 100
|
64 |
-
- "How
|
65 |
|
66 |
-
πΉ **Try
|
67 |
"""
|
68 |
elif step == 2:
|
69 |
return """πΉ **Hint 1:**
|
@@ -84,7 +87,7 @@ Align this value with the corresponding percentage."
|
|
84 |
- **20% = $500**
|
85 |
- **100% = $2,500**
|
86 |
|
87 |
-
π‘ "How
|
88 |
π "Now, let's solve it using an **equation!**"
|
89 |
"""
|
90 |
|
@@ -92,10 +95,13 @@ Align this value with the corresponding percentage."
|
|
92 |
def equation_step(step):
|
93 |
if step == 1:
|
94 |
return """π **Step 3: Solve Using an Equation**
|
95 |
-
"Can you set up an **equation** to represent the proportional relationship?
|
96 |
-
How would you write the relationship between **60%** and **$1,500**?"
|
97 |
|
98 |
-
π‘ **
|
|
|
|
|
|
|
|
|
99 |
"""
|
100 |
elif step == 2:
|
101 |
return """πΉ **Hint 1:**
|
@@ -117,14 +123,14 @@ How would you write the relationship between **60%** and **$1,500**?"
|
|
117 |
\\[
|
118 |
x = \\frac{150,000}{60} = 2,500
|
119 |
\\]
|
120 |
-
π‘ "How does
|
121 |
π "Now, letβs reflect on what weβve learned!"
|
122 |
"""
|
123 |
|
124 |
# β
**REFLECTION & PROBLEM-POSING**
|
125 |
REFLECTION_PROMPT = """
|
126 |
π **Common Core & Creativity-Directed Practices Discussion**
|
127 |
-
"Great
|
128 |
|
129 |
πΉ **Which Common Core Practices did we cover?**
|
130 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
@@ -155,4 +161,4 @@ Use different representations (bar models, number lines, equations) to solve it.
|
|
155 |
- "How will your problem allow students to connect concepts?"
|
156 |
|
157 |
π "Once you've written your problem, I'll help evaluate and refine it!"
|
158 |
-
"""
|
|
|
3 |
#### **Task Introduction**
|
4 |
"Welcome to this module on **proportional reasoning with percentages!**
|
5 |
Today, we will explore how to use **bar models, double number lines, and equations** to solve percentage problems.
|
6 |
+
|
7 |
π‘ **Your task is to solve the following problem using different representations.**
|
8 |
+
π‘ **I will prompt you to think critically before offering hints.**
|
9 |
+
π‘ **You will explain your reasoning step by step.**
|
10 |
+
π **Letβs begin!**"
|
11 |
|
12 |
---
|
13 |
### **π Solve the Following Problem**
|
|
|
16 |
Orrin invests **$1,500**, which is **60%** of their total investment.
|
17 |
How much do Orrin and Damen invest together?"
|
18 |
|
19 |
+
π‘ **Before choosing a strategy, think about:**
|
20 |
+
- "What does **60% of the total investment** mean in this situation?"
|
21 |
+
- "What strategies might help visualize or solve this problem?"
|
22 |
+
|
23 |
+
πΉ **Try solving it first. Let me know your initial thoughts!**
|
24 |
---
|
25 |
"""
|
26 |
|
|
|
28 |
def bar_model_step(step):
|
29 |
if step == 1:
|
30 |
return """π **Step 1: Solve Using a Bar Model**
|
31 |
+
"A bar model is a great way to visualize proportions. How would you set it up for this problem?"
|
|
|
32 |
|
33 |
+
π‘ **Before I give hints, think about:**
|
34 |
+
- "How can we represent the **total investment** as a bar?"
|
35 |
+
- "If 60% is **$1,500**, how many sections should the bar have?"
|
36 |
|
37 |
+
πΉ **Try setting it up before I provide hints!**
|
38 |
"""
|
39 |
elif step == 2:
|
40 |
return """πΉ **Hint 1:**
|
41 |
+
"Start by dividing the bar into **10 equal sections**, where each represents **10%** of the total.
|
42 |
+
Since 60% is **$1,500**, how much does **each 10% section** represent?"
|
|
|
43 |
"""
|
44 |
elif step == 3:
|
45 |
return """πΉ **Hint 2:**
|
|
|
51 |
"$1,500 Γ· 6 = $250$ (for 10%)
|
52 |
$250 Γ 10 = $2,500$
|
53 |
So, the total investment is **$2,500.**"
|
54 |
+
|
55 |
π‘ "Does this make sense? How would you explain this to students?"
|
56 |
π "Now, let's solve this problem using a **double number line!**"
|
57 |
"""
|
|
|
60 |
def double_number_line_step(step):
|
61 |
if step == 1:
|
62 |
return """π **Step 2: Solve Using a Double Number Line**
|
63 |
+
"How might a **double number line** help in this situation?"
|
|
|
64 |
|
65 |
+
π‘ **Think about:**
|
66 |
+
- "If **60% = $1,500**, what are the missing values for **10%, 20%, and 100%**?"
|
67 |
+
- "How would you label and align the values?"
|
68 |
|
69 |
+
πΉ **Try setting up your number line before I provide hints!**
|
70 |
"""
|
71 |
elif step == 2:
|
72 |
return """πΉ **Hint 1:**
|
|
|
87 |
- **20% = $500**
|
88 |
- **100% = $2,500**
|
89 |
|
90 |
+
π‘ "How does this compare to the bar model?"
|
91 |
π "Now, let's solve it using an **equation!**"
|
92 |
"""
|
93 |
|
|
|
95 |
def equation_step(step):
|
96 |
if step == 1:
|
97 |
return """π **Step 3: Solve Using an Equation**
|
98 |
+
"Can you set up an **equation** to represent the proportional relationship?"
|
|
|
99 |
|
100 |
+
π‘ **Think about:**
|
101 |
+
- "How can we express **60% as a fraction**?"
|
102 |
+
- "What equation relates **$1,500 and x**?"
|
103 |
+
|
104 |
+
πΉ **Try setting up the equation before I provide hints!**
|
105 |
"""
|
106 |
elif step == 2:
|
107 |
return """πΉ **Hint 1:**
|
|
|
123 |
\\[
|
124 |
x = \\frac{150,000}{60} = 2,500
|
125 |
\\]
|
126 |
+
π‘ "How does this method compare to the others?"
|
127 |
π "Now, letβs reflect on what weβve learned!"
|
128 |
"""
|
129 |
|
130 |
# β
**REFLECTION & PROBLEM-POSING**
|
131 |
REFLECTION_PROMPT = """
|
132 |
π **Common Core & Creativity-Directed Practices Discussion**
|
133 |
+
"Great job! Now, letβs connect this to key teaching strategies."
|
134 |
|
135 |
πΉ **Which Common Core Practices did we cover?**
|
136 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
|
|
161 |
- "How will your problem allow students to connect concepts?"
|
162 |
|
163 |
π "Once you've written your problem, I'll help evaluate and refine it!"
|
164 |
+
"""
|