Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +93 -116
prompts/main_prompt.py
CHANGED
@@ -1,148 +1,125 @@
|
|
1 |
-
|
|
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
6 |
|
7 |
-
|
8 |
-
TASK_PROMPT = """
|
9 |
-
🚀 **Welcome to Module 2: Solving a Ratio Problem Using Multiple Representations!**
|
10 |
|
11 |
-
|
12 |
-
Jessica drives **90 miles in 2 hours**. If she drives at the same rate, **how far does she travel in:**
|
13 |
-
- **1 hour?**
|
14 |
-
- **½ hour?**
|
15 |
-
- **3 hours?**
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
22 |
|
23 |
-
|
24 |
-
💬 I'll guide you step by step—let’s start with the **bar model!**
|
25 |
-
"""
|
26 |
|
27 |
-
|
28 |
-
BAR_MODEL_PROMPT = """
|
29 |
-
📊 **Step 1: Bar Model Representation**
|
30 |
|
31 |
-
|
32 |
-
|
33 |
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
|
36 |
-
|
37 |
-
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?*
|
38 |
-
2️⃣ *Now, extend or divide it further—what happens for **½ hour and 3 hours**?*
|
39 |
|
40 |
-
|
41 |
-
❌ If incorrect: *Try dividing the bar into two equal sections. What does each section represent?*
|
42 |
-
"""
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
📏 **Step 2: Double Number Line Representation**
|
47 |
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
-
|
52 |
-
⏳ **0 and 2 hours** on the top line
|
53 |
-
🚗 **0 and 90 miles** on the bottom line
|
54 |
|
55 |
-
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
2️⃣ Since **2 hours = 90 miles**, what does that tell you about **1 hour and ½ hour**?
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
"""
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
📌 **Column 1:** Time (hours)
|
72 |
-
📌 **Column 2:** Distance (miles)
|
73 |
|
74 |
-
|
75 |
-
🤔 How would you complete the table for **½ hour, 1 hour, and 3 hours**?
|
76 |
|
77 |
-
|
78 |
-
1️⃣ Since **2 hours = 90 miles**, how can you divide this to find **1 hour**?
|
79 |
-
2️⃣ Once you know **1 hour = 45 miles**, can you calculate for **½ hour and 3 hours**?
|
80 |
|
81 |
-
|
82 |
-
|
83 |
-
"""
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
-
|
90 |
-
🛠 **Plot:**
|
91 |
-
📌 **Time (hours) on the x-axis**
|
92 |
-
📌 **Distance (miles) on the y-axis**
|
93 |
|
94 |
-
|
95 |
-
🔹 **(0,0) and (2,90)**
|
96 |
|
97 |
-
|
|
|
|
|
|
|
|
|
98 |
|
99 |
-
|
100 |
-
1️⃣ Start by marking **(0,0) and (2,90)**.
|
101 |
-
2️⃣ How can you use these to find **(1,45), (½,22.5), and (3,135)?**
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
106 |
|
107 |
-
|
108 |
-
REFLECTION_PROMPT = """
|
109 |
-
🔄 **Reflection Time!**
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
|
116 |
-
|
117 |
-
"""
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
122 |
|
123 |
-
|
124 |
-
✅ Solved a proportional reasoning problem using **multiple representations**
|
125 |
-
✅ Explored how different models highlight proportional relationships
|
126 |
-
✅ Reflected on teaching strategies aligned with **Common Core practices**
|
127 |
-
|
128 |
-
📝 **Final Task:** Try creating a **similar proportional reasoning problem**!
|
129 |
-
Example: A **runner covers a certain distance in a given time**.
|
130 |
-
|
131 |
-
💡 Make sure your problem can be solved using:
|
132 |
-
✅ **Bar models**
|
133 |
-
✅ **Double number lines**
|
134 |
-
✅ **Ratio tables**
|
135 |
-
✅ **Graphs**
|
136 |
-
|
137 |
-
📢 *The AI will evaluate your problem and provide feedback!*
|
138 |
-
"""
|
139 |
-
|
140 |
-
# 🚀 Final Reflection Prompt
|
141 |
-
FINAL_REFLECTION_PROMPT = """
|
142 |
-
🚀 **Final Reflection**
|
143 |
-
|
144 |
-
- How does designing and solving problems using **multiple representations** enhance students’ mathematical creativity?
|
145 |
-
- How would you guide students to explain their **reasoning**, even if they get the correct answer?
|
146 |
-
|
147 |
-
📌 Share your thoughts!
|
148 |
-
"""
|
|
|
1 |
+
## Task: Representing Jessica’s Driving Distance 🚗
|
2 |
+
Jessica is driving at a constant speed. She travels **90 miles in 2 hours**.
|
3 |
|
4 |
+
### Your Goal:
|
5 |
+
Represent the relationship between **time and distance** using different mathematical models:
|
6 |
+
✅ Bar Model
|
7 |
+
✅ Double Number Line
|
8 |
+
✅ Ratio Table
|
9 |
+
✅ Graph
|
10 |
|
11 |
+
Let’s go through each representation step by step!
|
|
|
|
|
12 |
|
13 |
+
---
|
|
|
|
|
|
|
|
|
14 |
|
15 |
+
### Step 1: Identifying Current Representation
|
16 |
+
Which representations have you already used to show the relationship between time and distance?
|
17 |
+
- Bar Model
|
18 |
+
- Double Number Line
|
19 |
+
- Ratio Table
|
20 |
+
- Graph
|
21 |
|
22 |
+
If you haven’t used all of them, let’s go through each one step by step.
|
|
|
|
|
23 |
|
24 |
+
---
|
|
|
|
|
25 |
|
26 |
+
### Step 2: Bar Model Representation 📊
|
27 |
+
Have you created a **bar model** to represent Jessica’s travel?
|
28 |
|
29 |
+
**If not, follow these steps:**
|
30 |
+
1️⃣ Draw a **long bar** to represent **2 hours of driving**, labeling it **90 miles**.
|
31 |
+
2️⃣ Divide the bar into **two equal parts** to show **1 hour = 45 miles**.
|
32 |
+
3️⃣ Extend the bar to **3 hours** by adding another **45-mile segment**.
|
33 |
+
4️⃣ Divide **one 1-hour segment in half** to show **½ hour = 22.5 miles**.
|
34 |
|
35 |
+
✅ Does your bar model correctly show **½, 1, 2, and 3 hours**?
|
|
|
|
|
36 |
|
37 |
+
---
|
|
|
|
|
38 |
|
39 |
+
### Step 3: Double Number Line Representation 📏
|
40 |
+
Have you created a **double number line** for time and distance?
|
|
|
41 |
|
42 |
+
**If not, follow these steps:**
|
43 |
+
1️⃣ Draw **two parallel number lines**:
|
44 |
+
- The **top line** represents **time (hours)**.
|
45 |
+
- The **bottom line** represents **distance (miles)**.
|
46 |
+
2️⃣ Mark these key points:
|
47 |
+
- **0 hours → 0 miles**
|
48 |
+
- **½ hour → 22.5 miles**
|
49 |
+
- **1 hour → 45 miles**
|
50 |
+
- **2 hours → 90 miles**
|
51 |
+
- **3 hours → 135 miles**
|
52 |
+
3️⃣ Ensure the distances are evenly spaced.
|
53 |
|
54 |
+
✅ Does your number line show a **proportional relationship**?
|
|
|
|
|
55 |
|
56 |
+
---
|
57 |
|
58 |
+
### Step 4: Ratio Table Representation 📋
|
59 |
+
Have you created a **ratio table**?
|
|
|
60 |
|
61 |
+
**If not, follow these steps:**
|
62 |
+
1️⃣ Fill in the table below:
|
|
|
63 |
|
64 |
+
| Time (hours) | Distance (miles) |
|
65 |
+
|-------------|-----------------|
|
66 |
+
| 0.5 | 22.5 |
|
67 |
+
| 1 | 45 |
|
68 |
+
| 2 | 90 |
|
69 |
+
| 3 | 135 |
|
70 |
|
71 |
+
2️⃣ Look for patterns.
|
72 |
+
3️⃣ What would be the distance for **4 hours**?
|
|
|
|
|
73 |
|
74 |
+
✅ Does your table clearly show a **proportional pattern**?
|
|
|
75 |
|
76 |
+
---
|
|
|
|
|
77 |
|
78 |
+
### Step 5: Graph Representation 📈
|
79 |
+
Have you created a **graph** to represent this relationship?
|
|
|
80 |
|
81 |
+
**If not, follow these steps:**
|
82 |
+
1️⃣ Draw a **coordinate plane**:
|
83 |
+
- **x-axis → time (hours)**
|
84 |
+
- **y-axis → distance (miles)**
|
85 |
+
2️⃣ Plot these points:
|
86 |
+
- (0, 0)
|
87 |
+
- (0.5, 22.5)
|
88 |
+
- (1, 45)
|
89 |
+
- (2, 90)
|
90 |
+
- (3, 135)
|
91 |
+
3️⃣ Draw a straight line through these points.
|
92 |
+
4️⃣ What does the **slope of the line** tell you about Jessica’s driving rate?
|
93 |
|
94 |
+
✅ Does your graph correctly show a **linear relationship**?
|
|
|
|
|
|
|
95 |
|
96 |
+
---
|
|
|
97 |
|
98 |
+
### Step 6: Final Reflection 💭
|
99 |
+
Great job! Now, take a moment to reflect:
|
100 |
+
1️⃣ Which representation helped you understand the relationship best? Why?
|
101 |
+
2️⃣ How do these representations show the **same proportional relationship** in different ways?
|
102 |
+
3️⃣ Can you apply this method to another real-world proportional relationship?
|
103 |
|
104 |
+
---
|
|
|
|
|
105 |
|
106 |
+
### New Challenge 🌟
|
107 |
+
Imagine Jessica **increases her speed** by **10 miles per hour**.
|
108 |
+
- How would this affect the bar model, number line, ratio table, and graph?
|
109 |
+
- Try adjusting your models to reflect this change!
|
110 |
|
111 |
+
---
|
|
|
|
|
112 |
|
113 |
+
### Summary of Objectives 🎯
|
114 |
+
- You explored **four ways** to represent proportional relationships: **Bar Model, Double Number Line, Ratio Table, and Graph**.
|
115 |
+
- You understood how **time and distance** relate at a **constant rate**.
|
116 |
+
- You analyzed how different models show the **same mathematical pattern**.
|
117 |
|
118 |
+
---
|
|
|
119 |
|
120 |
+
### Common Core Math Standards 🏆
|
121 |
+
- **6.RP.A.1** - Understand the concept of a ratio.
|
122 |
+
- **6.RP.A.3a** - Use ratio reasoning to solve real-world problems.
|
123 |
+
- **7.RP.A.2** - Recognize proportional relationships.
|
124 |
|
125 |
+
✅ **Congratulations! You’ve completed this module.** 🚀
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|