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

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +48 -48
prompts/main_prompt.py CHANGED
@@ -6,80 +6,83 @@ Your task is to **solve a problem using different representations** and connect
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
- \\]
46
- What do you get?"
47
  """
48
 
49
  elif step == 4:
50
- return """πŸ”Ή **Hint 3:**
51
- "Now that we know the value of **one part**, we can find the total investment by multiplying by 10:
52
  \\[
53
- \\text{Total Investment} = \\text{Value of 1 part} \\times 10
54
  \\]
55
- Can you calculate and explain your answer?"
56
  """
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
64
  \\]
65
  So, the total investment by Orrin and Damen together is **$2,500.**"
66
 
67
  πŸ’‘ **Reflection:**
68
- - "How does this visual help in understanding the problem?"
69
- - "Would this be useful for students struggling with percentages?"
70
- πŸš€ "Now, let's solve this problem using a **double number line!**"
71
  """
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:
@@ -93,7 +96,7 @@ What values go in between?"
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
  \\]
@@ -111,16 +114,14 @@ 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
 
@@ -147,7 +148,7 @@ Now divide both sides by 60. What do you get?"
147
 
148
  elif step == 13:
149
  return """βœ… **Solution:**
150
- "Nice work! Solving the equation:
151
  \\[
152
  x = \\frac{1500 \\times 100}{60} = 2500
153
  \\]
@@ -155,7 +156,6 @@ 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
 
 
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
 
10
+ βœ… **Choose a method to solve:**
11
+ 1️⃣ **Bar Model**
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):
20
  if step == 1:
21
+ return """πŸš€ **Step 1: Choose Your Method**
22
+ "Which method would you like to use to solve this problem?"
23
 
24
+ πŸ’‘ **Select one method:**
25
+ - **Bar Model**
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:
 
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
  \\]
 
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
 
 
148
 
149
  elif step == 13:
150
  return """βœ… **Solution:**
151
+ "Great job! Solving the equation:
152
  \\[
153
  x = \\frac{1500 \\times 100}{60} = 2500
154
  \\]
 
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