alibicer commited on
Commit
ecf40b2
Β·
verified Β·
1 Parent(s): 343c514

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +61 -83
prompts/main_prompt.py CHANGED
@@ -12,8 +12,8 @@ Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests
12
  2️⃣ **Double Number Line**
13
  3️⃣ **Equations**
14
 
15
- πŸ’‘ **Explain your thought process before I provide any hints!**
16
- πŸš€ **Let’s begin! Which method would you like to use first?**
17
  """
18
 
19
  def next_step(step):
@@ -26,140 +26,118 @@ def next_step(step):
26
  - **Double Number Line**
27
  - **Equation**
28
 
29
- πŸ”Ή **Once you choose a method, explain your approach first.**
30
- πŸ”Ή **Try your best before I provide guidance!**
31
  """
32
 
33
  elif step == 2:
34
  return """πŸš€ **Step 2: Solve Using a Bar Model**
35
- "Great choice! Let's use a bar model to visualize the problem."
36
 
37
- πŸ’‘ **How do you think a bar model can help?**
38
- - "How will you divide the bar to represent percentages?"
39
- - "What should each section represent?"
40
- - "How will you calculate the total investment?"
41
 
42
  πŸ”Ή **Explain your reasoning before I provide hints!**
43
  """
44
 
45
  elif step == 3:
46
- return """πŸ”Ή **Hint 1:**
47
- "Try drawing a **bar representing 100% of the total investment**.
48
- - Since 60% = **$1,500**, divide the bar into **10 equal sections** (each representing 10%).
49
- - Shade in **6 sections** to represent Orrin’s 60%.
 
50
 
51
- Does this setup make sense?"
52
  """
53
 
54
  elif step == 4:
55
- return """πŸ”Ή **Hint 2:**
56
- "Now, find the value of **1 part** by dividing **$1,500 by 6**:
 
57
  \\[
58
- \\text{Value of 1 part} = \\frac{1500}{6} = 250
59
  \\]
60
- What is the total investment?"
61
- """
62
-
63
- elif step == 5:
64
- return """βœ… **Solution:**
65
- "Great job! Since **1 part = $250**, multiplying by **10** gives:
66
  \\[
67
  \\text{Total Investment} = 250 \\times 10 = 2500
68
  \\]
69
- So, the total investment by Orrin and Damen together is **$2,500.**"
70
 
71
  πŸ’‘ **Reflection:**
72
- - "How did the bar model help in understanding this problem?"
73
- πŸš€ "Would you like to try another method, such as a **double number line**?"
74
  """
75
 
76
- elif step == 6:
77
  return """πŸš€ **Step 3: Solve Using a Double Number Line**
78
- "Now, let's try solving this using a **double number line**."
79
 
80
- πŸ’‘ **Before I provide hints, explain your approach:**
81
- - "How will you set up the two number lines?"
82
- - "What key points should be labeled?"
83
- - "How can you use it to find the total investment?"
84
 
85
- πŸ”Ή **Think about it and explain before I provide guidance!**
86
  """
87
 
88
- elif step == 7:
89
- return """πŸ”Ή **Hint 1:**
90
- "Start by labeling the number lines:
91
- - One represents **percentages**: **0%, 60%, and 100%**.
92
- - The other represents **dollars**: **$0, $1,500, and the total investment**.
93
-
94
- What values go in between?"
95
- """
96
 
97
- elif step == 8:
98
- return """πŸ”Ή **Hint 2:**
99
- "Now, divide $1,500 by 6 to find **10%**:
100
- \\[
101
- \\text{Value of 10\\%} = \\frac{1500}{6} = 250
102
- \\]
103
- Align this with **10% on the number line.**
104
- Now, what is the value at 100%?"
105
  """
106
 
107
- elif step == 9:
108
- return """βœ… **Solution:**
109
- "Now that we’ve aligned the values:
110
- - 10% = **$250**
111
- - 100% = **$2500**
112
-
113
- So, the total investment is **$2,500!**
114
 
115
  πŸ’‘ **Reflection:**
116
  - "How does this method compare to the bar model?"
117
- πŸš€ "Would you like to try solving with an **equation**?"
118
  """
119
 
120
- elif step == 10:
121
  return """πŸš€ **Step 4: Solve Using an Equation**
122
- "Now, let's try setting up an **equation** to represent the problem."
123
 
124
- πŸ’‘ **Before I provide hints, explain your approach:**
125
- - "How can we express 60% mathematically?"
126
- - "What unknown are we solving for?"
127
 
128
- πŸ”Ή **Try setting up the equation before I provide hints!**
129
  """
130
 
131
- elif step == 11:
132
- return """πŸ”Ή **Hint 1:**
133
- "Write the relationship as a proportion:
134
  \\[
135
  \\frac{60}{100} = \\frac{1500}{x}
136
  \\]
137
- How can we solve for \\(x\\)?"
 
 
138
  """
139
 
140
- elif step == 12:
141
- return """πŸ”Ή **Hint 2:**
142
- "Use **cross-multiplication**:
 
143
  \\[
144
  60x = 1500 \\times 100
145
  \\]
146
- Now divide both sides by 60. What do you get?"
147
- """
148
-
149
- elif step == 13:
150
- return """βœ… **Solution:**
151
- "Great job! Solving the equation:
152
  \\[
153
- x = \\frac{1500 \\times 100}{60} = 2500
154
  \\]
155
- So, the total investment is **$2,500!**
156
 
157
  πŸ’‘ **Reflection:**
158
- - "Which method do you prefer: Bar Model, Double Number Line, or Equation?"
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
 
@@ -169,10 +147,10 @@ So, the total investment is **$2,500!**
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
 
12
  2️⃣ **Double Number Line**
13
  3️⃣ **Equations**
14
 
15
+ πŸ’‘ **Try solving the problem first before I provide guidance!**
16
+ πŸš€ **Which method would you like to use first?**
17
  """
18
 
19
  def next_step(step):
 
26
  - **Double Number Line**
27
  - **Equation**
28
 
29
+ πŸ”Ή **Try your best first. I won’t provide hints until you attempt a solution!**
 
30
  """
31
 
32
  elif step == 2:
33
  return """πŸš€ **Step 2: Solve Using a Bar Model**
34
+ "Great choice! Let’s use a bar model to represent the problem visually."
35
 
36
+ πŸ’‘ **Give it a try:**
37
+ - "How would you divide the bar to represent percentages?"
38
+ - "How will you use this to find the total investment?"
 
39
 
40
  πŸ”Ή **Explain your reasoning before I provide hints!**
41
  """
42
 
43
  elif step == 3:
44
+ return """πŸ€” **Do you need a hint?**
45
+ If you're stuck, try this:
46
+ - **Step 1:** Draw a bar divided into **10 equal parts** (each representing 10%).
47
+ - **Step 2:** Since **60% = $1,500**, shade in 6 parts of the bar.
48
+ - **Step 3:** How much is **1 part** worth?
49
 
50
+ πŸ’‘ **Take a moment to think and let me know your reasoning.**
51
  """
52
 
53
  elif step == 4:
54
+ return """βœ… **Solution Explanation:**
55
+ "Great effort! Here’s the correct approach using a bar model:"
56
+ - Each 10% part of the bar represents **$250** because:
57
  \\[
58
+ \\frac{1500}{6} = 250
59
  \\]
60
+ - Since **100% = 10 parts**, multiplying by 10 gives:
 
 
 
 
 
61
  \\[
62
  \\text{Total Investment} = 250 \\times 10 = 2500
63
  \\]
 
64
 
65
  πŸ’‘ **Reflection:**
66
+ - "How did the bar model help your understanding?"
67
+ πŸš€ **Would you like to try another method, such as a Double Number Line?**
68
  """
69
 
70
+ elif step == 5:
71
  return """πŸš€ **Step 3: Solve Using a Double Number Line**
72
+ "Now, let’s try solving using a **double number line**."
73
 
74
+ πŸ’‘ **Your turn to think:**
75
+ - "How would you label the number lines?"
76
+ - "What values go in between?"
 
77
 
78
+ πŸ”Ή **Try solving first before I provide hints!**
79
  """
80
 
81
+ elif step == 6:
82
+ return """πŸ€” **Do you need help?**
83
+ - **Step 1:** One number line represents **percentages** (0%, 60%, 100%).
84
+ - **Step 2:** The other represents **dollars** ($0, $1,500, total investment).
85
+ - **Step 3:** Find the value of **10%** by dividing **$1,500 by 6**.
 
 
 
86
 
87
+ πŸ’‘ **What do you think the total investment is?**
 
 
 
 
 
 
 
88
  """
89
 
90
+ elif step == 7:
91
+ return """βœ… **Solution Explanation:**
92
+ "Let’s confirm the answer using a double number line:"
93
+ - **10% = $250**
94
+ - **100% = $2,500**
 
 
95
 
96
  πŸ’‘ **Reflection:**
97
  - "How does this method compare to the bar model?"
98
+ πŸš€ **Would you like to try solving with an **equation**?"
99
  """
100
 
101
+ elif step == 8:
102
  return """πŸš€ **Step 4: Solve Using an Equation**
103
+ "Now, let’s try setting up an equation to solve this problem."
104
 
105
+ πŸ’‘ **Your turn first:**
106
+ - "How would you express 60% mathematically?"
107
+ - "How will you set up the equation?"
108
 
109
+ πŸ”Ή **Try writing your equation before I guide you!**
110
  """
111
 
112
+ elif step == 9:
113
+ return """πŸ€” **Do you need a hint?**
114
+ - Set up the proportion:
115
  \\[
116
  \\frac{60}{100} = \\frac{1500}{x}
117
  \\]
118
+ - Solve for \\(x\\) using cross-multiplication.
119
+
120
+ πŸ’‘ **What do you get?**
121
  """
122
 
123
+ elif step == 10:
124
+ return """βœ… **Solution Explanation:**
125
+ "Let’s solve step by step:"
126
+ - Using cross-multiplication:
127
  \\[
128
  60x = 1500 \\times 100
129
  \\]
130
+ - Divide both sides by **60**:
 
 
 
 
 
131
  \\[
132
+ x = 2500
133
  \\]
 
134
 
135
  πŸ’‘ **Reflection:**
136
+ - "Which methodβ€”Bar Model, Double Number Line, or Equationβ€”helped you most?"
137
+ πŸš€ **Now, let’s reflect on the **Common Core practices** we used.**
138
  """
139
 
140
+ elif step == 11:
141
  return """πŸ“Œ **Common Core Standards Discussion**
142
  "Great job! Let’s reflect on how this connects to teaching strategies."
143
 
 
147
  - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
148
  - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
149
 
150
+ πŸ’‘ **Which of these standards do you think applied most? Why?**
151
  """
152
 
153
+ elif step == 12:
154
  return """πŸ“Œ **Creativity-Directed Practices Discussion**
155
  "Throughout this module, we engaged in creativity-directed strategies, such as:
156
  βœ… Using multiple solution methods