Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +50 -117
prompts/main_prompt.py
CHANGED
|
@@ -1,131 +1,64 @@
|
|
| 1 |
-
|
| 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 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
$$
|
| 65 |
-
|
| 66 |
-
$$
|
| 67 |
-
|
| 68 |
-
$$
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 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 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
|
|
|
|
|
|
| 96 |
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
-
|
| 100 |
-
|
| 101 |
-
- **
|
| 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 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 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 |
-
|
| 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!
|
|
|