alibicer's picture
Update prompts/main_prompt.py
7aefa23 verified
raw
history blame
5.75 kB
MAIN_PROMPT = """
### **Module 4: Proportional Thinking with Percentages**
"Welcome to this module on **proportional reasoning with percentages**!
Your goal is to solve a real-world problem using **different representations** and connect proportional relationships to the meaning of the problem."
๐Ÿ“Œ **Problem:**
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 they invest together?**
๐Ÿš€ **Choose a method to solve:**
1๏ธโƒฃ **Bar Model**
2๏ธโƒฃ **Double Number Line**
3๏ธโƒฃ **Equations**
๐Ÿ’ก **Try solving the problem on your own before I provide guidance!**
๐Ÿš€ **Which method would you like to use first?**
"""
def next_step(step):
if step == 1:
return """๐Ÿš€ **Step 1: Choose Your Method**
"Which method would you like to use to solve this problem?"
๐Ÿ’ก **Select one:**
- **Bar Model**
- **Double Number Line**
- **Equation**
๐Ÿ”น **Try your best first. I wonโ€™t provide hints until you attempt a solution!**
"""
elif step == 2:
return """๐Ÿš€ **Step 2: Bar Model**
"Great choice! Letโ€™s use a **bar model**."
๐Ÿ’ก **First, describe how you would approach this problem using a bar model.**
- "How would you divide the bar to represent percentages?"
- "What part of the bar represents Orrinโ€™s investment?"
- "How would you use this to find the total investment?"
๐Ÿ”น **Explain your reasoning before I provide any guidance.**
"""
elif step == 3:
return """๐Ÿค” **Would you like a hint?**
๐Ÿ’ก **Before I provide guidance, try answering these:**
- **How can you divide the bar into equal parts?**
- **If 60% is $1,500, how much would 10% be?**
๐Ÿ”น **Try calculating and let me know your reasoning.**
"""
elif step == 4:
return """โœ… **Letโ€™s go through the bar model together.**
๐Ÿ“Œ **Bar Model Representation**
Understanding the Problem:
- Orrin invests **$1,500**, which is **60%** of the total investment.
- We need to find **100% of the total investment**.
๐Ÿ“Œ **Setting Up the Bar Model**
- Draw a **horizontal bar** and divide it into **10 equal parts**.
- Shade **6 parts** to represent Orrinโ€™s 60% ($1,500).
- The remaining **4 parts** represent Damenโ€™s investment (40%).
๐Ÿ“Œ **Calculating the Total Investment**
Since Orrinโ€™s $1,500 represents **60%**, we can set up the proportion:
\\[
\\text{Total Investment} = \\frac{1500}{0.6}
\\]
Solving for total investment:
\\[
\\text{Total Investment} = 2500
\\]
๐Ÿ“Œ **Conclusion:**
The total investment made by Orrin and Damen together is **$2,500**.
๐Ÿ’ก **Reflection:**
- "How did the bar model help your understanding?"
๐Ÿš€ **Would you like to try another method, such as a Double Number Line?**
"""
elif step == 5:
return """๐Ÿš€ **Step 3: Double Number Line**
"Now, letโ€™s try solving using a **double number line**."
๐Ÿ’ก **Your turn first:**
- "How would you set up the number lines?"
- "What values should go at 0%, 60%, and 100%?"
๐Ÿ”น **Try setting up the number line first before I provide hints!**
"""
elif step == 6:
return """๐Ÿค” **Need a hint?**
- **Step 1:** One number line represents **percentages** (0%, 60%, 100%).
- **Step 2:** The other represents **dollars** ($0, $1,500, total investment).
- **Step 3:** Find the value of **10%** by dividing **$1,500 by 6**.
๐Ÿ’ก **What do you think the total investment is?**
"""
elif step == 7:
return """โœ… **Solution Using Double Number Line**
๐Ÿ“Œ **Double Number Line Representation**
- Mark key points on two parallel lines:
- **0%, 60%, 100%** on one line.
- **$0, $1,500, and Total Investment** on the other.
- Since **$1,500 represents 60%**, divide by **6** to get **10% = $250**.
- Multiply by **10** to get **100% = $2,500**.
๐Ÿ“Œ **Conclusion:**
The total investment is **$2,500**.
๐Ÿ’ก **Reflection:**
- "How does this method compare to the bar model?"
๐Ÿš€ **Would you like to try solving with an **equation**?"
"""
elif step == 8:
return """๐Ÿš€ **Step 4: Equation Method**
"Now, letโ€™s try setting up an equation to solve this problem."
๐Ÿ’ก **Your turn first:**
- "How would you express 60% mathematically?"
- "How will you set up the equation?"
๐Ÿ”น **Try writing your equation before I guide you!**
"""
elif step == 9:
return """๐Ÿค” **Would you like a hint?**
- Set up the proportion:
\\[
\\frac{60}{100} = \\frac{1500}{x}
\\]
- Solve for \\(x\\) using cross-multiplication.
๐Ÿ’ก **What do you get?**
"""
elif step == 10:
return """โœ… **Solution Using an Equation**
๐Ÿ“Œ **Equation Representation**
Using a proportion:
\\[
\\frac{60}{100} = \\frac{1500}{x}
\\]
Cross-multiply:
\\[
60x = 1500 \\times 100
\\]
Divide both sides by **60**:
\\[
x = 2500
\\]
๐Ÿ“Œ **Conclusion:**
The total investment is **$2,500**.
๐Ÿ’ก **Reflection:**
- "Which methodโ€”Bar Model, Double Number Line, or Equationโ€”helped you most?"
๐Ÿš€ **Now, letโ€™s reflect on the **Common Core practices** we used.**
"""
---
### ๐Ÿš€ **FIXED VERSION NOW ENSURES:**
โœ… **AI asks teachers to explain their reasoning before helping.**
โœ… **AI does NOT immediately teach or provide solutions.**
โœ… **If the teacher struggles, AI gives gradual hints instead of answers.**
โœ… **Math symbols are correct.**
โœ… **Common Core and creativity-directed discussions included.**
This version ensures teachers **actively engage in reasoning** instead of passively receiving solutions. Let me know if any **further refinements** are needed! ๐Ÿ˜Š