Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +42 -19
prompts/main_prompt.py
CHANGED
@@ -2,8 +2,8 @@
|
|
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
|
6 |
-
|
7 |
Are you ready?"
|
8 |
"""
|
9 |
|
@@ -12,69 +12,92 @@ def next_step(step):
|
|
12 |
return """🚀 **Problem 1: Missing Value Problem**
|
13 |
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
|
14 |
|
15 |
-
💡 **
|
16 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
17 |
- "If **2 cm = 25 miles**, how can we use this to scale up?"
|
18 |
-
|
|
|
19 |
"""
|
20 |
|
21 |
elif step == 2:
|
22 |
-
return """🔹 **
|
23 |
1️⃣ "Try setting up a proportion:
|
24 |
$$ \frac{2}{25} = \frac{24}{x} $$
|
25 |
Does this equation make sense?"
|
26 |
|
27 |
-
💡 **Try
|
28 |
"""
|
29 |
|
30 |
elif step == 3:
|
31 |
-
return """
|
|
|
32 |
$$ 2 \times x = 24 \times 25 $$
|
33 |
Can you solve for \( x \)?"
|
34 |
|
35 |
-
💡 **
|
36 |
"""
|
37 |
|
38 |
elif step == 4:
|
39 |
-
return """
|
|
|
40 |
$$ x = \frac{600}{2} = 300 $$
|
41 |
-
|
42 |
|
43 |
-
💡 "Does this make sense?
|
44 |
"""
|
45 |
|
46 |
elif step == 5:
|
47 |
return """🚀 **Problem 2: Numerical Comparison Problem**
|
48 |
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
|
49 |
|
50 |
-
💡 **
|
51 |
- "What does ‘better deal’ mean mathematically?"
|
52 |
- "How do we compare prices fairly?"
|
|
|
|
|
53 |
"""
|
54 |
|
55 |
elif step == 6:
|
56 |
-
return """🔹 **
|
57 |
1️⃣ "Find the cost per pencil:
|
58 |
$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
|
59 |
$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
|
60 |
|
61 |
-
💡 **Try
|
62 |
"""
|
63 |
|
64 |
elif step == 7:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
return """🚀 **Problem 3: Qualitative Reasoning Problem**
|
66 |
"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?"
|
67 |
|
68 |
-
💡 **
|
69 |
- "How does the ratio of red to white change?"
|
70 |
- "Would the color become darker, lighter, or stay the same?"
|
71 |
|
72 |
-
|
73 |
"""
|
74 |
|
75 |
-
elif step ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
return """📌 **Common Core & Creativity-Directed Practices Discussion**
|
77 |
-
"Great
|
78 |
|
79 |
🔹 **Common Core Standards Covered:**
|
80 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
@@ -83,7 +106,7 @@ def next_step(step):
|
|
83 |
💡 "Which of these standards do you think were covered? Why?"
|
84 |
"""
|
85 |
|
86 |
-
elif step ==
|
87 |
return """📌 **Reflection & Problem Posing Activity**
|
88 |
"Let’s take it one step further! Try creating your own proportional reasoning problem."
|
89 |
💡 "Would you like to modify one of the previous problems, or create a brand new one?"
|
|
|
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 step by step. 💡 **Try answering before I provide hints.**
|
6 |
+
|
7 |
Are you ready?"
|
8 |
"""
|
9 |
|
|
|
12 |
return """🚀 **Problem 1: Missing Value Problem**
|
13 |
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
|
14 |
|
15 |
+
💡 **Think before answering:**
|
16 |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
|
17 |
- "If **2 cm = 25 miles**, how can we use this to scale up?"
|
18 |
+
|
19 |
+
🔹 **Try solving it before I give hints!**
|
20 |
"""
|
21 |
|
22 |
elif step == 2:
|
23 |
+
return """🔹 **Hint 1:**
|
24 |
1️⃣ "Try setting up a proportion:
|
25 |
$$ \frac{2}{25} = \frac{24}{x} $$
|
26 |
Does this equation make sense?"
|
27 |
|
28 |
+
💡 **Try answering!**
|
29 |
"""
|
30 |
|
31 |
elif step == 3:
|
32 |
+
return """🔹 **Hint 2:**
|
33 |
+
2️⃣ "Now, cross-multiply:
|
34 |
$$ 2 \times x = 24 \times 25 $$
|
35 |
Can you solve for \( x \)?"
|
36 |
|
37 |
+
💡 **Try again before I explain!**
|
38 |
"""
|
39 |
|
40 |
elif step == 4:
|
41 |
+
return """✅ **Solution:**
|
42 |
+
"Final step: divide both sides by 2:
|
43 |
$$ x = \frac{600}{2} = 300 $$
|
44 |
+
So, 24 cm represents **300 miles**!"
|
45 |
|
46 |
+
💡 "Does this answer make sense? Would you like to try another method?"
|
47 |
"""
|
48 |
|
49 |
elif step == 5:
|
50 |
return """🚀 **Problem 2: Numerical Comparison Problem**
|
51 |
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
|
52 |
|
53 |
+
💡 **Think before answering:**
|
54 |
- "What does ‘better deal’ mean mathematically?"
|
55 |
- "How do we compare prices fairly?"
|
56 |
+
|
57 |
+
🔹 **Try solving it first!**
|
58 |
"""
|
59 |
|
60 |
elif step == 6:
|
61 |
+
return """🔹 **Hint 1:**
|
62 |
1️⃣ "Find the cost per pencil:
|
63 |
$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
|
64 |
$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
|
65 |
|
66 |
+
💡 **Try calculating the costs!**
|
67 |
"""
|
68 |
|
69 |
elif step == 7:
|
70 |
+
return """✅ **Solution:**
|
71 |
+
"Which is cheaper?
|
72 |
+
- **Ali pays less per pencil** (35 cents vs. 36 cents).
|
73 |
+
So, **Ali got the better deal!**"
|
74 |
+
|
75 |
+
💡 "Does this make sense? Would you like to discuss unit rates more?"
|
76 |
+
"""
|
77 |
+
|
78 |
+
elif step == 8:
|
79 |
return """🚀 **Problem 3: Qualitative Reasoning Problem**
|
80 |
"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?"
|
81 |
|
82 |
+
💡 **Think before answering:**
|
83 |
- "How does the ratio of red to white change?"
|
84 |
- "Would the color become darker, lighter, or stay the same?"
|
85 |
|
86 |
+
🔹 **Try explaining before I provide hints!**
|
87 |
"""
|
88 |
|
89 |
+
elif step == 9:
|
90 |
+
return """🔹 **Hint 1:**
|
91 |
+
1️⃣ "Yesterday: **Ratio of red:white** was **R:W**."
|
92 |
+
2️⃣ "Today: More red, same white → **Higher red-to-white ratio**."
|
93 |
+
3️⃣ "Higher red → **Darker shade!**"
|
94 |
+
|
95 |
+
💡 "Does this explanation match your thinking?"
|
96 |
+
"""
|
97 |
+
|
98 |
+
elif step == 10:
|
99 |
return """📌 **Common Core & Creativity-Directed Practices Discussion**
|
100 |
+
"Great job! Now, let’s reflect on how these problems connect to teaching strategies."
|
101 |
|
102 |
🔹 **Common Core Standards Covered:**
|
103 |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
|
|
|
106 |
💡 "Which of these standards do you think were covered? Why?"
|
107 |
"""
|
108 |
|
109 |
+
elif step == 11:
|
110 |
return """📌 **Reflection & Problem Posing Activity**
|
111 |
"Let’s take it one step further! Try creating your own proportional reasoning problem."
|
112 |
💡 "Would you like to modify one of the previous problems, or create a brand new one?"
|