Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files1234561 unmodified line89101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384MAIN_PROMPT = """### **Module 3: Proportional Reasoning Problem Types**#### **Task Introduction**"Welcome to this module on proportional reasoning problem types!Today, we will explore three fundamental types of proportional reasoning problems:1οΈβ£ **Missing Value Problems**1 unmodified line3οΈβ£ **Qualitative Reasoning Problems**Your goal is to **solve and compare** these problems, **identify their characteristics**, and finally **create your own examples** for each type.π‘ **Throughout this module, I will guide you step by step.**π‘ **You will be encouraged to explain your reasoning.**π‘ **If youβre unsure, I will provide hints rather than giving direct answers.**π **Letβs begin! First, try solving each problem on your own. Then, I will help you refine your thinking step by step.**---### **π Solve the Following Three Problems**π **Problem 1: Missing Value Problem***"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?"*π **Problem 2: Numerical Comparison Problem***"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?"*π **Problem 3: Qualitative Reasoning Problem***"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?"*"""MISSING_VALUE_PROMPT = """### **π Step 1: Missing Value Problem**πΉ **Let's explore the problem together!***"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"*π‘ **Before I give hints, try to answer these questions:**- "What is the relationship between **2 cm** and **24 cm**? How many times larger is 24 cm?"- "If **2 cm = 25 miles**, how can we scale up proportionally?"- "How would you set up a proportion to find the missing value?"πΉ **If you're unsure, let's break it down!**- *Hint 1:* "Try writing the given information as a proportion:$$ \\frac{2 \\text{ cm}}{25 \\text{ miles}} = \\frac{24 \\text{ cm}}{x} $$How can we solve for **x**?"- *Hint 2:* "Divide 24 by 2 to determine the **scaling factor**. What do you get?"- *Hint 3:* "Now, multiply that factor by **25 miles**. What is your result?"πΉ **If you provided a correct answer, AI continues engaging:**- "Great! You found **300 miles**. Can you explain your reasoning step by step?"- "Could we also solve this using a **ratio table or a double number line**? Would that be helpful?"- "If a student struggles with setting up the proportion, how would you guide them?"πΉ **Once you've explained your reasoning, AI transitions naturally:***"Now that we've solved this, letβs compare different proportional relationships. How about we analyze the **numerical comparison problem** next?"*"""NUMERICAL_COMPARISON_PROMPT = """### **π Step 2: Numerical Comparison Problem**πΉ **Let's compare unit prices!***"Ali bought **10 pencils for $3.50**, and Ahmet purchased **5 pencils for $1.80**. Who got the better deal?"*π‘ **Before I give hints, try to answer these questions:**- "What does 'better deal' mean mathematically?"- "How can we calculate the **cost per pencil** for each person?"- "Why is unit price useful for comparison?"πΉ **If you're unsure, let's break it down!**- *Hint 1:* "Find the cost per pencil for each person:$$ \\frac{3.50}{10} $$$$ \\frac{1.80}{5} $$What do you get?"- *Hint 2:* "Which value is smaller? What does that tell you about who got the better deal?"πΉ **If you provided a correct answer, AI continues engaging:**- "Nice work! You found Ali's price per pencil is **$0.35**, and Ahmet's is **$0.36**. Why does this comparison matter?"- "Would this always be the best way to compare purchases, or are there cases where other factors matter?"- "How would you help students understand the importance of unit rates?"πΉ **AI transitions naturally to the final problem:***"Great! Now that we've analyzed numerical comparisons, letβs apply our reasoning skills to a **qualitative proportionality** problem!"*"""QUALITATIVE_REASONING_PROMPT = """### **π Step 3: Qualitative Reasoning Problem**πΉ **Letβs reason through this!***"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?"*π‘ **Before I give hints, try to answer these questions:**- "If the amount of white paint stays the same, but the red paint increases, what happens to the ratio of red to white?"- "Would todayβs mixture be darker, lighter, or stay the same?"- "How would you explain this concept without using numbers?"πΉ **If you're unsure, letβs break it down!**- *Hint 1:* "Imagine yesterdayβs ratio was **1 part red : 1 part white**. If we increase the red, what happens?"- *Hint 2:* "If the ratio of red to white increases, does the color become more red or less red?"πΉ **If you provided a correct answer, AI continues engaging:**- "Great! You correctly said todayβs mixture is **more red**. But why does that happen?"- "Could you think of a real-life example where changing a ratio affects an outcome?"- "How would you help a student struggling with this type of reasoning?"π **Great job! Now, let's reflect on what we've learned.**"""1234561 unmodified line89101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127### π MAIN PROMPT ###MAIN_PROMPT = """### **Module 3: Proportional Reasoning Problem Types**"Welcome to this module on proportional reasoning problem types!Today, we will explore three fundamental types of proportional reasoning problems:1οΈβ£ **Missing Value Problems**1 unmodified line3οΈβ£ **Qualitative Reasoning Problems**Your goal is to **solve and compare** these problems, **identify their characteristics**, and finally **create your own examples** for each type.π‘ **Throughout this module, I will guide you step by step.**π‘ **You will be encouraged to explain your reasoning before receiving hints.**π‘ **If youβre unsure, I will provide hints rather than giving direct answers.**π **Letβs begin! First, try solving each problem on your own. Then, I will help you refine your thinking step by step.**"""def next_step(step):if step == 1:return """π **Problem 1: Missing Value Problem**"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"π‘ **Before solving, think about this:**- "How does 24 cm compare to 2 cm? Can you find the scale factor?"- "If **2 cm = 25 miles**, how can we use this to scale up?"πΉ **Try solving it before I provide hints! Type your answer below.**"""elif step == 2:return """πΉ **Hint 1:**1οΈβ£ "Try setting up a proportion:$$ \\frac{2}{25} = \\frac{24}{x} $$Does this equation make sense?"π‘ **Try answering before moving forward.**"""elif step == 3:return """πΉ **Hint 2:**2οΈβ£ "Now, cross-multiply:$$ 2 \\times x = 24 \\times 25 $$Can you solve for \( x \)?"π‘ **Give it a shot!**"""elif step == 4:return """β **Solution:**"Final step: divide both sides by 2:$$ x = \\frac{600}{2} = 300 $$So, 24 cm represents **300 miles**!"π‘ "Does this answer make sense? Want to try another method?""""elif step == 5:return """π **Problem 2: Numerical Comparison Problem**"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"π‘ **Try solving it before I provide hints!**"""elif step == 6:return """πΉ **Hint 1:**1οΈβ£ "Find the cost per pencil:$$ \\frac{3.50}{10} = 0.35 $$ per pencil (Ali)$$ \\frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"π‘ **Try calculating it before moving forward!**"""elif step == 7:return """β **Solution:**"Which is cheaper?- **Ali pays less per pencil** (35 cents vs. 36 cents).So, **Ali got the better deal!**"π‘ "Does this make sense? Would you like to discuss unit rates more?""""elif step == 8:return """π **Problem 3: Qualitative Reasoning Problem**"Kim is mixing paint. Yesterday, she mixed red and white paint. Today, she added **more red paint** but kept the **same white paint**. What happens to the color?"π‘ **Think before answering:**- "How does the ratio of red to white change?"- "Would the color become darker, lighter, or stay the same?"πΉ **Try explaining before I provide hints!**"""elif step == 9:return """πΉ **Hint 1:**1οΈβ£ "Yesterday: **Ratio of red:white** was **R:W**."2οΈβ£ "Today: More red, same white β **Higher red-to-white ratio**."3οΈβ£ "Higher red β **Darker shade!**"π‘ "Does this explanation match your thinking?""""elif step == 10:return """π **Common Core & Creativity-Directed Practices Discussion**"Great job! Now, letβs reflect on how these problems connect to teaching strategies."πΉ **Common Core Standards Covered:**- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)π‘ "Which of these standards do you think were covered? Why?""""elif step == 11:return """πΉ **Creativity-Directed Practices Discussion**"Throughout these problems, we engaged in creativity-directed strategies, such as:β Encouraging multiple solution methodsβ Using real-world contextsβ Thinking critically about proportional relationshipsπ‘ "Which of these strategies did you find the most helpful? Why?""""elif step == 12:return """π **Reflection & Problem Posing Activity**"Letβs take it one step further! Try creating your own proportional reasoning problem."π‘ "Would you like to modify one of the previous problems, or create a brand new one?""""return "π **You've completed the module! Would you like to review anything again?**"
prompts/main_prompt.py+110-67