alibicer commited on
Commit
ff9f2bc
Β·
verified Β·
1 Parent(s): 3c55449

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +76 -70
prompts/main_prompt.py CHANGED
@@ -1,41 +1,45 @@
1
  MAIN_PROMPT = """
2
  ### **Module 4: Proportional Thinking with Percentages**
3
  "Welcome to this module on proportional reasoning with percentages!
4
- In this module, you will explore different representations of proportional thinking:
5
- 1️⃣ **Bar Models**
6
- 2️⃣ **Double Number Lines**
7
- 3️⃣ **Equations & Proportional Relationships**
8
 
9
- πŸ’‘ **You will solve the given problem using different strategies and explain your reasoning.**
10
- πŸ’‘ **The AI will guide you through hints if neededβ€”try solving before asking for help!**
11
- πŸš€ **Let’s begin!**
 
 
 
 
 
 
12
  """
13
 
14
  def next_step(step):
15
  if step == 1:
16
  return """πŸš€ **Step 1: Solve Using a Bar Model**
17
- "Orrin invests **$1,500**, which is **60%** of their total investment.
18
- How can you use a bar model to solve this problem?"
19
 
20
- πŸ’‘ **Think before answering:**
21
- - "How can we represent the **total investment** as a bar?"
22
- - "If 60% is **$1,500**, how many sections should the bar have?"
 
23
 
24
- πŸ”Ή **Try setting it up before I provide hints!**
25
  """
26
 
27
  elif step == 2:
28
  return """πŸ”Ή **Hint 1:**
29
- "Start by drawing a rectangle to represent the **total investment**.
30
- - Divide it into **10 equal sections** (since each section represents **10%** of the total).
31
- - Since **60% corresponds to $1,500**, shade in **6 parts** of the bar.
32
 
33
- Now, can you determine how much **1 part** represents?"
34
  """
35
 
36
  elif step == 3:
37
  return """πŸ”Ή **Hint 2:**
38
- "If 6 parts correspond to **$1,500**, find the value of **one part** by dividing:
 
39
  \\[
40
  \\text{Value of 1 part} = \\frac{1500}{6}
41
  \\]
@@ -53,7 +57,7 @@ Can you calculate and explain your answer?"
53
 
54
  elif step == 5:
55
  return """βœ… **Solution:**
56
- "We found that **1 part = $250**.
57
  Now, multiplying by **10**:
58
  \\[
59
  \\text{Total Investment} = 250 \\times 10 = 2500
@@ -68,88 +72,96 @@ So, the total investment by Orrin and Damen together is **$2,500.**"
68
 
69
  elif step == 6:
70
  return """πŸš€ **Step 2: Solve Using a Double Number Line**
71
- "A double number line is another great way to visualize this problem.
72
- How would you set up a **double number line** to solve this?"
73
 
74
- πŸ’‘ **Think before answering:**
75
- - "What labels would you use for the two number lines?"
76
- - "How can you align percentages with dollar values?"
 
77
 
78
- πŸ”Ή **Try setting it up before I provide hints!**
79
  """
80
 
81
  elif step == 7:
82
  return """πŸ”Ή **Hint 1:**
83
- "Start by labeling the two number lines:
84
- - The **top line** represents **percentages** (0%, 10%, 20%, …, 100%).
85
- - The **bottom line** represents **dollars** ($0, $?, $?, …, Total Investment).
86
- - Since **60% = $1,500**, mark this point on both lines.
87
 
88
- Can you determine what **10%** would be?"
89
  """
90
 
91
  elif step == 8:
92
  return """πŸ”Ή **Hint 2:**
93
- "To find **10%**, divide **$1,500 by 6**:
94
  \\[
95
- \\text{10% Value} = \\frac{1500}{6} = 250
96
  \\]
97
- Now, use this to determine **100%**!"
 
98
  """
99
 
100
  elif step == 9:
101
  return """βœ… **Solution:**
102
- "Now that we know **10% = $250**, we can multiply by 10:
103
- \\[
104
- \\text{Total Investment} = 250 \\times 10 = 2500
105
- \\]
106
- So, the total investment by Orrin and Damen together is **$2,500.**"
107
 
108
  πŸ’‘ **Reflection:**
109
- - "How does the double number line help in understanding the proportional relationship?"
110
- πŸš€ "Now, let's solve this using **an equation!**"
 
111
  """
112
 
113
  elif step == 10:
114
  return """πŸš€ **Step 3: Solve Using an Equation**
115
- "An equation allows us to solve proportions algebraically.
116
- How can you set up an equation for this problem?"
117
 
118
- πŸ’‘ **Think before answering:**
119
- - "How can we represent 60% in fractional form?"
120
- - "How can we write a proportion to find the total investment?"
 
121
 
122
- πŸ”Ή **Try setting it up before I provide hints!**
123
  """
124
 
125
  elif step == 11:
126
  return """πŸ”Ή **Hint 1:**
127
- "Write the proportion as:
128
  \\[
129
  \\frac{60}{100} = \\frac{1500}{x}
130
  \\]
131
- Now, can you **cross-multiply** and solve for **x**?"
132
  """
133
 
134
  elif step == 12:
135
- return """βœ… **Solution:**
136
- "Using cross-multiplication:
137
  \\[
138
  60x = 1500 \\times 100
139
  \\]
 
 
 
 
 
 
140
  \\[
141
  x = \\frac{1500 \\times 100}{60} = 2500
142
  \\]
143
- So, the total investment by Orrin and Damen together is **$2,500.**"
144
 
145
  πŸ’‘ **Reflection:**
146
- - "How does solving with an equation compare to visual methods?"
147
- πŸš€ "Now, let's reflect on teaching strategies!"
 
148
  """
149
 
150
- elif step == 13:
151
- return """πŸ“Œ **Common Core & Creativity-Directed Practices Discussion**
152
- "Great job! Now, let’s reflect on how these problems connect to teaching strategies."
153
 
154
  πŸ”Ή **Which Common Core Standards did we cover?**
155
  - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
@@ -157,24 +169,18 @@ So, the total investment by Orrin and Damen together is **$2,500.**"
157
  - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
158
  - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
159
 
160
- πŸ’‘ **Which of these standards do you think applied most to the problems we solved? Why?**
161
  """
162
 
163
- elif step == 14:
164
  return """πŸ“Œ **Creativity-Directed Practices Discussion**
165
- "Throughout these problems, we engaged in creativity-directed strategies, such as:
166
- βœ… Encouraging multiple solution methods
167
- βœ… Using real-world contexts
168
- βœ… Thinking critically about proportional relationships
169
 
170
- πŸ’‘ **Which of these strategies did you use while solving the problems?**
171
- πŸ’‘ **How do you think encouraging creativity helps students develop deeper understanding?**
172
- """
173
-
174
- elif step == 15:
175
- return """πŸ“Œ **Problem-Posing Activity**
176
- "Now, let’s take it one step further! Try creating your own proportional reasoning problem."
177
- πŸ’‘ "Would you like to modify one of the previous problems, or create a brand new one?"
178
  """
179
 
180
  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
+ Your task is to **solve a problem using different representations** and connect the proportional relationship to the meaning of the problem."
 
 
 
5
 
6
+ πŸ“Œ **Problem:**
7
+ Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests **$1,500**, which is **60%** of their total investment.
8
+ πŸ’‘ **How much do they invest together?**
9
+ πŸ’‘ **Solve using a Bar Model, Double Number Line, or Equations.**
10
+
11
+ βœ… **Remember:**
12
+ - "Explain your thought process after solving each part."
13
+ - "Try your best before I give hints!"
14
+ πŸš€ **Let’s begin! Which method would you like to use first?**
15
  """
16
 
17
  def next_step(step):
18
  if step == 1:
19
  return """πŸš€ **Step 1: Solve Using a Bar Model**
20
+ "How can we use a **bar model** to solve this problem?"
 
21
 
22
+ πŸ’‘ **OK! Let's hear your ideas first.**
23
+ - "What does the full bar represent?"
24
+ - "How might we divide the bar to show 60%?"
25
+ - "How can this help us find the total investment?"
26
 
27
+ πŸ”Ή **Share your thinking before I provide any hints!**
28
  """
29
 
30
  elif step == 2:
31
  return """πŸ”Ή **Hint 1:**
32
+ "Try drawing a **bar to represent the total investment**.
33
+ - Since 60% = **$1,500**, divide the bar into **10 equal sections** (each representing 10%).
34
+ - Shade in **6 sections** to represent Orrin’s 60%.
35
 
36
+ Does this setup make sense to you?"
37
  """
38
 
39
  elif step == 3:
40
  return """πŸ”Ή **Hint 2:**
41
+ "Now, let’s determine the value of one part.
42
+ - Since 6 sections represent **$1,500**, we divide:
43
  \\[
44
  \\text{Value of 1 part} = \\frac{1500}{6}
45
  \\]
 
57
 
58
  elif step == 5:
59
  return """βœ… **Solution:**
60
+ "Nice work! You found that **1 part = $250**.
61
  Now, multiplying by **10**:
62
  \\[
63
  \\text{Total Investment} = 250 \\times 10 = 2500
 
72
 
73
  elif step == 6:
74
  return """πŸš€ **Step 2: Solve Using a Double Number Line**
75
+ "How can a **double number line** help solve this problem?"
 
76
 
77
+ πŸ’‘ **OK! Let's hear your ideas first.**
78
+ - "What should the two number lines represent?"
79
+ - "What key points should we label on the number lines?"
80
+ - "How can we use this to find the total investment?"
81
 
82
+ πŸ”Ή **Try before I give hints!**
83
  """
84
 
85
  elif step == 7:
86
  return """πŸ”Ή **Hint 1:**
87
+ "Start by labeling the number lines:
88
+ - One represents **percentages**: **0%, 60%, and 100%**.
89
+ - The other represents **dollars**: **$0, $1,500, and the total investment**.
 
90
 
91
+ What values go in between?"
92
  """
93
 
94
  elif step == 8:
95
  return """πŸ”Ή **Hint 2:**
96
+ "Now, divide $1,500 by 6 to find 10%:
97
  \\[
98
+ \\text{Value of 10\\%} = \\frac{1500}{6} = 250
99
  \\]
100
+ Align this with **10% on the number line.**
101
+ Now, what is the value at 100%?"
102
  """
103
 
104
  elif step == 9:
105
  return """βœ… **Solution:**
106
+ "Now that we’ve aligned the values:
107
+ - 10% = **$250**
108
+ - 100% = **$2500**
109
+
110
+ So, the total investment is **$2,500!**
111
 
112
  πŸ’‘ **Reflection:**
113
+ - "How does this method compare to the bar model?"
114
+ - "Would this approach help students struggling with percentages?"
115
+ πŸš€ "Now, let's try solving with an **equation!**"
116
  """
117
 
118
  elif step == 10:
119
  return """πŸš€ **Step 3: Solve Using an Equation**
120
+ "How can we set up an **equation** to represent this problem?"
 
121
 
122
+ πŸ’‘ **OK! Let's hear your ideas first.**
123
+ - "What proportional relationship can we write?"
124
+ - "How can we express 60% mathematically?"
125
+ - "What unknown are we solving for?"
126
 
127
+ πŸ”Ή **Try setting up the equation before I provide hints!**
128
  """
129
 
130
  elif step == 11:
131
  return """πŸ”Ή **Hint 1:**
132
+ "Write the relationship as a proportion:
133
  \\[
134
  \\frac{60}{100} = \\frac{1500}{x}
135
  \\]
136
+ How can we solve for \\(x\\)?"
137
  """
138
 
139
  elif step == 12:
140
+ return """πŸ”Ή **Hint 2:**
141
+ "Use **cross-multiplication**:
142
  \\[
143
  60x = 1500 \\times 100
144
  \\]
145
+ Now divide both sides by 60. What do you get?"
146
+ """
147
+
148
+ elif step == 13:
149
+ return """βœ… **Solution:**
150
+ "Nice work! Solving the equation:
151
  \\[
152
  x = \\frac{1500 \\times 100}{60} = 2500
153
  \\]
154
+ So, the total investment is **$2,500!**
155
 
156
  πŸ’‘ **Reflection:**
157
+ - "Which method do you prefer: Bar Model, Double Number Line, or Equation?"
158
+ - "How can we help students connect all three approaches?"
159
+ πŸš€ "Now, let’s reflect on the **Common Core practices** we used."
160
  """
161
 
162
+ elif step == 14:
163
+ return """πŸ“Œ **Common Core Standards Discussion**
164
+ "Great job! Let’s reflect on how this connects to teaching strategies."
165
 
166
  πŸ”Ή **Which Common Core Standards did we cover?**
167
  - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
 
169
  - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
170
  - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
171
 
172
+ πŸ’‘ "Which of these standards do you think applied most? Why?"
173
  """
174
 
175
+ elif step == 15:
176
  return """πŸ“Œ **Creativity-Directed Practices Discussion**
177
+ "Throughout this module, we engaged in creativity-directed strategies, such as:
178
+ βœ… Using multiple solution methods
179
+ βœ… Encouraging deep reasoning
180
+ βœ… Connecting visual and numerical representations
181
 
182
+ πŸ’‘ "How do these strategies help students build deeper understanding?"
183
+ πŸš€ "Now, let’s create your own problem!"
 
 
 
 
 
 
184
  """
185
 
186
  return "πŸŽ‰ **You've completed the module! Would you like to review anything again?**"