Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +11 -11
prompts/main_prompt.py
CHANGED
@@ -18,30 +18,30 @@ def get_prompt_for_problem(problem_number):
|
|
18 |
return """
|
19 |
### **Problem 1: Ali's Driving Speed**
|
20 |
Great! Let’s analyze the relationship between speed and time.
|
21 |
-
📌 **Before we discuss, 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
|
25 |
"""
|
26 |
|
27 |
elif problem_number == "2":
|
28 |
return """
|
29 |
### **Problem 2: Tugce's Cell Phone Bill**
|
30 |
Nice choice! Let’s break this down step by step.
|
31 |
-
📌 **Before we discuss, explain your reasoning:**
|
32 |
- What is the fixed charge in the bill, and why does it matter?
|
33 |
- How does the cost per text affect proportionality?
|
34 |
-
✏️ **Describe your thought process first
|
35 |
"""
|
36 |
|
37 |
elif problem_number == "3":
|
38 |
return """
|
39 |
### **Problem 3: Ali and Deniz's Running**
|
40 |
Good thinking! Let’s explore the relationship between their distances.
|
41 |
-
📌 **Before we discuss, explain your reasoning:**
|
42 |
- If both run at the same rate, why does their distance differ?
|
43 |
- How can we determine the pattern in their distances over time?
|
44 |
-
✏️ **Describe your thought process first
|
45 |
"""
|
46 |
|
47 |
return "I didn’t understand your choice. Please select Problem 1, 2, or 3."
|
@@ -50,16 +50,16 @@ def get_feedback_for_problem(problem_number, teacher_response):
|
|
50 |
if problem_number == "1":
|
51 |
if "inverse" in teacher_response.lower():
|
52 |
return "Good observation! Since speed and time vary inversely, increasing speed decreases time. Can you verify if the ratio stays constant?"
|
53 |
-
return "Think about what happens to travel time when speed increases. Does the ratio between speed and time remain fixed?"
|
54 |
|
55 |
elif problem_number == "2":
|
56 |
if "fixed charge" in teacher_response.lower() and "$22.50" in teacher_response.lower():
|
57 |
-
return "Great insight! The fixed charge prevents proportionality. How does the per-text charge fit into this?"
|
58 |
-
return "What happens if the number of texts is zero? Does the total cost still change? Why?"
|
59 |
|
60 |
elif problem_number == "3":
|
61 |
if "constant difference" in teacher_response.lower():
|
62 |
-
return "Nice thinking! The key here is the additive nature of their distances. Can you determine the difference at another point in time?"
|
63 |
-
return "Since they run at the same speed but started at different times, how does that affect their distances?"
|
64 |
|
65 |
return "Interesting approach! Could you clarify your reasoning a bit more?"
|
|
|
18 |
return """
|
19 |
### **Problem 1: Ali's Driving Speed**
|
20 |
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 |
+
✏️ **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
25 |
"""
|
26 |
|
27 |
elif problem_number == "2":
|
28 |
return """
|
29 |
### **Problem 2: Tugce's Cell Phone Bill**
|
30 |
Nice choice! Let’s break this down step by step.
|
31 |
+
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
32 |
- What is the fixed charge in the bill, and why does it matter?
|
33 |
- How does the cost per text affect proportionality?
|
34 |
+
✏️ **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
35 |
"""
|
36 |
|
37 |
elif problem_number == "3":
|
38 |
return """
|
39 |
### **Problem 3: Ali and Deniz's Running**
|
40 |
Good thinking! Let’s explore the relationship between their distances.
|
41 |
+
📌 **Before we discuss, solve the problem and explain your reasoning:**
|
42 |
- If both run at the same rate, why does their distance differ?
|
43 |
- How can we determine the pattern in their distances over time?
|
44 |
+
✏️ **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
|
45 |
"""
|
46 |
|
47 |
return "I didn’t understand your choice. Please select Problem 1, 2, or 3."
|
|
|
50 |
if problem_number == "1":
|
51 |
if "inverse" in teacher_response.lower():
|
52 |
return "Good observation! Since speed and time vary inversely, increasing speed decreases time. Can you verify if the ratio stays constant?"
|
53 |
+
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?"
|
54 |
|
55 |
elif problem_number == "2":
|
56 |
if "fixed charge" in teacher_response.lower() and "$22.50" in teacher_response.lower():
|
57 |
+
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?"
|
58 |
+
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?"
|
59 |
|
60 |
elif problem_number == "3":
|
61 |
if "constant difference" in teacher_response.lower():
|
62 |
+
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?"
|
63 |
+
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?"
|
64 |
|
65 |
return "Interesting approach! Could you clarify your reasoning a bit more?"
|