Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +97 -102
prompts/main_prompt.py
CHANGED
@@ -1,36 +1,27 @@
|
|
1 |
MAIN_PROMPT = """
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
3 |
-
|
4 |
-
|
5 |
-
Today, we will explore
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
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 |
|
27 |
-
|
|
|
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 |
-
π‘ **
|
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 |
|
@@ -38,127 +29,131 @@ def bar_model_step(step):
|
|
38 |
"""
|
39 |
elif step == 2:
|
40 |
return """πΉ **Hint 1:**
|
41 |
-
"Start by
|
42 |
-
|
|
|
|
|
|
|
43 |
"""
|
44 |
elif step == 3:
|
45 |
return """πΉ **Hint 2:**
|
46 |
-
"
|
47 |
-
|
|
|
|
|
|
|
48 |
"""
|
49 |
elif step == 4:
|
50 |
return """β
**Solution:**
|
51 |
-
"
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
54 |
|
55 |
-
π‘
|
|
|
|
|
56 |
π "Now, let's solve this problem using a **double number line!**"
|
57 |
"""
|
58 |
-
|
59 |
-
# β
**STEP 2: DOUBLE NUMBER LINE REPRESENTATION**
|
60 |
def double_number_line_step(step):
|
61 |
if step == 1:
|
62 |
-
return """π **Step
|
63 |
-
"
|
64 |
|
65 |
-
π‘ **Think
|
66 |
-
- "
|
67 |
-
- "
|
68 |
|
69 |
-
πΉ **Try setting up
|
70 |
"""
|
71 |
elif step == 2:
|
72 |
return """πΉ **Hint 1:**
|
73 |
-
"Start by
|
74 |
-
- **
|
75 |
-
- **
|
76 |
-
|
77 |
"""
|
78 |
elif step == 3:
|
79 |
return """πΉ **Hint 2:**
|
80 |
-
"
|
81 |
-
|
|
|
82 |
"""
|
83 |
elif step == 4:
|
84 |
return """β
**Solution:**
|
85 |
-
"
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
89 |
|
90 |
-
π‘
|
91 |
-
|
|
|
|
|
92 |
"""
|
93 |
-
|
94 |
-
# β
**STEP 3: EQUATION REPRESENTATION**
|
95 |
def equation_step(step):
|
96 |
if step == 1:
|
97 |
-
return """π **Step
|
98 |
-
"
|
99 |
|
100 |
-
π‘ **Think
|
101 |
-
- "How can we express **60
|
102 |
-
- "What
|
103 |
|
104 |
-
πΉ **Try setting up
|
105 |
"""
|
106 |
elif step == 2:
|
107 |
return """πΉ **Hint 1:**
|
108 |
-
"Write
|
109 |
\\[
|
110 |
-
|
111 |
-
\\]
|
112 |
-
|
113 |
"""
|
114 |
elif step == 3:
|
115 |
return """πΉ **Hint 2:**
|
116 |
-
"
|
|
|
|
|
|
|
|
|
117 |
"""
|
118 |
elif step == 4:
|
119 |
return """β
**Solution:**
|
|
|
120 |
\\[
|
121 |
-
|
122 |
-
\\]
|
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 |
-
|
136 |
-
-
|
137 |
-
-
|
138 |
-
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
139 |
-
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
140 |
|
141 |
-
|
142 |
"""
|
|
|
|
|
|
|
143 |
|
144 |
-
|
145 |
-
|
146 |
-
-
|
147 |
-
-
|
148 |
-
- Thinking critically about **proportional relationships**
|
149 |
-
|
150 |
-
π‘ "Which of these strategies did you use? How do they help students?"
|
151 |
-
"""
|
152 |
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
-
|
161 |
-
-
|
|
|
162 |
|
163 |
-
|
164 |
"""
|
|
|
1 |
MAIN_PROMPT = """
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
3 |
+
"Welcome to this module on proportional reasoning with percentages!
|
4 |
+
|
5 |
+
Today, we will explore a **real-world investment scenario** and solve it using three different representations:
|
6 |
+
1οΈβ£ **Bar Model**
|
7 |
+
2οΈβ£ **Double Number Line**
|
8 |
+
3οΈβ£ **Equation & Proportional Relationship**
|
9 |
+
|
10 |
+
π‘ **Your Task:** Solve the following problem using each representation.
|
11 |
+
|
12 |
+
π **Problem Statement:**
|
13 |
+
Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests **$1,500**, which is **60% of their total investment**.
|
14 |
+
|
15 |
+
**How much do Orrin and Damen invest together?**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
+
βοΈ **Try to solve this problem using your preferred method first. Then, we will compare different representations step by step!**
|
18 |
+
"""
|
19 |
def bar_model_step(step):
|
20 |
if step == 1:
|
21 |
return """π **Step 1: Solve Using a Bar Model**
|
22 |
"A bar model is a great way to visualize proportions. How would you set it up for this problem?"
|
23 |
|
24 |
+
π‘ **Think before answering:**
|
25 |
- "How can we represent the **total investment** as a bar?"
|
26 |
- "If 60% is **$1,500**, how many sections should the bar have?"
|
27 |
|
|
|
29 |
"""
|
30 |
elif step == 2:
|
31 |
return """πΉ **Hint 1:**
|
32 |
+
"Start by drawing a rectangle to represent the **total investment**.
|
33 |
+
- Divide it into **10 equal sections** (since each section will represent **10%**).
|
34 |
+
- Since 60% is **$1,500**, shade in **6 parts** of the bar.
|
35 |
+
|
36 |
+
Now, can you determine how much **1 part** represents?"
|
37 |
"""
|
38 |
elif step == 3:
|
39 |
return """πΉ **Hint 2:**
|
40 |
+
"If 6 parts correspond to **$1,500**, find the value of **one part** by dividing:
|
41 |
+
\\[
|
42 |
+
\\text{Value of 1 part} = \\frac{1500}{6}
|
43 |
+
\\]
|
44 |
+
What do you get?"
|
45 |
"""
|
46 |
elif step == 4:
|
47 |
return """β
**Solution:**
|
48 |
+
"We found that **1 part = $250**.
|
49 |
+
Now, multiply by **10** to find the total investment:
|
50 |
+
\\[
|
51 |
+
\\text{Total Investment} = 250 \\times 10 = 2500
|
52 |
+
\\]
|
53 |
+
So, the total investment by Orrin and Damen together is **$2,500.**"
|
54 |
|
55 |
+
π‘ **Reflection:**
|
56 |
+
- "How does this visual help in understanding the problem?"
|
57 |
+
- "Would this be useful for students struggling with percentages?"
|
58 |
π "Now, let's solve this problem using a **double number line!**"
|
59 |
"""
|
|
|
|
|
60 |
def double_number_line_step(step):
|
61 |
if step == 1:
|
62 |
+
return """π **Step 1: Solve Using a Double Number Line**
|
63 |
+
"A double number line helps us align percentages with actual values. How might you set this up?"
|
64 |
|
65 |
+
π‘ **Think before answering:**
|
66 |
+
- "What labels should be on the number lines?"
|
67 |
+
- "Where should we place **60%** and **$1,500**?"
|
68 |
|
69 |
+
πΉ **Try setting it up before I provide hints!**
|
70 |
"""
|
71 |
elif step == 2:
|
72 |
return """πΉ **Hint 1:**
|
73 |
+
"Start by drawing two horizontal lines:
|
74 |
+
- The **top line** represents **percentages** (0% to 100%).
|
75 |
+
- The **bottom line** represents **money** (starting from $0).
|
76 |
+
Now, place **60%** above **$1,500**. What other values should be on the number line?"
|
77 |
"""
|
78 |
elif step == 3:
|
79 |
return """πΉ **Hint 2:**
|
80 |
+
"Now, divide the bottom line into **equal increments of 10%**.
|
81 |
+
- What is the value of **10%**?
|
82 |
+
- Can you now find **100%**?"
|
83 |
"""
|
84 |
elif step == 4:
|
85 |
return """β
**Solution:**
|
86 |
+
"We calculated that **10% = $250**. Now, we can find the total:
|
87 |
+
\\[
|
88 |
+
\\text{Total Investment} = 250 \\times 10 = 2500
|
89 |
+
\\]
|
90 |
+
So, Orrin and Damen invested **$2,500 together.**
|
91 |
|
92 |
+
π‘ **Reflection:**
|
93 |
+
- "How does the double number line compare to the bar model?"
|
94 |
+
- "Which one do you think is more intuitive for students?"
|
95 |
+
π "Now, let's solve this problem using **equations!**"
|
96 |
"""
|
|
|
|
|
97 |
def equation_step(step):
|
98 |
if step == 1:
|
99 |
+
return """π **Step 1: Solve Using an Equation**
|
100 |
+
"An equation can help us **set up a direct proportional relationship**. How might you write an equation for this problem?"
|
101 |
|
102 |
+
π‘ **Think before answering:**
|
103 |
+
- "How can we express **60%** in equation form?"
|
104 |
+
- "What variable should represent the **total investment**?"
|
105 |
|
106 |
+
πΉ **Try setting it up before I provide hints!**
|
107 |
"""
|
108 |
elif step == 2:
|
109 |
return """πΉ **Hint 1:**
|
110 |
+
"Write an equation using **percent form**:
|
111 |
\\[
|
112 |
+
0.60 \\times x = 1500
|
113 |
+
\\]
|
114 |
+
Now, how would you solve for **x**?"
|
115 |
"""
|
116 |
elif step == 3:
|
117 |
return """πΉ **Hint 2:**
|
118 |
+
"To isolate **x**, divide both sides by **0.60**:
|
119 |
+
\\[
|
120 |
+
x = \\frac{1500}{0.60}
|
121 |
+
\\]
|
122 |
+
What do you get?"
|
123 |
"""
|
124 |
elif step == 4:
|
125 |
return """β
**Solution:**
|
126 |
+
"Solving the equation:
|
127 |
\\[
|
128 |
+
x = \\frac{1500}{0.60} = 2500
|
129 |
+
\\]
|
130 |
+
So, the total investment by Orrin and Damen together is **$2,500.**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
+
π‘ **Reflection:**
|
133 |
+
- "How does setting up an equation help in problem-solving?"
|
134 |
+
- "How might you support students struggling to make sense of the equation?"
|
|
|
|
|
135 |
|
136 |
+
π "Now, letβs **compare and reflect** on these representations!"
|
137 |
"""
|
138 |
+
def reflection_and_problem_posing():
|
139 |
+
return """π **Final Reflection & Problem Posing**
|
140 |
+
"Now that we've solved the problem using three different representations, let's reflect on our learning!"
|
141 |
|
142 |
+
π‘ **Which Common Core Practice Standards did we use?**
|
143 |
+
- **CCSS.MATH.PRACTICE.MP1** (Make sense of problems & persevere)
|
144 |
+
- **CCSS.MATH.PRACTICE.MP4** (Model with mathematics)
|
145 |
+
- **CCSS.MATH.PRACTICE.MP7** (Look for and make use of structure)
|
|
|
|
|
|
|
|
|
146 |
|
147 |
+
π‘ **Which Creativity-Directed Practices did we use?**
|
148 |
+
- Encouraging multiple solution methods
|
149 |
+
- Making connections across representations
|
150 |
+
- Using real-world contexts for deeper understanding
|
151 |
|
152 |
+
π **Your Turn: Create a New Problem!**
|
153 |
+
"Now, create your own proportional reasoning problem involving percentages!"
|
154 |
+
- **What real-world scenario will you use?**
|
155 |
+
- **What percentage and total values will you include?**
|
156 |
+
- **How can students solve it using different representations?"**
|
157 |
|
158 |
+
πΉ **Share your problem, and I'll give feedback!**
|
159 |
"""
|