Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +91 -48
prompts/main_prompt.py
CHANGED
@@ -9,7 +9,7 @@ Task Introduction
|
|
9 |
**Problem 2:** Tugce’s cell phone service charges her $22.50 per month for phone service, plus $0.35 for each text she sends or receives. Last month, she sent or received 30 texts, and her bill was $33. How much will she pay if she sends or receives 60 texts this month?
|
10 |
**Problem 3:** Ali and Deniz both go for a run. When they run, both run at the same rate. Today, they started at different times. Ali had run 3 miles when Deniz had run 2 miles. How many miles had Deniz run when Ali had run 6 miles?
|
11 |
|
12 |
-
💡 **Before receiving guidance,
|
13 |
🚀 **Let's start with Problem 1. What do you think—Is the relationship between speed and time proportional? Why or why not?**
|
14 |
"""
|
15 |
|
@@ -21,10 +21,15 @@ Great! Let’s analyze the relationship between speed and time.
|
|
21 |
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
22 |
- How do you determine if a relationship is proportional?
|
23 |
- What happens to travel time when speed increases?
|
24 |
-
|
25 |
-
🌊 **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
26 |
-
"""
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
elif problem_number == "2":
|
29 |
return """
|
30 |
### **Problem 2: Tugce's Cell Phone Bill**
|
@@ -32,10 +37,16 @@ Nice choice! Let’s break this down step by step.
|
|
32 |
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
33 |
- What is the fixed charge in the bill, and why does it matter?
|
34 |
- How does the cost per text affect proportionality?
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
"""
|
38 |
-
|
39 |
elif problem_number == "3":
|
40 |
return """
|
41 |
### **Problem 3: Ali and Deniz's Running**
|
@@ -43,63 +54,95 @@ Good thinking! Let’s explore the relationship between their distances.
|
|
43 |
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
44 |
- If both run at the same rate, why does their distance differ?
|
45 |
- How can we determine the pattern in their distances over time?
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
"""
|
49 |
-
|
50 |
return "I didn’t understand your choice. Please select Problem 1, 2, or 3."
|
51 |
|
52 |
def get_feedback_for_problem(problem_number, teacher_response):
|
53 |
if problem_number == "1":
|
54 |
-
|
55 |
-
|
56 |
-
""
|
57 |
|
58 |
elif problem_number == "2":
|
59 |
-
|
60 |
-
|
61 |
-
""
|
62 |
-
|
63 |
elif problem_number == "3":
|
64 |
-
|
65 |
-
|
66 |
-
""
|
67 |
-
|
68 |
return "Interesting approach! Could you clarify your reasoning a bit more?"
|
69 |
|
70 |
-
|
|
|
71 |
return """
|
72 |
-
### **
|
|
|
|
|
73 |
|
74 |
-
|
75 |
-
|
76 |
-
Now that you've shared your thoughts, here are some key Common Core Practice Standards we engaged with:
|
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 |
-
# Ensuring the conversation remains interactive and engaging
|
103 |
-
# This structured version prevents AI from giving direct answers immediately,
|
104 |
-
# encourages teachers to explain their thinking, and ensures full coverage of
|
105 |
-
# Common Core and creativity-directed practices before moving to the next steps.
|
|
|
9 |
**Problem 2:** Tugce’s cell phone service charges her $22.50 per month for phone service, plus $0.35 for each text she sends or receives. Last month, she sent or received 30 texts, and her bill was $33. How much will she pay if she sends or receives 60 texts this month?
|
10 |
**Problem 3:** Ali and Deniz both go for a run. When they run, both run at the same rate. Today, they started at different times. Ali had run 3 miles when Deniz had run 2 miles. How many miles had Deniz run when Ali had run 6 miles?
|
11 |
|
12 |
+
💡 **Before receiving guidance, explain your reasoning for each problem.**
|
13 |
🚀 **Let's start with Problem 1. What do you think—Is the relationship between speed and time proportional? Why or why not?**
|
14 |
"""
|
15 |
|
|
|
21 |
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
22 |
- How do you determine if a relationship is proportional?
|
23 |
- What happens to travel time when speed increases?
|
24 |
+
✏️ **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
|
|
|
|
25 |
|
26 |
+
Follow-up Prompts:
|
27 |
+
- What is the total distance Ali travels at 25 mph for 3 hours?
|
28 |
+
- If the distance remains the same, what happens when his speed increases?
|
29 |
+
- How does this affect the relationship between speed and time?
|
30 |
+
- Would you like to move on to Problem 2 now, or discuss more about Problem 1?
|
31 |
+
"""
|
32 |
+
|
33 |
elif problem_number == "2":
|
34 |
return """
|
35 |
### **Problem 2: Tugce's Cell Phone Bill**
|
|
|
37 |
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
38 |
- What is the fixed charge in the bill, and why does it matter?
|
39 |
- How does the cost per text affect proportionality?
|
40 |
+
✏️ **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
41 |
+
|
42 |
+
Follow-up Prompts:
|
43 |
+
- How much does Tugce pay for 30 texts?
|
44 |
+
- How would the bill change if she sent 60 texts?
|
45 |
+
- Does the bill start from zero, or does it have a fixed cost?
|
46 |
+
- Do you see why this relationship is non-proportional?
|
47 |
+
- Would you like to attempt solving it yourself before I provide guidance?
|
48 |
"""
|
49 |
+
|
50 |
elif problem_number == "3":
|
51 |
return """
|
52 |
### **Problem 3: Ali and Deniz's Running**
|
|
|
54 |
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
55 |
- If both run at the same rate, why does their distance differ?
|
56 |
- How can we determine the pattern in their distances over time?
|
57 |
+
✏️ **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
58 |
+
|
59 |
+
Follow-up Prompts:
|
60 |
+
- What happens to the difference in distance as time progresses? Does it remain constant or change?
|
61 |
+
- If Ali had run 3 miles while Deniz had run 2 miles, how much more does Ali run compared to Deniz?
|
62 |
+
- Now, when Ali reaches 6 miles, what pattern do you notice in their distances?
|
63 |
+
- Can you explain why this is an additive relationship rather than a proportional one?
|
64 |
+
- Would you like to attempt solving it yourself before I provide guidance?
|
65 |
"""
|
66 |
+
|
67 |
return "I didn’t understand your choice. Please select Problem 1, 2, or 3."
|
68 |
|
69 |
def get_feedback_for_problem(problem_number, teacher_response):
|
70 |
if problem_number == "1":
|
71 |
+
if "inverse" in teacher_response.lower():
|
72 |
+
return "Good observation! Since speed and time vary inversely, increasing speed decreases time. Can you verify if the ratio stays constant?"
|
73 |
+
return "Think about what happens to travel time when speed increases. Does the ratio between speed and time remain fixed? Can you calculate the new travel time?"
|
74 |
|
75 |
elif problem_number == "2":
|
76 |
+
if "fixed charge" in teacher_response.lower() and "$22.50" in teacher_response.lower():
|
77 |
+
return "Great insight! The fixed charge prevents proportionality. How does the per-text charge fit into this? Can you compute the total cost for 60 texts?"
|
78 |
+
return "What happens if the number of texts is zero? Does the total cost still change? Why? Can you calculate the total bill if she sends 60 texts?"
|
79 |
+
|
80 |
elif problem_number == "3":
|
81 |
+
if "constant difference" in teacher_response.lower():
|
82 |
+
return "Nice thinking! The key here is the additive nature of their distances. Can you determine the difference at another point in time? How far has Deniz run when Ali reaches 6 miles?"
|
83 |
+
return "Since they run at the same speed but started at different times, how does that affect their distances? Can you compute how far Deniz has run when Ali reaches 6 miles?"
|
84 |
+
|
85 |
return "Interesting approach! Could you clarify your reasoning a bit more?"
|
86 |
|
87 |
+
### **Common Core Practice Standards Discussion**
|
88 |
+
def discuss_common_core():
|
89 |
return """
|
90 |
+
### **Common Core Practice Standards**
|
91 |
+
Before we discuss, what Common Core Practice Standards do you think were covered in this module?
|
92 |
+
Think about problem-solving strategies, reasoning skills, and the way we modeled relationships mathematically.
|
93 |
|
94 |
+
After your response, I will provide insights into the specific standards covered.
|
95 |
+
"""
|
|
|
96 |
|
97 |
+
def provide_common_core_explanation():
|
98 |
+
return """
|
99 |
+
We covered the following Common Core Practice Standards:
|
100 |
+
- **MP1:** Make sense of problems and persevere in solving them.
|
101 |
+
- **MP2:** Reason abstractly and quantitatively.
|
102 |
+
- **MP3:** Construct viable arguments and critique the reasoning of others.
|
103 |
+
- **MP4:** Model with mathematics.
|
104 |
+
- **MP5:** Use appropriate tools strategically.
|
105 |
+
- **MP6:** Attend to precision.
|
106 |
+
- **MP7:** Look for and make use of structure.
|
107 |
+
- **MP8:** Look for and express regularity in repeated reasoning.
|
108 |
+
|
109 |
+
These standards encourage problem-solving, reasoning, and application of mathematical concepts to real-world situations.
|
110 |
+
"""
|
111 |
|
112 |
+
### **Problem Posing Activity**
|
113 |
+
def problem_posing_activity():
|
114 |
+
return """
|
115 |
+
Now, let’s take it a step further!
|
116 |
+
Can you create your own problem that involves a non-proportional relationship?
|
117 |
+
Think about situations where a fixed starting value, an additive difference, or an inverse relationship might appear.
|
118 |
+
After writing your problem, explain why it is non-proportional.
|
119 |
+
"""
|
120 |
|
121 |
+
### **Creativity-Directed Practices**
|
122 |
+
def discuss_creativity_directed_practices():
|
123 |
+
return """
|
124 |
+
Before we wrap up, what creativity-directed practices do you think were encouraged in this module?
|
125 |
+
Consider how problem-solving, modeling, and reasoning played a role in understanding non-proportional relationships.
|
126 |
+
"""
|
127 |
|
128 |
+
def provide_creativity_explanation():
|
129 |
+
return """
|
130 |
+
In this module, we engaged in:
|
131 |
+
- **Problem Solving & Innovation**
|
132 |
+
- **Modeling Real-World Situations**
|
133 |
+
- **Interpreting and Representing Data**
|
134 |
+
- **Exploring Multiple Solutions**
|
135 |
+
- **Connecting Mathematical Concepts**
|
136 |
+
- **Reflecting on Reasoning**
|
137 |
+
|
138 |
+
These creativity-directed practices help deepen mathematical understanding and foster flexible thinking.
|
139 |
+
"""
|
140 |
|
141 |
+
### **Summary of Learning**
|
142 |
+
def summarize_learning():
|
143 |
+
return """
|
144 |
+
### **Summary of Learning**
|
145 |
+
In this module, we explored non-proportional relationships and applied content knowledge (CK), pedagogical content knowledge (PCK), and mathematical creativity (MC).
|
146 |
+
We analyzed real-world examples, discussed teaching strategies, and engaged in problem-solving that emphasized both structure and flexibility in mathematical thinking.
|
147 |
"""
|
148 |
|
|
|
|
|
|
|
|