Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +112 -88
prompts/main_prompt.py
CHANGED
@@ -2,109 +2,115 @@ MAIN_PROMPT = """
|
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
3 |
#### **Task Introduction**
|
4 |
"Welcome to this module on proportional reasoning with percentages!
|
5 |
-
Your
|
6 |
-
|
|
|
|
|
|
|
|
|
7 |
1οΈβ£ **Bar Model**
|
8 |
2οΈβ£ **Double Number Line**
|
9 |
-
3οΈβ£ **Equation
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
12 |
"""
|
13 |
-
BAR_MODEL_PROMPT = """
|
14 |
-
### **π Bar Model Approach**
|
15 |
-
"Great choice! Let's use a **Bar Model** to solve the problem.
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
|
29 |
-
|
30 |
-
"
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
35 |
|
36 |
-
|
37 |
-
"
|
|
|
38 |
|
39 |
-
|
40 |
-
"How did the bar model help you visualize the proportional relationship? Would you like to try another method?"
|
41 |
"""
|
42 |
-
DOUBLE_NUMBER_LINE_PROMPT = """
|
43 |
-
### **π Double Number Line Approach**
|
44 |
-
"Letβs explore the problem using a **Double Number Line**.
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
- How would you determine the total investment?"
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
54 |
|
55 |
-
|
56 |
-
"
|
57 |
|
58 |
-
|
59 |
-
"
|
|
|
|
|
|
|
|
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
64 |
|
65 |
-
|
66 |
-
"
|
67 |
|
68 |
-
|
69 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
"""
|
71 |
-
|
72 |
-
|
73 |
-
"
|
74 |
-
|
75 |
-
|
76 |
-
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
"
|
82 |
-
|
83 |
-
|
84 |
-
"You're close! Can you clarify how you set up the proportion? What does your variable represent?"
|
85 |
-
|
86 |
-
If Incorrect:
|
87 |
-
"Letβs reconsider: Since 60% of the total equals $1,500, what equation could represent this?"
|
88 |
-
|
89 |
-
π‘ **Hint if needed:**
|
90 |
-
- "Write the proportion as:
|
91 |
-
$$ \\frac{60}{100} = \\frac{1500}{x} $$
|
92 |
-
Can you solve for x?"
|
93 |
-
- "Use cross-multiplication:
|
94 |
-
$$ 60x = 1500 \times 100 $$
|
95 |
-
What does x equal?"
|
96 |
-
|
97 |
-
β
**Final Confirmation (Only if needed):**
|
98 |
-
"Solving
|
99 |
-
$$ x = \\frac{1500}{0.6} = 2500 $$
|
100 |
-
So, the total investment is $2,500."
|
101 |
-
|
102 |
-
π **Reflection Question:**
|
103 |
-
"How does using an equation compare to visual models? Which method would you use with students?"
|
104 |
"""
|
105 |
-
|
106 |
-
|
107 |
-
"
|
|
|
108 |
|
109 |
πΉ **Which Common Core Standards did we cover?**
|
110 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
@@ -113,11 +119,29 @@ COMMON_CORE_PROMPT = """
|
|
113 |
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
114 |
|
115 |
π‘ **Which of these standards do you think applied most to the problems we solved? Why?**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
-
|
118 |
-
-
|
119 |
-
-
|
120 |
-
-
|
121 |
|
122 |
-
|
123 |
"""
|
|
|
|
|
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
3 |
#### **Task Introduction**
|
4 |
"Welcome to this module on proportional reasoning with percentages!
|
5 |
+
Your goal in this module is to solve a real-world proportional reasoning problem involving percentages using different representations.
|
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 |
+
π‘ **Step 1: Before we begin, how would you approach solving this problem?**
|
16 |
+
- "What information do we already know?"
|
17 |
+
- "What are we trying to find?"
|
18 |
+
- "What strategies could help us solve this?"
|
19 |
+
|
20 |
+
Once you've shared your initial thoughts, **select a method** you'd like to use first!"
|
21 |
"""
|
|
|
|
|
|
|
22 |
|
23 |
+
def next_step(step):
|
24 |
+
if step == 1:
|
25 |
+
return """β
**Step 2: Choose a Method**
|
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 choice, and we'll apply it together!"
|
32 |
+
"""
|
33 |
+
|
34 |
+
elif step == 2:
|
35 |
+
return """π **Bar Model Method**
|
36 |
+
"Great choice! Let's use a Bar Model to solve this problem.
|
37 |
|
38 |
+
π‘ **Before I provide any steps, please explain how you would apply the bar model to solve this problem.**
|
39 |
+
- How would you represent the total investment?
|
40 |
+
- How would you break it into parts?
|
41 |
+
- What calculations would you use?"
|
42 |
|
43 |
+
πΉ **Once you've explained your process, I'll provide feedback and guide you if needed!**
|
44 |
+
"""
|
45 |
|
46 |
+
elif step == 3:
|
47 |
+
return """β
**Bar Model Feedback & Guidance**
|
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 |
+
πΉ **If you need a hint:**
|
53 |
+
1οΈβ£ "Try dividing $1,500 by 6 to find 10% of the total investment."
|
54 |
+
2οΈβ£ "Multiply that by 10 to find 100%."
|
55 |
|
56 |
+
π‘ **Go ahead and solve it! Then, let me know your answer.**
|
|
|
57 |
"""
|
|
|
|
|
|
|
58 |
|
59 |
+
elif step == 4:
|
60 |
+
return """π **Double Number Line Method**
|
61 |
+
"Let's now apply the Double Number Line to solve this problem.
|
|
|
62 |
|
63 |
+
π‘ **Before I provide guidance, explain how you would use a number line to solve this.**
|
64 |
+
- How would you set up the number line?
|
65 |
+
- What values would you place at 0%, 60%, and 100%?
|
66 |
+
- How would you calculate the total investment?"
|
67 |
|
68 |
+
πΉ **Once you've explained your approach, I'll provide feedback and hints if needed!**
|
69 |
+
"""
|
70 |
|
71 |
+
elif step == 5:
|
72 |
+
return """β
**Double Number Line Feedback & Guidance**
|
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 |
+
πΉ **If you need a hint:**
|
79 |
+
1οΈβ£ "Start by labeling the number line with 0%, 60%, and 100%."
|
80 |
+
2οΈβ£ "Divide $1,500 by 6 to determine what 10% represents."
|
81 |
+
3οΈβ£ "Multiply that by 10 to find 100%."
|
82 |
|
83 |
+
π‘ **Try solving it now, and let me know your answer!**
|
84 |
+
"""
|
85 |
|
86 |
+
elif step == 6:
|
87 |
+
return """π **Equation Method**
|
88 |
+
"Now, let's apply an equation to solve this problem.
|
89 |
+
|
90 |
+
π‘ **Before I guide you, explain how you would set up an equation for this problem.**
|
91 |
+
- How would you write 60% as a fraction or decimal?
|
92 |
+
- How would you use it to find the total investment?"
|
93 |
+
|
94 |
+
πΉ **Once you've explained your approach, I'll provide feedback and hints if needed!**
|
95 |
"""
|
96 |
+
|
97 |
+
elif step == 7:
|
98 |
+
return """β
**Equation Feedback & Guidance**
|
99 |
+
π **Letβs check your reasoning:**
|
100 |
+
- Did you correctly write the proportion as **(60/100) = (1500/x)**?
|
101 |
+
- Did you use cross-multiplication or division to solve for **x**?
|
102 |
+
|
103 |
+
πΉ **If you need a hint:**
|
104 |
+
1οΈβ£ "Write 60% as a fraction: **60/100 = 1500/x**."
|
105 |
+
2οΈβ£ "Use cross-multiplication: **60x = 1500 Γ 100**."
|
106 |
+
3οΈβ£ "Solve for **x** to find the total investment."
|
107 |
+
|
108 |
+
π‘ **Go ahead and solve it! Then, let me know your answer.**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
"""
|
110 |
+
|
111 |
+
elif step == 8:
|
112 |
+
return """π **Common Core & Creativity-Directed Practices Discussion**
|
113 |
+
"Great job solving the problem using different methods! Now, let's reflect:
|
114 |
|
115 |
πΉ **Which Common Core Standards did we cover?**
|
116 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
|
|
119 |
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
120 |
|
121 |
π‘ **Which of these standards do you think applied most to the problems we solved? Why?**
|
122 |
+
"""
|
123 |
+
|
124 |
+
elif step == 9:
|
125 |
+
return """π **Creativity-Directed Practices Discussion**
|
126 |
+
"Throughout this module, we engaged in creativity-directed strategies, such as:
|
127 |
+
β
Encouraging multiple solution methods
|
128 |
+
β
Using real-world contexts
|
129 |
+
β
Thinking critically about proportional relationships
|
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 |
+
elif step == 10:
|
136 |
+
return """π **Problem Posing Activity**
|
137 |
+
"Now, letβs take it one step further! Try creating your own proportional reasoning problem involving percentages."
|
138 |
|
139 |
+
π‘ **Some guiding questions:**
|
140 |
+
- "What real-world context will you use? (e.g., discounts, investments, recipes)"
|
141 |
+
- "What percentage and total values will you include?"
|
142 |
+
- "How will your problem allow students to make connections between percentages and proportions?"
|
143 |
|
144 |
+
Once you've created your problem, share it, and Iβll provide feedback!
|
145 |
"""
|
146 |
+
|
147 |
+
return "π **You've completed the module! Would you like to review anything again?**"
|