alibicer commited on
Commit
01c3687
ยท
verified ยท
1 Parent(s): 88e06c1

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +42 -19
prompts/main_prompt.py CHANGED
@@ -2,8 +2,8 @@
2
  MAIN_PROMPT = """
3
  ### **Module 3: Proportional Reasoning Problem Types**
4
  "Welcome to this module on proportional reasoning problem types!
5
- I'll guide you through three types of problems step by step.
6
- ๐Ÿ’ก **First, I will ask you questions and let you solve them before I provide hints or solutions.**
7
  Are you ready?"
8
  """
9
 
@@ -12,69 +12,92 @@ def next_step(step):
12
  return """๐Ÿš€ **Problem 1: Missing Value Problem**
13
  "The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
14
 
15
- ๐Ÿ’ก **Before solving, think about this:**
16
  - "How does 24 cm compare to 2 cm? Can you find the scale factor?"
17
  - "If **2 cm = 25 miles**, how can we use this to scale up?"
18
- - **Give it a try before I provide hints!** Type your answer.
 
19
  """
20
 
21
  elif step == 2:
22
- return """๐Ÿ”น **If youโ€™re unsure, hereโ€™s a hint:**
23
  1๏ธโƒฃ "Try setting up a proportion:
24
  $$ \frac{2}{25} = \frac{24}{x} $$
25
  Does this equation make sense?"
26
 
27
- ๐Ÿ’ก **Try again! Type what you think.**
28
  """
29
 
30
  elif step == 3:
31
- return """2๏ธโƒฃ "Now, cross-multiply:
 
32
  $$ 2 \times x = 24 \times 25 $$
33
  Can you solve for \( x \)?"
34
 
35
- ๐Ÿ’ก **Still stuck? Let me know.**
36
  """
37
 
38
  elif step == 4:
39
- return """3๏ธโƒฃ "Final step: divide both sides by 2:
 
40
  $$ x = \frac{600}{2} = 300 $$
41
- So, 24 cm represents **300 miles**!"
42
 
43
- ๐Ÿ’ก "Does this make sense? Want to try another method?"
44
  """
45
 
46
  elif step == 5:
47
  return """๐Ÿš€ **Problem 2: Numerical Comparison Problem**
48
  "Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
49
 
50
- ๐Ÿ’ก **Try solving it first!**
51
  - "What does โ€˜better dealโ€™ mean mathematically?"
52
  - "How do we compare prices fairly?"
 
 
53
  """
54
 
55
  elif step == 6:
56
- return """๐Ÿ”น **If you need a hint, hereโ€™s the first step:**
57
  1๏ธโƒฃ "Find the cost per pencil:
58
  $$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
59
  $$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
60
 
61
- ๐Ÿ’ก **Try again and type your answer.**
62
  """
63
 
64
  elif step == 7:
 
 
 
 
 
 
 
 
 
65
  return """๐Ÿš€ **Problem 3: Qualitative Reasoning Problem**
66
  "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?"
67
 
68
- ๐Ÿ’ก **What do you think?**
69
  - "How does the ratio of red to white change?"
70
  - "Would the color become darker, lighter, or stay the same?"
71
 
72
- ๐Ÿ’ก **Try explaining your reasoning before I provide hints.**
73
  """
74
 
75
- elif step == 8:
 
 
 
 
 
 
 
 
 
76
  return """๐Ÿ“Œ **Common Core & Creativity-Directed Practices Discussion**
77
- "Great work! Now, letโ€™s reflect on how these problems connect to teaching strategies."
78
 
79
  ๐Ÿ”น **Common Core Standards Covered:**
80
  - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
@@ -83,7 +106,7 @@ def next_step(step):
83
  ๐Ÿ’ก "Which of these standards do you think were covered? Why?"
84
  """
85
 
86
- elif step == 9:
87
  return """๐Ÿ“Œ **Reflection & Problem Posing Activity**
88
  "Letโ€™s take it one step further! Try creating your own proportional reasoning problem."
89
  ๐Ÿ’ก "Would you like to modify one of the previous problems, or create a brand new one?"
 
2
  MAIN_PROMPT = """
3
  ### **Module 3: Proportional Reasoning Problem Types**
4
  "Welcome to this module on proportional reasoning problem types!
5
+ I'll guide you step by step. ๐Ÿ’ก **Try answering before I provide hints.**
6
+
7
  Are you ready?"
8
  """
9
 
 
12
  return """๐Ÿš€ **Problem 1: Missing Value Problem**
13
  "The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?"
14
 
15
+ ๐Ÿ’ก **Think before answering:**
16
  - "How does 24 cm compare to 2 cm? Can you find the scale factor?"
17
  - "If **2 cm = 25 miles**, how can we use this to scale up?"
18
+
19
+ ๐Ÿ”น **Try solving it before I give hints!**
20
  """
21
 
22
  elif step == 2:
23
+ return """๐Ÿ”น **Hint 1:**
24
  1๏ธโƒฃ "Try setting up a proportion:
25
  $$ \frac{2}{25} = \frac{24}{x} $$
26
  Does this equation make sense?"
27
 
28
+ ๐Ÿ’ก **Try answering!**
29
  """
30
 
31
  elif step == 3:
32
+ return """๐Ÿ”น **Hint 2:**
33
+ 2๏ธโƒฃ "Now, cross-multiply:
34
  $$ 2 \times x = 24 \times 25 $$
35
  Can you solve for \( x \)?"
36
 
37
+ ๐Ÿ’ก **Try again before I explain!**
38
  """
39
 
40
  elif step == 4:
41
+ return """โœ… **Solution:**
42
+ "Final step: divide both sides by 2:
43
  $$ x = \frac{600}{2} = 300 $$
44
+ So, 24 cm represents **300 miles**!"
45
 
46
+ ๐Ÿ’ก "Does this answer make sense? Would you like to try another method?"
47
  """
48
 
49
  elif step == 5:
50
  return """๐Ÿš€ **Problem 2: Numerical Comparison Problem**
51
  "Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?"
52
 
53
+ ๐Ÿ’ก **Think before answering:**
54
  - "What does โ€˜better dealโ€™ mean mathematically?"
55
  - "How do we compare prices fairly?"
56
+
57
+ ๐Ÿ”น **Try solving it first!**
58
  """
59
 
60
  elif step == 6:
61
+ return """๐Ÿ”น **Hint 1:**
62
  1๏ธโƒฃ "Find the cost per pencil:
63
  $$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali)
64
  $$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
65
 
66
+ ๐Ÿ’ก **Try calculating the costs!**
67
  """
68
 
69
  elif step == 7:
70
+ return """โœ… **Solution:**
71
+ "Which is cheaper?
72
+ - **Ali pays less per pencil** (35 cents vs. 36 cents).
73
+ So, **Ali got the better deal!**"
74
+
75
+ ๐Ÿ’ก "Does this make sense? Would you like to discuss unit rates more?"
76
+ """
77
+
78
+ elif step == 8:
79
  return """๐Ÿš€ **Problem 3: Qualitative Reasoning Problem**
80
  "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?"
81
 
82
+ ๐Ÿ’ก **Think before answering:**
83
  - "How does the ratio of red to white change?"
84
  - "Would the color become darker, lighter, or stay the same?"
85
 
86
+ ๐Ÿ”น **Try explaining before I provide hints!**
87
  """
88
 
89
+ elif step == 9:
90
+ return """๐Ÿ”น **Hint 1:**
91
+ 1๏ธโƒฃ "Yesterday: **Ratio of red:white** was **R:W**."
92
+ 2๏ธโƒฃ "Today: More red, same white โ†’ **Higher red-to-white ratio**."
93
+ 3๏ธโƒฃ "Higher red โ†’ **Darker shade!**"
94
+
95
+ ๐Ÿ’ก "Does this explanation match your thinking?"
96
+ """
97
+
98
+ elif step == 10:
99
  return """๐Ÿ“Œ **Common Core & Creativity-Directed Practices Discussion**
100
+ "Great job! Now, letโ€™s reflect on how these problems connect to teaching strategies."
101
 
102
  ๐Ÿ”น **Common Core Standards Covered:**
103
  - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
 
106
  ๐Ÿ’ก "Which of these standards do you think were covered? Why?"
107
  """
108
 
109
+ elif step == 11:
110
  return """๐Ÿ“Œ **Reflection & Problem Posing Activity**
111
  "Letโ€™s take it one step further! Try creating your own proportional reasoning problem."
112
  ๐Ÿ’ก "Would you like to modify one of the previous problems, or create a brand new one?"