alibicer commited on
Commit
216ea1f
ยท
verified ยท
1 Parent(s): 6ad188b

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +138 -136
prompts/main_prompt.py CHANGED
@@ -1,176 +1,178 @@
1
  MAIN_PROMPT = """
2
- ### **Module 4: Proportional Thinking with Percentages**
3
- "Welcome to this module on **proportional reasoning with percentages**!
4
- Your goal is to solve a real-world problem using **different representations** and connect proportional relationships 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
 
10
- ๐Ÿš€ **Choose a method to solve:**
 
 
 
 
 
11
  1๏ธโƒฃ **Bar Model**
12
  2๏ธโƒฃ **Double Number Line**
13
- 3๏ธโƒฃ **Equations**
14
-
15
- ๐Ÿ’ก **Try solving the problem on your own before I provide guidance!**
16
- ๐Ÿš€ **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:**
25
- - **Bar Model**
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: Bar Model**
34
- "Great choice! Letโ€™s use a **bar model**."
35
 
36
- ๐Ÿ’ก **First, describe how you would approach this problem using a bar model.**
37
- - "How would you divide the bar to represent percentages?"
38
- - "What part of the bar represents Orrinโ€™s investment?"
39
- - "How would you use this to find the total investment?"
40
 
41
- ๐Ÿ”น **Explain your reasoning before I provide any guidance.**
42
- """
 
 
 
 
 
 
 
43
 
44
- elif step == 3:
45
- return """๐Ÿค” **Would you like a hint?**
46
- ๐Ÿ’ก **Before I provide guidance, try answering these:**
47
- - **How can you divide the bar into equal parts?**
48
- - **If 60% is $1,500, how much would 10% be?**
49
 
50
- ๐Ÿ”น **Try calculating and let me know your reasoning.**
51
  """
52
 
53
- elif step == 4:
54
- return """โœ… **Letโ€™s go through the bar model together.**
55
-
56
- ๐Ÿ“Œ **Bar Model Representation**
57
- Understanding the Problem:
58
- - Orrin invests **$1,500**, which is **60%** of the total investment.
59
- - We need to find **100% of the total investment**.
60
-
61
- ๐Ÿ“Œ **Setting Up the Bar Model**
62
- - Draw a **horizontal bar** and divide it into **10 equal parts**.
63
- - Shade **6 parts** to represent Orrinโ€™s 60% ($1,500).
64
- - The remaining **4 parts** represent Damenโ€™s investment (40%).
65
-
66
- ๐Ÿ“Œ **Calculating the Total Investment**
67
- Since Orrinโ€™s $1,500 represents **60%**, we can set up the proportion:
68
- \\[
69
- \\text{Total Investment} = \\frac{1500}{0.6}
70
- \\]
71
- Solving for total investment:
72
- \\[
73
- \\text{Total Investment} = 2500
74
- \\]
75
-
76
- ๐Ÿ“Œ **Conclusion:**
77
- The total investment made by Orrin and Damen together is **$2,500**.
78
-
79
- ๐Ÿ’ก **Reflection:**
80
- - "How did the bar model help your understanding?"
81
- ๐Ÿš€ **Would you like to try another method, such as a Double Number Line?**
82
  """
83
 
84
- elif step == 5:
85
- return """๐Ÿš€ **Step 3: Double Number Line**
86
- "Now, letโ€™s try solving using a **double number line**."
87
 
88
- ๐Ÿ’ก **Your turn first:**
89
- - "How would you set up the number lines?"
90
- - "What values should go at 0%, 60%, and 100%?"
 
91
 
92
- ๐Ÿ”น **Try setting up the number line first before I provide hints!**
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  """
94
 
95
- elif step == 6:
96
- return """๐Ÿค” **Need a hint?**
97
- - **Step 1:** One number line represents **percentages** (0%, 60%, 100%).
98
- - **Step 2:** The other represents **dollars** ($0, $1,500, total investment).
99
- - **Step 3:** Find the value of **10%** by dividing **$1,500 by 6**.
100
 
101
- ๐Ÿ’ก **What do you think the total investment is?**
 
 
 
 
 
102
  """
103
 
104
- elif step == 7:
105
- return """โœ… **Solution Using Double Number Line**
106
- ๐Ÿ“Œ **Double Number Line Representation**
107
- - Mark key points on two parallel lines:
108
- - **0%, 60%, 100%** on one line.
109
- - **$0, $1,500, and Total Investment** on the other.
110
- - Since **$1,500 represents 60%**, divide by **6** to get **10% = $250**.
111
- - Multiply by **10** to get **100% = $2,500**.
112
-
113
- ๐Ÿ“Œ **Conclusion:**
114
- The total investment is **$2,500**.
115
-
116
- ๐Ÿ’ก **Reflection:**
117
- - "How does this method compare to the bar model?"
118
- ๐Ÿš€ **Would you like to try solving with an **equation**?"
 
 
 
 
119
  """
120
 
121
- elif step == 8:
122
- return """๐Ÿš€ **Step 4: Equation Method**
123
- "Now, letโ€™s try setting up an equation to solve this problem."
124
 
125
- ๐Ÿ’ก **Your turn first:**
126
- - "How would you express 60% mathematically?"
127
- - "How will you set up the equation?"
128
 
129
- ๐Ÿ”น **Try writing your equation before I guide you!**
130
  """
131
 
132
- elif step == 9:
133
- return """๐Ÿค” **Would you like a hint?**
134
- - Set up the proportion:
135
- \\[
136
- \\frac{60}{100} = \\frac{1500}{x}
137
- \\]
138
- - Solve for \\(x\\) using cross-multiplication.
 
 
139
 
140
- ๐Ÿ’ก **What do you get?**
141
  """
142
 
143
- elif step == 10:
144
- return """โœ… **Solution Using an Equation**
145
- ๐Ÿ“Œ **Equation Representation**
146
- Using a proportion:
147
- \\[
148
- \\frac{60}{100} = \\frac{1500}{x}
149
- \\]
150
- Cross-multiply:
151
- \\[
152
- 60x = 1500 \\times 100
153
- \\]
154
- Divide both sides by **60**:
155
- \\[
156
- x = 2500
157
- \\]
158
-
159
- ๐Ÿ“Œ **Conclusion:**
160
- The total investment is **$2,500**.
161
-
162
- ๐Ÿ’ก **Reflection:**
163
- - "Which methodโ€”Bar Model, Double Number Line, or Equationโ€”helped you most?"
164
- ๐Ÿš€ **Now, letโ€™s reflect on the **Common Core practices** we used.**
165
  """
166
 
167
- ---
 
 
168
 
169
- ### ๐Ÿš€ **FIXED VERSION NOW ENSURES:**
170
- โœ… **AI asks teachers to explain their reasoning before helping.**
171
- โœ… **AI does NOT immediately teach or provide solutions.**
172
- โœ… **If the teacher struggles, AI gives gradual hints instead of answers.**
173
- โœ… **Math symbols are correct.**
174
- โœ… **Common Core and creativity-directed discussions included.**
175
 
176
- This version ensures teachers **actively engage in reasoning** instead of passively receiving solutions. Let me know if any **further refinements** are needed! ๐Ÿ˜Š
 
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 task is to solve the following problem using different representations and connect the proportional relationship to the meaning of the problem."
6
 
7
+ **Problem Statement:**
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.
9
+ **How much do Orrin and Damen invest together?**
10
 
11
+ Solve the problem using **any representation** (e.g., **bar model, double number line, or equations**).
12
+ ๐Ÿ’ก **Before I help, I encourage you to explain your reasoning first.**
13
+
14
+ ---
15
+ ### ๐Ÿš€ **Choose a Representation**
16
+ "Which method would you like to use first?"
17
  1๏ธโƒฃ **Bar Model**
18
  2๏ธโƒฃ **Double Number Line**
19
+ 3๏ธโƒฃ **Equation and Proportional Relationship**
20
+ ---
 
 
21
  """
22
 
23
+ BAR_MODEL_PROMPT = """
24
+ ### ๐Ÿš€ **Solving with a Bar Model**
25
+ Great! Youโ€™ve chosen the **bar model** approach.
26
+
27
+ ๐Ÿ”น **Before I provide hints, please explain how you plan to solve it using a bar model.**
28
 
29
+ ๐Ÿ’ก **Some guiding questions to consider:**
30
+ - How can you represent 100% of the total investment using a bar?
31
+ - How would you divide the bar into proportional parts?
32
+ - How does Orrinโ€™s 60% investment fit into the model?
33
 
34
+ ๐Ÿ”น **Try explaining first! Then, if needed, I will guide you.**
35
  """
36
 
37
+ BAR_MODEL_HINTS = """
38
+ ๐Ÿ”น **If you're unsure, letโ€™s break it down step by step.**
 
39
 
40
+ **Step 1: Drawing the Bar Model**
41
+ - Draw a **horizontal bar** representing the total investment (100%).
42
+ - Divide the bar into **10 equal parts**, where each part represents **10%** of the total investment.
43
+ - Shade **6 parts** (since 60% = Orrinโ€™s $1,500).
44
 
45
+ **Step 2: Finding the Value of One Part**
46
+ - Since 60% corresponds to $1,500, we divide by **6** to find 10%:
47
+ \[
48
+ \frac{1500}{6} = 250
49
+ \]
50
+ - Multiply by **10** to get 100% (the total investment):
51
+ \[
52
+ 250 \times 10 = 2500
53
+ \]
54
 
55
+ **Step 3: Conclusion**
56
+ - The **total investment** made by Orrin and Damen together is **$2,500**.
 
 
 
57
 
58
+ ๐Ÿ’ก **Would you like to check your reasoning or explore another method?**
59
  """
60
 
61
+ DOUBLE_NUMBER_LINE_PROMPT = """
62
+ ### ๐Ÿš€ **Solving with a Double Number Line**
63
+ Great! Youโ€™ve chosen the **double number line** approach.
64
+
65
+ ๐Ÿ”น **Before I provide hints, please explain how you plan to set up the number line.**
66
+
67
+ ๐Ÿ’ก **Some guiding questions to consider:**
68
+ - How can you align percentages on one number line and dollars on another?
69
+ - What key values should you label (0%, 60%, 100%)?
70
+ - How can you use **10% steps** to find the total investment?
71
+
72
+ ๐Ÿ”น **Try explaining first! Then, if needed, I will guide you.**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  """
74
 
75
+ DOUBLE_NUMBER_LINE_HINTS = """
76
+ ๐Ÿ”น **If you're unsure, letโ€™s break it down step by step.**
 
77
 
78
+ **Step 1: Set Up the Double Number Line**
79
+ - One line represents **percentages** (0%, 10%, 20%, ..., 100%).
80
+ - The other line represents **money** ($0, ?, ?, ..., Total Investment).
81
+ - Label **60%** as $1,500.
82
 
83
+ **Step 2: Finding the Value of 10%**
84
+ - Divide **$1,500 by 6** to find **10%**:
85
+ \[
86
+ \frac{1500}{6} = 250
87
+ \]
88
+ - Extend the number line by adding increments of $250.
89
+
90
+ **Step 3: Find 100% (Total Investment)**
91
+ - Multiply by 10:
92
+ \[
93
+ 250 \times 10 = 2500
94
+ \]
95
+
96
+ ๐Ÿ’ก **Would you like to verify your work or explore another method?**
97
  """
98
 
99
+ EQUATION_PROMPT = """
100
+ ### ๐Ÿš€ **Solving with an Equation**
101
+ Great! Youโ€™ve chosen the **equation method**.
102
+
103
+ ๐Ÿ”น **Before I provide hints, please explain how you plan to set up the equation.**
104
 
105
+ ๐Ÿ’ก **Some guiding questions to consider:**
106
+ - How can you express 60% as a fraction or decimal?
107
+ - What equation represents the total investment?
108
+ - How do you solve for the unknown value?
109
+
110
+ ๐Ÿ”น **Try explaining first! Then, if needed, I will guide you.**
111
  """
112
 
113
+ EQUATION_HINTS = """
114
+ ๐Ÿ”น **If you're unsure, letโ€™s break it down step by step.**
115
+
116
+ **Step 1: Setting Up the Equation**
117
+ - Express **60% as a fraction**:
118
+ \[
119
+ 0.6 \times \text{Total Investment} = 1500
120
+ \]
121
+ - Solve for **Total Investment**:
122
+ \[
123
+ \text{Total Investment} = \frac{1500}{0.6}
124
+ \]
125
+
126
+ **Step 2: Solve for Total Investment**
127
+ \[
128
+ \frac{1500}{0.6} = 2500
129
+ \]
130
+
131
+ ๐Ÿ’ก **Would you like to check your work or try another representation?**
132
  """
133
 
134
+ REFLECTION_PROMPT = """
135
+ ### ๐Ÿ”น **Reflection & Discussion**
136
+ "Great work! Now, letโ€™s reflect on what we learned."
137
 
138
+ ๐Ÿ’ก **How did each method (bar model, number line, equation) help in solving the problem?**
139
+ ๐Ÿ’ก **Which method did you find the most intuitive? Why?**
140
+ ๐Ÿ’ก **How might different students benefit from different representations?**
141
 
142
+ ๐Ÿš€ **Letโ€™s connect this to teaching strategies!**
143
  """
144
 
145
+ COMMON_CORE_PROMPT = """
146
+ ### ๐Ÿ“Œ **Common Core Standards Discussion**
147
+ "Letโ€™s reflect on how this problem aligns with Common Core practices."
148
+
149
+ ๐Ÿ”น **Which Common Core Standards did we cover?**
150
+ - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world problems using proportional reasoning).
151
+ - **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships).
152
+ - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering).
153
+ - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics).
154
 
155
+ ๐Ÿ’ก **Which of these standards do you think applied most to the problem? Why?**
156
  """
157
 
158
+ CREATIVITY_DIRECTED_PROMPT = """
159
+ ### ๐Ÿ“Œ **Creativity-Directed Practices Discussion**
160
+ "Throughout this task, we engaged in creativity-directed strategies, such as:
161
+ โœ… Encouraging multiple solution methods.
162
+ โœ… Using real-world contexts.
163
+ โœ… Exploring connections between representations.
164
+
165
+ ๐Ÿ’ก **Which of these strategies did you find most effective?**
166
+ ๐Ÿ’ก **How do you think encouraging creativity helps students build deeper understanding?**
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  """
168
 
169
+ PROBLEM_POSING_PROMPT = """
170
+ ### ๐Ÿ“Œ **Problem-Posing Activity**
171
+ "Now, letโ€™s take it a step further! Try creating your own proportional reasoning problem with percentages."
172
 
173
+ ๐Ÿ’ก **Would you like to modify the ice cream shop problem or create something new?**
174
+ ๐Ÿ’ก **How can students solve your problem using multiple representations?**
175
+
176
+ ๐Ÿš€ **Once you're done, I can evaluate your problem and provide feedback!**
177
+ """
 
178