alibicer commited on
Commit
6daa3a9
·
verified ·
1 Parent(s): d5099ea

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +93 -116
prompts/main_prompt.py CHANGED
@@ -1,148 +1,125 @@
1
- # prompts/main_prompt.py
 
2
 
3
- __all__ = ["TASK_PROMPT", "BAR_MODEL_PROMPT", "DOUBLE_NUMBER_LINE_PROMPT",
4
- "RATIO_TABLE_PROMPT", "GRAPH_PROMPT", "REFLECTION_PROMPT",
5
- "SUMMARY_PROMPT", "FINAL_REFLECTION_PROMPT"]
 
 
 
6
 
7
- # 🟢 STARTING WITH TASK
8
- TASK_PROMPT = """
9
- 🚀 **Welcome to Module 2: Solving a Ratio Problem Using Multiple Representations!**
10
 
11
- ### **Task:**
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
- To solve this, try using different representations:
18
- **Bar models**
19
- **Double number lines**
20
- **Ratio tables**
21
- **Graphs**
 
22
 
23
- 💡 **Goal:** Don't just find the answer—**explain why**!
24
- 💬 I'll guide you step by step—let’s start with the **bar model!**
25
- """
26
 
27
- # 📊 Bar Model Prompt
28
- BAR_MODEL_PROMPT = """
29
- 📊 **Step 1: Bar Model Representation**
30
 
31
- Imagine a **bar** representing 90 miles—the distance Jessica travels in **2 hours**.
32
- 🧩 How might you divide this bar to explore the distances for **1 hour, ½ hour, and 3 hours**?
33
 
34
- 💭 *Explain how each section of your bar relates to these time intervals!*
 
 
 
 
35
 
36
- 🔹 **Hints if needed:**
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
- ✅ If correct: *Great! Can you explain why this model helps students visualize proportional relationships?*
41
- ❌ If incorrect: *Try dividing the bar into two equal sections. What does each section represent?*
42
- """
43
 
44
- # 📏 Double Number Line Prompt
45
- DOUBLE_NUMBER_LINE_PROMPT = """
46
- 📏 **Step 2: Double Number Line Representation**
47
 
48
- Now, let’s use a **double number line**!
49
- 📌 **Create two parallel lines**: one for **time (hours)** and one for **distance (miles)**.
 
 
 
 
 
 
 
 
 
50
 
51
- Start by marking:
52
- ⏳ **0 and 2 hours** on the top line
53
- 🚗 **0 and 90 miles** on the bottom line
54
 
55
- What comes next?
56
 
57
- 🔹 **Hints if needed:**
58
- 1️⃣ Try labeling the time line **(0, 1, 2, 3)**. How does that help with placing distances below?
59
- 2️⃣ Since **2 hours = 90 miles**, what does that tell you about **1 hour and ½ hour**?
60
 
61
- If correct: *Nice work! How does this help students understand proportional relationships?*
62
- If incorrect: *Check your spacing—does your number line keep a constant rate?*
63
- """
64
 
65
- # 📋 Ratio Table Prompt
66
- RATIO_TABLE_PROMPT = """
67
- 📋 **Step 3: Ratio Table Representation**
 
 
 
68
 
69
- Next, let’s create a **ratio table**!
70
- 📝 Make a table with:
71
- 📌 **Column 1:** Time (hours)
72
- 📌 **Column 2:** Distance (miles)
73
 
74
- You already know **2 hours = 90 miles**.
75
- 🤔 How would you complete the table for **½ hour, 1 hour, and 3 hours**?
76
 
77
- 🔹 **Hints if needed:**
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
- If correct: *Well done! How might this help students compare proportional relationships?*
82
- If incorrect: *Something’s a little off. Try using unit rate: 90 ÷ 2 = ?*
83
- """
84
 
85
- # 📉 Graph Prompt
86
- GRAPH_PROMPT = """
87
- 📉 **Step 4: Graph Representation**
 
 
 
 
 
 
 
 
 
88
 
89
- Now, let’s **graph this problem**!
90
- 🛠 **Plot:**
91
- 📌 **Time (hours) on the x-axis**
92
- 📌 **Distance (miles) on the y-axis**
93
 
94
- You already know two key points:
95
- 🔹 **(0,0) and (2,90)**
96
 
97
- 🤔 What other points will you add?
 
 
 
 
98
 
99
- 🔹 **Hints if needed:**
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
- If correct: *Fantastic! How does this graph reinforce the idea of constant rate and proportionality?*
104
- If incorrect: *Does your line pass through (0,0)? Why is that important?*
105
- """
 
106
 
107
- # 🔄 Reflection Prompt
108
- REFLECTION_PROMPT = """
109
- 🔄 **Reflection Time!**
110
 
111
- Now that you've explored **multiple representations**, think about these questions:
112
- 💡 How does each method highlight **proportional reasoning differently**?
113
- 💬 Which representation do you prefer, and why?
114
- 🚀 Can you think of a situation where one of these representations **wouldn’t** be the best choice?
115
 
116
- Take a moment to reflect! 😊
117
- """
118
 
119
- # 🎯 Summary Prompt
120
- SUMMARY_PROMPT = """
121
- 🎯 **Summary of Module 2**
 
122
 
123
- 📌 **In this module, you:**
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.** 🚀