Skip to content

Commit 115757e

Browse files
committed
Add bolt samples for 954 and 955
1 parent 80479a8 commit 115757e

File tree

6 files changed

+32
-7
lines changed

6 files changed

+32
-7
lines changed

replay_benchmarks/bolt/954/README.md

Whitespace-only changes.

replay_benchmarks/bolt/954/prompt.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# User requirements:
2+
3+
1. Fix "Parser error." - The parser must succeed.
4+
2. IMPORTANT: As you inspect the bug, YOU MUST find out exactly which AST node it failed to parse and, more IMPORTANTLY, which node it parsed PREVIOUSLY. Understanding parser problems requires understanding which production rule we are in and that requires knowing the current as well as previous tokens. Only once you fully understand the failing context, propose a fix.
5+
6+
7+
## Supplementary Information
8+
Here are all caught and uncaught errors in the recording. Maybe you can use them:
9+
```js
10+
[
11+
{
12+
"point": "16550446236665572707685049477103635",
13+
"error": `Expected number, identifier, '(', or '[', got equals
14+
at parseFactor (http://localhost:5173/src/parser/parseFactor.ts:23:11)
15+
at parseTerm (http://localhost:5173/src/parser/parseTerm.ts:4:14)
16+
at parseExpression (http://localhost:5173/src/parser/parseExpression.ts:4:14)
17+
at parseStatement (http://localhost:5173/src/parser/parseStatement.ts:44:10)
18+
at parseBlock (http://localhost:5173/src/parser/parseBlock.ts:31:23)
19+
at parseFunctionDeclaration (http://localhost:5173/src/parser/parseFunctionDeclaration.ts:50:16)
20+
at parseStatement (http://localhost:5173/src/parser/parseStatement.ts:29:12)
21+
at parseProgram (http://localhost:5173/src/parser/parseProgram.ts:22:23)
22+
at Parser.parse (http://localhost:5173/src/parser/parser.ts:41:19)
23+
at Parser.step (http://localhost:5173/src/parser/parser.ts:52:12)`
24+
}
25+
]
26+
```
27+
28+
29+
Bug recording: https://app.replay.io/recording/98d54a0b-bf17-443d-b819-ff0496487a0a?point=16550446236665572707685049477103635
79.6 KB
Binary file not shown.

replay_benchmarks/bolt/955/prompt.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
After entering Debug Mode, the `Info Panel` always shows "Move mouse over canvas".
2+
3+
Bug recording: https://app.replay.io/recording/localhost5173--66ae7539-a7d9-455c-8717-bfcf7446fb72?point=24987928631798923478451981991804943&primaryPanel=comments&secondaryPanel=console&time=10272.391981449624
48.6 KB
Binary file not shown.

replay_benchmarks/bolt/run-bolt.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,3 @@ cd $OH_ROOT
9090
set -x
9191
poetry run python -m openhands.core.main -t "$PROMPT_ONELINE" >"${LOG_FILE}" 2>&1
9292
set +x
93-
94-
95-
# Log the relevant diff.
96-
echo "Diff:"
97-
pushd $WORKSPACE_ROOT > /dev/null
98-
git --no-pager diff | grep -C 5 "map\.setView"
99-
popd > /dev/null

0 commit comments

Comments
 (0)