Module3 / prompts /main_prompt.py
alibicer's picture
Update prompts/main_prompt.py
88e06c1 verified
raw
history blame
3.41 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.
💡 **First, I will ask you questions and let you solve them before I provide hints or solutions.**
Are you ready?"
"""
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?"
💡 **Before solving, think about this:**
- "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?"
- **Give it a try before I provide hints!** Type your answer.
"""
elif step == 2:
return """🔹 **If you’re unsure, here’s a hint:**
1️⃣ "Try setting up a proportion:
$$ \frac{2}{25} = \frac{24}{x} $$
Does this equation make sense?"
💡 **Try again! Type what you think.**
"""
elif step == 3:
return """2️⃣ "Now, cross-multiply:
$$ 2 \times x = 24 \times 25 $$
Can you solve for \( x \)?"
💡 **Still stuck? Let me know.**
"""
elif step == 4:
return """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 == 5:
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?"
💡 **Try solving it first!**
- "What does ‘better deal’ mean mathematically?"
- "How do we compare prices fairly?"
"""
elif step == 6:
return """🔹 **If you need a hint, here’s the first 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)"
💡 **Try again and type your answer.**
"""
elif step == 7:
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?"
💡 **Try explaining your reasoning before I provide hints.**
"""
elif step == 8:
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 == 9:
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?**"