Spaces:
Sleeping
Sleeping
# 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! | |
""" |