Update app.py
Browse files
app.py
CHANGED
|
@@ -211,6 +211,7 @@ Your task is to process OCR-extracted text from images of Scratch 3.0 code block
|
|
| 211 |
- Every hat block must end with `end`.
|
| 212 |
- Do not include explanations or comments.
|
| 213 |
- **The pseudocode must always be returned as a single string separated by `\n` (not as a list of strings).**
|
|
|
|
| 214 |
|
| 215 |
4. **Formatting precautions**
|
| 216 |
- Numbers → `(5)`, `(-130)`
|
|
@@ -1221,6 +1222,7 @@ If you find any "Code-Blocks" then,
|
|
| 1221 |
- No comments or explanatory text—just the block sequence.
|
| 1222 |
- a natural language breakdown of each step taken after the event, formatted as a multi-line string representing pseudo-code. Ensure clarity and granularity—each described action should map closely to a Scratch block or tight sequence.
|
| 1223 |
- **The pseudocode must be returned as a single string separated by `\n` (not as a list of strings).**
|
|
|
|
| 1224 |
|
| 1225 |
4. **Logic content**:
|
| 1226 |
- Build clear flow for mechanics (movement, jumping, flying, scoring, collisions).
|
|
|
|
| 211 |
- Every hat block must end with `end`.
|
| 212 |
- Do not include explanations or comments.
|
| 213 |
- **The pseudocode must always be returned as a single string separated by `\n` (not as a list of strings).**
|
| 214 |
+
- **Never use string concatenation (`+`) or arrays—only one continuous string.**
|
| 215 |
|
| 216 |
4. **Formatting precautions**
|
| 217 |
- Numbers → `(5)`, `(-130)`
|
|
|
|
| 1222 |
- No comments or explanatory text—just the block sequence.
|
| 1223 |
- a natural language breakdown of each step taken after the event, formatted as a multi-line string representing pseudo-code. Ensure clarity and granularity—each described action should map closely to a Scratch block or tight sequence.
|
| 1224 |
- **The pseudocode must be returned as a single string separated by `\n` (not as a list of strings).**
|
| 1225 |
+
- **Never use string concatenation (`+`) or arrays—only one continuous string.**
|
| 1226 |
|
| 1227 |
4. **Logic content**:
|
| 1228 |
- Build clear flow for mechanics (movement, jumping, flying, scoring, collisions).
|