alibicer commited on
Commit
174e61c
Β·
verified Β·
1 Parent(s): 80b94ff

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +112 -88
prompts/main_prompt.py CHANGED
@@ -2,109 +2,115 @@ 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 a proportional reasoning problem using different representations and explain your reasoning.
6
- We will explore three different methods:
 
 
 
 
7
  1️⃣ **Bar Model**
8
  2️⃣ **Double Number Line**
9
- 3️⃣ **Equation & Proportional Relationship**
10
- πŸ’‘ **You will first apply what you know and explain your reasoning before receiving any hints or feedback.**
11
- πŸš€ **Let’s begin! Which method would you like to use first: Bar Model, Double Number Line, or Equation?"**
 
 
 
 
 
12
  """
13
- BAR_MODEL_PROMPT = """
14
- ### **πŸš€ Bar Model Approach**
15
- "Great choice! Let's use a **Bar Model** to solve the problem.
16
 
17
- πŸ’‘ **How would you set up a bar model to represent this problem? Try to explain your reasoning.**
18
- - How would you represent the total investment?
19
- - How can you divide the bar to show Orrin’s 60% share?
20
- - How will you calculate the total investment?"
 
 
 
21
 
22
- πŸ”Ή **After teachers provide their response:**
23
- If Correct:
24
- "Great job! Your setup makes sense. How did you determine the total investment from the bar model?"
 
 
 
25
 
26
- If Partially Correct:
27
- "You're on the right track! How did you decide on the division? Does each section represent the correct percentage? What percentage does each part represent?"
 
 
28
 
29
- If Incorrect:
30
- "It looks like your setup needs some adjustment. If 60% of the total is $1,500, how can we break this down into smaller parts?"
31
 
32
- πŸ’‘ **Hint if needed:**
33
- - "Try dividing the bar into 10 equal parts, each representing 10%. How much would each part be worth?"
34
- - "Once you have 10%, how can you use that to determine 100%?"
 
 
35
 
36
- βœ… **Final Confirmation (Only if needed):**
37
- "Since 6 parts = $1,500, each part (10%) is $250. So, multiplying by 10 gives us $2,500."
 
38
 
39
- πŸ“Œ **Reflection Question:**
40
- "How did the bar model help you visualize the proportional relationship? Would you like to try another method?"
41
  """
42
- DOUBLE_NUMBER_LINE_PROMPT = """
43
- ### **πŸš€ Double Number Line Approach**
44
- "Let’s explore the problem using a **Double Number Line**.
45
 
46
- πŸ’‘ **Try setting up a double number line and explain how you would represent the relationship.**
47
- - How would you label the number line for percentages?
48
- - Where would you place Orrin’s $1,500 investment?
49
- - How would you determine the total investment?"
50
 
51
- πŸ”Ή **After teachers provide their response:**
52
- If Correct:
53
- "Nice work! Your number line setup looks great. How did you determine the total investment from the number line?"
 
54
 
55
- If Partially Correct:
56
- "You're close! How did you space out the percentages and dollar amounts? Do they align correctly?"
57
 
58
- If Incorrect:
59
- "Let’s rethink this: If $1,500 represents 60%, how can we use that to find 100%?"
 
 
 
 
60
 
61
- πŸ’‘ **Hint if needed:**
62
- - "Start by marking 0%, 60%, and 100% on the number line. Where would 10%, 20%, etc., fit?"
63
- - "Since 60% = $1,500, divide by 6 to find 10%, then scale up to 100%."
 
64
 
65
- βœ… **Final Confirmation (Only if needed):**
66
- "Since $1,500 represents 60%, we divide by 6 to find 10% ($250) and multiply by 10 to get $2,500."
67
 
68
- πŸ“Œ **Reflection Question:**
69
- "How does the number line compare to the bar model? Would you like to try the equation method next?"
 
 
 
 
 
 
 
70
  """
71
- EQUATION_PROMPT = """
72
- ### **πŸš€ Equation & Proportional Relationship**
73
- "Let’s use an **Equation** to solve the problem.
74
-
75
- πŸ’‘ **Try setting up a proportion or equation to represent the problem and explain your reasoning.**
76
- - How would you express 60% as a fraction or decimal?
77
- - How can we set up an equation to relate $1,500 to the total investment?"
78
-
79
- πŸ”Ή **After teachers provide their response:**
80
- If Correct:
81
- "Good job! Can you now solve the equation to find the total investment?"
82
-
83
- If Partially Correct:
84
- "You're close! Can you clarify how you set up the proportion? What does your variable represent?"
85
-
86
- If Incorrect:
87
- "Let’s reconsider: Since 60% of the total equals $1,500, what equation could represent this?"
88
-
89
- πŸ’‘ **Hint if needed:**
90
- - "Write the proportion as:
91
- $$ \\frac{60}{100} = \\frac{1500}{x} $$
92
- Can you solve for x?"
93
- - "Use cross-multiplication:
94
- $$ 60x = 1500 \times 100 $$
95
- What does x equal?"
96
-
97
- βœ… **Final Confirmation (Only if needed):**
98
- "Solving
99
- $$ x = \\frac{1500}{0.6} = 2500 $$
100
- So, the total investment is $2,500."
101
-
102
- πŸ“Œ **Reflection Question:**
103
- "How does using an equation compare to visual models? Which method would you use with students?"
104
  """
105
- COMMON_CORE_PROMPT = """
106
- ### **πŸ“Œ Common Core & Creativity-Directed Practices**
107
- "Great job! Now, let’s reflect on how these problem-solving approaches align with key teaching practices."
 
108
 
109
  πŸ”Ή **Which Common Core Standards did we cover?**
110
  - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
@@ -113,11 +119,29 @@ COMMON_CORE_PROMPT = """
113
  - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
114
 
115
  πŸ’‘ **Which of these standards do you think applied most to the problems we solved? Why?**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
- πŸ”Ή **Creativity-Directed Practices Used:**
118
- - Encouraging multiple solution methods
119
- - Using real-world scenarios
120
- - Engaging in exploratory thinking rather than rote computation
121
 
122
- πŸ’‘ **How do these strategies help students develop deeper understanding?**
123
  """
 
 
 
2
  ### **Module 4: Proportional Thinking with Percentages**
3
  #### **Task Introduction**
4
  "Welcome to this module on proportional reasoning with percentages!
5
+ Your goal in this module is to solve a real-world proportional reasoning problem involving percentages using different representations.
6
+ πŸ“Œ **Here is the problem:**
7
+
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. How much do Orrin and Damen invest together?**
9
+
10
+ You will explore different methods to solve this problem:
11
  1️⃣ **Bar Model**
12
  2️⃣ **Double Number Line**
13
+ 3️⃣ **Equation**
14
+
15
+ πŸ’‘ **Step 1: Before we begin, how would you approach solving this problem?**
16
+ - "What information do we already know?"
17
+ - "What are we trying to find?"
18
+ - "What strategies could help us solve this?"
19
+
20
+ Once you've shared your initial thoughts, **select a method** you'd like to use first!"
21
  """
 
 
 
22
 
23
+ def next_step(step):
24
+ if step == 1:
25
+ return """βœ… **Step 2: Choose a Method**
26
+ "Great! Now, which method would you like to use first?"
27
+ 1️⃣ **Bar Model**
28
+ 2️⃣ **Double Number Line**
29
+ 3️⃣ **Equation**
30
 
31
+ Type your choice, and we'll apply it together!"
32
+ """
33
+
34
+ elif step == 2:
35
+ return """πŸš€ **Bar Model Method**
36
+ "Great choice! Let's use a Bar Model to solve this problem.
37
 
38
+ πŸ’‘ **Before I provide any steps, please explain how you would apply the bar model to solve this problem.**
39
+ - How would you represent the total investment?
40
+ - How would you break it into parts?
41
+ - What calculations would you use?"
42
 
43
+ πŸ”Ή **Once you've explained your process, I'll provide feedback and guide you if needed!**
44
+ """
45
 
46
+ elif step == 3:
47
+ return """βœ… **Bar Model Feedback & Guidance**
48
+ πŸ”Ž **Let's check your reasoning:**
49
+ - If 60% of the total is $1,500, how can we determine what 10% is?
50
+ - How can we use that to find 100%?
51
 
52
+ πŸ”Ή **If you need a hint:**
53
+ 1️⃣ "Try dividing $1,500 by 6 to find 10% of the total investment."
54
+ 2️⃣ "Multiply that by 10 to find 100%."
55
 
56
+ πŸ’‘ **Go ahead and solve it! Then, let me know your answer.**
 
57
  """
 
 
 
58
 
59
+ elif step == 4:
60
+ return """πŸš€ **Double Number Line Method**
61
+ "Let's now apply the Double Number Line to solve this problem.
 
62
 
63
+ πŸ’‘ **Before I provide guidance, explain how you would use a number line to solve this.**
64
+ - How would you set up the number line?
65
+ - What values would you place at 0%, 60%, and 100%?
66
+ - How would you calculate the total investment?"
67
 
68
+ πŸ”Ή **Once you've explained your approach, I'll provide feedback and hints if needed!**
69
+ """
70
 
71
+ elif step == 5:
72
+ return """βœ… **Double Number Line Feedback & Guidance**
73
+ πŸ”Ž **Let’s check your reasoning:**
74
+ - Did you correctly align $1,500 with 60%?
75
+ - Did you divide $1,500 by 6 to find 10%?
76
+ - Did you multiply by 10 to find the total?
77
 
78
+ πŸ”Ή **If you need a hint:**
79
+ 1️⃣ "Start by labeling the number line with 0%, 60%, and 100%."
80
+ 2️⃣ "Divide $1,500 by 6 to determine what 10% represents."
81
+ 3️⃣ "Multiply that by 10 to find 100%."
82
 
83
+ πŸ’‘ **Try solving it now, and let me know your answer!**
84
+ """
85
 
86
+ elif step == 6:
87
+ return """πŸš€ **Equation Method**
88
+ "Now, let's apply an equation to solve this problem.
89
+
90
+ πŸ’‘ **Before I guide you, explain how you would set up an equation for this problem.**
91
+ - How would you write 60% as a fraction or decimal?
92
+ - How would you use it to find the total investment?"
93
+
94
+ πŸ”Ή **Once you've explained your approach, I'll provide feedback and hints if needed!**
95
  """
96
+
97
+ elif step == 7:
98
+ return """βœ… **Equation Feedback & Guidance**
99
+ πŸ”Ž **Let’s check your reasoning:**
100
+ - Did you correctly write the proportion as **(60/100) = (1500/x)**?
101
+ - Did you use cross-multiplication or division to solve for **x**?
102
+
103
+ πŸ”Ή **If you need a hint:**
104
+ 1️⃣ "Write 60% as a fraction: **60/100 = 1500/x**."
105
+ 2️⃣ "Use cross-multiplication: **60x = 1500 Γ— 100**."
106
+ 3️⃣ "Solve for **x** to find the total investment."
107
+
108
+ πŸ’‘ **Go ahead and solve it! Then, let me know your answer.**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  """
110
+
111
+ elif step == 8:
112
+ return """πŸ“Œ **Common Core & Creativity-Directed Practices Discussion**
113
+ "Great job solving the problem using different methods! Now, let's reflect:
114
 
115
  πŸ”Ή **Which Common Core Standards did we cover?**
116
  - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
 
119
  - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
120
 
121
  πŸ’‘ **Which of these standards do you think applied most to the problems we solved? Why?**
122
+ """
123
+
124
+ elif step == 9:
125
+ return """πŸ“Œ **Creativity-Directed Practices Discussion**
126
+ "Throughout this module, we engaged in creativity-directed strategies, such as:
127
+ βœ… Encouraging multiple solution methods
128
+ βœ… Using real-world contexts
129
+ βœ… Thinking critically about proportional relationships
130
+
131
+ πŸ’‘ **Which of these strategies did you use while solving the problems?**
132
+ πŸ’‘ **How do you think encouraging creativity helps students develop deeper understanding?**
133
+ """
134
+
135
+ elif step == 10:
136
+ return """πŸ“Œ **Problem Posing Activity**
137
+ "Now, let’s take it one step further! Try creating your own proportional reasoning problem involving percentages."
138
 
139
+ πŸ’‘ **Some guiding questions:**
140
+ - "What real-world context will you use? (e.g., discounts, investments, recipes)"
141
+ - "What percentage and total values will you include?"
142
+ - "How will your problem allow students to make connections between percentages and proportions?"
143
 
144
+ Once you've created your problem, share it, and I’ll provide feedback!
145
  """
146
+
147
+ return "πŸŽ‰ **You've completed the module! Would you like to review anything again?**"