Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +135 -132
prompts/main_prompt.py
CHANGED
@@ -1,132 +1,135 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
1 |
+
# Module 2: Solving a Ratio Problem Using Multiple Representations
|
2 |
+
|
3 |
+
INTRO_PROMPT = """
|
4 |
+
👋 Welcome to **Module 2** on **proportional reasoning and multiple representations**!
|
5 |
+
Today, you’ll explore a real-world problem using different mathematical tools.
|
6 |
+
|
7 |
+
🚗 **Jessica drives 90 miles in 2 hours. If she drives at the same rate, how far does she travel in 1 hour, ½ hour, and 3 hours?**
|
8 |
+
|
9 |
+
You'll use:
|
10 |
+
✅ **Bar models**
|
11 |
+
✅ **Double number lines**
|
12 |
+
✅ **Ratio tables**
|
13 |
+
✅ **Graphs**
|
14 |
+
|
15 |
+
🔍 **Remember:** The goal is not just to get the right answer, but to explore **why** the relationships work the way they do.
|
16 |
+
💬 I’ll guide you step by step—feel free to ask for hints along the way!
|
17 |
+
|
18 |
+
Let's start with the **bar model**!
|
19 |
+
"""
|
20 |
+
|
21 |
+
BAR_MODEL_PROMPT = """
|
22 |
+
📊 **Step 1: Bar Model Representation**
|
23 |
+
|
24 |
+
Imagine a **bar** representing 90 miles—the distance Jessica travels in **2 hours**.
|
25 |
+
🧩 How might you divide this bar to explore the distances for **1 hour, ½ hour, and 3 hours**?
|
26 |
+
|
27 |
+
💭 *Please explain how each section of your bar relates to these time intervals!*
|
28 |
+
|
29 |
+
**💡 Need a hint?**
|
30 |
+
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?*
|
31 |
+
2️⃣ *Now, extend or divide it further—what happens for **½ hour and 3 hours**?*
|
32 |
+
|
33 |
+
✅ If correct: *Great! Can you explain why this model helps students visualize proportional relationships?*
|
34 |
+
❌ If incorrect: *Try dividing the bar into two equal sections. What does each section represent?*
|
35 |
+
"""
|
36 |
+
|
37 |
+
DOUBLE_NUMBER_LINE_PROMPT = """
|
38 |
+
📏 **Step 2: Double Number Line Representation**
|
39 |
+
|
40 |
+
Now, let’s use a **double number line**!
|
41 |
+
📌 **Create two parallel lines**: one for **time (hours)** and one for **distance (miles)**.
|
42 |
+
|
43 |
+
Start by marking:
|
44 |
+
⏳ **0 and 2 hours** on the top line
|
45 |
+
🚗 **0 and 90 miles** on the bottom line
|
46 |
+
|
47 |
+
What comes next?
|
48 |
+
|
49 |
+
**💡 Need a hint?**
|
50 |
+
1️⃣ Try labeling the time line **(0, 1, 2, 3)**. How does that help with placing distances below?
|
51 |
+
2️⃣ Since **2 hours = 90 miles**, what does that tell you about **1 hour and ½ hour**?
|
52 |
+
|
53 |
+
✅ If correct: *Nice work! How does this help students understand proportional relationships?*
|
54 |
+
❌ If incorrect: *Check your spacing—does your number line keep a constant rate?*
|
55 |
+
"""
|
56 |
+
|
57 |
+
RATIO_TABLE_PROMPT = """
|
58 |
+
📋 **Step 3: Ratio Table Representation**
|
59 |
+
|
60 |
+
Next, let’s create a **ratio table**!
|
61 |
+
📝 Make a table with:
|
62 |
+
📌 **Column 1:** Time (hours)
|
63 |
+
📌 **Column 2:** Distance (miles)
|
64 |
+
|
65 |
+
You already know **2 hours = 90 miles**.
|
66 |
+
🤔 How would you complete the table for **½ hour, 1 hour, and 3 hours**?
|
67 |
+
|
68 |
+
**💡 Need a hint?**
|
69 |
+
1️⃣ Since **2 hours = 90 miles**, how can you divide this to find **1 hour**?
|
70 |
+
2️⃣ Once you know **1 hour = 45 miles**, can you calculate for **½ hour and 3 hours**?
|
71 |
+
|
72 |
+
✅ If correct: *Well done! How might this help students compare proportional relationships?*
|
73 |
+
❌ If incorrect: *Something’s a little off. Try using unit rate: 90 ÷ 2 = ?*
|
74 |
+
"""
|
75 |
+
|
76 |
+
GRAPH_PROMPT = """
|
77 |
+
📉 **Step 4: Graph Representation**
|
78 |
+
|
79 |
+
Now, let’s **graph this problem**!
|
80 |
+
🛠 **Plot:**
|
81 |
+
📌 **Time (hours) on the x-axis**
|
82 |
+
📌 **Distance (miles) on the y-axis**
|
83 |
+
|
84 |
+
You already know two key points:
|
85 |
+
🔹 **(0,0) and (2,90)**
|
86 |
+
|
87 |
+
🤔 What other points will you add?
|
88 |
+
|
89 |
+
**💡 Need a hint?**
|
90 |
+
1️⃣ Start by marking **(0,0) and (2,90)**.
|
91 |
+
2️⃣ How can you use these to find **(1,45), (½,22.5), and (3,135)?**
|
92 |
+
|
93 |
+
✅ If correct: *Fantastic! How does this graph reinforce the idea of constant rate and proportionality?*
|
94 |
+
❌ If incorrect: *Does your line pass through (0,0)? Why is that important?*
|
95 |
+
"""
|
96 |
+
|
97 |
+
REFLECTION_PROMPT = """
|
98 |
+
🔄 **Reflection Time!**
|
99 |
+
|
100 |
+
Now that you've explored **multiple representations**, think about these questions:
|
101 |
+
💡 How does each method highlight **proportional reasoning differently**?
|
102 |
+
💬 Which representation do you prefer, and why?
|
103 |
+
🚀 Can you think of a situation where one of these representations **wouldn’t** be the best choice?
|
104 |
+
|
105 |
+
Take a moment to reflect! 😊
|
106 |
+
"""
|
107 |
+
|
108 |
+
SUMMARY_PROMPT = """
|
109 |
+
🎯 **Summary of Module 2**
|
110 |
+
|
111 |
+
📌 **In this module, you:**
|
112 |
+
✅ Solved a proportional reasoning problem using **multiple representations**
|
113 |
+
✅ Explored how different models highlight proportional relationships
|
114 |
+
✅ Reflected on teaching strategies aligned with **Common Core practices**
|
115 |
+
|
116 |
+
To **wrap up**, try creating a **similar proportional reasoning problem**!
|
117 |
+
Example: A **runner covers a certain distance in a given time**.
|
118 |
+
|
119 |
+
💡 Make sure your problem can be solved using:
|
120 |
+
✅ **Bar models**
|
121 |
+
✅ **Double number lines**
|
122 |
+
✅ **Ratio tables**
|
123 |
+
✅ **Graphs**
|
124 |
+
|
125 |
+
📢 *The AI will evaluate your problem and provide feedback!*
|
126 |
+
"""
|
127 |
+
|
128 |
+
FINAL_REFLECTION_PROMPT = """
|
129 |
+
🚀 **Final Reflection**
|
130 |
+
|
131 |
+
- How does designing and solving problems using **multiple representations** enhance students’ mathematical creativity?
|
132 |
+
- How would you guide students to explain their **reasoning**, even if they get the correct answer?
|
133 |
+
|
134 |
+
📌 Share your thoughts!
|
135 |
+
"""
|