alibicer commited on
Commit
a6aa6d1
·
verified ·
1 Parent(s): 6b0b3a5

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +82 -76
prompts/main_prompt.py CHANGED
@@ -20,11 +20,11 @@ Orrin invests **$1,500**, which is **60%** of their total investment.
20
 
21
  BAR_MODEL_PROMPT = """
22
  ### 🚀 **Solving with a Bar Model**
23
- Great choice! A bar model is a helpful way to visualize proportional relationships.
24
 
25
  🔹 **Before I provide guidance, try solving the problem using a bar model.**
26
- 💡 **How do you plan to use the bar model to find the total investment?**
27
- - How will you represent 100% of the investment?
28
  - How will you show Orrin’s 60% investment?
29
  - What steps will you take to find the total amount?
30
 
@@ -32,37 +32,38 @@ Great choice! A bar model is a helpful way to visualize proportional relationshi
32
  """
33
 
34
  BAR_MODEL_HINTS = """
35
- 🔹 **If you're unsure or need help, let’s work through it step by step.**
36
-
37
- **Step 1: Setting Up the Bar Model**
38
- - Draw a horizontal bar representing **100% of the total investment**.
39
- - Divide it into **10 equal parts**, where each part represents **10% of the total**.
40
- - Shade in **6 parts** (since Orrin’s $1,500 represents 60%).
41
-
42
- **Step 2: Finding the Value of One Part**
43
- - Since 60% corresponds to $1,500, divide by **6** to find 10%:
44
- \[
45
- \frac{1500}{6} = 250
46
- \]
47
- - Multiply by **10** to get 100% (the total investment):
48
- \[
49
- 250 \times 10 = 2500
50
- \]
51
-
52
- **Step 3: Interpret the Bar Model**
53
- - The **total bar** represents **$2,500**.
54
- - The **first segment (60%)** is Orrin’s **$1,500**.
55
- - The **remaining segment (40%)** represents Damen’s investment.
56
-
57
- 🔹 **Would you like to check your reasoning or explore another method?**
 
58
  """
59
 
60
  DOUBLE_NUMBER_LINE_PROMPT = """
61
  ### 🚀 **Solving with a Double Number Line**
62
- Great choice! A double number line is a great way to compare proportional relationships visually.
63
 
64
- 🔹 **Before I provide guidance, try setting up a double number line to solve the problem.**
65
- 💡 **How would you arrange the number line?**
66
  - What values will you place on the top and bottom lines?
67
  - How will you determine the missing total investment?
68
 
@@ -70,35 +71,35 @@ Great choice! A double number line is a great way to compare proportional relati
70
  """
71
 
72
  DOUBLE_NUMBER_LINE_HINTS = """
73
- 🔹 **If you're unsure or need help, let’s work through it step by step.**
74
-
75
- **Step 1: Setting Up the Double Number Line**
76
- - Draw two parallel number lines.
77
- - Label one line for **percentages** (0%, 10%, 20%, …, 100%).
78
- - Label the other line for **money values** ($0, ?, ?, …, Total).
79
-
80
- **Step 2: Placing Known Values**
81
- - Since **60% = $1,500**, mark **60% under the percentage line** and **$1,500 under the money line**.
82
-
83
- **Step 3: Finding 10% and 100%**
84
- - Divide **$1,500 by 6** to find **10%**:
85
- \[
86
- 1500 \div 6 = 250
87
- \]
88
- - Multiply **$250 by 10** to get **100%**:
89
- \[
90
- 250 \times 10 = 2500
91
- \]
92
-
93
- **Step 4: Interpret the Number Line**
94
- - **100% = $2,500**, which is the total investment.
95
-
96
- 🔹 **Does this method make sense to you? Would you like to try solving another way?**
97
  """
98
 
99
  EQUATION_PROMPT = """
100
  ### 🚀 **Solving with an Equation**
101
- Great choice! Using an equation is a powerful way to solve proportional problems.
102
 
103
  🔹 **Before I provide guidance, try setting up an equation to solve the problem.**
104
  💡 **How would you represent the relationship between 60% and $1,500?**
@@ -109,28 +110,32 @@ Great choice! Using an equation is a powerful way to solve proportional problems
109
  """
110
 
111
  EQUATION_HINTS = """
112
- 🔹 **If you're unsure or need help, let’s work through it step by step.**
113
-
114
- **Step 1: Set Up the Equation**
115
- - Since 60% of the total investment is $1,500, write the equation:
116
- \[
117
- 0.6 \times x = 1500
118
- \]
119
-
120
- **Step 2: Solve for \( x \)**
121
- - Divide both sides by 0.6:
122
- \[
123
- x = \frac{1500}{0.6}
124
- \]
125
- - Compute the result:
126
- \[
127
- x = 2500
128
- \]
129
-
130
- **Step 3: Interpret the Solution**
131
- - The **total investment** is **$2,500**.
132
-
133
- 🔹 **Would you like to check your reasoning or explore another method?**
 
 
 
 
134
  """
135
 
136
  REFLECTION_PROMPT = """
@@ -141,6 +146,7 @@ Great job! Let’s take a moment to reflect on the strategies used.
141
  🔹 **How do these models help students understand proportional relationships?**
142
  🔹 **When might one representation be more useful than another?**
143
 
 
144
  Now, try creating your own problem involving percentages and proportional reasoning.
145
 
146
  🔹 **What real-world context will you use (e.g., discounts, savings, recipes)?**
 
20
 
21
  BAR_MODEL_PROMPT = """
22
  ### 🚀 **Solving with a Bar Model**
23
+ Great choice! A bar model is a useful way to represent proportional relationships visually.
24
 
25
  🔹 **Before I provide guidance, try solving the problem using a bar model.**
26
+ 💡 **How do you plan to approach it?**
27
+ - How will you represent the total investment?
28
  - How will you show Orrin’s 60% investment?
29
  - What steps will you take to find the total amount?
30
 
 
32
  """
33
 
34
  BAR_MODEL_HINTS = """
35
+ 🔹 **If youre unsure, here are some questions to guide your thinking:**
36
+ 1️⃣ How many total parts will your bar be divided into?
37
+ 2️⃣ If 60% of the bar equals $1,500, how can you use that to find 100%?
38
+ 3️⃣ What mathematical operations will help you determine the total?
39
+
40
+ 🔹 **If you need more help, I can walk you through it step by step. Let me know!**
41
+ """
42
+
43
+ BAR_MODEL_SOLUTION = """
44
+ 🔹 **Let’s go through the process together.**
45
+
46
+ 1️⃣ Divide the bar into **10 equal parts** (since 100% is split into 10×10%).
47
+ 2️⃣ Shade in **6 parts** to represent Orrin’s **60% investment** of **$1,500**.
48
+ 3️⃣ Find the value of **1 part** (10%) by dividing:
49
+ \[
50
+ 1500 \div 6 = 250
51
+ \]
52
+ 4️⃣ Multiply to find 100%:
53
+ \[
54
+ 250 \times 10 = 2500
55
+ \]
56
+ 5️⃣ **Total Investment = $2,500**
57
+
58
+ 💡 **Does this method make sense to you? Would you like to check your reasoning or explore another approach?**
59
  """
60
 
61
  DOUBLE_NUMBER_LINE_PROMPT = """
62
  ### 🚀 **Solving with a Double Number Line**
63
+ Great choice! A double number line is another way to visualize proportional relationships.
64
 
65
+ 🔹 **Before I provide guidance, try setting up a double number line.**
66
+ 💡 **How will you set it up?**
67
  - What values will you place on the top and bottom lines?
68
  - How will you determine the missing total investment?
69
 
 
71
  """
72
 
73
  DOUBLE_NUMBER_LINE_HINTS = """
74
+ 🔹 **If you're unsure, consider these questions:**
75
+ 1️⃣ How can you represent **percentages** on the number line?
76
+ 2️⃣ Where will you place **60%** and **$1,500**?
77
+ 3️⃣ How can you use that information to determine **100%**?
78
+
79
+ 🔹 **If you need more guidance, I can walk you through the process step by step. Let me know!**
80
+ """
81
+
82
+ DOUBLE_NUMBER_LINE_SOLUTION = """
83
+ 🔹 **Let’s go through the solution together.**
84
+
85
+ 1️⃣ Draw **two parallel number lines**—one for **percentages** (0%, 10%, 20%, …, 100%) and one for **dollars** ($0, ?, ?, …, Total).
86
+ 2️⃣ Place **60% under percentages** and **$1,500 under dollars**.
87
+ 3️⃣ Find the value of **10%** by dividing:
88
+ \[
89
+ 1500 \div 6 = 250
90
+ \]
91
+ 4️⃣ Multiply by **10** to find 100%:
92
+ \[
93
+ 250 \times 10 = 2500
94
+ \]
95
+ 5️⃣ **Total Investment = $2,500**
96
+
97
+ 💡 **Does this solution make sense? Would you like to check your reasoning or try another method?**
98
  """
99
 
100
  EQUATION_PROMPT = """
101
  ### 🚀 **Solving with an Equation**
102
+ Great choice! Using an equation is a great way to set up proportional reasoning problems.
103
 
104
  🔹 **Before I provide guidance, try setting up an equation to solve the problem.**
105
  💡 **How would you represent the relationship between 60% and $1,500?**
 
110
  """
111
 
112
  EQUATION_HINTS = """
113
+ 🔹 **If youre unsure, here are some guiding questions:**
114
+ 1️⃣ How can you express **60%** as a decimal or fraction?
115
+ 2️⃣ How do you relate **60% and $1,500** using an equation?
116
+ 3️⃣ What mathematical operations will help you solve for the total?
117
+
118
+ 🔹 **If you need further help, I can break it down step by step. Let me know!**
119
+ """
120
+
121
+ EQUATION_SOLUTION = """
122
+ 🔹 **Let’s work through the solution together.**
123
+
124
+ 1️⃣ Write the equation:
125
+ \[
126
+ 0.6 \times x = 1500
127
+ \]
128
+ 2️⃣ Solve for **x** by dividing both sides by **0.6**:
129
+ \[
130
+ x = 1500 \div 0.6
131
+ \]
132
+ 3️⃣ Compute the total investment:
133
+ \[
134
+ x = 2500
135
+ \]
136
+ 4️⃣ **Total Investment = $2,500**
137
+
138
+ 💡 **Would you like to discuss this further or explore another approach?**
139
  """
140
 
141
  REFLECTION_PROMPT = """
 
146
  🔹 **How do these models help students understand proportional relationships?**
147
  🔹 **When might one representation be more useful than another?**
148
 
149
+ ### **📌 Problem Posing Activity**
150
  Now, try creating your own problem involving percentages and proportional reasoning.
151
 
152
  🔹 **What real-world context will you use (e.g., discounts, savings, recipes)?**