Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files1 unmodified line23456567892 unmodified lines12131415151617181819202122222324252627272829303131323334353635373839403941424341444543464748495051525053545556575859605661626364656166676869707172737475767778798081688283848572868788758990919293949596979899771001011021032 unmodified lines106107108861091101111121 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. ๐ก **First, I will ask you questions and let you solve them before I provide hints or solutions.** I'll guide you step by step. ๐ก **Try answering before I provide hints.**
Are you ready?" """
2 unmodified lines 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:** ๐ก **Think before answering:** - "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?" - **Give it a try before I provide hints!** Type your answer.
๐น **Try solving it before I give hints!** """
elif step == 2: return """๐น **If youโre unsure, hereโs a hint:** return """๐น **Hint 1:** 1๏ธโฃ "Try setting up a proportion: $$ \frac{2}{25} = \frac{24}{x} $$ Does this equation make sense?"
๐ก **Try again! Type what you think.** ๐ก **Try answering!** """
elif step == 3: return """2๏ธโฃ "Now, cross-multiply: return """๐น **Hint 2:** 2๏ธโฃ "Now, cross-multiply: $$ 2 \times x = 24 \times 25 $$ Can you solve for \( x \)?"
๐ก **Still stuck? Let me know.** ๐ก **Try again before I explain!** """
elif step == 4: return """3๏ธโฃ "Final step: divide both sides by 2: return """โ
**Solution:** "Final step: divide both sides by 2: $$ x = \frac{600}{2} = 300 $$ So, 24 cm represents **300 miles**!" So, 24 cm represents **300 miles**!"
๐ก "Does this make sense? Want to try another method?" ๐ก "Does this answer make sense? Would you like 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 first!** ๐ก **Think before answering:** - "What does โbetter dealโ mean mathematically?" - "How do we compare prices fairly?"
๐น **Try solving it first!** """
elif step == 6: return """๐น **If you need a hint, hereโs the first step:** 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 again and type your answer.** ๐ก **Try calculating the costs!** """
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?"
๐ก **What do you think?** ๐ก **Think before answering:** - "How does the ratio of red to white change?" - "Would the color become darker, lighter, or stay the same?"
๐ก **Try explaining your reasoning before I provide hints.** ๐น **Try explaining before I provide hints!** """
elif step == 8: 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 work! Now, letโs reflect on how these problems connect to teaching strategies.""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) 2 unmodified lines๐ก "Which of these standards do you think were covered? Why?" """
elif step == 9: elif step == 11: 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?" prompts/main_prompt.py+42-19