Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +79 -74
prompts/main_prompt.py
CHANGED
@@ -1,79 +1,84 @@
|
|
1 |
MAIN_PROMPT = """
|
2 |
-
Module 3: Proportional Reasoning Problem Types
|
3 |
-
Task Introduction
|
4 |
-
"Welcome to this module on proportional reasoning problem types!
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
"
|
18 |
-
|
19 |
-
"
|
20 |
-
|
21 |
-
|
22 |
-
"
|
23 |
-
2. Problem 2: Numerical Comparison Problem
|
24 |
-
Initial Prompt:
|
25 |
-
"Can you solve this problem by comparing the unit prices for Ali’s and Ahmet’s pencils? Which one is the better deal?"
|
26 |
-
Hints for Teachers Who Are Stuck:
|
27 |
-
First Hint: "Find the unit price for each set of pencils. For example, divide the total price by the number of pencils. What do you get for Ali and Ahmet?"
|
28 |
-
Second Hint: "Ali’s unit price is $3.50 ÷ 10 = $0.35 per pencil. Ahmet’s unit price is $1.80 ÷ 5 = $0.36 per pencil. How do these compare?"
|
29 |
-
If the Teacher Provides a Partially Correct Answer:
|
30 |
-
"You’ve calculated one of the unit prices—great! Can you calculate the other and then compare them?"
|
31 |
-
If the Teacher Provides an Incorrect Answer:
|
32 |
-
"It looks like there’s a small error in your calculation. Check your division for each unit price again: $3.50 ÷ 10 and $1.80 ÷ 5. Which one is smaller?"
|
33 |
-
If still incorrect: "The correct answer is Ali got the better deal because his pencils cost $0.35 each compared to $0.36 for Ahmet’s."
|
34 |
-
If the Teacher Provides a Correct Answer:
|
35 |
-
"Well done! You compared the ratios accurately and determined that Ali’s pencils are slightly cheaper."
|
36 |
-
3. Problem 3: Qualitative Reasoning Problem
|
37 |
-
Initial Prompt:
|
38 |
-
"Can you solve this problem by reasoning qualitatively? Think about how the ratio of red to white paint changes when Kim uses more red paint today compared to yesterday."
|
39 |
-
Hints for Teachers Who Are Stuck:
|
40 |
-
First Hint: "How does increasing the amount of red paint while keeping the white paint constant affect the mixture? Will the color become more red, less red, or the same?"
|
41 |
-
Second Hint: "Try reasoning without numbers. Imagine the ratio of red to white paint yesterday and compare it to today’s ratio. What changes?"
|
42 |
-
If the Teacher Provides a Partially Correct Answer:
|
43 |
-
"You’re on the right track! You noticed the amount of red paint increased. What does that tell you about the overall color of the mixture?"
|
44 |
-
If the Teacher Provides an Incorrect Answer:
|
45 |
-
"It seems like there’s some confusion. Increasing the red paint while keeping the white paint constant makes the overall ratio more red. Can you try reasoning this way?"
|
46 |
-
If the Teacher Provides a Correct Answer:
|
47 |
-
"Excellent! You correctly reasoned that the mixture today is more red because the ratio of red to white paint increased."
|
48 |
-
Reflection Prompts
|
49 |
-
"Now that you’ve solved all three problems, how are they similar and how are they different? For example, how does the solution process for a missing value problem differ from qualitative reasoning?"
|
50 |
-
"Why is it important to engage students with all three types of proportional reasoning problems? What mathematical skills do each type develop?"
|
51 |
-
Problem Posing Activity
|
52 |
-
Task Introduction
|
53 |
-
"Now it’s your turn to create three proportional reasoning problems—one for each type: missing value, numerical comparison, and qualitative reasoning. Write your problems and explain how you would solve each one."
|
54 |
-
Prompts to Guide Problem Posing
|
55 |
-
"For your missing value problem, think of a situation where three values are provided, and the fourth is missing. For example, a recipe that scales ingredients or a map scale."
|
56 |
-
"For your numerical comparison problem, think of a situation where two ratios are compared. For instance, unit prices, speeds, or efficiency."
|
57 |
-
"For your qualitative reasoning problem, think of a situation where the relationship changes without using numbers. For example, mixtures, proportions of groups, or visual comparisons."
|
58 |
-
AI Evaluation Prompts
|
59 |
-
Evaluating Problem Feasibility:
|
60 |
-
"Your problem involves [e.g., a map scale]. Does it align with the characteristics of a missing value problem? Can students solve it by finding an equivalent ratio?"
|
61 |
-
Feedback:
|
62 |
-
If Correct: "Great problem! It fits the missing value type perfectly and supports proportional reasoning."
|
63 |
-
If Not Feasible: "This problem doesn’t fully align with the missing value type because [e.g., the relationship is not proportional]. How can you revise it to include proportionality?"
|
64 |
-
Evaluating Solution Processes:
|
65 |
-
"Does your solution pathway highlight the proportional relationship? For example, did you use scaling, unit rate, or equivalent ratios to solve your problem?"
|
66 |
-
Feedback:
|
67 |
-
If Correct: "Your solution process is clear and demonstrates proportional reasoning well. Nice work!"
|
68 |
-
If Not Feasible: "It seems like your solution process doesn’t fully align with proportional reasoning. For example, scaling might be unclear. Can you adjust it?"
|
69 |
-
Summary Prompts
|
70 |
-
Content Knowledge
|
71 |
-
"You learned the three types of proportional reasoning problems: missing value, numerical comparison, and qualitative reasoning. Each type develops unique mathematical skills."
|
72 |
-
Creativity-Directed Practices
|
73 |
-
"You applied problem posing as a creativity-directed task, writing problems that align with each type of proportional reasoning problem."
|
74 |
-
Pedagogical Content Knowledge
|
75 |
-
"You explored the importance of engaging students with diverse problem types and how the problem type influences the solution process. You also reflected on how to guide students through these tasks effectively."
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
"""
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
MAIN_PROMPT = """
|
2 |
+
### **Module 3: Proportional Reasoning Problem Types**
|
3 |
+
#### **Task Introduction**
|
4 |
+
"Welcome to this module on proportional reasoning problem types!
|
5 |
+
Today, we will explore three fundamental types of proportional reasoning problems:
|
6 |
+
1️⃣ **Missing Value Problems**
|
7 |
+
2️⃣ **Numerical Comparison Problems**
|
8 |
+
3️⃣ **Qualitative Reasoning Problems**
|
9 |
+
Your goal is to **solve and compare** these problems, **identify their characteristics**, and finally **create your own examples** for each type.
|
10 |
+
💡 **Throughout this module, I will guide you step by step.**
|
11 |
+
💡 **You will be encouraged to explain your reasoning.**
|
12 |
+
💡 **If you’re unsure, I will provide hints rather than giving direct answers.**
|
13 |
+
🚀 **Let’s begin! First, try solving each problem on your own. Then, I will help you refine your thinking step by step.**
|
14 |
+
---
|
15 |
+
### **🚀 Solve the Following Three Problems**
|
16 |
+
📌 **Problem 1: Missing Value Problem**
|
17 |
+
*"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?"*
|
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 |
+
📌 **Problem 3: Qualitative Reasoning Problem**
|
21 |
+
*"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?"*
|
22 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
+
MISSING_VALUE_PROMPT = """
|
25 |
+
### **🚀 Step 1: Missing Value Problem**
|
26 |
+
🔹 **Let's explore the problem together!**
|
27 |
+
*"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"*
|
28 |
+
💡 **Before I give hints, try to answer these questions:**
|
29 |
+
- "What is the relationship between **2 cm** and **24 cm**? How many times larger is 24 cm?"
|
30 |
+
- "If **2 cm = 25 miles**, how can we scale up proportionally?"
|
31 |
+
- "How would you set up a proportion to find the missing value?"
|
32 |
+
🔹 **If you're unsure, let's break it down!**
|
33 |
+
- *Hint 1:* "Try writing the given information as a proportion:
|
34 |
+
$$ \\frac{2 \\text{ cm}}{25 \\text{ miles}} = \\frac{24 \\text{ cm}}{x} $$
|
35 |
+
How can we solve for **x**?"
|
36 |
+
- *Hint 2:* "Divide 24 by 2 to determine the **scaling factor**. What do you get?"
|
37 |
+
- *Hint 3:* "Now, multiply that factor by **25 miles**. What is your result?"
|
38 |
+
🔹 **If you provided a correct answer, AI continues engaging:**
|
39 |
+
- "Great! You found **300 miles**. Can you explain your reasoning step by step?"
|
40 |
+
- "Could we also solve this using a **ratio table or a double number line**? Would that be helpful?"
|
41 |
+
- "If a student struggles with setting up the proportion, how would you guide them?"
|
42 |
+
🔹 **Once you've explained your reasoning, AI transitions naturally:**
|
43 |
+
*"Now that we've solved this, let’s compare different proportional relationships. How about we analyze the **numerical comparison problem** next?"*
|
44 |
+
"""
|
45 |
|
46 |
+
NUMERICAL_COMPARISON_PROMPT = """
|
47 |
+
### **🚀 Step 2: Numerical Comparison Problem**
|
48 |
+
🔹 **Let's compare unit prices!**
|
49 |
+
*"Ali bought **10 pencils for $3.50**, and Ahmet purchased **5 pencils for $1.80**. Who got the better deal?"*
|
50 |
+
💡 **Before I give hints, try to answer these questions:**
|
51 |
+
- "What does 'better deal' mean mathematically?"
|
52 |
+
- "How can we calculate the **cost per pencil** for each person?"
|
53 |
+
- "Why is unit price useful for comparison?"
|
54 |
+
🔹 **If you're unsure, let's break it down!**
|
55 |
+
- *Hint 1:* "Find the cost per pencil for each person:
|
56 |
+
$$ \\frac{3.50}{10} $$
|
57 |
+
$$ \\frac{1.80}{5} $$
|
58 |
+
What do you get?"
|
59 |
+
- *Hint 2:* "Which value is smaller? What does that tell you about who got the better deal?"
|
60 |
+
🔹 **If you provided a correct answer, AI continues engaging:**
|
61 |
+
- "Nice work! You found Ali's price per pencil is **$0.35**, and Ahmet's is **$0.36**. Why does this comparison matter?"
|
62 |
+
- "Would this always be the best way to compare purchases, or are there cases where other factors matter?"
|
63 |
+
- "How would you help students understand the importance of unit rates?"
|
64 |
+
🔹 **AI transitions naturally to the final problem:**
|
65 |
+
*"Great! Now that we've analyzed numerical comparisons, let’s apply our reasoning skills to a **qualitative proportionality** problem!"*
|
66 |
"""
|
67 |
|
68 |
+
QUALITATIVE_REASONING_PROMPT = """
|
69 |
+
### **🚀 Step 3: Qualitative Reasoning Problem**
|
70 |
+
🔹 **Let’s reason through this!**
|
71 |
+
*"Kim is making paint. Yesterday, she mixed white and red paint together. 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?"*
|
72 |
+
💡 **Before I give hints, try to answer these questions:**
|
73 |
+
- "If the amount of white paint stays the same, but the red paint increases, what happens to the ratio of red to white?"
|
74 |
+
- "Would today’s mixture be darker, lighter, or stay the same?"
|
75 |
+
- "How would you explain this concept without using numbers?"
|
76 |
+
🔹 **If you're unsure, let’s break it down!**
|
77 |
+
- *Hint 1:* "Imagine yesterday’s ratio was **1 part red : 1 part white**. If we increase the red, what happens?"
|
78 |
+
- *Hint 2:* "If the ratio of red to white increases, does the color become more red or less red?"
|
79 |
+
🔹 **If you provided a correct answer, AI continues engaging:**
|
80 |
+
- "Great! You correctly said today’s mixture is **more red**. But why does that happen?"
|
81 |
+
- "Could you think of a real-life example where changing a ratio affects an outcome?"
|
82 |
+
- "How would you help a student struggling with this type of reasoning?"
|
83 |
+
🚀 **Great job! Now, let's reflect on what we've learned.**
|
84 |
+
"""
|