Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +42 -56
prompts/main_prompt.py
CHANGED
@@ -2,21 +2,23 @@
|
|
2 |
MAIN_PROMPT = """
|
3 |
### **Module 3: Proportional Reasoning Problem Types**
|
4 |
"Welcome to this module on proportional reasoning problem types!
|
5 |
-
I'll guide you through three types of problems
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
|
14 |
-
💡 **
|
15 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
16 |
- "If **2 cm = 25 miles**, how can we use this to scale up?"
|
|
|
17 |
|
18 |
-
|
19 |
-
|
|
|
20 |
$$ \frac{2}{25} = \frac{24}{x} $$
|
21 |
Does this equation make sense?"
|
22 |
2️⃣ "Now, cross-multiply:
|
@@ -25,75 +27,59 @@ I will ask you questions step by step. Let’s start with the first problem!"
|
|
25 |
3️⃣ "Final step: divide both sides by 2:
|
26 |
$$ x = \frac{600}{2} = 300 $$
|
27 |
So, 24 cm represents **300 miles**!"
|
|
|
|
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
*"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"*
|
33 |
|
34 |
💡 **What’s your first thought?**
|
35 |
- "What does ‘better deal’ mean mathematically?"
|
36 |
- "How do we compare prices fairly?"
|
|
|
37 |
|
38 |
-
|
39 |
-
|
|
|
40 |
$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
|
41 |
$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
|
42 |
2️⃣ "Which is cheaper? **Ali pays less per pencil** (35 cents vs. 36 cents)."
|
43 |
3️⃣ "So, Ali got the better deal!"
|
|
|
|
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
*"Kim is mixing paint. Yesterday, she mixed red and white paint. Today, she added **more red paint** but kept the **same white paint**. What happens to the color?"*
|
49 |
|
50 |
💡 **What do you think?**
|
51 |
- "How does the ratio of red to white change?"
|
52 |
- "Would the color become darker, lighter, or stay the same?"
|
|
|
53 |
|
54 |
-
|
|
|
55 |
1️⃣ "Yesterday: **Ratio of red:white** was **R:W**."
|
56 |
2️⃣ "Today: More red, same white → **Higher red-to-white ratio**."
|
57 |
3️⃣ "Higher red → **Darker shade!**"
|
58 |
-
|
59 |
💡 "Does this explanation match your thinking?"
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
63 |
|
64 |
🔹 **Common Core Standards Covered:**
|
65 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
66 |
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
|
67 |
-
- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
|
68 |
-
- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
|
69 |
-
|
70 |
💡 "Which of these standards do you think were covered? Why?"
|
|
|
71 |
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
💡 "How do these strategies help students build deeper understanding?"
|
78 |
-
|
79 |
-
---
|
80 |
-
### **📌 Reflection & Discussion**
|
81 |
-
"Before we wrap up, let’s reflect on your learning experience!"
|
82 |
-
- "Which problem type was the most challenging? Why?"
|
83 |
-
- "What strategies helped you solve these problems efficiently?"
|
84 |
-
- "What insights did you gain about proportional reasoning?"
|
85 |
-
|
86 |
-
---
|
87 |
-
### **📌 Problem-Posing Activity**
|
88 |
-
"Now, let’s **create a new proportional reasoning problem!**"
|
89 |
-
- **Modify a missing value problem** with different numbers.
|
90 |
-
- **Create a real-world unit rate comparison.**
|
91 |
-
- **Think of a qualitative reasoning problem (e.g., cooking, sports).**
|
92 |
-
|
93 |
-
💡 "What would be the best way for students to approach your problem?"
|
94 |
-
💡 "Could they solve it in different ways?"
|
95 |
-
|
96 |
-
---
|
97 |
-
### **🔹 Final Encouragement**
|
98 |
-
"Great job today! Would you like to explore additional examples or discuss how to integrate these strategies into your classroom?"
|
99 |
"""
|
|
|
|
|
|
2 |
MAIN_PROMPT = """
|
3 |
### **Module 3: Proportional Reasoning Problem Types**
|
4 |
"Welcome to this module on proportional reasoning problem types!
|
5 |
+
I'll guide you through three types of problems step by step.
|
6 |
+
Are you ready to begin?"
|
7 |
+
"""
|
8 |
+
|
9 |
+
def next_step(step):
|
10 |
+
if step == 1:
|
11 |
+
return """🚀 **Problem 1: Missing Value Problem**
|
12 |
+
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
|
13 |
|
14 |
+
💡 **What do you think?**
|
15 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
16 |
- "If **2 cm = 25 miles**, how can we use this to scale up?"
|
17 |
+
"""
|
18 |
|
19 |
+
elif step == 2:
|
20 |
+
return """🔹 **If you're unsure, let's break it down step by step:**
|
21 |
+
1️⃣ "Try setting up the proportion:
|
22 |
$$ \frac{2}{25} = \frac{24}{x} $$
|
23 |
Does this equation make sense?"
|
24 |
2️⃣ "Now, cross-multiply:
|
|
|
27 |
3️⃣ "Final step: divide both sides by 2:
|
28 |
$$ x = \frac{600}{2} = 300 $$
|
29 |
So, 24 cm represents **300 miles**!"
|
30 |
+
💡 "Does this make sense? Want to try another method?"
|
31 |
+
"""
|
32 |
|
33 |
+
elif step == 3:
|
34 |
+
return """🚀 **Problem 2: Numerical Comparison Problem**
|
35 |
+
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
|
|
|
36 |
|
37 |
💡 **What’s your first thought?**
|
38 |
- "What does ‘better deal’ mean mathematically?"
|
39 |
- "How do we compare prices fairly?"
|
40 |
+
"""
|
41 |
|
42 |
+
elif step == 4:
|
43 |
+
return """🔹 **If you're stuck, let's go step by step:**
|
44 |
+
1️⃣ "Find the cost per pencil:
|
45 |
$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
|
46 |
$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
|
47 |
2️⃣ "Which is cheaper? **Ali pays less per pencil** (35 cents vs. 36 cents)."
|
48 |
3️⃣ "So, Ali got the better deal!"
|
49 |
+
💡 "Does this make sense?"
|
50 |
+
"""
|
51 |
|
52 |
+
elif step == 5:
|
53 |
+
return """🚀 **Problem 3: Qualitative Reasoning Problem**
|
54 |
+
"Kim is mixing paint. Yesterday, she mixed red and white paint. Today, she added **more red paint** but kept the **same white paint**. What happens to the color?"
|
|
|
55 |
|
56 |
💡 **What do you think?**
|
57 |
- "How does the ratio of red to white change?"
|
58 |
- "Would the color become darker, lighter, or stay the same?"
|
59 |
+
"""
|
60 |
|
61 |
+
elif step == 6:
|
62 |
+
return """🔹 **If you're stuck, let's break it down:**
|
63 |
1️⃣ "Yesterday: **Ratio of red:white** was **R:W**."
|
64 |
2️⃣ "Today: More red, same white → **Higher red-to-white ratio**."
|
65 |
3️⃣ "Higher red → **Darker shade!**"
|
|
|
66 |
💡 "Does this explanation match your thinking?"
|
67 |
+
"""
|
68 |
+
|
69 |
+
elif step == 7:
|
70 |
+
return """📌 **Common Core & Creativity-Directed Practices Discussion**
|
71 |
+
"Great work! Now, let’s reflect on how these problems connect to teaching strategies."
|
72 |
|
73 |
🔹 **Common Core Standards Covered:**
|
74 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
75 |
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
|
|
|
|
|
|
|
76 |
💡 "Which of these standards do you think were covered? Why?"
|
77 |
+
"""
|
78 |
|
79 |
+
elif step == 8:
|
80 |
+
return """📌 **Reflection & Problem Posing Activity**
|
81 |
+
"Let’s take it one step further! Try creating your own proportional reasoning problem."
|
82 |
+
💡 "Would you like to modify one of the previous problems, or create a brand new one?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
"""
|
84 |
+
|
85 |
+
return "🎉 **You've completed the module! Would you like to review anything again?**"
|