Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files1 unmodified line23456789101112131415161718192021222 unmodified lines2526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991 unmodified lineMAIN_PROMPT = """### **Module 3: Proportional Reasoning Problem Types**"Welcome to this module on proportional reasoning problem types!I'll guide you through three types of problems:1️⃣ **Missing Value Problems**2️⃣ **Numerical Comparison Problems**3️⃣ **Qualitative Reasoning Problems**I will ask you questions step by step. Let’s start with the first problem!"---### **🚀 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?"🔹 **If the user is unsure, give hints one at a time:**1️⃣ "Let’s write a proportion:$$ \frac{2}{25} = \frac{24}{x} $$Does this equation make sense?"2️⃣ "Now, cross-multiply:2 unmodified lines3️⃣ "Final step: divide both sides by 2:$$ x = \frac{600}{2} = 300 $$So, 24 cm represents **300 miles**!"💡 "Does this solution make sense to you? Would you like to try another method?"---### **🚀 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?"*💡 **What’s your first thought?**- "What does ‘better deal’ mean mathematically?"- "How do we compare prices fairly?"🔹 **If the user is unsure, guide them step-by-step:**1️⃣ "Let’s find the unit price:$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"2️⃣ "Which is cheaper? **Ali pays less per pencil** (35 cents vs. 36 cents)."3️⃣ "So, Ali got the better deal!"💡 "What do you think? Do you see how unit rates help in comparison?"---### **🚀 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?"*💡 **What do you think?**- "How does the ratio of red to white change?"- "Would the color become darker, lighter, or stay the same?"🔹 **If the user is unsure, give hints:**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?"---### **📌 Common Core & Creativity-Directed Practices Discussion**"Great job! Now, let’s reflect on how these problems connect to teaching practices."🔹 **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)- **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)- **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)💡 "Which of these standards do you think were covered? Why?"🔹 **Creativity-Directed Practices Used:**- Encouraging **multiple solution methods**- Using **real-world scenarios**- **Exploratory thinking** instead of direct computation💡 "How do these strategies help students build deeper understanding?"---### **📌 Reflection & Discussion**"Before we wrap up, let’s reflect on your learning experience!"- "Which problem type was the most challenging? Why?"- "What strategies helped you solve these problems efficiently?"- "What insights did you gain about proportional reasoning?"---### **📌 Problem-Posing Activity**"Now, let’s **create a new proportional reasoning problem!**"- **Modify a missing value problem** with different numbers.- **Create a real-world unit rate comparison.**- **Think of a qualitative reasoning problem (e.g., cooking, sports).**💡 "What would be the best way for students to approach your problem?"💡 "Could they solve it in different ways?"---### **🔹 Final Encouragement**"Great job today! Would you like to explore additional examples or discuss how to integrate these strategies into your classroom?""""1 unmodified line234567891011121314151617181920212223242 unmodified lines27282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384851 unmodified lineMAIN_PROMPT = """### **Module 3: Proportional Reasoning Problem Types**"Welcome to this module on proportional reasoning problem types!I'll guide you through three types of problems step by step.Are you ready to begin?""""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?"💡 **What do you think?**- "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?""""elif step == 2:return """🔹 **If you're unsure, let's break it down step by step:**1️⃣ "Try setting up the proportion:$$ \frac{2}{25} = \frac{24}{x} $$Does this equation make sense?"2️⃣ "Now, cross-multiply:2 unmodified lines3️⃣ "Final step: divide both sides by 2:$$ x = \frac{600}{2} = 300 $$So, 24 cm represents **300 miles**!"💡 "Does this make sense? Want to try another method?""""elif step == 3: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?"💡 **What’s your first thought?**- "What does ‘better deal’ mean mathematically?"- "How do we compare prices fairly?""""elif step == 4:return """🔹 **If you're stuck, let's go step by step:**1️⃣ "Find the cost per pencil:$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"2️⃣ "Which is cheaper? **Ali pays less per pencil** (35 cents vs. 36 cents)."3️⃣ "So, Ali got the better deal!"💡 "Does this make sense?""""elif step == 5: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?"💡 **What do you think?**- "How does the ratio of red to white change?"- "Would the color become darker, lighter, or stay the same?""""elif step == 6:return """🔹 **If you're stuck, let's break it down:**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 == 7:return """📌 **Common Core & Creativity-Directed Practices Discussion**"Great work! 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 == 8: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+42-56