File size: 5,553 Bytes
ce5b5d6
bdeb397
405ee15
af15398
405ee15
 
8ff790f
 
af15398
 
 
32728c6
af15398
 
8ff790f
174e61c
8ff790f
 
32728c6
3c55449
32728c6
 
 
 
3c55449
000570f
174e61c
 
8ff790f
000570f
8ff790f
e09de5d
 
32728c6
 
bdeb397
e09de5d
8ff790f
bdeb397
8ff790f
e09de5d
32728c6
 
174e61c
55b308a
8ff790f
32728c6
8495abe
32728c6
 
 
 
8495abe
32728c6
8ff790f
8495abe
55b308a
8ff790f
 
32728c6
a6aa6d1
32728c6
 
 
 
55b308a
000570f
174e61c
216ea1f
8ff790f
e09de5d
216ea1f
e09de5d
 
 
 
55b308a
e09de5d
174e61c
a6aa6d1
8ff790f
32728c6
 
8ff790f
 
 
32728c6
174e61c
000570f
 
 
 
32728c6
174e61c
32728c6
8ff790f
a6aa6d1
174e61c
8ff790f
 
e09de5d
174e61c
32728c6
 
8ff790f
 
174e61c
000570f
8495abe
174e61c
8ff790f
af15398
55b308a
32728c6
 
e09de5d
a6aa6d1
e09de5d
174e61c
 
8ff790f
32728c6
8ff790f
 
32728c6
8ff790f
174e61c
 
8ff790f
32728c6
8ff790f
 
 
 
55b308a
000570f
8ff790f
 
 
3c55449
000570f
8ff790f
 
 
 
32728c6
8ff790f
405ee15
174e61c
8ff790f
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
41
42
43
44
45
46
47
48
49
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
MAIN_PROMPT = """
### **Module 4: Proportional Thinking with Percentages**  
"Welcome to this module on proportional reasoning with percentages!  
Your goal is to solve a real-world problem using different representations:  
1️⃣ **Bar Model**  
2️⃣ **Double Number Line**  
3️⃣ **Equation-Based Approach**  

🚀 **Here’s the problem:**  
**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?**  

💡 **First, choose a method and explain your reasoning before receiving guidance.**  
🚀 **Which method would you like to use first?**  
(Type 'Bar Model,' 'Double Number Line,' or 'Equation' to proceed.)
"""

BAR_MODEL_PROMPT = """
### **🚀 Bar Model Approach**  
"Great choice! The **Bar Model** is a useful visual tool for proportional reasoning.  

🔹 **Before I provide guidance, please apply the Bar Model and explain your solution.**  
- How would you set up your bar model?  
- How would you divide it to represent 60% and 40%?  
- How would you use this to determine the total investment?  

✏️ **Type your explanation, and I will provide feedback before moving forward.**
"""

BAR_MODEL_FEEDBACK_PROMPT = """
✅ **Thanks for explaining your approach! Let’s review it together.**  

🔹 **Key questions to check your model:**  
- Did you represent the total investment as a full bar?  
- Did you divide the bar into equal sections?  
- Did you shade 60% for Orrin’s investment?  

✏️ **Would you like to adjust anything before I provide hints?**
"""

BAR_MODEL_HINT_PROMPT = """
🔹 **Hint:**  
If 60% represents $1,500, how can you find the value of 10%?  
✏️ **Try dividing $1,500 by 6 and let me know what you get.**
"""

BAR_MODEL_SOLUTION_PROMPT = """
✅ **Let’s summarize the correct Bar Model approach:**  

1️⃣ Draw a full bar representing 100% of the investment.  
2️⃣ Since Orrin’s $1,500 is 60%, divide the bar into 10 equal parts.  
3️⃣ 6 parts represent $1,500, so each part (10%) is **$1,500 ÷ 6 = $250**.  
4️⃣ **Total investment =** $250 × 10 = **$2,500**.  

💡 **Would you like to reflect on this or try another method?**  
(Type ‘Double Number Line’ or ‘Equation’ to proceed.)
"""

DOUBLE_NUMBER_LINE_PROMPT = """
### **🚀 Double Number Line Approach**  
"Great choice! The **Double Number Line** helps visualize proportional relationships step by step.  

🔹 **Before I provide guidance, please apply the Double Number Line and explain your solution.**  
- How would you set up your number line?  
- What values would you place for percentages and dollar amounts?  
- How would you use the 60% value to determine the total?  

✏️ **Type your explanation, and I will provide feedback before moving forward.**
"""

DOUBLE_NUMBER_LINE_FEEDBACK_PROMPT = """
✅ **Thanks for explaining! Let's check your approach.**  

🔹 **Key questions to check your model:**  
- Did you label one number line as percentages (0% to 100%)?  
- Did you label the second number line with dollar values?  
- Did you place 60% at $1,500?  

✏️ **Would you like to adjust anything before I provide hints?**
"""

DOUBLE_NUMBER_LINE_HINT_PROMPT = """
🔹 **Hint:** If 60% corresponds to $1,500, what does 10% equal?  
✏️ **Try dividing $1,500 by 6 and let me know what you get.**
"""

DOUBLE_NUMBER_LINE_SOLUTION_PROMPT = """
✅ **Let’s summarize the correct Double Number Line approach:**  

1️⃣ One number line represents percentages (0% to 100%).  
2️⃣ The second number line represents dollar values.  
3️⃣ 60% corresponds to $1,500.  
4️⃣ **10% =** $1,500 ÷ 6 = $250.  
5️⃣ **100% =** $250 × 10 = **$2,500**.  

💡 **Would you like to reflect on this or try another method?**  
(Type ‘Bar Model’ or ‘Equation’ to proceed.)
"""

EQUATION_PROMPT = """
### **🚀 Equation-Based Approach**  
"Great choice! The **Equation Method** provides a direct algebraic approach.  

🔹 **Before I provide guidance, please apply the Equation Method and explain your solution.**  
- How can you express 60% as a fraction or decimal?  
- What variable would represent the total investment?  
- What equation would you set up to solve for the total?  

✏️ **Type your explanation, and I will provide feedback before moving forward.**
"""

EQUATION_FEEDBACK_PROMPT = """
✅ **Thanks for explaining! Let's check your equation:**  

🔹 **Key questions to check your setup:**  
- Did you write the proportion using 60% and $1,500?  
- Did you define a variable for the total investment?  

✏️ **Would you like to adjust anything before I provide hints?**
"""

EQUATION_HINT_PROMPT = """
🔹 **Hint:** Try setting up the equation:  
\[
\frac{60}{100} = \frac{1500}{x}
\]  
✏️ **Can you solve for x?**
"""

EQUATION_SOLUTION_PROMPT = """
✅ **Let’s summarize the correct Equation approach:**  

\[
\frac{60}{100} = \frac{1500}{x}
\]

1️⃣ Cross multiply:  
\[
60x = 1500 \times 100
\]

2️⃣ Solve for **x**:  
\[
x = \frac{1500 \times 100}{60} = 2500
\]

💡 **Would you like to reflect on this or try another method?**  
(Type ‘Bar Model’ or ‘Double Number Line’ to proceed.)
"""

REFLECTION_PROMPT = """
"Great job! Now, let's reflect on the strategies we used.  

- Which method did you find most helpful, and why?  
- How does this connect to real-world proportional reasoning?  
- How would you explain this to a student?  

✏️ **Share your thoughts before we conclude!**
"""