alibicer commited on
Commit
b1d645b
Β·
verified Β·
1 Parent(s): 0aad0f1

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +97 -102
prompts/main_prompt.py CHANGED
@@ -1,36 +1,27 @@
1
  MAIN_PROMPT = """
2
  ### **Module 4: Proportional Thinking with Percentages**
3
- #### **Task Introduction**
4
- "Welcome to this module on **proportional reasoning with percentages!**
5
- Today, we will explore how to use **bar models, double number lines, and equations** to solve percentage problems.
6
-
7
- πŸ’‘ **Your task is to solve the following problem using different representations.**
8
- πŸ’‘ **I will prompt you to think critically before offering hints.**
9
- πŸ’‘ **You will explain your reasoning step by step.**
10
- πŸš€ **Let’s begin!**"
11
-
12
- ---
13
- ### **πŸš€ Solve the Following Problem**
14
- πŸ“Œ **Problem:**
15
- "Orrin and Damen decided to invest money in a local ice cream shop.
16
- Orrin invests **$1,500**, which is **60%** of their total investment.
17
- How much do Orrin and Damen invest together?"
18
-
19
- πŸ’‘ **Before choosing a strategy, think about:**
20
- - "What does **60% of the total investment** mean in this situation?"
21
- - "What strategies might help visualize or solve this problem?"
22
-
23
- πŸ”Ή **Try solving it first. Let me know your initial thoughts!**
24
- ---
25
- """
26
 
27
- # βœ… **STEP 1: BAR MODEL REPRESENTATION**
 
28
  def bar_model_step(step):
29
  if step == 1:
30
  return """πŸš€ **Step 1: Solve Using a Bar Model**
31
  "A bar model is a great way to visualize proportions. How would you set it up for this problem?"
32
 
33
- πŸ’‘ **Before I give hints, think about:**
34
  - "How can we represent the **total investment** as a bar?"
35
  - "If 60% is **$1,500**, how many sections should the bar have?"
36
 
@@ -38,127 +29,131 @@ def bar_model_step(step):
38
  """
39
  elif step == 2:
40
  return """πŸ”Ή **Hint 1:**
41
- "Start by dividing the bar into **10 equal sections**, where each represents **10%** of the total.
42
- Since 60% is **$1,500**, how much does **each 10% section** represent?"
 
 
 
43
  """
44
  elif step == 3:
45
  return """πŸ”Ή **Hint 2:**
46
- "Divide **$1,500 by 6** to find **10%** of the total investment.
47
- Then, multiply by **10** to find **100%**."
 
 
 
48
  """
49
  elif step == 4:
50
  return """βœ… **Solution:**
51
- "$1,500 Γ· 6 = $250$ (for 10%)
52
- $250 Γ— 10 = $2,500$
53
- So, the total investment is **$2,500.**"
 
 
 
54
 
55
- πŸ’‘ "Does this make sense? How would you explain this to students?"
 
 
56
  πŸš€ "Now, let's solve this problem using a **double number line!**"
57
  """
58
-
59
- # βœ… **STEP 2: DOUBLE NUMBER LINE REPRESENTATION**
60
  def double_number_line_step(step):
61
  if step == 1:
62
- return """πŸš€ **Step 2: Solve Using a Double Number Line**
63
- "How might a **double number line** help in this situation?"
64
 
65
- πŸ’‘ **Think about:**
66
- - "If **60% = $1,500**, what are the missing values for **10%, 20%, and 100%**?"
67
- - "How would you label and align the values?"
68
 
69
- πŸ”Ή **Try setting up your number line before I provide hints!**
70
  """
71
  elif step == 2:
72
  return """πŸ”Ή **Hint 1:**
73
- "Start by labeling the number lines:
74
- - **Percentages:** 0%, 10%, 20%, 60%, 100%
75
- - **Dollars:** $0, ???, ???, $1,500, ???"
76
- "What values should go in the missing spots?"
77
  """
78
  elif step == 3:
79
  return """πŸ”Ή **Hint 2:**
80
- "Divide **$1,500 by 6** to get **10%** of the total.
81
- Align this value with the corresponding percentage."
 
82
  """
83
  elif step == 4:
84
  return """βœ… **Solution:**
85
- "The correct number line alignment:
86
- - **10% = $250**
87
- - **20% = $500**
88
- - **100% = $2,500**
 
89
 
90
- πŸ’‘ "How does this compare to the bar model?"
91
- πŸš€ "Now, let's solve it using an **equation!**"
 
 
92
  """
93
-
94
- # βœ… **STEP 3: EQUATION REPRESENTATION**
95
  def equation_step(step):
96
  if step == 1:
97
- return """πŸš€ **Step 3: Solve Using an Equation**
98
- "Can you set up an **equation** to represent the proportional relationship?"
99
 
100
- πŸ’‘ **Think about:**
101
- - "How can we express **60% as a fraction**?"
102
- - "What equation relates **$1,500 and x**?"
103
 
104
- πŸ”Ή **Try setting up the equation before I provide hints!**
105
  """
106
  elif step == 2:
107
  return """πŸ”Ή **Hint 1:**
108
- "Write the proportion as:
109
  \\[
110
- \\frac{60}{100} = \\frac{1,500}{x}
111
- \\]
112
- Now, solve for \\( x \\)."
113
  """
114
  elif step == 3:
115
  return """πŸ”Ή **Hint 2:**
116
- "Use **cross-multiplication** to find \\( x \\)."
 
 
 
 
117
  """
118
  elif step == 4:
119
  return """βœ… **Solution:**
 
120
  \\[
121
- 60x = 100(1,500)
122
- \\]
123
- \\[
124
- x = \\frac{150,000}{60} = 2,500
125
- \\]
126
- πŸ’‘ "How does this method compare to the others?"
127
- πŸš€ "Now, let’s reflect on what we’ve learned!"
128
- """
129
-
130
- # βœ… **REFLECTION & PROBLEM-POSING**
131
- REFLECTION_PROMPT = """
132
- πŸ“Œ **Common Core & Creativity-Directed Practices Discussion**
133
- "Great job! Now, let’s connect this to key teaching strategies."
134
 
135
- πŸ”Ή **Which Common Core Practices did we cover?**
136
- - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
137
- - **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
138
- - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
139
- - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
140
 
141
- πŸ’‘ "Which of these standards applied most to our problem? Why?"
142
  """
 
 
 
143
 
144
- CREATIVITY_DIRECTED_PRACTICES_PROMPT = """
145
- πŸ”Ή **Which Creativity-Directed Practices did we use?**
146
- - Encouraging **multiple solution methods**
147
- - Using **real-world contexts**
148
- - Thinking critically about **proportional relationships**
149
-
150
- πŸ’‘ "Which of these strategies did you use? How do they help students?"
151
- """
152
 
153
- PROBLEM_POSING_PROMPT = """
154
- πŸ“Œ **Problem-Posing Activity**
155
- "Now, try writing your own **percentage-based proportional reasoning problem!**
156
- Use different representations (bar models, number lines, equations) to solve it."
157
 
158
- πŸ’‘ **Questions to Guide Your Problem:**
159
- - "What real-world context will you use?" (e.g., discounts, investments, recipes)
160
- - "What percentage and total values will you include?"
161
- - "How will your problem allow students to connect concepts?"
 
162
 
163
- πŸš€ "Once you've written your problem, I'll help evaluate and refine it!"
164
  """
 
1
  MAIN_PROMPT = """
2
  ### **Module 4: Proportional Thinking with Percentages**
3
+ "Welcome to this module on proportional reasoning with percentages!
4
+
5
+ Today, we will explore a **real-world investment scenario** and solve it using three different representations:
6
+ 1️⃣ **Bar Model**
7
+ 2️⃣ **Double Number Line**
8
+ 3️⃣ **Equation & Proportional Relationship**
9
+
10
+ πŸ’‘ **Your Task:** Solve the following problem using each representation.
11
+
12
+ πŸ“Œ **Problem Statement:**
13
+ Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests **$1,500**, which is **60% of their total investment**.
14
+
15
+ **How much do Orrin and Damen invest together?**
 
 
 
 
 
 
 
 
 
 
16
 
17
+ ✏️ **Try to solve this problem using your preferred method first. Then, we will compare different representations step by step!**
18
+ """
19
  def bar_model_step(step):
20
  if step == 1:
21
  return """πŸš€ **Step 1: Solve Using a Bar Model**
22
  "A bar model is a great way to visualize proportions. How would you set it up for this problem?"
23
 
24
+ πŸ’‘ **Think before answering:**
25
  - "How can we represent the **total investment** as a bar?"
26
  - "If 60% is **$1,500**, how many sections should the bar have?"
27
 
 
29
  """
30
  elif step == 2:
31
  return """πŸ”Ή **Hint 1:**
32
+ "Start by drawing a rectangle to represent the **total investment**.
33
+ - Divide it into **10 equal sections** (since each section will represent **10%**).
34
+ - Since 60% is **$1,500**, shade in **6 parts** of the bar.
35
+
36
+ Now, can you determine how much **1 part** represents?"
37
  """
38
  elif step == 3:
39
  return """πŸ”Ή **Hint 2:**
40
+ "If 6 parts correspond to **$1,500**, find the value of **one part** by dividing:
41
+ \\[
42
+ \\text{Value of 1 part} = \\frac{1500}{6}
43
+ \\]
44
+ What do you get?"
45
  """
46
  elif step == 4:
47
  return """βœ… **Solution:**
48
+ "We found that **1 part = $250**.
49
+ Now, multiply by **10** to find the total investment:
50
+ \\[
51
+ \\text{Total Investment} = 250 \\times 10 = 2500
52
+ \\]
53
+ So, the total investment by Orrin and Damen together is **$2,500.**"
54
 
55
+ πŸ’‘ **Reflection:**
56
+ - "How does this visual help in understanding the problem?"
57
+ - "Would this be useful for students struggling with percentages?"
58
  πŸš€ "Now, let's solve this problem using a **double number line!**"
59
  """
 
 
60
  def double_number_line_step(step):
61
  if step == 1:
62
+ return """πŸš€ **Step 1: Solve Using a Double Number Line**
63
+ "A double number line helps us align percentages with actual values. How might you set this up?"
64
 
65
+ πŸ’‘ **Think before answering:**
66
+ - "What labels should be on the number lines?"
67
+ - "Where should we place **60%** and **$1,500**?"
68
 
69
+ πŸ”Ή **Try setting it up before I provide hints!**
70
  """
71
  elif step == 2:
72
  return """πŸ”Ή **Hint 1:**
73
+ "Start by drawing two horizontal lines:
74
+ - The **top line** represents **percentages** (0% to 100%).
75
+ - The **bottom line** represents **money** (starting from $0).
76
+ Now, place **60%** above **$1,500**. What other values should be on the number line?"
77
  """
78
  elif step == 3:
79
  return """πŸ”Ή **Hint 2:**
80
+ "Now, divide the bottom line into **equal increments of 10%**.
81
+ - What is the value of **10%**?
82
+ - Can you now find **100%**?"
83
  """
84
  elif step == 4:
85
  return """βœ… **Solution:**
86
+ "We calculated that **10% = $250**. Now, we can find the total:
87
+ \\[
88
+ \\text{Total Investment} = 250 \\times 10 = 2500
89
+ \\]
90
+ So, Orrin and Damen invested **$2,500 together.**
91
 
92
+ πŸ’‘ **Reflection:**
93
+ - "How does the double number line compare to the bar model?"
94
+ - "Which one do you think is more intuitive for students?"
95
+ πŸš€ "Now, let's solve this problem using **equations!**"
96
  """
 
 
97
  def equation_step(step):
98
  if step == 1:
99
+ return """πŸš€ **Step 1: Solve Using an Equation**
100
+ "An equation can help us **set up a direct proportional relationship**. How might you write an equation for this problem?"
101
 
102
+ πŸ’‘ **Think before answering:**
103
+ - "How can we express **60%** in equation form?"
104
+ - "What variable should represent the **total investment**?"
105
 
106
+ πŸ”Ή **Try setting it up before I provide hints!**
107
  """
108
  elif step == 2:
109
  return """πŸ”Ή **Hint 1:**
110
+ "Write an equation using **percent form**:
111
  \\[
112
+ 0.60 \\times x = 1500
113
+ \\]
114
+ Now, how would you solve for **x**?"
115
  """
116
  elif step == 3:
117
  return """πŸ”Ή **Hint 2:**
118
+ "To isolate **x**, divide both sides by **0.60**:
119
+ \\[
120
+ x = \\frac{1500}{0.60}
121
+ \\]
122
+ What do you get?"
123
  """
124
  elif step == 4:
125
  return """βœ… **Solution:**
126
+ "Solving the equation:
127
  \\[
128
+ x = \\frac{1500}{0.60} = 2500
129
+ \\]
130
+ So, the total investment by Orrin and Damen together is **$2,500.**
 
 
 
 
 
 
 
 
 
 
131
 
132
+ πŸ’‘ **Reflection:**
133
+ - "How does setting up an equation help in problem-solving?"
134
+ - "How might you support students struggling to make sense of the equation?"
 
 
135
 
136
+ πŸš€ "Now, let’s **compare and reflect** on these representations!"
137
  """
138
+ def reflection_and_problem_posing():
139
+ return """πŸ“Œ **Final Reflection & Problem Posing**
140
+ "Now that we've solved the problem using three different representations, let's reflect on our learning!"
141
 
142
+ πŸ’‘ **Which Common Core Practice Standards did we use?**
143
+ - **CCSS.MATH.PRACTICE.MP1** (Make sense of problems & persevere)
144
+ - **CCSS.MATH.PRACTICE.MP4** (Model with mathematics)
145
+ - **CCSS.MATH.PRACTICE.MP7** (Look for and make use of structure)
 
 
 
 
146
 
147
+ πŸ’‘ **Which Creativity-Directed Practices did we use?**
148
+ - Encouraging multiple solution methods
149
+ - Making connections across representations
150
+ - Using real-world contexts for deeper understanding
151
 
152
+ πŸš€ **Your Turn: Create a New Problem!**
153
+ "Now, create your own proportional reasoning problem involving percentages!"
154
+ - **What real-world scenario will you use?**
155
+ - **What percentage and total values will you include?**
156
+ - **How can students solve it using different representations?"**
157
 
158
+ πŸ”Ή **Share your problem, and I'll give feedback!**
159
  """