module2 / prompts /main_prompt.py
alibicer's picture
Update prompts/main_prompt.py
b67fbb7 verified
raw
history blame
5.46 kB
# prompts/main_prompt.py
# Ensure Python recognizes this file as a module
__all__ = ["TASK_PROMPT", "BAR_MODEL_PROMPT", "DOUBLE_NUMBER_LINE_PROMPT",
"RATIO_TABLE_PROMPT", "GRAPH_PROMPT", "REFLECTION_PROMPT",
"SUMMARY_PROMPT", "FINAL_REFLECTION_PROMPT"]
# ๐ŸŸข MODULE STARTS WITH THE TASK
TASK_PROMPT = """
### Welcome to Module 2: Solving a Ratio Problem Using Multiple Representations!
#### **Task:**
Jessica drives **90 miles in 2 hours**. If she drives at the same rate, how far does she travel in:
- **1 hour?**
- **1/2 hour?**
- **3 hours?**
To solve this, try using different representations:
- **Bar models**
- **Double number lines**
- **Ratio tables**
- **Graphs**
๐Ÿ”น **Goal:** Don't just find the answerโ€”**explain why**!
๐Ÿ’ฌ I'll guide you step by stepโ€”letโ€™s start with the **bar model**.
"""
# ๐Ÿ“Š Step 1: Bar Model Representation
BAR_MODEL_PROMPT = """
### **Step 1: Bar Model Representation**
Imagine a **bar** representing 90 milesโ€”the distance Jessica travels in **2 hours**.
๐Ÿงฉ How might you divide this bar to explore the distances for **1 hour, 1/2 hour, and 3 hours**?
๐Ÿ’ญ *Explain how each section of your bar relates to these time intervals!*
**๐Ÿ’ก Need a hint?**
1๏ธโƒฃ *Think of the entire bar as representing **90 miles in 2 hours**. How would you divide it into two equal parts to find 1 hour?*
2๏ธโƒฃ *Now, extend or divide it furtherโ€”what happens for **1/2 hour and 3 hours**?*
โœ… If correct: *Great! Can you explain why this model helps students visualize proportional relationships?*
โŒ If incorrect: *Try dividing the bar into two equal sections. What does each section represent?*
"""
# ๐Ÿ“ Step 2: Double Number Line Representation
DOUBLE_NUMBER_LINE_PROMPT = """
### **Step 2: Double Number Line Representation**
Now, letโ€™s use a **double number line**!
๐Ÿ“Œ **Create two parallel lines**: one for **time (hours)** and one for **distance (miles)**.
Start by marking:
โณ **0 and 2 hours** on the top line
๐Ÿš— **0 and 90 miles** on the bottom line
What comes next?
**๐Ÿ’ก Need a hint?**
1๏ธโƒฃ Try labeling the time line **(0, 1, 2, 3)**. How does that help with placing distances below?
2๏ธโƒฃ Since **2 hours = 90 miles**, what does that tell you about **1 hour and 1/2 hour**?
โœ… If correct: *Nice work! How does this help students understand proportional relationships?*
โŒ If incorrect: *Check your spacingโ€”does your number line keep a constant rate?*
"""
# ๐Ÿ“‹ Step 3: Ratio Table Representation
RATIO_TABLE_PROMPT = """
### **Step 3: Ratio Table Representation**
Next, letโ€™s create a **ratio table**!
๐Ÿ“ Make a table with:
๐Ÿ“Œ **Column 1:** Time (hours)
๐Ÿ“Œ **Column 2:** Distance (miles)
You already know **2 hours = 90 miles**.
๐Ÿค” How would you complete the table for **1/2 hour, 1 hour, and 3 hours**?
**๐Ÿ’ก Need a hint?**
1๏ธโƒฃ Since **2 hours = 90 miles**, how can you divide this to find **1 hour**?
2๏ธโƒฃ Once you know **1 hour = 45 miles**, can you calculate for **1/2 hour and 3 hours**?
โœ… If correct: *Well done! How might this help students compare proportional relationships?*
โŒ If incorrect: *Somethingโ€™s a little off. Try using unit rate: 90 รท 2 = ?*
"""
# ๐Ÿ“‰ Step 4: Graph Representation
GRAPH_PROMPT = """
### **Step 4: Graph Representation**
Now, letโ€™s **graph this problem**!
๐Ÿ›  **Plot:**
๐Ÿ“Œ **Time (hours) on the x-axis**
๐Ÿ“Œ **Distance (miles) on the y-axis**
You already know two key points:
๐Ÿ”น **(0,0) and (2,90)**
๐Ÿค” What other points will you add?
**๐Ÿ’ก Need a hint?**
1๏ธโƒฃ Start by marking **(0,0) and (2,90)**.
2๏ธโƒฃ How can you use these to find **(1,45), (1/2,22.5), and (3,135)?**
โœ… If correct: *Fantastic! How does this graph reinforce the idea of constant rate and proportionality?*
โŒ If incorrect: *Does your line pass through (0,0)? Why is that important?*
"""
# ๐Ÿ”„ Reflection Prompt
REFLECTION_PROMPT = """
### **Reflection Time!**
Now that you've explored **multiple representations**, think about these questions:
๐Ÿ’ก How does each method highlight **proportional reasoning differently**?
๐Ÿ’ฌ Which representation do you prefer, and why?
๐Ÿš€ Can you think of a situation where one of these representations **wouldnโ€™t** be the best choice?
Take a moment to reflect! ๐Ÿ˜Š
"""
# ๐ŸŽฏ Summary Prompt
SUMMARY_PROMPT = """
### **Summary of Module 2**
๐Ÿ“Œ **In this module, you:**
โœ… Solved a proportional reasoning problem using **multiple representations**
โœ… Explored how different models highlight proportional relationships
โœ… Reflected on teaching strategies aligned with **Common Core practices**
๐Ÿ“ **Final Task:** Try creating a **similar proportional reasoning problem**!
Example: A **runner covers a certain distance in a given time**.
๐Ÿ’ก Make sure your problem can be solved using:
โœ… **Bar models**
โœ… **Double number lines**
โœ… **Ratio tables**
โœ… **Graphs**
๐Ÿ“ข *The AI will evaluate your problem and provide feedback!*
"""
# ๐Ÿš€ Final Reflection Prompt
FINAL_REFLECTION_PROMPT = """
### **Final Reflection**
- How does designing and solving problems using **multiple representations** enhance studentsโ€™ mathematical creativity?
- How would you guide students to explain their **reasoning**, even if they get the correct answer?
๐Ÿ“Œ Share your thoughts!
"""