alibicer commited on
Commit
8ff790f
·
verified ·
1 Parent(s): 174e61c

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +119 -102
prompts/main_prompt.py CHANGED
@@ -1,147 +1,164 @@
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 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
- 🔎 **Lets 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)
117
- - **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
118
- - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
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?**"
 
 
 
 
 
 
 
 
 
1
  MAIN_PROMPT = """
2
  ### **Module 4: Proportional Thinking with Percentages**
 
3
  "Welcome to this module on proportional reasoning with percentages!
4
+ Today, we will explore solving problems with percentages using different representations:
 
 
 
 
 
5
  1️⃣ **Bar Model**
6
  2️⃣ **Double Number Line**
7
+ 3️⃣ **Equation-Based Approach**
8
+
9
+ Your goal is to **apply these methods, explain your thinking, and reflect on their usefulness.**
10
+ 💡 **I will guide you step by step.**
11
+ 💡 **You will first explain your own reasoning before receiving hints or feedback.**
12
+ 💡 **If you need help, I will provide step-by-step support.**
13
+ 🚀 **Let’s begin! Which method would you like to use first?**
14
+ (Type 'Bar Model,' 'Double Number Line,' or 'Equation')
15
+ """
16
 
17
+ BAR_MODEL_PROMPT = """
18
+ ### **🚀 Bar Model Approach**
19
+ "Great choice! Let's solve this problem using a **bar model**.
 
20
 
21
+ 🔹 **How would you set up a bar model to represent this problem?**
22
+ 💡 **Try explaining your approach before I provide any hints.**
23
 
24
+ - What does the full bar represent?
25
+ - How would you divide the bar to show 60%?
26
+ - How can you use this to find the total investment?
 
 
 
 
27
 
28
+ ✏️ **Type your explanation before I provide feedback!**
29
  """
30
 
31
+ BAR_MODEL_FEEDBACK_PROMPT = """
32
+ **Great! You set up the bar model as follows:**
33
+
34
+ - You represented the total investment as a bar.
35
+ - You divided the bar into equal parts to show 60% as Orrin's share.
36
+ - Now, let’s check the calculations!
37
 
38
+ 🔹 **What value does 10% of the total represent?**
39
+ ✏️ **Try calculating and explaining before I give hints!**
40
+ """
 
41
 
42
+ BAR_MODEL_HINT_PROMPT = """
43
+ 🔹 **Hint:** Since Orrin's $1,500 represents 60%, divide it by 6 to find 10% of the total investment.
44
+ ✏️ **What do you get?**
45
  """
46
 
47
+ BAR_MODEL_SOLUTION_PROMPT = """
48
+ ✅ **Here’s how we solve it using a bar model:**
 
 
 
49
 
50
+ - The total investment is represented as a full bar (100%).
51
+ - Since Orrin’s $1,500 represents 60%, we divide the bar into 10 equal parts.
52
+ - 60% means 6 parts represent $1,500.
53
+ - **Value of 10% =** $1,500 ÷ 6 = $250.
54
+ - **Total investment =** $250 × 10 = **$2,500.**
55
 
56
+ 💡 **Would you like to reflect on why the bar model was useful, or try another method?**
57
+ (Type ‘Double Number Line’ or ‘Equation’ to proceed.)
58
  """
59
 
60
+ DOUBLE_NUMBER_LINE_PROMPT = """
61
+ ### **🚀 Double Number Line Approach**
62
+ "Great choice! Let's solve this problem using a **double number line**.
63
+
64
+ 🔹 **How would you set up the number line to represent this problem?**
65
+ 💡 **Try explaining your approach before I provide any hints.**
66
 
67
+ - What would the two number lines represent?
68
+ - What key values should be placed on the number line?
69
+ - How can you use the 60% value to determine the total?
 
70
 
71
+ ✏️ **Type your explanation before I provide feedback!**
72
  """
73
 
74
+ DOUBLE_NUMBER_LINE_FEEDBACK_PROMPT = """
75
+ ✅ **Great! You set up the double number line as follows:**
 
 
 
 
76
 
77
+ - One number line represents percentages (0% to 100%).
78
+ - The second number line represents dollar values.
79
+ - You placed 60% at $1,500.
 
80
 
81
+ 🔹 **What value does 10% represent on the number line?**
82
+ ✏️ **Try calculating before I give hints!**
83
  """
84
 
85
+ DOUBLE_NUMBER_LINE_HINT_PROMPT = """
86
+ 🔹 **Hint:** Divide $1,500 by 6 to find 10%.
87
+ ✏️ **What do you get?**
88
+ """
89
+
90
+ DOUBLE_NUMBER_LINE_SOLUTION_PROMPT = """
91
+ ✅ **Here’s how we solve it using a double number line:**
92
 
93
+ - One number line represents percentages (0% to 100%).
94
+ - The second number line represents dollar values.
95
+ - 60% corresponds to $1,500.
96
+ - **10% =** $1,500 ÷ 6 = $250.
97
+ - **100% =** $250 × 10 = **$2,500.**
98
 
99
+ 💡 **Would you like to reflect on why the double number line was useful, or try another method?**
100
+ (Type ‘Bar Model’ or ‘Equation’ to proceed.)
101
  """
102
 
103
+ EQUATION_PROMPT = """
104
+ ### **🚀 Equation-Based Approach**
105
+ "Great choice! Let's solve this problem using an **equation**.
106
+
107
+ 🔹 **How would you write an equation to represent this problem?**
108
+ 💡 **Try explaining your approach before I provide any hints.**
109
 
110
+ - How can you express 60% in fraction or decimal form?
111
+ - What variable would represent the total investment?
112
+ - What equation would you set up to solve for the total?
 
113
 
114
+ ✏️ **Type your explanation before I provide feedback!**
115
  """
116
 
117
+ EQUATION_FEEDBACK_PROMPT = """
118
+ **Great! You wrote the equation as follows:**
 
119
 
120
+ - You set up the proportional relationship between 60% and $1,500.
121
+ - You identified the total investment as **x**.
 
 
 
122
 
123
+ 🔹 **What happens when you solve for x?**
124
+ ✏️ **Try solving before I provide hints!**
125
  """
126
 
127
+ EQUATION_HINT_PROMPT = """
128
+ 🔹 **Hint:** Set up the equation:
129
+ \[
130
+ \frac{60}{100} = \frac{1500}{x}
131
+ \]
132
+ ✏️ **Can you solve for x?**
 
 
 
133
  """
134
 
135
+ EQUATION_SOLUTION_PROMPT = """
136
+ **Here’s how we solve it using an equation:**
137
+
138
+ \[
139
+ \frac{60}{100} = \frac{1500}{x}
140
+ \]
141
 
142
+ - Cross multiply:
143
+ \[
144
+ 60x = 1500 \times 100
145
+ \]
146
 
147
+ - Solve for **x**:
148
+ \[
149
+ x = \frac{1500 \times 100}{60} = 2500
150
+ \]
151
+
152
+ 💡 **Would you like to reflect on why the equation method was useful, or try another method?**
153
+ (Type ‘Bar Model’ or ‘Double Number Line’ to proceed.)
154
  """
155
 
156
+ REFLECTION_PROMPT = """
157
+ "Great job! Now, let's reflect on the strategies we used.
158
+
159
+ - Which method did you find most helpful, and why?
160
+ - How does this connect to real-world proportional reasoning?
161
+ - How would you explain this to a student?
162
+
163
+ ✏️ **Share your thoughts before we conclude!**
164
+ """