Module3 / prompts /main_prompt.py
alibicer's picture
Update prompts/main_prompt.py
f0b6b27 verified
raw
history blame
3.45 kB
### 🚀 MAIN PROMPT ###
MAIN_PROMPT = """
### **Module 3: Proportional Reasoning Problem Types**
"Welcome to this module on proportional reasoning problem types!
I'll guide you through three types of problems step by step.
Are you ready to begin?"
"""
def next_step(step):
if step == 1:
return """🚀 **Problem 1: Missing Value Problem**
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
💡 **What do you think?**
- "How does 24 cm compare to 2 cm? Can you find the scale factor?"
- "If **2 cm = 25 miles**, how can we use this to scale up?"
"""
elif step == 2:
return """🔹 **If you're unsure, let's break it down step by step:**
1️⃣ "Try setting up the proportion:
$$ \frac{2}{25} = \frac{24}{x} $$
Does this equation make sense?"
2️⃣ "Now, cross-multiply:
$$ 2 \times x = 24 \times 25 $$
Can you solve for \( x \)?"
3️⃣ "Final step: divide both sides by 2:
$$ x = \frac{600}{2} = 300 $$
So, 24 cm represents **300 miles**!"
💡 "Does this make sense? Want to try another method?"
"""
elif step == 3:
return """🚀 **Problem 2: Numerical Comparison Problem**
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
💡 **What’s your first thought?**
- "What does ‘better deal’ mean mathematically?"
- "How do we compare prices fairly?"
"""
elif step == 4:
return """🔹 **If you're stuck, let's go step by step:**
1️⃣ "Find the cost per pencil:
$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
2️⃣ "Which is cheaper? **Ali pays less per pencil** (35 cents vs. 36 cents)."
3️⃣ "So, Ali got the better deal!"
💡 "Does this make sense?"
"""
elif step == 5:
return """🚀 **Problem 3: Qualitative Reasoning Problem**
"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?"
💡 **What do you think?**
- "How does the ratio of red to white change?"
- "Would the color become darker, lighter, or stay the same?"
"""
elif step == 6:
return """🔹 **If you're stuck, let's break it down:**
1️⃣ "Yesterday: **Ratio of red:white** was **R:W**."
2️⃣ "Today: More red, same white → **Higher red-to-white ratio**."
3️⃣ "Higher red → **Darker shade!**"
💡 "Does this explanation match your thinking?"
"""
elif step == 7:
return """📌 **Common Core & Creativity-Directed Practices Discussion**
"Great work! Now, let’s reflect on how these problems connect to teaching strategies."
🔹 **Common Core Standards Covered:**
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
💡 "Which of these standards do you think were covered? Why?"
"""
elif step == 8:
return """📌 **Reflection & Problem Posing Activity**
"Let’s take it one step further! Try creating your own proportional reasoning problem."
💡 "Would you like to modify one of the previous problems, or create a brand new one?"
"""
return "🎉 **You've completed the module! Would you like to review anything again?**"