0xnirmal commited on
Commit
02d9d06
·
1 Parent(s): 2641bac

try with serialized json

Browse files
tasks/action-tester/must-click.json CHANGED
@@ -7,20 +7,11 @@
7
  "spa_url": "https://dojo-spas.chakra.ai/action-tester",
8
  "user_prompt": "Click the blue 'Click Me!' button to complete this task.",
9
  "success_criteria": "The hasClicked state must be set to True after clicking the button",
10
- "initial_state": {
11
- "hasClicked": false,
12
- "hasDoubleClicked": false
13
- },
14
- "target_states": [
15
- {
16
- "hasClicked": true
17
- }
18
- ],
19
  "max_steps": 5,
20
  "timeout_seconds": 30,
21
- "metadata": {
22
- "action_type": "click"
23
- },
24
  "tags": [
25
  "ui",
26
  "interaction",
 
7
  "spa_url": "https://dojo-spas.chakra.ai/action-tester",
8
  "user_prompt": "Click the blue 'Click Me!' button to complete this task.",
9
  "success_criteria": "The hasClicked state must be set to True after clicking the button",
10
+ "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false}",
11
+ "target_states": "[{\"hasClicked\": true}]",
 
 
 
 
 
 
 
12
  "max_steps": 5,
13
  "timeout_seconds": 30,
14
+ "metadata": "{\"action_type\": \"click\"}",
 
 
15
  "tags": [
16
  "ui",
17
  "interaction",
tasks/action-tester/must-double-click.json CHANGED
@@ -7,20 +7,11 @@
7
  "spa_url": "https://dojo-spas.chakra.ai/action-tester",
8
  "user_prompt": "Double-click the purple button.",
9
  "success_criteria": "The hasDoubleClicked state must be set to True",
10
- "initial_state": {
11
- "hasClicked": false,
12
- "hasDoubleClicked": false
13
- },
14
- "target_states": [
15
- {
16
- "hasDoubleClicked": true
17
- }
18
- ],
19
  "max_steps": 5,
20
  "timeout_seconds": 30,
21
- "metadata": {
22
- "action_type": "double_click"
23
- },
24
  "tags": [
25
  "ui",
26
  "interaction"
 
7
  "spa_url": "https://dojo-spas.chakra.ai/action-tester",
8
  "user_prompt": "Double-click the purple button.",
9
  "success_criteria": "The hasDoubleClicked state must be set to True",
10
+ "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false}",
11
+ "target_states": "[{\"hasDoubleClicked\": true}]",
 
 
 
 
 
 
 
12
  "max_steps": 5,
13
  "timeout_seconds": 30,
14
+ "metadata": "{\"action_type\": \"double_click\"}",
 
 
15
  "tags": [
16
  "ui",
17
  "interaction"
tasks/tic-tac-toe/win-game.json CHANGED
@@ -7,21 +7,11 @@
7
  "spa_url": "https://dojo-spas.chakra.ai/tic-tac-toe",
8
  "user_prompt": "Play tic-tac-toe and win the game.",
9
  "success_criteria": "You must win as player X",
10
- "initial_state": {
11
- "winner": null,
12
- "gameOver": false
13
- },
14
- "target_states": [
15
- {
16
- "winner": "X",
17
- "gameOver": true
18
- }
19
- ],
20
  "max_steps": 10,
21
  "timeout_seconds": 120,
22
- "metadata": {
23
- "category": "games"
24
- },
25
  "tags": [
26
  "games",
27
  "strategy"
 
7
  "spa_url": "https://dojo-spas.chakra.ai/tic-tac-toe",
8
  "user_prompt": "Play tic-tac-toe and win the game.",
9
  "success_criteria": "You must win as player X",
10
+ "initial_state": "{\"winner\": null, \"gameOver\": false}",
11
+ "target_states": "[{\"winner\": \"X\", \"gameOver\": true}]",
 
 
 
 
 
 
 
 
12
  "max_steps": 10,
13
  "timeout_seconds": 120,
14
+ "metadata": "{\"category\": \"games\"}",
 
 
15
  "tags": [
16
  "games",
17
  "strategy"