alibicer commited on
Commit
41af986
·
verified ·
1 Parent(s): eeae384

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +51 -73
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, 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,15 +21,10 @@ 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
- 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 attempt solving it yourself before I provide guidance?
31
  """
32
-
33
  elif problem_number == "2":
34
  return """
35
  ### **Problem 2: Tugce's Cell Phone Bill**
@@ -37,16 +32,10 @@ Nice choice! Let’s break this down step by step.
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,74 +43,63 @@ Good thinking! Let’s explore the relationship between their distances.
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_problem_posing_prompt():
70
- return """
71
- ### **Problem Posing Activity**
72
- Now that we have analyzed different non-proportional relationships, let’s extend our thinking by creating our own problems.
 
73
 
74
- 📌 **Write a similar problem that involves a non-proportional relationship.**
75
- - Can you think of a real-world situation where there is an additive relationship, a fixed starting cost, or an inverse relationship?
76
- - How will you describe the relationship mathematically?
 
77
 
78
- Would you like to share your problem and discuss how it differs from the ones we explored?
 
 
79
  """
80
 
81
- def get_ccss_and_creativity_prompts():
 
 
82
  return """
83
- ### **Common Core and Creativity Discussion**
84
- Before we go over what standards and creativity-directed practices were covered, what do you think we addressed in this module?
85
 
86
- 📌 **Think about the problem-solving strategies, reasoning, and mathematical principles we used.**
87
- - Which Common Core Practice Standards do you think we applied?
88
- - How did creativity play a role in understanding non-proportional relationships?
89
 
90
- ### **Now, let’s go over the key standards covered:**
91
 
92
- **Common Core State Standards (CCSS) Covered:**
93
- - **CCSS.MATH.CONTENT.7.RP.A.2** - Analyzing proportional relationships and distinguishing them from non-proportional ones.
94
- - **CCSS.MATH.CONTENT.8.F.A.3** - Understanding how functions describe relationships between quantities.
95
- - **CCSS.MATH.CONTENT.8.EE.B.5** - Graphing proportional relationships and understanding unit rates.
96
 
97
- **Common Core Practice Standards Applied:**
98
- - **MP1:** Making sense of problems and persevering in solving them.
99
- - **MP2:** Reasoning abstractly and quantitatively.
100
- - **MP3:** Constructing viable arguments and critiquing reasoning.
101
- - **MP4:** Modeling with mathematics.
102
 
103
- **Creativity-Directed Practices:**
104
- - **Mathematical Reasoning:** How do you explain non-proportionality to students in a creative way?
105
- - **Exploring Multiple Representations:** What other representations (e.g., graphs, tables) could be used?
106
- - **Applying Problem-Solving Strategies:** How did you approach solving and creating problems in this module?
 
107
 
108
- Would you like to reflect on what you learned in this module and how you might apply it in your teaching?
109
- """
 
110
 
111
- def get_feedback_for_problem(problem_number, teacher_response):
112
- if problem_number == "1":
113
- if "inverse" in teacher_response.lower():
114
- return "Good observation! Since speed and time vary inversely, increasing speed decreases time. Can you verify if the ratio stays constant?"
115
- 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?"
 
116
 
117
- elif problem_number == "2":
118
- if "fixed charge" in teacher_response.lower() and "$22.50" in teacher_response.lower():
119
- 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?"
120
- 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?"
121
-
122
- elif problem_number == "3":
123
- if "constant difference" in teacher_response.lower():
124
- 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?"
125
- 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?"
126
-
127
- return "Interesting approach! Could you clarify your reasoning a bit more?"
 
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, solve each problem and explain your reasoning.**
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
+ - Does the ratio between speed and time remain constant?
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
  📌 **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
+ - Does doubling the number of texts double the total bill? Why or why not?
36
+ 🌊 **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
 
 
 
 
 
 
37
  """
38
+
39
  elif problem_number == "3":
40
  return """
41
  ### **Problem 3: Ali and Deniz's Running**
 
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
+ - Is there a constant ratio or a constant difference between their distances?
47
+ 🌊 **Describe your thought process first. I will ask follow-up questions before offering hints or solutions.**
 
 
 
 
 
 
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
+ return """
55
+ Great observation! Since speed and time vary inversely, increasing speed decreases time. However, does the ratio between speed and time remain constant? How would you verify it?
56
+ """
57
 
58
+ elif problem_number == "2":
59
+ return """
60
+ You're on the right track! The fixed charge prevents proportionality. How does the per-text charge fit into this? Can you compute the total cost for 60 texts?
61
+ """
62
 
63
+ elif problem_number == "3":
64
+ return """
65
+ Good thinking! The key here is the additive nature of their distances. Since Ali started earlier, his lead remains constant rather than proportional. Can you determine the difference in distance at another point in time?
66
  """
67
 
68
+ return "Interesting approach! Could you clarify your reasoning a bit more?"
69
+
70
+ def additional_discussion():
71
  return """
72
+ ### **Extending the Discussion: Common Core and Creativity**
 
73
 
74
+ Now, let’s reflect on the broader connections. **Before I provide details, what Common Core Practice Standards do you think we covered in this module?**
 
 
75
 
76
+ Now that you've shared your thoughts, here are some key Common Core Practice Standards we engaged with:
77
 
78
+ - **MP1: Make sense of problems and persevere in solving them.** You analyzed and worked through non-proportional relationships.
79
+ - **MP2: Reason abstractly and quantitatively.** You interpreted relationships and represented them mathematically.
80
+ - **MP4: Model with mathematics.** You created equations to describe real-world scenarios.
81
+ - **MP7: Look for and make use of structure.** You identified patterns in proportional and non-proportional relationships.
82
 
83
+ 🌈 **Now, what creativity-directed practices do you think we covered?**
 
 
 
 
84
 
85
+ Some creativity-directed practices we explored include:
86
+ - **Problem-Solving:** Approaching non-proportional problems with different strategies.
87
+ - **Modeling Real-World Situations:** Translating problems into mathematical equations.
88
+ - **Connecting Concepts:** Linking ideas across different mathematical representations.
89
+ - **Generating and Testing Hypotheses:** Predicting relationships and verifying solutions.
90
 
91
+ ### **Posing a Similar Task**
92
+ Now that you’ve analyzed these problems, it’s your turn! **Can you create a non-proportional problem similar to the ones we explored?**
93
+ - Describe the situation and explain why it is non-proportional.
94
 
95
+ ### **Final Summary: CK, PCK, and MC**
96
+ To wrap up, let's summarize what we learned in terms of:
97
+ - **Content Knowledge (CK):** Understanding and distinguishing non-proportional relationships.
98
+ - **Pedagogical Content Knowledge (PCK):** Strategies for teaching proportional vs. non-proportional relationships.
99
+ - **Mathematical Creativity (MC):** Using real-world modeling, problem-solving, and alternative representations.
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.