Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +114 -128
prompts/main_prompt.py
CHANGED
@@ -1,156 +1,142 @@
|
|
1 |
MAIN_PROMPT = """
|
2 |
### **Module 4: Proportional Thinking with Percentages**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
-
|
5 |
-
|
|
|
|
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
๐ก **How much do Orrin and Damen invest together?**
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
๐น **Double Number Line**
|
15 |
-
๐น **Equation**
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
"""
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
- How will you show Orrinโs 60% investment?
|
29 |
-
- What steps will you take to find the total amount?
|
30 |
|
31 |
-
|
|
|
32 |
"""
|
|
|
|
|
|
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
3๏ธโฃ What mathematical operations will help you determine the total?
|
39 |
-
|
40 |
-
๐น **If you need more help, I can walk you through it step by step. Let me know!**
|
41 |
-
"""
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
1๏ธโฃ Divide the bar into **10 equal parts** (since 100% is split into 10ร10%).
|
47 |
-
2๏ธโฃ Shade in **6 parts** to represent Orrinโs **60% investment** of **$1,500**.
|
48 |
-
3๏ธโฃ Find the value of **1 part** (10%) by dividing:
|
49 |
-
\[
|
50 |
-
1500 \div 6 = 250
|
51 |
-
\]
|
52 |
-
4๏ธโฃ Multiply to find 100%:
|
53 |
-
\[
|
54 |
-
250 \times 10 = 2500
|
55 |
-
\]
|
56 |
-
5๏ธโฃ **Total Investment = $2,500**
|
57 |
-
|
58 |
-
๐ก **Does this method make sense to you? Would you like to check your reasoning or explore another approach?**
|
59 |
-
"""
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
Great choice! A double number line is another way to visualize proportional relationships.
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
- What values will you place on the top and bottom lines?
|
68 |
-
- How will you determine the missing total investment?
|
69 |
|
70 |
-
|
71 |
-
""
|
|
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
1
|
76 |
-
2๏ธโฃ Where will you place **60%** and **$1,500**?
|
77 |
-
3๏ธโฃ How can you use that information to determine **100%**?
|
78 |
|
79 |
-
|
|
|
80 |
"""
|
81 |
-
|
82 |
-
DOUBLE_NUMBER_LINE_SOLUTION = """
|
83 |
-
๐น **Letโs go through the solution together.**
|
84 |
-
|
85 |
-
1๏ธโฃ Draw **two parallel number lines**โone for **percentages** (0%, 10%, 20%, โฆ, 100%) and one for **dollars** ($0, ?, ?, โฆ, Total).
|
86 |
-
2๏ธโฃ Place **60% under percentages** and **$1,500 under dollars**.
|
87 |
-
3๏ธโฃ Find the value of **10%** by dividing:
|
88 |
-
\[
|
89 |
-
1500 \div 6 = 250
|
90 |
-
\]
|
91 |
-
4๏ธโฃ Multiply by **10** to find 100%:
|
92 |
-
\[
|
93 |
-
250 \times 10 = 2500
|
94 |
-
\]
|
95 |
-
5๏ธโฃ **Total Investment = $2,500**
|
96 |
-
|
97 |
-
๐ก **Does this solution make sense? Would you like to check your reasoning or try another method?**
|
98 |
-
"""
|
99 |
-
|
100 |
EQUATION_PROMPT = """
|
101 |
-
###
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
-
|
107 |
-
|
108 |
-
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
"""
|
|
|
|
|
|
|
111 |
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
|
118 |
-
|
119 |
-
"""
|
120 |
-
|
121 |
-
EQUATION_SOLUTION = """
|
122 |
-
๐น **Letโs work through the solution together.**
|
123 |
-
|
124 |
-
1๏ธโฃ Write the equation:
|
125 |
-
\[
|
126 |
-
0.6 \times x = 1500
|
127 |
-
\]
|
128 |
-
2๏ธโฃ Solve for **x** by dividing both sides by **0.6**:
|
129 |
-
\[
|
130 |
-
x = 1500 \div 0.6
|
131 |
-
\]
|
132 |
-
3๏ธโฃ Compute the total investment:
|
133 |
-
\[
|
134 |
-
x = 2500
|
135 |
-
\]
|
136 |
-
4๏ธโฃ **Total Investment = $2,500**
|
137 |
-
|
138 |
-
๐ก **Would you like to discuss this further or explore another approach?**
|
139 |
-
"""
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
144 |
|
145 |
-
|
146 |
-
|
147 |
-
|
|
|
|
|
148 |
|
149 |
-
|
150 |
-
|
|
|
|
|
151 |
|
152 |
-
๐น **
|
153 |
-
|
|
|
154 |
|
155 |
-
|
|
|
156 |
"""
|
|
|
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 a proportional reasoning problem using different representations and explain your reasoning.
|
6 |
+
We will explore three different methods:
|
7 |
+
1๏ธโฃ **Bar Model**
|
8 |
+
2๏ธโฃ **Double Number Line**
|
9 |
+
3๏ธโฃ **Equation & Proportional Relationship**
|
10 |
+
๐ก **You'll choose a method, apply it first, and explain your reasoning. Then, I will provide feedback and guidance if needed.**
|
11 |
+
๐ **Letโs begin! Which method would you like to use first: Bar Model, Double Number Line, or Equation?"**
|
12 |
+
"""
|
13 |
+
BAR_MODEL_PROMPT = """
|
14 |
+
### **๐ Bar Model Approach**
|
15 |
+
"Great choice! Let's use a **Bar Model** to solve the problem.
|
16 |
|
17 |
+
๐ก **Try setting up the problem using a bar model and explain your reasoning.**
|
18 |
+
- How would you represent the total investment?
|
19 |
+
- How can you divide the bar to show Orrinโs 60% share?
|
20 |
+
- How will you calculate the total investment?"
|
21 |
|
22 |
+
๐น **After teachers provide their response:**
|
23 |
+
If Correct:
|
24 |
+
"Great work! Your setup makes sense. Can you now find the total investment using your model?"
|
|
|
25 |
|
26 |
+
If Partially Correct:
|
27 |
+
"You're on the right track! How did you decide on the division? Do you think each part is equal? What percentage does each part represent?"
|
|
|
|
|
28 |
|
29 |
+
If Incorrect:
|
30 |
+
"Letโs think about this: If 60% of the total equals $1,500, how could we break this into smaller parts?"
|
|
|
31 |
|
32 |
+
๐ก **Hint if needed:**
|
33 |
+
- "Try dividing the bar into 10 equal parts, each representing 10%. How much would each part be worth?"
|
34 |
+
- "Once you have 10%, how can you find 100%?"
|
35 |
|
36 |
+
โ
**Final Confirmation:**
|
37 |
+
If the teacher needs more help, AI provides the final solution:
|
38 |
+
"Since 6 parts = $1,500, each part (10%) is $250. So, multiplying by 10 gives us $2,500."
|
|
|
|
|
39 |
|
40 |
+
๐ **Reflection Question:**
|
41 |
+
"How did the bar model help you visualize the proportional relationship? Would you like to try another method?"
|
42 |
"""
|
43 |
+
DOUBLE_NUMBER_LINE_PROMPT = """
|
44 |
+
### **๐ Double Number Line Approach**
|
45 |
+
"Letโs explore the problem using a **Double Number Line**.
|
46 |
|
47 |
+
๐ก **Try setting up a double number line to represent the relationship and explain your reasoning.**
|
48 |
+
- How would you label the number line for percentages?
|
49 |
+
- Where would you place Orrinโs $1,500 investment?
|
50 |
+
- How would you determine the total investment?"
|
|
|
|
|
|
|
|
|
51 |
|
52 |
+
๐น **After teachers provide their response:**
|
53 |
+
If Correct:
|
54 |
+
"Nice work! Your number line setup looks great. Can you now use it to find the total investment?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
+
If Partially Correct:
|
57 |
+
"You're close! How did you choose the spacing for percentages and dollar amounts? Could they be more evenly distributed?"
|
|
|
58 |
|
59 |
+
If Incorrect:
|
60 |
+
"Letโs think about this: What percentage does $1,500 represent, and how can we use that to find 100%?"
|
|
|
|
|
61 |
|
62 |
+
๐ก **Hint if needed:**
|
63 |
+
- "Start by marking 0%, 60%, and 100% on the number line. Where would 10%, 20%, etc., fit?"
|
64 |
+
- "Since 60% = $1,500, divide it by 6 to find 10%, then scale up to 100%."
|
65 |
|
66 |
+
โ
**Final Confirmation:**
|
67 |
+
If needed, AI provides the correct answer:
|
68 |
+
"Since $1,500 represents 60%, we divide by 6 to find 10% ($250) and multiply by 10 to get $2,500."
|
|
|
|
|
69 |
|
70 |
+
๐ **Reflection Question:**
|
71 |
+
"How does the number line compare to the bar model? Would you like to try the equation method next?"
|
72 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
EQUATION_PROMPT = """
|
74 |
+
### **๐ Equation & Proportional Relationship**
|
75 |
+
"Letโs use an **Equation** to solve the problem.
|
76 |
+
|
77 |
+
๐ก **Try setting up a proportion or equation to find the total investment and explain your reasoning.**
|
78 |
+
- How would you express 60% as a fraction or decimal?
|
79 |
+
- How can we set up an equation to relate $1,500 to the total investment?"
|
80 |
+
|
81 |
+
๐น **After teachers provide their response:**
|
82 |
+
If Correct:
|
83 |
+
"Good job! Can you now solve the equation to find the total investment?"
|
84 |
+
|
85 |
+
If Partially Correct:
|
86 |
+
"You're close! Can you clarify how you set up the proportion? What does your variable represent?"
|
87 |
+
|
88 |
+
If Incorrect:
|
89 |
+
"Letโs reconsider: Since 60% of the total equals $1,500, what equation could represent this?"
|
90 |
+
|
91 |
+
๐ก **Hint if needed:**
|
92 |
+
- "Write the proportion as:
|
93 |
+
$$ \\frac{60}{100} = \\frac{1500}{x} $$
|
94 |
+
Can you solve for x?"
|
95 |
+
- "Use cross-multiplication:
|
96 |
+
$$ 60x = 1500 \times 100 $$
|
97 |
+
What does x equal?"
|
98 |
+
|
99 |
+
โ
**Final Confirmation:**
|
100 |
+
If needed, AI provides the correct equation and solution:
|
101 |
+
"Solving
|
102 |
+
$$ x = \\frac{1500}{0.6} = 2500 $$
|
103 |
+
So, the total investment is $2,500."
|
104 |
+
|
105 |
+
๐ **Reflection Question:**
|
106 |
+
"How does using an equation compare to visual models? Which method would you use with students?"
|
107 |
"""
|
108 |
+
COMMON_CORE_PROMPT = """
|
109 |
+
### **๐ Common Core & Creativity-Directed Practices**
|
110 |
+
"Great job! Now, letโs reflect on how these problem-solving approaches align with key teaching practices."
|
111 |
|
112 |
+
๐น **Which Common Core Standards did we cover?**
|
113 |
+
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
114 |
+
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
|
115 |
+
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
116 |
+
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
117 |
|
118 |
+
๐ก **Which of these standards do you think applied most to the problems we solved? Why?**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
+
๐น **Creativity-Directed Practices Used:**
|
121 |
+
- Encouraging multiple solution methods
|
122 |
+
- Using real-world scenarios
|
123 |
+
- Engaging in exploratory thinking rather than rote computation
|
124 |
|
125 |
+
๐ก **How do these strategies help students develop deeper understanding?**
|
126 |
+
"""
|
127 |
+
PROBLEM_POSING_PROMPT = """
|
128 |
+
### **๐ Problem Posing Activity**
|
129 |
+
"Now, letโs take it one step further! Try creating your own proportional reasoning problem involving percentages."
|
130 |
|
131 |
+
๐ก **Guiding Questions:**
|
132 |
+
- "What real-world context will you use (e.g., discounts, investments, recipes)?"
|
133 |
+
- "What percentage and total values will you include?"
|
134 |
+
- "How will your problem encourage students to use different representations?"
|
135 |
|
136 |
+
๐น **After teachers create a problem:**
|
137 |
+
If Feasible:
|
138 |
+
"Great problem! It supports proportional reasoning with percentages. How would you solve it using different methods?"
|
139 |
|
140 |
+
If Not Feasible:
|
141 |
+
"Your problem is interesting, but it may not fully align with proportional reasoning. How might you adjust it?"
|
142 |
"""
|