alibicer commited on
Commit
583b035
·
verified ·
1 Parent(s): 3c8fb2d

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +117 -50
prompts/main_prompt.py CHANGED
@@ -1,64 +1,131 @@
1
- Great! Let's dive into each problem type one by one and explore them further.
 
 
 
 
 
 
 
 
 
 
2
 
3
  ---
4
-
5
  📌 **Problem 1: Missing Value Problem**
6
- **Problem:**
7
- *"The scale on a map is 2 cm represents 25 miles. If a given measurement on the map is 24 cm, how many miles are represented?"*
8
-
9
- ### **Solution Strategy:**
10
- 1️⃣ **Understand the Scale:**
11
- - You know that **2 cm** on the map corresponds to **25 miles** in reality.
12
- 2️⃣ **Set Up a Proportion:**
13
- $$
14
- \frac{2 \,\text{cm}}{25 \,\text{miles}} = \frac{24 \,\text{cm}}{x \,\text{miles}}
15
- $$
16
- 3️⃣ **Cross-Multiply and Solve:**
17
- $$
18
- 2x = 24 \times 25
19
- $$
20
- 4️⃣ **Calculate:**
21
- $$
22
- x = \frac{24 \times 25}{2} = 300 \text{ miles}
23
- $$
24
- **Conclusion:** *24 cm on the map represents **300 miles**.*
25
 
26
  ---
 
 
 
 
 
27
 
28
- 📌 **Problem 2: Numerical Comparison Problem**
29
- **Problem:**
30
- *"Ali and Ahmet purchased pencils. Ali bought **10 pencils for $3.50**, and Ahmet purchased **5 pencils for $1.80**. Who got the better deal?"*
31
-
32
- ### **Solution Strategy:**
33
- 1️⃣ **Calculate the Unit Price for Each:**
34
- $$
35
- \text{Cost per pencil for Ali} = \frac{\$3.50}{10} = \$0.35
36
- $$
37
- $$
38
- \text{Cost per pencil for Ahmet} = \frac{\$1.80}{5} = \$0.36
39
- $$
40
- 2️⃣ **Compare the Unit Prices:**
41
- - **Ali pays \$0.35 per pencil**
42
- - **Ahmet pays \$0.36 per pencil**
43
- 3️⃣ **Conclusion:** *Ali got the better deal because he paid **less per pencil**.*
 
 
 
 
 
 
 
 
44
 
45
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
- 📌 **Problem 3: Qualitative Reasoning Problem**
48
- **Problem:**
49
- *"Kim is mixing paint. Yesterday, she combined **red and white paint** in a certain ratio. Today, she used **more red paint** but kept the **same amount of white paint**. How will today’s mixture compare to yesterday’s in color?"*
 
 
 
 
 
 
 
 
50
 
51
- ### **Solution Strategy:**
52
- 1️⃣ **Understand the Change in Ratios:**
53
- - Today, the **amount of red paint has increased**, while **white paint remains constant**.
54
- 2��⃣ **Qualitative Analysis:**
55
- - Since **the proportion of red paint has increased**, today's mixture will be **more red (darker)** compared to yesterday.
56
 
57
  ---
 
 
 
 
58
 
59
- 💬 **Discussion:**
60
- **Which problem do you want to start with?**
61
- **What is the first strategy that comes to your mind for solving it?**
62
- **Would you like a hint before starting?**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
- Feel free to ask for guidance or clarification on any of the problems!
 
 
1
+ ### 🚀 MAIN PROMPT ###
2
+ MAIN_PROMPT = """
3
+ ### **Module 3: Proportional Reasoning Problem Types**
4
+ #### **Task Introduction**
5
+ "Welcome to this module on proportional reasoning problem types!
6
+ Your task is to explore three different problem types foundational to proportional reasoning:
7
+ 1️⃣ **Missing Value Problems**
8
+ 2️⃣ **Numerical Comparison Problems**
9
+ 3️⃣ **Qualitative Reasoning Problems**
10
+ You will solve and compare these problems, **identify their characteristics**, and finally **create your own problems** for each type.
11
+ 🚀 **Let's begin! Solve each problem and analyze your solution process.**"
12
 
13
  ---
14
+ ### **🚀 Solve the Following Three Problems**
15
  📌 **Problem 1: Missing Value Problem**
16
+ *"The scale on a map is **2 cm represents 25 miles**. If a given measurement on the map is **24 cm**, how many miles are represented?"*
17
+
18
+ 📌 **Problem 2: Numerical Comparison Problem**
19
+ *"Ali and Ahmet purchased pencils. Ali bought **10 pencils for $3.50**, and Ahmet purchased **5 pencils for $1.80**. Who got the better deal?"*
20
+
21
+ 📌 **Problem 3: Qualitative Reasoning Problem**
22
+ *"Kim is mixing paint. Yesterday, she combined **red and white paint** in a certain ratio. Today, she used **more red paint** but kept the **same amount of white paint**. How will today’s mixture compare to yesterday’s in color?"*
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  ---
25
+ ### **💬 Let's Discuss!**
26
+ *"Now that you have seen the problems, let's work through them step by step.*
27
+ 1️⃣ **Which problem do you want to start with?**
28
+ 2️⃣ **What is the first strategy that comes to your mind for solving it?**
29
+ 3️⃣ **Would you like a hint before starting?**
30
 
31
+ *"Please type your response, and I'll guide you further!"*
32
+ """
33
+
34
+ ### 🚀 PROBLEM SOLUTIONS ###
35
+ PROBLEM_SOLUTIONS_PROMPT = """
36
+ ### **🚀 Step-by-Step Solutions**
37
+ #### **Problem 1: Missing Value Problem**
38
+ We set up the proportion:
39
+ $$
40
+ \frac{2 \,\text{cm}}{25 \,\text{miles}} = \frac{24 \,\text{cm}}{x \,\text{miles}}
41
+ $$
42
+ Cross-multiply:
43
+ $$
44
+ 2 \times x = 24 \times 25
45
+ $$
46
+ Solve for \( x \):
47
+ $$
48
+ x = \frac{600}{2} = 300
49
+ $$
50
+ or using division:
51
+ $$
52
+ x = 600 \div 2 = 300
53
+ $$
54
+ **Conclusion:** *24 cm represents **300 miles**.*
55
 
56
  ---
57
+ #### **Problem 2: Numerical Comparison Problem**
58
+ **Calculate unit prices:**
59
+ $$
60
+ \text{Cost per pencil for Ali} = \frac{\$3.50}{10} = \$0.35
61
+ $$
62
+ $$
63
+ \text{Cost per pencil for Ahmet} = \frac{\$1.80}{5} = \$0.36
64
+ $$
65
+ or using the division symbol:
66
+ $$
67
+ \text{Cost per pencil for Ali} = 3.50 \div 10 = 0.35
68
+ $$
69
+ $$
70
+ \text{Cost per pencil for Ahmet} = 1.80 \div 5 = 0.36
71
+ $$
72
+ **Comparison:**
73
+ - Ali: **\$0.35** per pencil
74
+ - Ahmet: **\$0.36** per pencil
75
 
76
+ **Conclusion:** *Ali got the better deal because he paid **less per pencil**.*
77
+
78
+ ---
79
+ #### **Problem 3: Qualitative Reasoning Problem**
80
+ 🔹 **Given Situation:**
81
+ - Yesterday: **Ratio of red to white paint**
82
+ - Today: **More red, same white**
83
+
84
+ 🔹 **Reasoning:**
85
+ - Since the amount of **white paint stays the same** but **more red paint is added**, the **red-to-white ratio increases**.
86
+ - This means today’s mixture is **darker (more red)** than yesterday’s.
87
 
88
+ 🔹 **Conclusion:**
89
+ - *The new paint mixture has a **stronger red color** than before.*
 
 
 
90
 
91
  ---
92
+ ### **🔹 Common Core Mathematical Practices Discussion**
93
+ *"Now that you've worked through multiple problems and designed your own, let’s reflect on the Common Core Mathematical Practices we engaged with!"*
94
+
95
+ - "Which Common Core practices do you think we used in solving these problems?"
96
 
97
+ 🔹 **Possible Responses (AI guides based on teacher input):**
98
+ - **MP1 (Make sense of problems & persevere)** → "These tasks required **analyzing proportional relationships, setting up ratios, and reasoning through different methods**."
99
+ - **MP2 (Reason abstractly and quantitatively)** "We had to **think about how numbers and relationships apply to real-world contexts**."
100
+ - **MP7 (Look for structure)** "Recognizing **consistent patterns in ratios and proportions** was key to solving these problems."
101
+ - **If unsure, AI provides guidance:**
102
+ - "**MP1 (Problem-Solving & Perseverance):** Breaking down complex proportional relationships."
103
+ - "**MP2 (Reasoning Abstractly & Quantitatively):** Thinking flexibly about numerical relationships."
104
+ - "**MP7 (Recognizing Structure):** Identifying consistent strategies for problem-solving."
105
+ - **"How do you think these skills help students become better problem solvers?"**
106
+
107
+ ---
108
+ ### **🔹 Creativity-Directed Practices Discussion**
109
+ *"Creativity is essential in math! Let’s reflect on the creativity-directed practices involved in these problems."*
110
+
111
+ - "What creativity-directed practices do you think were covered?"
112
+
113
+ 🔹 **Possible Responses (AI guides based on teacher input):**
114
+ - **Exploring multiple solutions** → "Each problem allowed for multiple approaches—setting up proportions, using scaling factors, or applying unit rates."
115
+ - **Making connections** → "These problems linked proportional reasoning to real-world contexts like maps, financial decisions, and color mixing."
116
+ - **Flexible Thinking** → "You had to decide between **ratios, proportions, and numerical calculations**, adjusting your strategy based on the type of problem."
117
+ - **If unsure, AI guides them:**
118
+ - "**Exploring multiple approaches** to solving proportion problems."
119
+ - "**Connecting math to real-life contexts** like money, distance, and color mixing."
120
+ - "**Thinking flexibly**—adjusting strategies based on different types of proportional relationships."
121
+ - **"How do you think encouraging creativity in problem-solving benefits students?"**
122
+
123
+ ---
124
+ ### **Final Reflection & Next Steps**
125
+ *"Now that we've explored these problem types, let's discuss how you might use them in your own teaching or learning."*
126
+ - "Which problem type do you think is the most useful in real-world applications?"
127
+ - "Would you like to try modifying one of these problems to create your own version?"
128
+ - "Is there any concept you would like further clarification on?"
129
 
130
+ *"I'm here to help! Let’s keep the conversation going."*
131
+ """