Spaces:
Sleeping
Sleeping
Update config.py
Browse files
config.py
CHANGED
|
@@ -73,7 +73,7 @@ Output a Python list of lists where each inner list is: [action_type, content, a
|
|
| 73 |
action_types:
|
| 74 |
- "title" : Problem statement as title
|
| 75 |
- "text" : Regular text explanation step
|
| 76 |
-
- "equation" : LaTeX equation (use
|
| 77 |
|
| 78 |
|
| 79 |
animation_styles:
|
|
@@ -91,8 +91,8 @@ Rules for Part 1:
|
|
| 91 |
- Use "text" for explanatory sentences
|
| 92 |
- Keep steps logical and sequential
|
| 93 |
- 8-15 steps total
|
| 94 |
-
- All LaTeX must use double backslash (
|
| 95 |
-
- Use
|
| 96 |
- No markdown, just Python list
|
| 97 |
|
| 98 |
<strictly add this &&&& between that list and paragraph for seperate>
|
|
@@ -125,14 +125,14 @@ Problem: "A ball is thrown horizontally from a 20m high cliff with an initial sp
|
|
| 125 |
["title", "Projectile Motion Problem: A ball is thrown horizontally from a 20m high cliff with an initial speed of 15 m/s. How far from the base of the cliff does it land?", "fade_in", 1.2],
|
| 126 |
["text", "A ball is thrown horizontally from a 20m high cliff with an initial speed of 15 m/s. How far from the base of the cliff does it land?", "write_left", 1.5],
|
| 127 |
["text", "This is a projectile motion problem with horizontal launch.", "write_left", 0.8],
|
| 128 |
-
["equation", "
|
| 129 |
["text", "Step 1: Find time of flight using vertical motion", "write_left", 0.8],
|
| 130 |
-
["equation", "h =
|
| 131 |
-
["equation", "20 =
|
| 132 |
-
["equation", "t^2 = 4
|
| 133 |
["text", "Step 2: Calculate horizontal distance", "write_left", 0.8],
|
| 134 |
-
["equation", "x = v_0
|
| 135 |
-
["equation", "x = 15
|
| 136 |
["text", "Answer: The ball lands 30 meters from the base of the cliff.", "write_left", 1.2]
|
| 137 |
]
|
| 138 |
&&&&
|
|
|
|
| 73 |
action_types:
|
| 74 |
- "title" : Problem statement as title
|
| 75 |
- "text" : Regular text explanation step
|
| 76 |
+
- "equation" : LaTeX equation (use \\\\text{} for text, proper LaTeX syntax)
|
| 77 |
|
| 78 |
|
| 79 |
animation_styles:
|
|
|
|
| 91 |
- Use "text" for explanatory sentences
|
| 92 |
- Keep steps logical and sequential
|
| 93 |
- 8-15 steps total
|
| 94 |
+
- All LaTeX must use double backslash (\\\\) for escaping
|
| 95 |
+
- Use \\\\, for spacing, \\\\text{} for words in equations
|
| 96 |
- No markdown, just Python list
|
| 97 |
|
| 98 |
<strictly add this &&&& between that list and paragraph for seperate>
|
|
|
|
| 125 |
["title", "Projectile Motion Problem: A ball is thrown horizontally from a 20m high cliff with an initial speed of 15 m/s. How far from the base of the cliff does it land?", "fade_in", 1.2],
|
| 126 |
["text", "A ball is thrown horizontally from a 20m high cliff with an initial speed of 15 m/s. How far from the base of the cliff does it land?", "write_left", 1.5],
|
| 127 |
["text", "This is a projectile motion problem with horizontal launch.", "write_left", 0.8],
|
| 128 |
+
["equation", "\\\\text{Given: } h = 20\\\\,\\\\text{m}, \\\\, v_0 = 15\\\\,\\\\text{m/s}, \\\\, \\\\theta = 0^\\\\circ", "write_left", 1.0],
|
| 129 |
["text", "Step 1: Find time of flight using vertical motion", "write_left", 0.8],
|
| 130 |
+
["equation", "h = \\\\frac{1}{2}gt^2", "write_left", 0.8],
|
| 131 |
+
["equation", "20 = \\\\frac{1}{2}(10)t^2", "write_left", 0.8],
|
| 132 |
+
["equation", "t^2 = 4 \\\\implies t = 2\\\\,\\\\text{s}", "write_left", 1.0],
|
| 133 |
["text", "Step 2: Calculate horizontal distance", "write_left", 0.8],
|
| 134 |
+
["equation", "x = v_0 \\\\cdot t", "write_left", 0.8],
|
| 135 |
+
["equation", "x = 15 \\\\times 2 = 30\\\\,\\\\text{m}", "write_left", 1.0],
|
| 136 |
["text", "Answer: The ball lands 30 meters from the base of the cliff.", "write_left", 1.2]
|
| 137 |
]
|
| 138 |
&&&&
|