diff --git a/rewards/__init__.py b/rewards/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..41cf4fe2b3a00291c5fc99cabeddb6b9ec2594fe --- /dev/null +++ b/rewards/__init__.py @@ -0,0 +1,31 @@ +""" +Modular reward functions organized by game/application. + +This package contains reward validation functions for different dojos, +organized into separate modules for maintainability. +""" + +from dojo_sdk_core.dojos.rewards.game_2048 import REWARD_FUNCTIONS_2048 +from dojo_sdk_core.dojos.rewards.linear import REWARD_FUNCTIONS_LINEAR +from dojo_sdk_core.dojos.rewards.linkedin import REWARD_FUNCTIONS_LINKEDIN +from dojo_sdk_core.dojos.rewards.minesweeper import REWARD_FUNCTIONS_MINESWEEPER +from dojo_sdk_core.dojos.rewards.salesforce import REWARD_FUNCTIONS_SALESFORCE +from dojo_sdk_core.dojos.rewards.tic_tac_toe import REWARD_FUNCTIONS_TIC_TAC_TOE + +# Unified registry of all reward functions +REWARD_FUNCTIONS = { + **REWARD_FUNCTIONS_2048, + **REWARD_FUNCTIONS_LINEAR, + **REWARD_FUNCTIONS_LINKEDIN, + **REWARD_FUNCTIONS_SALESFORCE, + **REWARD_FUNCTIONS_TIC_TAC_TOE, + **REWARD_FUNCTIONS_MINESWEEPER, +} + + +def get_reward_function(name: str): + """Get a reward function by name from the unified registry.""" + return REWARD_FUNCTIONS.get(name) + + +__all__ = ["REWARD_FUNCTIONS", "get_reward_function"] diff --git a/rewards/game_2048.py b/rewards/game_2048.py new file mode 100644 index 0000000000000000000000000000000000000000..6280ae33419191b5e9887e6d87748cc83dc49862 --- /dev/null +++ b/rewards/game_2048.py @@ -0,0 +1,168 @@ +""" +Reward functions for 2048 game tasks. + +All functions validate the final board state, accounting for randomly spawned tiles. +Board is a 16-element array representing a 4x4 grid: + [0, 1, 2, 3, + 4, 5, 6, 7, + 8, 9, 10, 11, + 12, 13, 14, 15] +""" + +import logging +from typing import Any, Dict, Tuple + +logger = logging.getLogger(__name__) + + +def _validate_get_2048(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a 2048 tile is present on the board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + if 2048 in final_state["board"]: + return 1.0, "A 2048 tile is present." + return 0.0, "No 2048 tile is present." + + +def _validate_2048_make_first_move(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that any valid move was made from the initial board state.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + # Check if board changed (has non-zero tiles) + if any(tile != 0 for tile in final_state["board"]): + return 1.0, "Board changed from initial state - move was made successfully." + + return 0.0, "Board is still empty - no move was made." + + +def _validate_move_tiles_right(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that all tiles are in the rightmost column (positions 3, 7, 11, 15).""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + board = final_state["board"] + rightmost_positions = [3, 7, 11, 15] + + # Get all non-zero tiles and their positions + non_zero_positions = [i for i, tile in enumerate(board) if tile != 0] + + # Check if all non-zero tiles are in rightmost column + if all(pos in rightmost_positions for pos in non_zero_positions): + return 1.0, f"All tiles successfully moved to rightmost column at positions {non_zero_positions}." + + # Find which tiles are not in the rightmost column + misplaced = [pos for pos in non_zero_positions if pos not in rightmost_positions] + return 0.0, f"Some tiles are not in rightmost column. Misplaced at positions: {misplaced}" + + +def _validate_get_32_tile(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a 32 tile is present on the board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + if 32 in final_state["board"]: + return 1.0, "A 32 tile is present." + return 0.0, "No 32 tile is present." + + +def _validate_get_128_tile(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a 128 tile is present on the board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + if 128 in final_state["board"]: + return 1.0, "A 128 tile is present." + return 0.0, "No 128 tile is present." + + +def _validate_get_256_tile(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a 256 tile is present on the board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + if 256 in final_state["board"]: + return 1.0, "A 256 tile is present." + return 0.0, "No 256 tile is present." + + +def _validate_get_512_tile(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a 512 tile is present on the board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + if 512 in final_state["board"]: + return 1.0, "A 512 tile is present." + return 0.0, "No 512 tile is present." + + +def _validate_create_two_high_tiles(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that at least two tiles with value 128 or higher are present.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + high_tiles = [tile for tile in final_state["board"] if tile >= 128] + count = len(high_tiles) + + if count >= 2: + return 1.0, f"Board contains {count} tiles with value 128 or higher: {high_tiles}." + + return 0.0, f"Board contains only {count} tile(s) with value 128 or higher. Need at least 2." + + +def _validate_reach_540_sum(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that the sum of all tile values is 540 or greater.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + total_sum = sum(final_state["board"]) + + if total_sum >= 540: + return 1.0, f"Board sum is {total_sum}, which meets the requirement of 540 or greater." + + return 0.0, f"Board sum is {total_sum}, which is below the required 540." + + +def _validate_strategic_32(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a 32 tile was created strategically from an empty board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + if 32 in final_state["board"]: + return 1.0, "A 32 tile was successfully created from empty board." + return 0.0, "No 32 tile is present." + + +# Registry of all 2048 reward functions +REWARD_FUNCTIONS_2048 = { + "_validate_get_2048": _validate_get_2048, + "_validate_2048_make_first_move": _validate_2048_make_first_move, + "_validate_move_tiles_right": _validate_move_tiles_right, + "_validate_get_32_tile": _validate_get_32_tile, + "_validate_get_128_tile": _validate_get_128_tile, + "_validate_get_256_tile": _validate_get_256_tile, + "_validate_get_512_tile": _validate_get_512_tile, + "_validate_create_two_high_tiles": _validate_create_two_high_tiles, + "_validate_reach_540_sum": _validate_reach_540_sum, + "_validate_strategic_32": _validate_strategic_32, +} diff --git a/rewards/linear.py b/rewards/linear.py new file mode 100644 index 0000000000000000000000000000000000000000..1a627eb132134c7623bc33bbb5cc08e657afa83c --- /dev/null +++ b/rewards/linear.py @@ -0,0 +1,255 @@ +""" +Reward functions for Linear app tasks. +""" + +import logging +from typing import Any, Dict, Tuple + +logger = logging.getLogger(__name__) + + +def _validate_drag_to_different_column(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that an issue was moved to a different column.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find the issue we're tracking (VSS-101) + target_issue = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-101"), None) + + if not target_issue: + return 0.0, "Target issue VSS-101 not found in final state" + + # Check if it moved to in_progress status + if target_issue.get("status") == "in_progress" and target_issue.get("assigneeId") == "1": + return 1.0, "Issue VSS-101 successfully moved to In Progress column for user 1" + + return ( + 0.0, + f"Issue VSS-101 has status={target_issue.get('status')}, " + f"assigneeId={target_issue.get('assigneeId')}, expected status=in_progress, assigneeId=1", + ) + + +def _validate_drag_two_issues_same_user(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that two issues were moved within the same user's board.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find both target issues + issue_101 = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-101"), None) + issue_106 = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-106"), None) + + if not issue_101: + return 0.0, "Target issue VSS-101 not found in final state" + if not issue_106: + return 0.0, "Target issue VSS-106 not found in final state" + + # Check both issues + issue_101_correct = issue_101.get("status") == "in_progress" and issue_101.get("assigneeId") == "1" + issue_106_correct = issue_106.get("status") == "queued" and issue_106.get("assigneeId") == "1" + + if issue_101_correct and issue_106_correct: + return 1.0, "Both issues successfully moved to target columns for user 1" + + errors = [] + if not issue_101_correct: + errors.append( + f"VSS-101: status={issue_101.get('status')}, assigneeId={issue_101.get('assigneeId')} (expected in_progress, 1)" + ) + if not issue_106_correct: + errors.append( + f"VSS-106: status={issue_106.get('status')}, assigneeId={issue_106.get('assigneeId')} (expected queued, 1)" + ) + + return 0.0, "; ".join(errors) + + +def _validate_create_new_issue(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a new issue was created with correct properties.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find issue by title + target_issue = next( + (issue for issue in final_state["issues"] if issue.get("title") == "Implement user authentication system"), None + ) + + if not target_issue: + return 0.0, "Issue with title 'Implement user authentication system' not found in final state" + + # Validate properties + errors = [] + + if target_issue.get("assigneeId") != "2": + errors.append(f"assigneeId={target_issue.get('assigneeId')} (expected '2')") + + if target_issue.get("priority") != "high": + errors.append(f"priority={target_issue.get('priority')} (expected 'high')") + + description = target_issue.get("description", "") + if "JWT-based authentication" not in description: + errors.append("description does not contain 'JWT-based authentication'") + + if errors: + return 0.0, "; ".join(errors) + + return 1.0, "Issue successfully created with correct properties" + + +def _validate_drag_and_reassign_issue(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that issue VSS-106 was dragged to different status and assignee.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find the target issue + target_issue = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-106"), None) + + if not target_issue: + return 0.0, "Target issue VSS-106 not found in final state" + + # Check if it has correct status and assigneeId + if target_issue.get("status") == "in_progress" and target_issue.get("assigneeId") == "2": + return 1.0, "Issue VSS-106 successfully moved to In Progress column for Chen (assigneeId=2)" + + return ( + 0.0, + f"Issue VSS-106 has status={target_issue.get('status')}, " + f"assigneeId={target_issue.get('assigneeId')}, expected status=in_progress, assigneeId=2", + ) + + +def _validate_update_issue_properties(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that issue VSS-105 has updated priority and label.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find the target issue + target_issue = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-105"), None) + + if not target_issue: + return 0.0, "Target issue VSS-105 not found in final state" + + # Validate properties + errors = [] + + if target_issue.get("priority") != "urgent": + errors.append(f"priority={target_issue.get('priority')} (expected 'urgent')") + + labels = target_issue.get("labels", []) + has_operations_label = any(label.get("id") == "label2" for label in labels) + if not has_operations_label: + errors.append("Operations label (id='label2') not found in labels array") + + if errors: + return 0.0, "; ".join(errors) + + return 1.0, "Issue VSS-105 successfully updated with urgent priority and Operations label" + + +def _validate_multi_issue_reorganization(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that three issues were reorganized to different columns and assignees.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find all three target issues + issue_101 = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-101"), None) + issue_102 = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-102"), None) + issue_103 = next((issue for issue in final_state["issues"] if issue.get("identifier") == "VSS-103"), None) + + if not issue_101: + return 0.0, "Target issue VSS-101 not found in final state" + if not issue_102: + return 0.0, "Target issue VSS-102 not found in final state" + if not issue_103: + return 0.0, "Target issue VSS-103 not found in final state" + + # Check all issues + issue_101_correct = issue_101.get("status") == "in_progress" and issue_101.get("assigneeId") == "2" + issue_102_correct = issue_102.get("status") == "blocked" and issue_102.get("assigneeId") == "3" + issue_103_correct = issue_103.get("status") == "in_review" and issue_103.get("assigneeId") == "1" + + if issue_101_correct and issue_102_correct and issue_103_correct: + return 1.0, "All three issues successfully reorganized to target columns and assignees" + + errors = [] + if not issue_101_correct: + errors.append( + f"VSS-101: status={issue_101.get('status')}, assigneeId={issue_101.get('assigneeId')} (expected in_progress, 2)" + ) + if not issue_102_correct: + errors.append( + f"VSS-102: status={issue_102.get('status')}, assigneeId={issue_102.get('assigneeId')} (expected blocked, 3)" + ) + if not issue_103_correct: + errors.append( + f"VSS-103: status={issue_103.get('status')}, assigneeId={issue_103.get('assigneeId')} (expected in_review, 1)" + ) + + return 0.0, "; ".join(errors) + + +def _validate_complete_issue_workflow(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a complete issue workflow was executed.""" + if "issues" not in final_state: + return 0.0, "No issues in final state" + + logger.debug(f"Running reward function on state: {final_state}") + + # Find issue by title + target_issue = next( + (issue for issue in final_state["issues"] if issue.get("title") == "Fix critical database connection bug"), None + ) + + if not target_issue: + return 0.0, "Issue with title 'Fix critical database connection bug' not found in final state" + + # Validate all properties + errors = [] + + if target_issue.get("priority") != "high": + errors.append(f"priority={target_issue.get('priority')} (expected 'high')") + + if target_issue.get("assigneeId") != "2": + errors.append(f"assigneeId={target_issue.get('assigneeId')} (expected '2')") + + if target_issue.get("status") != "in_progress": + errors.append(f"status={target_issue.get('status')} (expected 'in_progress')") + + labels = target_issue.get("labels", []) + has_bug_label = any(label.get("id") == "label1" for label in labels) + if not has_bug_label: + errors.append("Bug label (id='label1') not found in labels array") + + comments = target_issue.get("comments", []) + has_comment = any("Starting investigation" in comment.get("text", "") for comment in comments) + if not has_comment: + errors.append("Comment containing 'Starting investigation' not found") + + if errors: + return 0.0, "; ".join(errors) + + return 1.0, "Complete issue workflow successfully executed" + + +# Registry of all Linear reward functions +REWARD_FUNCTIONS_LINEAR = { + "_validate_drag_to_different_column": _validate_drag_to_different_column, + "_validate_drag_two_issues_same_user": _validate_drag_two_issues_same_user, + "_validate_create_new_issue": _validate_create_new_issue, + "_validate_drag_and_reassign_issue": _validate_drag_and_reassign_issue, + "_validate_update_issue_properties": _validate_update_issue_properties, + "_validate_multi_issue_reorganization": _validate_multi_issue_reorganization, + "_validate_complete_issue_workflow": _validate_complete_issue_workflow, +} diff --git a/rewards/linkedin.py b/rewards/linkedin.py new file mode 100644 index 0000000000000000000000000000000000000000..8bb9d51b7a9e839062dc7702a221ba94df798d95 --- /dev/null +++ b/rewards/linkedin.py @@ -0,0 +1,88 @@ +""" +Reward functions for LinkedIn app tasks. +""" + +import logging +from typing import Any, Dict, Tuple + +logger = logging.getLogger(__name__) + + +def _validate_search_for_dzaka(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that the user successfully searched for Dzaka Athif.""" + logger.debug(f"Running reward function on state: {final_state}") + + # Check 1: currentView is "search" + if final_state.get("currentView") != "search": + return 0.0, f"Not on search page, current view: {final_state.get('currentView')}" + + # Check 2: searchQuery contains "dzaka" (case insensitive) + query = final_state.get("searchQuery", "").lower() + if "dzaka" not in query: + return 0.0, f"Search query doesn't contain 'dzaka': {final_state.get('searchQuery')}" + + # Check 3: Dzaka Athif in search results + search_results = final_state.get("searchResults", {}) + people = search_results.get("allPeople", []) + + dzaka_found = any(user.get("name") == "Dzaka Athif" for user in people) + + if dzaka_found: + return 1.0, "Successfully searched for Dzaka Athif" + + return 0.0, f"Dzaka Athif not found in search results. Found {len(people)} people." + + +def _validate_fractional_find_user_profile(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate LinkedIn profile navigation with fractional scoring. + + Awards 0.33 points for each criterion met: + - currentView is 'profile' + - viewedUserId is '2' (John Smith) + - searchQuery contains 'john smith' + """ + logger.debug(f"Running reward function on state: {final_state}") + + score = 0.0 + passed = [] + failed = [] + + # Check 1: currentView is 'profile' (0.33 points) + if final_state.get("currentView") == "profile": + score += 0.33 + passed.append("currentView='profile'") + else: + failed.append(f"currentView='{final_state.get('currentView')}' (expected 'profile')") + + # Check 2: viewedUserId is '2' (0.33 points) + if final_state.get("viewedUserId") == "2": + score += 0.33 + passed.append("viewedUserId='2'") + else: + failed.append(f"viewedUserId='{final_state.get('viewedUserId')}' (expected '2')") + + # Check 3: searchQuery contains 'john smith' (0.33 points) + query = final_state.get("searchQuery", "").lower() + if "john smith" in query: + score += 0.34 # Make it add up to 1.0 + passed.append("searchQuery contains 'john smith'") + else: + failed.append(f"searchQuery='{final_state.get('searchQuery')}' (expected to contain 'john smith')") + + # Build reason string + reason_parts = [] + if passed: + reason_parts.append(f"Passed: {', '.join(passed)}") + if failed: + reason_parts.append(f"Failed: {', '.join(failed)}") + + reason = "; ".join(reason_parts) if reason_parts else "No criteria evaluated" + + return round(score, 2), reason + + +# Registry of all LinkedIn reward functions +REWARD_FUNCTIONS_LINKEDIN = { + "_validate_search_for_dzaka": _validate_search_for_dzaka, + "_validate_fractional_find_user_profile": _validate_fractional_find_user_profile, +} diff --git a/rewards/minesweeper.py b/rewards/minesweeper.py new file mode 100644 index 0000000000000000000000000000000000000000..82b01d9e368b33d801ff07724f6885a683d12953 --- /dev/null +++ b/rewards/minesweeper.py @@ -0,0 +1,255 @@ +""" +Reward functions for Minesweeper game tasks. + +Board is a 9x9 grid (2D array) of Cell objects: + Cell: { + isMine: boolean, + isRevealed: boolean, + isFlagged: boolean, + neighborMineCount: number + } + +Game statuses: "not_started", "playing", "won", "lost" +""" + +import logging +from typing import Any, Dict, List, Tuple + +logger = logging.getLogger(__name__) + + +# Helper functions for common validation patterns + + +def _check_cells_flagged(board: List[List[Dict[str, Any]]], positions: List[Tuple[int, int]]) -> Tuple[float, str]: + """ + Helper function to check if specific cells are flagged. + + Args: + board: The game board (2D array) + positions: List of (row, col) tuples to check + + Returns: + (1.0, success_message) if all positions are flagged + (0.0, error_message) otherwise + """ + flagged = [] + unflagged = [] + + for row, col in positions: + # Check if position exists + if row >= len(board) or col >= len(board[row]): + return 0.0, f"Position [{row}][{col}] does not exist on board" + + if board[row][col].get("isFlagged"): + flagged.append(f"[{row}][{col}]") + else: + unflagged.append(f"[{row}][{col}]") + + if len(flagged) == len(positions): + cells_str = ", ".join(flagged) + return 1.0, f"All {len(positions)} cell(s) flagged successfully: {cells_str}." + + return 0.0, f"Not all cells flagged. Flagged: {flagged}, Not flagged: {unflagged}" + + +def _check_cells_revealed(board: List[List[Dict[str, Any]]], min_count: int, check_for_mines: bool = True) -> Tuple[float, str]: + """ + Helper function to check if minimum number of cells are revealed. + + Args: + board: The game board (2D array) + min_count: Minimum number of cells that should be revealed + check_for_mines: If True, fail if any revealed cell is a mine + + Returns: + (1.0, success_message) if criteria met + (0.0, error_message) otherwise + """ + revealed_count = 0 + revealed_mine = False + + for row in board: + for cell in row: + if cell.get("isRevealed"): + revealed_count += 1 + if check_for_mines and cell.get("isMine"): + revealed_mine = True + + if check_for_mines and revealed_mine: + return 0.0, "A mine was revealed - task failed" + + if revealed_count >= min_count: + return 1.0, f"Successfully revealed {revealed_count} safe cells (target: {min_count}+)." + + return 0.0, f"Only {revealed_count} cells revealed, need at least {min_count}" + + +# Task-specific validation functions + + +def _validate_minesweeper_reveal_first_cell(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that first move was made - at least one cell revealed and game is playing.""" + if "gameStatus" not in final_state: + return 0.0, "No gameStatus in final state" + + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + # Check if game status changed to playing + if final_state["gameStatus"] != "playing": + return 0.0, f"Game status is '{final_state['gameStatus']}', expected 'playing'" + + # Check if at least one cell is revealed + board = final_state["board"] + revealed_count = 0 + + for row in board: + for cell in row: + if cell.get("isRevealed"): + revealed_count += 1 + + if revealed_count > 0: + return 1.0, f"First move successful - {revealed_count} cell(s) revealed and game is playing." + + return 0.0, "No cells revealed yet." + + +def _validate_minesweeper_reveal_numbered_cell(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a numbered cell (with neighborMineCount > 0) was revealed at position [1][1].""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + board = final_state["board"] + + # Check if position [1][1] exists + if len(board) < 2 or len(board[1]) < 2: + return 0.0, "Board does not have position [1][1]" + + target_cell = board[1][1] + + # Check if cell is revealed + if not target_cell.get("isRevealed"): + return 0.0, "Cell at [1][1] is not revealed" + + # Check if cell shows a number (neighborMineCount > 0) + neighbor_count = target_cell.get("neighborMineCount", 0) + + if neighbor_count > 0: + return 1.0, f"Cell at [1][1] revealed successfully showing {neighbor_count} neighboring mine(s)." + + return 0.0, f"Cell at [1][1] has neighborMineCount of {neighbor_count}, expected > 0" + + +def _validate_minesweeper_reveal_10_cells(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that at least 10 cells are revealed, none are mines, and game is still playing.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + if "gameStatus" not in final_state: + return 0.0, "No gameStatus in final state" + + logger.debug(f"running reward function on state: {final_state}") + + # Check if game is still playing + if final_state["gameStatus"] != "playing": + return 0.0, f"Game status is '{final_state['gameStatus']}', expected 'playing'" + + return _check_cells_revealed(final_state["board"], 10, check_for_mines=True) + + +def _validate_minesweeper_reveal_20_cells(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that at least 20 cells are revealed and game is still playing.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + if "gameStatus" not in final_state: + return 0.0, "No gameStatus in final state" + + logger.debug(f"running reward function on state: {final_state}") + + # Check if game is still playing + if final_state["gameStatus"] != "playing": + return 0.0, f"Game status is '{final_state['gameStatus']}', expected 'playing' (game should not be won or lost yet)" + + return _check_cells_revealed(final_state["board"], 20, check_for_mines=True) + + +def _validate_minesweeper_flag_single_mine(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that cell at position [0][0] is flagged.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + return _check_cells_flagged(final_state["board"], [(0, 0)]) + + +def _validate_minesweeper_flag_three_mines(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that cells at [0][0], [0][8], and [8][0] are all flagged.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + target_positions = [(0, 0), (0, 8), (8, 0)] + return _check_cells_flagged(final_state["board"], target_positions) + + +def _validate_minesweeper_flag_corner_mines(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that all four corner cells [0][0], [0][8], [8][0], [8][8] are flagged.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + corner_positions = [(0, 0), (0, 8), (8, 0), (8, 8)] + return _check_cells_flagged(final_state["board"], corner_positions) + + +def _validate_minesweeper_reveal_safe_cell(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that cell at position [4][4] is revealed and has 0 neighboring mines.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + board = final_state["board"] + + # Check if position [4][4] exists + if len(board) < 5 or len(board[4]) < 5: + return 0.0, "Board does not have position [4][4]" + + target_cell = board[4][4] + + # Check if cell is revealed + if not target_cell.get("isRevealed"): + return 0.0, "Cell at [4][4] is not revealed" + + # Check if it's not a mine + if target_cell.get("isMine"): + return 0.0, "Cell at [4][4] is a mine - task failed!" + + # Check if it has 0 neighboring mines + neighbor_count = target_cell.get("neighborMineCount", -1) + if neighbor_count == 0: + return 1.0, "Cell at [4][4] revealed successfully with 0 neighboring mines." + + return 0.0, f"Cell at [4][4] has {neighbor_count} neighboring mines, expected 0" + + +# Registry of all minesweeper reward functions +REWARD_FUNCTIONS_MINESWEEPER = { + "_validate_minesweeper_reveal_first_cell": _validate_minesweeper_reveal_first_cell, + "_validate_minesweeper_reveal_numbered_cell": _validate_minesweeper_reveal_numbered_cell, + "_validate_minesweeper_reveal_10_cells": _validate_minesweeper_reveal_10_cells, + "_validate_minesweeper_reveal_20_cells": _validate_minesweeper_reveal_20_cells, + "_validate_minesweeper_flag_single_mine": _validate_minesweeper_flag_single_mine, + "_validate_minesweeper_flag_three_mines": _validate_minesweeper_flag_three_mines, + "_validate_minesweeper_flag_corner_mines": _validate_minesweeper_flag_corner_mines, + "_validate_minesweeper_reveal_safe_cell": _validate_minesweeper_reveal_safe_cell, +} diff --git a/rewards/salesforce.py b/rewards/salesforce.py new file mode 100644 index 0000000000000000000000000000000000000000..4df794f3aeb7ae2d09e5a023ac54723edda9c291 --- /dev/null +++ b/rewards/salesforce.py @@ -0,0 +1,423 @@ +""" +Salesforce reward functions for CRM task validation. + +This module contains reward validation functions for Salesforce CRM tasks, +particularly for complex workflows like lead conversion. +""" + +from typing import Any, Dict, Tuple + + +def _validate_salesforce_convert_lead(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """ + Validate that a lead has been successfully converted to a contact. + + This function checks: + 1. The active tab is the leads list page + 2. The lead has status 'Converted' and a convertedToContactId + 3. A new contact exists with the lead's information (name: Michael Brown) + + Args: + initial_state: The initial state before the conversion + final_state: The final state after the conversion + + Returns: + Tuple of (score, reason) where score is 1.0 for success, 0.0 for failure + """ + try: + # Check 1: Active tab should be the leads list page + active_tab_id = final_state.get("activeTabId") + if active_tab_id != "home-listLeads": + return 0.0, f"Expected activeTabId to be 'home-listLeads', got '{active_tab_id}'" + + # Check 2: Lead should be marked as converted + leads = final_state.get("leads", []) + if not leads: + return 0.0, "No leads found in final state" + + # Find the lead (should be lead-001) + lead = None + for temp_lead in leads: + if temp_lead.get("id") == "lead-001": + lead = temp_lead + break + + if not lead: + return 0.0, "Lead with id 'lead-001' not found" + + # Check lead status and convertedToContactId + lead_status = lead.get("leadStatus") + converted_to_contact_id = lead.get("convertedToContactId") + + if lead_status != "Converted": + return 0.0, f"Expected leadStatus to be 'Converted', got '{lead_status}'" + + if not converted_to_contact_id: + return 0.0, "Expected convertedToContactId to be set, but it's missing" + + # Check 3: Contact should exist with the lead's information + contacts = final_state.get("contacts", []) + if not contacts: + return 0.0, "No contacts found in final state" + + # Find the contact by the convertedToContactId + contact = None + for c in contacts: + if c.get("id") == converted_to_contact_id: + contact = c + break + + if not contact: + return 0.0, f"Contact with id '{converted_to_contact_id}' not found" + + # Verify the contact has the correct information (name should be Michael Brown) + contact_name = contact.get("name") + if contact_name != "Michael Brown": + return 0.0, f"Expected contact name to be 'Michael Brown', got '{contact_name}'" + + # Additional validation: check that contact has the lead's company + contact_company = contact.get("company") + lead_company = lead.get("company") + if contact_company != lead_company: + return 0.0, f"Contact company '{contact_company}' doesn't match lead company '{lead_company}'" + + # All checks passed + return 1.0, "Lead successfully converted to contact with correct information" + + except Exception as e: + return 0.0, f"Error during validation: {str(e)}" + + +def _validate_salesforce_create_and_convert_lead( + initial_state: Dict[str, Any], final_state: Dict[str, Any] +) -> Tuple[float, str]: + """ + Validate that a lead has been created and successfully converted to a contact. + + This function checks: + 1. The active tab is the leads list page + 2. A lead exists with name 'Robert Taylor' and status 'Converted' + 3. The lead has a convertedToContactId set + 4. A new contact exists with the lead's information + 5. The contact has the correct name and company + + Args: + initial_state: The initial state before the creation and conversion + final_state: The final state after the creation and conversion + + Returns: + Tuple of (score, reason) where score is 1.0 for success, 0.0 for failure + """ + try: + # Check 1: Active tab should be the leads list page + active_tab_id = final_state.get("activeTabId") + if active_tab_id != "home-listLeads": + return 0.0, f"Expected activeTabId to be 'home-listLeads', got '{active_tab_id}'" + + # Check 2: Lead should exist and be marked as converted + leads = final_state.get("leads", []) + if not leads: + return 0.0, "No leads found in final state" + + # Find the lead with name 'Robert Taylor' + robert_lead = None + for lead in leads: + if lead.get("name") == "Robert Taylor": + robert_lead = lead + break + + if not robert_lead: + return 0.0, "Lead with name 'Robert Taylor' not found" + + # Check lead status and convertedToContactId + lead_status = robert_lead.get("leadStatus") + converted_to_contact_id = robert_lead.get("convertedToContactId") + + if lead_status != "Converted": + return 0.0, f"Expected leadStatus to be 'Converted', got '{lead_status}'" + + if not converted_to_contact_id: + return 0.0, "Expected convertedToContactId to be set, but it's missing" + + # Check 3: Contact should exist with the lead's information + contacts = final_state.get("contacts", []) + if not contacts: + return 0.0, "No contacts found in final state" + + # Find the contact by the convertedToContactId + contact = None + for c in contacts: + if c.get("id") == converted_to_contact_id: + contact = c + break + + if not contact: + return 0.0, f"Contact with id '{converted_to_contact_id}' not found" + + # Verify the contact has the correct information + contact_name = contact.get("name") + if contact_name != "Robert Taylor": + return 0.0, f"Expected contact name to be 'Robert Taylor', got '{contact_name}'" + + # Check that contact has the lead's company + contact_company = contact.get("company") + lead_company = robert_lead.get("company") + if contact_company != lead_company: + return 0.0, f"Contact company '{contact_company}' doesn't match lead company '{lead_company}'" + + # Additional validation: check that contact has the lead's email + contact_email = contact.get("email") + lead_email = robert_lead.get("email") + if contact_email != lead_email: + return 0.0, f"Contact email '{contact_email}' doesn't match lead email '{lead_email}'" + + # Verify the lead was created from scratch (not in initial state) + initial_leads = initial_state.get("leads", []) + initial_robert_exists = any(lead.get("name") == "Robert Taylor" for lead in initial_leads) + if initial_robert_exists: + return 0.0, "Lead 'Robert Taylor' already existed in initial state - should be newly created" + + # All checks passed + return 1.0, "Lead 'Robert Taylor' successfully created and converted to contact with correct information" + + except Exception as e: + return 0.0, f"Error during validation: {str(e)}" + + +def _validate_salesforce_create_new_lead(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """ + Validate that a new lead has been successfully created. + + This function checks: + 1. The active tab is a lead details page + 2. A lead exists with name 'Jane Smith' and company 'Innovation Labs' + 3. The lead was not in the initial state (proves it was created) + + Args: + initial_state: The initial state before the lead creation + final_state: The final state after the lead creation + + Returns: + Tuple of (score, reason) where score is 1.0 for success, 0.0 for failure + """ + try: + # Check 1: Active tab should be a lead details page + active_tab_id = final_state.get("activeTabId") + if not active_tab_id or not active_tab_id.startswith("lead-"): + return 0.0, f"Expected activeTabId to start with 'lead-', got '{active_tab_id}'" + + # Check 2: Lead should exist with correct information + leads = final_state.get("leads", []) + if not leads: + return 0.0, "No leads found in final state" + + # Find the lead with name 'Jane Smith' + jane_lead = None + for lead in leads: + if lead.get("name") == "Jane Smith": + jane_lead = lead + break + + if not jane_lead: + return 0.0, "Lead with name 'Jane Smith' not found" + + # Check company + if jane_lead.get("company") != "Innovation Labs": + return 0.0, f"Expected company to be 'Innovation Labs', got '{jane_lead.get('company')}'" + + # Check 3: Verify the lead was created from scratch + initial_leads = initial_state.get("leads", []) + initial_jane_exists = any(lead.get("name") == "Jane Smith" for lead in initial_leads) + if initial_jane_exists: + return 0.0, "Lead 'Jane Smith' already existed in initial state - should be newly created" + + # All checks passed + return 1.0, "Lead 'Jane Smith' successfully created with correct information" + + except Exception as e: + return 0.0, f"Error during validation: {str(e)}" + + +def _validate_salesforce_create_new_case(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """ + Validate that a new case has been successfully created. + + This function checks: + 1. The active tab is a case details page + 2. A case exists with subject 'Technical support request' + 3. The case was not in the initial state (proves it was created) + + Args: + initial_state: The initial state before the case creation + final_state: The final state after the case creation + + Returns: + Tuple of (score, reason) where score is 1.0 for success, 0.0 for failure + """ + try: + # Check 1: Active tab should be a case details page + active_tab_id = final_state.get("activeTabId") + if not active_tab_id or not active_tab_id.startswith("case-"): + return 0.0, f"Expected activeTabId to start with 'case-', got '{active_tab_id}'" + + # Check 2: Case should exist with correct subject + cases = final_state.get("cases", []) + if not cases: + return 0.0, "No cases found in final state" + + # Find the case with subject 'Technical support request' + support_case = None + for case in cases: + if case.get("subject") == "Technical support request": + support_case = case + break + + if not support_case: + return 0.0, "Case with subject 'Technical support request' not found" + + # Check 3: Verify the case was created from scratch + initial_cases = initial_state.get("cases", []) + initial_case_exists = any(case.get("subject") == "Technical support request" for case in initial_cases) + if initial_case_exists: + return 0.0, "Case 'Technical support request' already existed in initial state - should be newly created" + + # All checks passed + return 1.0, "Case 'Technical support request' successfully created" + + except Exception as e: + return 0.0, f"Error during validation: {str(e)}" + + +def _validate_salesforce_edit_lead_inline(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """ + Validate that a lead's title has been successfully edited inline. + + This function checks: + 1. Lead with id 'lead-001' exists + 2. The lead's title has been changed from 'VP of Sales' to 'Senior VP of Sales' + 3. Other lead fields remain unchanged + + Args: + initial_state: The initial state before the edit + final_state: The final state after the edit + + Returns: + Tuple of (score, reason) where score is 1.0 for success, 0.0 for failure + """ + try: + # Get the lead from both states + initial_leads = initial_state.get("leads", []) + final_leads = final_state.get("leads", []) + + initial_lead = None + for lead in initial_leads: + if lead.get("id") == "lead-001": + initial_lead = lead + break + + final_lead = None + for lead in final_leads: + if lead.get("id") == "lead-001": + final_lead = lead + break + + if not initial_lead: + return 0.0, "Lead 'lead-001' not found in initial state" + + if not final_lead: + return 0.0, "Lead 'lead-001' not found in final state" + + # Check that title was updated correctly + if initial_lead.get("title") != "VP of Sales": + return 0.0, f"Initial title should be 'VP of Sales', got '{initial_lead.get('title')}'" + + if final_lead.get("title") != "Senior VP of Sales": + return 0.0, f"Expected title to be 'Senior VP of Sales', got '{final_lead.get('title')}'" + + # Check that other important fields remain unchanged + fields_to_check = ["name", "company", "email", "phone", "leadStatus"] + for field in fields_to_check: + if initial_lead.get(field) != final_lead.get(field): + return 0.0, f"Field '{field}' should not have changed, but it did" + + # All checks passed + return 1.0, "Lead title successfully updated to 'Senior VP of Sales'" + + except Exception as e: + return 0.0, f"Error during validation: {str(e)}" + + +def _validate_salesforce_create_and_close_case(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """ + Validate that a case has been created and successfully closed. + + This function checks: + 1. The active tab is still a case details page + 2. A case exists with subject 'Customer complaint resolved' and status 'Closed' + 3. The case was not in the initial state (proves it was created) + + Args: + initial_state: The initial state before the case creation and closure + final_state: The final state after the case creation and closure + + Returns: + Tuple of (score, reason) where score is 1.0 for success, 0.0 for failure + """ + try: + # Check 1: Active tab should still be a case details page + active_tab_id = final_state.get("activeTabId") + if not active_tab_id or not active_tab_id.startswith("case-"): + return 0.0, f"Expected activeTabId to start with 'case-', got '{active_tab_id}'" + + # Check 2: Case should exist with correct subject and be closed + cases = final_state.get("cases", []) + if not cases: + return 0.0, "No cases found in final state" + + # Find the case with subject 'Customer complaint resolved' + complaint_case = None + for case in cases: + if case.get("subject") == "Customer complaint resolved": + complaint_case = case + break + + if not complaint_case: + return 0.0, "Case with subject 'Customer complaint resolved' not found" + + # Check case status + case_status = complaint_case.get("status") + if case_status != "Closed": + return 0.0, f"Expected case status to be 'Closed', got '{case_status}'" + + # Check 3: Verify the case was created from scratch + initial_cases = initial_state.get("cases", []) + initial_case_exists = any(case.get("subject") == "Customer complaint resolved" for case in initial_cases) + if initial_case_exists: + return 0.0, "Case 'Customer complaint resolved' already existed in initial state - should be newly created" + + # All checks passed + return 1.0, "Case 'Customer complaint resolved' successfully created and closed" + + except Exception as e: + return 0.0, f"Error during validation: {str(e)}" + + +# Registry of Salesforce reward functions +REWARD_FUNCTIONS_SALESFORCE = { + "_validate_salesforce_convert_lead": _validate_salesforce_convert_lead, + "_validate_salesforce_create_and_convert_lead": _validate_salesforce_create_and_convert_lead, + "_validate_salesforce_create_new_lead": _validate_salesforce_create_new_lead, + "_validate_salesforce_create_new_case": _validate_salesforce_create_new_case, + "_validate_salesforce_edit_lead_inline": _validate_salesforce_edit_lead_inline, + "_validate_salesforce_create_and_close_case": _validate_salesforce_create_and_close_case, +} + +__all__ = [ + "REWARD_FUNCTIONS_SALESFORCE", + "_validate_salesforce_convert_lead", + "_validate_salesforce_create_and_convert_lead", + "_validate_salesforce_create_new_lead", + "_validate_salesforce_create_new_case", + "_validate_salesforce_edit_lead_inline", + "_validate_salesforce_create_and_close_case", +] diff --git a/rewards/tic_tac_toe.py b/rewards/tic_tac_toe.py new file mode 100644 index 0000000000000000000000000000000000000000..897e8fecd16c5ad7dd15b1cfe94ecf3f1bd96a3a --- /dev/null +++ b/rewards/tic_tac_toe.py @@ -0,0 +1,82 @@ +""" +Reward functions for tic-tac-toe game tasks. + +Board is a 9-element array representing a 3x3 grid: + [0, 1, 2, + 3, 4, 5, + 6, 7, 8] + +Players: "X" (human), "O" (computer), or null (empty) +""" + +import logging +from typing import Any, Dict, Tuple + +logger = logging.getLogger(__name__) + + +def _validate_tic_tac_toe_make_first_move(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that a move was made on previously empty board.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + board = final_state["board"] + + # Check if board has any non-null values + if all(cell is None for cell in board): + return 0.0, "Board is still empty - no move was made." + + # Check if board has at least one X + if "X" in board: + return 1.0, "First move made successfully - X placed on board." + + return 0.0, "No X found on board." + + +def _validate_take_center(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that X was placed in center position (index 4).""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + board = final_state["board"] + + # Check if center position (index 4) contains X + if board[4] == "X": + return 1.0, "Center square successfully taken by X." + + center_value = board[4] if board[4] is not None else "empty" + return 0.0, f"Center square not taken by X. Center is: {center_value}" + + +def _validate_block_computer_win(initial_state: Dict[str, Any], final_state: Dict[str, Any]) -> Tuple[float, str]: + """Validate that X blocked computer's win at position 2.""" + if "board" not in final_state: + return 0.0, "No board in final state" + + logger.debug(f"running reward function on state: {final_state}") + + board = final_state["board"] + + # Check if position 2 (top-right) contains X + if board[2] != "X": + position_value = board[2] if board[2] is not None else "empty" + return 0.0, f"Position 2 not blocked by X. Position 2 is: {position_value}" + + # Check that game is still ongoing (player hasn't lost) + winner = final_state.get("winner") + if winner == "O": + return 0.0, "Computer (O) won - blocking was unsuccessful." + + return 1.0, "Successfully blocked computer's winning move at position 2." + + +# Registry of all tic-tac-toe reward functions +REWARD_FUNCTIONS_TIC_TAC_TOE = { + "_validate_tic_tac_toe_make_first_move": _validate_tic_tac_toe_make_first_move, + "_validate_take_center": _validate_take_center, + "_validate_block_computer_win": _validate_block_computer_win, +} diff --git a/tasks/2048/create-two-high-tiles.json b/tasks/2048/create-two-high-tiles.json index 822beece18003d7ae589834ff628dfc5f3ced041..0271a3532c46b6f1bd1711033b21bc2cae45dc00 100644 --- a/tasks/2048/create-two-high-tiles.json +++ b/tasks/2048/create-two-high-tiles.json @@ -3,6 +3,7 @@ "id": "create-two-high-tiles", "name": "Create Two 128 Tiles", "description": "Get at least two tiles with value 128 or higher on the board", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [64, 64, 0, 0, 32, 32, 0, 0, 16, 16, 0, 0, 16, 4, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Create at least two tiles with value 128 or higher on the board. You'll need to combine smaller tiles strategically to reach this goal.\", \"success_criteria\": \"The board must contain at least two tiles with value 128 or higher.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"two_high_tiles\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/get-128-tile.json b/tasks/2048/get-128-tile.json index 194179393cb197f61d7cb8290b738b58067ea4de..eb42ace90417eb010b3350cd6478929b10fe2d0b 100644 --- a/tasks/2048/get-128-tile.json +++ b/tasks/2048/get-128-tile.json @@ -3,6 +3,7 @@ "id": "get-128-tile", "name": "Get 128 Tile", "description": "Create a 128 tile in one move", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Create a 128 tile by combining the two 64-tiles in the middle column. Make the move that will merge them together.\", \"success_criteria\": \"The board must contain a 128-tile after the move.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 60, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"create_128\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/get-2048.json b/tasks/2048/get-2048.json index dde79399a2c845f8171a9b65bf06ae1520f5132a..72bc64dd74fd0f704abf2822b7854594a36b24bb 100644 --- a/tasks/2048/get-2048.json +++ b/tasks/2048/get-2048.json @@ -3,6 +3,7 @@ "id": "get-2048", "name": "Get 2048 in one move", "description": "Make the next move to score 2048.", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [0, 0, 0, 0, 0, 1024, 0, 1024, 0, 0, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Play 2048 and make the next move that would cause a 2048 tile to appear.\", \"success_criteria\": \"The game board must contain a 2048 tile.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/get-256-tile.json b/tasks/2048/get-256-tile.json index 768453478dafbb3b9bbb34dde2acf539a524f47c..4a0da59095be366f8f0e9ed35cd7ae9c698df806 100644 --- a/tasks/2048/get-256-tile.json +++ b/tasks/2048/get-256-tile.json @@ -3,6 +3,7 @@ "id": "get-256-tile", "name": "Get 256 Tile", "description": "Create a 256 tile in three moves", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [0, 0, 32, 32, 0, 0, 32, 32, 0, 32, 0, 32, 0, 0, 32, 32], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Create a 256 tile by combining 32-tiles to make 64-tiles, then combining those 64-tiles to make 128-tiles, and finally combining those 128-tiles to make a 256-tile. This requires three strategic moves.\", \"success_criteria\": \"The board must contain a 256-tile after completing the three moves.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 60, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"create_256\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/get-32-tile.json b/tasks/2048/get-32-tile.json index 646322c506b91a3aeb70ca2f5dc42f2959c4603b..c5ff19c82641d43603dbc4f3d7c39f2970fc2c18 100644 --- a/tasks/2048/get-32-tile.json +++ b/tasks/2048/get-32-tile.json @@ -3,6 +3,7 @@ "id": "get-32-tile", "name": "Get 32 Tile", "description": "Combine two 16-tiles to create a 32-tile", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [0, 0, 0, 0, 0, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Combine the two 16-tiles in the middle row to create a 32-tile. Move the tiles so they merge together.\", \"success_criteria\": \"The board must contain a 32-tile after the move.\"}", @@ -11,4 +12,4 @@ "max_steps": 3, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"create_32\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/get-512-tile.json b/tasks/2048/get-512-tile.json index 5a713235bd036d0bfef023a821b56410f9fd05f6..354b9902481b724a0fe453445979fab47124448e 100644 --- a/tasks/2048/get-512-tile.json +++ b/tasks/2048/get-512-tile.json @@ -3,6 +3,7 @@ "id": "get-512-tile", "name": "Get 512 Tile", "description": "Create a 512 tile in three moves", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [64, 64, 0, 0, 64, 0, 64, 0, 64, 64, 0, 0, 64, 0, 0, 64], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Create a 512 tile by combining 64-tiles to make 128-tiles, then combining those 128-tiles to make 256-tiles, and finally combining those 256-tiles to make a 512-tile. This requires three strategic moves.\", \"success_criteria\": \"The board must contain a 512-tile after completing the three moves.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 60, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"create_512\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/make-first-move.json b/tasks/2048/make-first-move.json index 751cf46a27c5c04ec708a29ccdcd5a0991cd8fc8..55efb86b2c6f6b712194cded6ed5c0d3b9f91949 100644 --- a/tasks/2048/make-first-move.json +++ b/tasks/2048/make-first-move.json @@ -3,6 +3,7 @@ "id": "make-first-move", "name": "Make First Move", "description": "Make any valid move from the initial board state", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Make any valid move in the 2048 game. Use the arrow keys to move tiles in any direction (up, down, left, or right).\", \"success_criteria\": \"The board must change from its initial state after making a move.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"first_move\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/move-tiles-right.json b/tasks/2048/move-tiles-right.json index 5a70383cc6473c31f3eee66d25e299f0e02d4398..098ac19e15a93c4177e2f854c4e9eb0a4a5e9cda 100644 --- a/tasks/2048/move-tiles-right.json +++ b/tasks/2048/move-tiles-right.json @@ -3,6 +3,7 @@ "id": "move-tiles-right", "name": "Move Tiles Right", "description": "Move all tiles to the right side of the board", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [2, 0, 0, 0, 4, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Move all tiles to the right side of the board using the right arrow key. All tiles should be positioned in the rightmost column.\", \"success_criteria\": \"All tiles must be in the rightmost column (positions 3, 7, 11, 15).\"}", @@ -11,4 +12,4 @@ "max_steps": 3, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"move_right\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/reach-540-sum.json b/tasks/2048/reach-540-sum.json index 8d6476190d76b347b7a2868234ef5c2f07b60096..f0554b12c39ad20a56acd67a0dfe793b300b9608 100644 --- a/tasks/2048/reach-540-sum.json +++ b/tasks/2048/reach-540-sum.json @@ -3,6 +3,7 @@ "id": "reach-540-sum", "name": "Reach 540 Sum", "description": "Achieve a board with tiles summing to 540 or more", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [256, 128, 64, 32, 16, 8, 4, 2, 2, 2, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", "instructions": "{\"user_prompt\": \"Achieve a board where the sum of all tile values is 540 or more. Combine tiles strategically to increase the total value.\", \"success_criteria\": \"The sum of all tile values on the board must be 540 or greater.\"}", @@ -11,4 +12,4 @@ "max_steps": 20, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"action\": \"target_540_sum\"}" -} \ No newline at end of file +} diff --git a/tasks/2048/strategic-32.json b/tasks/2048/strategic-32.json index cb9cf1a86d781cc55c28eb3a9e4509f973cf0797..9b17c82e3a555f27b7609885bddbcd317e5b73b0 100644 --- a/tasks/2048/strategic-32.json +++ b/tasks/2048/strategic-32.json @@ -3,12 +3,13 @@ "id": "strategic-32", "name": "Strategic 32", "description": "Create a 32 tile from a sparse board with strategic moves", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}", "initial_state": "{\"board\": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}", - "instructions": "{\"user_prompt\": \"Starting from an empty board, strategically create a 32 tile. You'll need to build up from smaller tiles through careful planning and multiple moves. This requires combining tiles multiple times: 2\u21924\u21928\u219216\u219232.\", \"success_criteria\": \"The board must contain a 32-tile after completing the strategic moves.\"}", + "instructions": "{\"user_prompt\": \"Starting from an empty board, strategically create a 32 tile. You'll need to build up from smaller tiles through careful planning and multiple moves. This requires combining tiles multiple times: 2→4→8→16→32.\", \"success_criteria\": \"The board must contain a 32-tile after completing the strategic moves.\"}", "reward_function": "_validate_strategic_32", "valid_target_states": "", "max_steps": 40, "timeout_seconds": 180, "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"action\": \"strategic_32\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-click.json b/tasks/action-tester/must-click.json index e90af52f0ac97de5bcd6e67e140d441c53491f84..571f3e2ef62eb59cbcef4a94886db5eb53bada9e 100644 --- a/tasks/action-tester/must-click.json +++ b/tasks/action-tester/must-click.json @@ -3,6 +3,7 @@ "id": "must-click", "name": "Click Action Test", "description": "Test the agent's ability to perform a single click action on a button", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Click the blue 'Click Me!' button to complete this task. You need to perform a single left-click on the button.\", \"success_criteria\": \"The hasClicked state must be set to True after clicking the button\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"easy\", \"action_type\": \"click\", \"target_element\": \"blue button with text 'Click Me!'\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-complete-all-actions.json b/tasks/action-tester/must-complete-all-actions.json index 28980fb2bb0f70387bfd3472145492d494e35ced..fafa2030938f31e23ef18a558b22f4f0629f68fe 100644 --- a/tasks/action-tester/must-complete-all-actions.json +++ b/tasks/action-tester/must-complete-all-actions.json @@ -3,6 +3,7 @@ "id": "must-complete-all-actions", "name": "Complete All Actions Test", "description": "Test the agent's ability to perform all computer use actions in sequence - click, double-click, right-click, middle-click, drag, type, hotkey, and scroll", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Complete all 8 computer use actions to finish this comprehensive test: 1) Click the blue 'Click Me!' button, 2) Double-click the purple 'Double Click Me!' button, 3) Right-click the orange area, 4) Middle-click the teal area, 5) Drag the red box to a new position, 6) Type at least 5 characters in the input field, 7) Press Ctrl+S (or Cmd+S on Mac), and 8) Scroll down the page by at least 100 pixels. All actions must be completed successfully.\", \"success_criteria\": \"All action states must be set to True: hasClicked, hasDoubleClicked, hasRightClicked, hasMiddleClicked, hasDragged, hasTyped, hasHotkeyed, and hasScrolled\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 120, "metadata": "{\"difficulty\": \"hard\", \"action_type\": \"comprehensive\", \"target_element\": \"all interactive elements in the action tester\", \"actions_required\": [\"click\", \"double_click\", \"right_click\", \"middle_click\", \"drag\", \"type\", \"hotkey\", \"scroll\"]}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-double-click.json b/tasks/action-tester/must-double-click.json index 6fd750c55ec0b0b711b54cb4b7e5ee762834b1b9..56a36a84c7a2a61df65ddc4a547ffed8f9704250 100644 --- a/tasks/action-tester/must-double-click.json +++ b/tasks/action-tester/must-double-click.json @@ -3,6 +3,7 @@ "id": "must-double-click", "name": "Double Click Action Test", "description": "Test the agent's ability to perform a double-click action on a button", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Double-click the purple 'Double Click Me!' button to complete this task. You need to perform two quick clicks in succession on the button.\", \"success_criteria\": \"The hasDoubleClicked state must be set to True after double-clicking the button\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"easy\", \"action_type\": \"double_click\", \"target_element\": \"purple button with text 'Double Click Me!'\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-drag.json b/tasks/action-tester/must-drag.json index c76149471712de5e0b3ad4d71c204fd1b1449bb7..188eaafa8f6e1229ab2e326d0d17ac997e6ae878 100644 --- a/tasks/action-tester/must-drag.json +++ b/tasks/action-tester/must-drag.json @@ -3,6 +3,7 @@ "id": "must-drag", "name": "Drag Action Test", "description": "Test the agent's ability to perform a drag and drop action", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Drag the red 'Drag Me' box to a new position to complete this task. You need to click and hold the red box, then move it to a different location (at least 10 pixels away) before releasing.\", \"success_criteria\": \"The hasDragged state must be set to True after successfully dragging the red box to a new position\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 45, "metadata": "{\"difficulty\": \"medium\", \"action_type\": \"drag\", \"target_element\": \"red draggable box with text 'Drag Me'\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-hotkey.json b/tasks/action-tester/must-hotkey.json index a172044998b385f1f9b8d688544c42e2b860563c..4a12996e50fd2f727c5d791972bb696f4dadc6fe 100644 --- a/tasks/action-tester/must-hotkey.json +++ b/tasks/action-tester/must-hotkey.json @@ -3,6 +3,7 @@ "id": "must-hotkey", "name": "Hotkey Action Test", "description": "Test the agent's ability to use keyboard shortcuts (hotkeys)", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Press the keyboard shortcut Ctrl+S (or Cmd+S on Mac) to complete this task. You need to hold down the Ctrl key (or Cmd key on Mac) and press the S key simultaneously.\", \"success_criteria\": \"The hasHotkeyed state must be set to True after pressing the Ctrl+S (or Cmd+S) key combination\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"medium\", \"action_type\": \"hotkey\", \"target_element\": \"keyboard shortcut Ctrl+S or Cmd+S\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-middle-click.json b/tasks/action-tester/must-middle-click.json index 7c1b11da5b7709ca12cd33e7ab718c5e84178c5f..28c8b021c65a70433d794a25d14a14466f7628e3 100644 --- a/tasks/action-tester/must-middle-click.json +++ b/tasks/action-tester/must-middle-click.json @@ -3,6 +3,7 @@ "id": "must-middle-click", "name": "Middle Click Action Test", "description": "Test the agent's ability to perform a middle-click (scroll wheel click) action", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Middle-click (scroll wheel click) on the teal area labeled 'Middle Click Here' to complete this task. You need to press down the scroll wheel on the designated area.\", \"success_criteria\": \"The hasMiddleClicked state must be set to True after middle-clicking the teal area\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"medium\", \"action_type\": \"middle_click\", \"target_element\": \"teal area with text 'Middle Click Here'\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-perform-three-medium-actions.json b/tasks/action-tester/must-perform-three-medium-actions.json index 6a82982d40336daa437eec9aece60415fc8bcd37..745dfb6032b6748c36f5e9dda6f5f048e5c3b7af 100644 --- a/tasks/action-tester/must-perform-three-medium-actions.json +++ b/tasks/action-tester/must-perform-three-medium-actions.json @@ -3,6 +3,7 @@ "id": "must-perform-three-medium-actions", "name": "Three Medium Actions Test", "description": "Test the agent's ability to perform three medium-difficulty actions in sequence: drag, hotkey, and middle-click", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Complete three medium-difficulty computer use actions to finish this test: 1) Drag the red 'Drag Me' box to a new position (at least 10 pixels away), 2) Press the keyboard shortcut Ctrl+S (or Cmd+S on Mac), and 3) Middle-click (scroll wheel click) on the teal area labeled 'Middle Click Here'. All three actions must be completed successfully in any order.\", \"success_criteria\": \"The hasDragged, hasHotkeyed, and hasMiddleClicked states must all be set to True\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 90, "metadata": "{\"difficulty\": \"hard\", \"action_type\": \"combined_medium_actions\", \"target_element\": \"multiple interactive elements requiring drag, hotkey, and middle-click\", \"actions_required\": [\"drag\", \"hotkey\", \"middle_click\"]}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-right-click.json b/tasks/action-tester/must-right-click.json index e5b82190677694ee40c300ab3cd69994df702351..b72f1c7262a107501f480595807be385693db487 100644 --- a/tasks/action-tester/must-right-click.json +++ b/tasks/action-tester/must-right-click.json @@ -3,6 +3,7 @@ "id": "must-right-click", "name": "Right Click Action Test", "description": "Test the agent's ability to perform a right-click (context menu) action", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Right-click on the orange area labeled 'Right Click Here' to complete this task. You need to perform a right-click (context menu click) on the designated area.\", \"success_criteria\": \"The hasRightClicked state must be set to True after right-clicking the orange area\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"easy\", \"action_type\": \"right_click\", \"target_element\": \"orange area with text 'Right Click Here'\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-scroll.json b/tasks/action-tester/must-scroll.json index 8e0b14f92eb18a93585a0a52a425c495c4751591..3288cb5464571488232f9001e7e2a6340221f542 100644 --- a/tasks/action-tester/must-scroll.json +++ b/tasks/action-tester/must-scroll.json @@ -3,6 +3,7 @@ "id": "must-scroll", "name": "Scroll Action Test", "description": "Test the agent's ability to scroll the page", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Scroll down on the page by at least 100 pixels to complete this task. You can use the scroll wheel, arrow keys, or drag the scrollbar to scroll down the page.\", \"success_criteria\": \"The hasScrolled state must be set to True after scrolling down the page by 100 pixels or more\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"easy\", \"action_type\": \"scroll\", \"target_element\": \"page scroll area\"}" -} \ No newline at end of file +} diff --git a/tasks/action-tester/must-type.json b/tasks/action-tester/must-type.json index 0a5a1eec0815ab5323556194cc38617d31239d8d..ea535e8aeffd73468ac8fb3ef8de48405535a405 100644 --- a/tasks/action-tester/must-type.json +++ b/tasks/action-tester/must-type.json @@ -3,6 +3,7 @@ "id": "must-type", "name": "Type Action Test", "description": "Test the agent's ability to type text into an input field", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/action-tester/index.html\"}", "initial_state": "{\"hasClicked\": false, \"hasDoubleClicked\": false, \"hasDragged\": false, \"hasHotkeyed\": false, \"hasMiddleClicked\": false, \"hasRightClicked\": false, \"hasScrolled\": false, \"hasTyped\": false}", "instructions": "{\"user_prompt\": \"Type at least 5 characters in the text input field to complete this task. Click on the input field with placeholder 'Type here...' and enter at least 5 characters of text.\", \"success_criteria\": \"The hasTyped state must be set to True after typing at least 5 characters in the input field\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 30, "metadata": "{\"difficulty\": \"easy\", \"action_type\": \"type\", \"target_element\": \"text input field with placeholder 'Type here...'\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/add-label-to-issue.json b/tasks/linear/add-label-to-issue.json index 101d66a1180a6f67d067c10fec0c09c7d27e4c15..c53aeebb0adc1bebdf932fd3802efe08063aea2d 100644 --- a/tasks/linear/add-label-to-issue.json +++ b/tasks/linear/add-label-to-issue.json @@ -3,6 +3,7 @@ "id": "add-label-to-issue", "name": "Add Label to Issue", "description": "Add the Bug label to issue VSS-104", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"4\", \"identifier\": \"VSS-104\", \"title\": \"Build 3D station rotation visualizer component\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Add the Bug label to issue VSS-104 by following these steps: 1) Click on issue VSS-104 on the kanban board to open it. 2) Find the Labels section in the right sidebar of the issue details page. 3) Click the 'Add label' button to open the labels dropdown. 4) Click on the 'Bug' label in the dropdown to add it to the issue.\", \"success_criteria\": \"Issue VSS-104 must have the Bug label (id='label1') in its labels array.\"}", @@ -11,4 +12,4 @@ "max_steps": 7, "timeout_seconds": 60, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/change-issue-priority.json b/tasks/linear/change-issue-priority.json index c21419c71617f60aaf19032254512c2114df0d80..5cfff77735d691bb6e89f72ab23e9472d40e81fd 100644 --- a/tasks/linear/change-issue-priority.json +++ b/tasks/linear/change-issue-priority.json @@ -3,6 +3,7 @@ "id": "change-issue-priority", "name": "Change Issue Priority", "description": "Change the priority of issue VSS-101 from none to high", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"1\", \"identifier\": \"VSS-101\", \"title\": \"Design oxygen level monitoring dashboard\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Change the priority of issue VSS-101 by following these steps: 1) Click on issue VSS-101 on the kanban board to open it. 2) Locate the Priority section in the right sidebar. 3) Click on the priority dropdown (currently showing 'Set priority'). 4) Select 'High' from the dropdown menu.\", \"success_criteria\": \"Issue VSS-101 must have priority set to 'high'.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 60, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/change-issue-status.json b/tasks/linear/change-issue-status.json index 9d294408e6b8c66c6dac7aa93ed298a08deefcb2..14a2b3aa3058b0dfd7f2dc4261297af04c382b09 100644 --- a/tasks/linear/change-issue-status.json +++ b/tasks/linear/change-issue-status.json @@ -3,6 +3,7 @@ "id": "change-issue-status", "name": "Change Issue Status", "description": "Change the status of issue VSS-102 from queued to in_progress", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"2\", \"identifier\": \"VSS-102\", \"title\": \"Add solar panel efficiency widget to control panel\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Change the status of issue VSS-102 by following these steps: 1) Click on issue VSS-102 on the kanban board to open it. 2) Locate the Status section in the right sidebar. 3) Click on the status dropdown (currently showing 'Queued'). 4) Select 'In Progress' from the dropdown menu.\", \"success_criteria\": \"Issue VSS-102 must have status set to 'in_progress'.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 60, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/complete-issue-workflow.json b/tasks/linear/complete-issue-workflow.json index 64e1f90a3602d21f6cc734b2139146bf66728c7a..bd1db11085d3ed4cc8b8c7c79dfdb615339723e5 100644 --- a/tasks/linear/complete-issue-workflow.json +++ b/tasks/linear/complete-issue-workflow.json @@ -3,6 +3,7 @@ "id": "complete-issue-workflow", "name": "Complete Issue Workflow", "description": "Complete an end-to-end workflow: create issue, set priority, assign, add label, move to in_progress, and add comment", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Complete an end-to-end workflow by following these detailed steps: 1) Click the 'Create issue' button (edit/pencil icon) in the top right of the left sidebar to open the new issue modal. 2) Click in the title field and type 'Fix critical database connection bug'. 3) Click in the description field (below title) and type a description. 4) In the bottom section of the modal, locate the Priority dropdown and click it, then select 'High'. 5) Locate the Assignee dropdown and click it, then select 'Chen'. 6) Locate the Labels section and click the 'Add label' button, then select 'Bug'. 7) Locate the Status dropdown (current showing 'Queued') and click it, then select 'In Progress'. 8) Click the 'Create' button at the bottom of the modal to create the issue. 9) Find the newly created issue in the Chen's row of the In Progress column. 10) Click the newly created issue on the kanban board to open it. 11) Scroll to the comments section at the bottom of the issue details page. 12) Click in the comment text field and type 'Starting investigation'. 13) Click the submit button (arrow icon) to post the comment.\", \"success_criteria\": \"A new issue must exist with title 'Fix critical database connection bug', priority='high', assigneeId='2', status='in_progress', Bug label in labels array, and at least one comment containing 'Starting investigation'.\"}", @@ -11,4 +12,4 @@ "max_steps": 25, "timeout_seconds": 180, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"hard\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/create-new-issue.json b/tasks/linear/create-new-issue.json index c7635ffac71d4c082020dec4b737f29835f06b0e..4487e408fe803b5f9a694bceb59254aba972a72b 100644 --- a/tasks/linear/create-new-issue.json +++ b/tasks/linear/create-new-issue.json @@ -3,6 +3,7 @@ "id": "create-new-issue", "name": "Create New Issue", "description": "Create a new issue with title, description, assignee, and priority", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Create a new issue by following these steps: 1) Click the 'Create issue' button (edit/pencil icon) in the top right of the left sidebar to open the new issue modal. 2) Click in the title field and type 'Implement user authentication system'. 3) Click in the description field (below the title field) and type 'Add JWT-based authentication'. 4) In the bottom section of the modal, locate the Assignee dropdown and click it, then select 'Chen' from the dropdown. 5) Locate the Priority dropdown and click it, then select 'High' from the dropdown. 6) Click the 'Create' button at the bottom of the modal to create the issue.\", \"success_criteria\": \"A new issue must be created with the title 'Implement user authentication system', description containing 'JWT-based authentication', assigned to Chen (assigneeId='2'), and priority set to 'high'.\"}", @@ -11,4 +12,4 @@ "max_steps": 12, "timeout_seconds": 90, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/drag-and-reassign-issue.json b/tasks/linear/drag-and-reassign-issue.json index 0d0b5c4b5f28cd426247fbf1e6f25b672c376538..e9b102a61703a5face787f7bbb6996301cc6c744 100644 --- a/tasks/linear/drag-and-reassign-issue.json +++ b/tasks/linear/drag-and-reassign-issue.json @@ -3,6 +3,7 @@ "id": "drag-and-reassign-issue", "name": "Drag and Reassign Issue", "description": "Drag issue VSS-106 from Riley's Queued to Chen's In Progress", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"6\", \"identifier\": \"VSS-106\", \"title\": \"Build real-time life support system monitoring API\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"medium\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Drag issue VSS-106 to change both its status and assignee by following these steps: 1) Locate issue VSS-106 in Riley's row in the Queued column on the kanban board. 2) Click and hold on the issue card. 3) Drag the issue to Chen's row in the In Progress column. 4) Release to drop the issue (this will change both the status to 'In Progress' and the assignee to 'Chen').\", \"success_criteria\": \"Issue VSS-106 must have status='in_progress' and assigneeId='2' (Chen).\"}", @@ -11,4 +12,4 @@ "max_steps": 8, "timeout_seconds": 90, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/drag-issue-different-column.json b/tasks/linear/drag-issue-different-column.json index de98c343186a9cdb1c4fadc918886215c3c7421a..e2ba75b8da6781eaee488e4cf041579a89542c1b 100644 --- a/tasks/linear/drag-issue-different-column.json +++ b/tasks/linear/drag-issue-different-column.json @@ -3,6 +3,7 @@ "id": "drag-issue-different-column", "name": "Drag issue to different column", "description": "Drag issue VSS-101 from Queued to In Progress column for user Riley", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"1\", \"identifier\": \"VSS-101\", \"title\": \"Design oxygen level monitoring dashboard\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}, {\"id\": \"2\", \"identifier\": \"VSS-102\", \"title\": \"Add solar panel efficiency widget to control panel\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}, {\"id\": \"6\", \"identifier\": \"VSS-106\", \"title\": \"Build real-time life support system monitoring API\", \"status\": \"in_progress\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"medium\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Drag issue VSS-101 to a different column by following these steps: 1) Locate issue VSS-101 in Riley's row in the Queued column on the kanban board. 2) Click and hold on the issue card. 3) Drag the issue to the In Progress column in Riley's row. 4) Release to drop the issue in its new location.\", \"success_criteria\": \"Issue VSS-101 must be in the In Progress column and still assigned to user Riley (assigneeId=1).\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 120, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/drag-two-issues-same-user.json b/tasks/linear/drag-two-issues-same-user.json index e14669f941944a0a9b255a79fbe72231c0095f3e..32209659d393e4789f48b996d91f87217e8dd545 100644 --- a/tasks/linear/drag-two-issues-same-user.json +++ b/tasks/linear/drag-two-issues-same-user.json @@ -3,6 +3,7 @@ "id": "drag-two-issues-same-user", "name": "Drag two issues for same user", "description": "Drag VSS-101 to In Progress and VSS-106 to Queued, both for user Riley", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"1\", \"identifier\": \"VSS-101\", \"title\": \"Design oxygen level monitoring dashboard\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}, {\"id\": \"6\", \"identifier\": \"VSS-106\", \"title\": \"Build real-time life support system monitoring API\", \"status\": \"in_progress\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"medium\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Perform two drag operations in Riley's board row by following these detailed steps: 1) First drag: Locate issue VSS-101 in Riley's row in the Queued column, click and hold on the issue card, drag it to the In Progress column in Riley's row, and release to drop. 2) Second drag: Locate issue VSS-106 in Riley's row in the In Progress column, click and hold on the issue card, drag it to the Queued column in Riley's row, and release to drop. Both issues should remain assigned to Riley.\", \"success_criteria\": \"Issue VSS-101 must be in In Progress column and issue VSS-106 must be in Queued column, both assigned to user Riley (assigneeId=1).\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 120, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"hard\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/multi-issue-reorganization.json b/tasks/linear/multi-issue-reorganization.json index c25fc34907634ab1ded1a5ea8a14f167793e9843..0238d1668f70cb726e4475b7ce95c6dea160ef4b 100644 --- a/tasks/linear/multi-issue-reorganization.json +++ b/tasks/linear/multi-issue-reorganization.json @@ -3,6 +3,7 @@ "id": "multi-issue-reorganization", "name": "Multi-Issue Reorganization", "description": "Reorganize three issues by dragging them to different columns and assignees", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"1\", \"identifier\": \"VSS-101\", \"title\": \"Design oxygen level monitoring dashboard\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}, {\"id\": \"2\", \"identifier\": \"VSS-102\", \"title\": \"Add solar panel efficiency widget to control panel\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}, {\"id\": \"3\", \"identifier\": \"VSS-103\", \"title\": \"Create crew member profile cards with avatar animations\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}, {\"id\": \"3\", \"name\": \"Kowalski\", \"avatar\": \"K\", \"email\": \"kowalski@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Reorganize the board by performing three drag operations with detailed steps: 1) First drag: Locate issue VSS-101 in Riley's row in the Queued column, click and hold on the issue card, drag it to Chen's row in the In Progress column, and release to drop. 2) Second drag: Locate issue VSS-102 in Riley's row in the Queued column, click and hold on the issue card, drag it to Kowalski's row in the Blocked column, and release to drop. 3) Third drag: Locate issue VSS-103 in Riley's row in the Queued column, click and hold on the issue card, drag it to Riley's row in the In Review column, and release to drop.\", \"success_criteria\": \"VSS-101 must have status='in_progress' and assigneeId='2', VSS-102 must have status='blocked' and assigneeId='3', VSS-103 must have status='in_review' and assigneeId='1'.\"}", @@ -11,4 +12,4 @@ "max_steps": 20, "timeout_seconds": 120, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"hard\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/reassign-issue.json b/tasks/linear/reassign-issue.json index 47eaea7c32ea66b09230ed05079ec130afc11416..cb068a7b8abb81c84f135f4b6f3dbe5e888ef506 100644 --- a/tasks/linear/reassign-issue.json +++ b/tasks/linear/reassign-issue.json @@ -3,6 +3,7 @@ "id": "reassign-issue", "name": "Reassign Issue", "description": "Reassign issue VSS-103 from Riley to Chen", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"3\", \"identifier\": \"VSS-103\", \"title\": \"Create crew member profile cards with avatar animations\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Reassign issue VSS-103 from Riley to Chen by following these steps: 1) Click on issue VSS-103 on the kanban board to open it. 2) Locate the Assignee section in the right sidebar. 3) Click on the assignee dropdown (currently showing 'Riley'). 4) Select 'Chen' from the dropdown menu.\", \"success_criteria\": \"Issue VSS-103 must be assigned to Chen (assigneeId='2').\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 60, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/update-issue-properties.json b/tasks/linear/update-issue-properties.json index bae8f899076d2c33e7fd34c561e241d0a224bd3b..6932697319c31837b9c55c9fcb309ff3091e1aa1 100644 --- a/tasks/linear/update-issue-properties.json +++ b/tasks/linear/update-issue-properties.json @@ -3,6 +3,7 @@ "id": "update-issue-properties", "name": "Update Issue Properties", "description": "Change both priority to urgent and add Operations label to VSS-105", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"5\", \"identifier\": \"VSS-105\", \"title\": \"Implement gravity simulator physics calculations\", \"status\": \"queued\", \"assigneeId\": \"2\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Update issue VSS-105 by following these steps: 1) Click on issue VSS-105 on the kanban board to open it. 2) First, locate the Priority section in the right sidebar and click the priority dropdown. 3) Select 'Urgent' from the dropdown menu. 4) Then, locate the Labels section in the right sidebar. 5) Click the 'Add label' button to open the labels dropdown. 6) Click on the 'Operations' label to add it to the issue.\", \"success_criteria\": \"Issue VSS-105 must have priority='urgent' and contain the Operations label (id='label2') in its labels array.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 90, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linear/view-issue-details.json b/tasks/linear/view-issue-details.json index 5af9095e3b83e349a95b03df94a5d8d7d6b17a6d..cebbd01bf64c1ab7575c72f8aa3a64d5ff94b570 100644 --- a/tasks/linear/view-issue-details.json +++ b/tasks/linear/view-issue-details.json @@ -3,6 +3,7 @@ "id": "view-issue-details", "name": "View Issue Details", "description": "Click on issue VSS-104 to view its details", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}", "initial_state": "{\"issues\": [{\"id\": \"4\", \"identifier\": \"VSS-104\", \"title\": \"Build 3D station rotation visualizer component\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}", "instructions": "{\"user_prompt\": \"Click on issue VSS-104 on the kanban board to open and view its details.\", \"success_criteria\": \"The taskId must be set to '4' to indicate issue VSS-104 is being viewed.\"}", @@ -11,4 +12,4 @@ "max_steps": 3, "timeout_seconds": 30, "metadata": "{\"category\": \"productivity\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/complex-people-search.json b/tasks/linkedin/complex-people-search.json index 1ed3546f1a021ab0774ffd61bc602d3db99d32cd..e6911b339cad39b907f640d28aa9c0840cf79e14 100644 --- a/tasks/linkedin/complex-people-search.json +++ b/tasks/linkedin/complex-people-search.json @@ -3,6 +3,7 @@ "id": "complex-people-search", "name": "Complex People Search with Multiple Filters", "description": "Perform a comprehensive people search with query and multiple sub-filters including connections, locations, companies, and industry", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\",\"viewedUserId\": \"1\",\"searchQuery\": \"\",\"searchFilter\": {\"mainCategory\": \"All\",\"connections\": [],\"locations\": [],\"companies\": [],\"industry\": [],\"companySize\": [],\"datePosted\": [],\"underTenApplicants\": false},\"currentUser\": {\"id\": \"1\",\"name\": \"Dzaka Athif\",\"title\": \"Junior Forward Deployed Engineer\",\"company\": \"Chakra\",\"location\": \"Sydney, New South Wales\",\"avatar\": \"https://i.pravatar.cc/150?img=33\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": true,\"connectionCount\": 477,\"contactInfo\": \"dzaka.athif@example.com\",\"connectionDegree\": \"1st\",\"currentCompany\": \"Chakra\",\"regions\": [\"Asia Pacific\"]},\"posts\": [],\"users\": [{\"id\": \"1\",\"name\": \"Dzaka Athif\",\"title\": \"Junior Forward Deployed Engineer\",\"company\": \"Chakra\",\"location\": \"Sydney, New South Wales\",\"avatar\": \"https://i.pravatar.cc/150?img=33\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": true,\"connectionCount\": 477,\"contactInfo\": \"dzaka.athif@example.com\",\"connectionDegree\": \"1st\",\"currentCompany\": \"Chakra\",\"regions\": [\"Asia Pacific\"]},{\"id\": \"2\",\"name\": \"John Smith\",\"title\": \"Software Engineer\",\"company\": \"Tech Corp\",\"location\": \"San Francisco, CA\",\"avatar\": \"https://i.pravatar.cc/150?img=12\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": false,\"connectionCount\": 250,\"contactInfo\": \"john.smith@example.com\",\"connectionDegree\": \"2nd\",\"currentCompany\": \"Tech Corp\",\"regions\": [\"North America\"]},{\"id\": \"3\",\"name\": \"Jane Doe\",\"title\": \"Product Manager\",\"company\": \"StartUp Inc\",\"location\": \"New York, NY\",\"avatar\": \"https://i.pravatar.cc/150?img=45\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": true,\"connectionCount\": 512,\"contactInfo\": \"jane.doe@example.com\",\"connectionDegree\": \"1st\",\"currentCompany\": \"StartUp Inc\",\"regions\": [\"North America\"],\"industry\": \"Technology\"},{\"id\": \"4\",\"name\": \"Sarah Johnson\",\"title\": \"Senior Product Manager\",\"company\": \"StartUp Inc\",\"location\": \"New York, NY\",\"avatar\": \"https://i.pravatar.cc/150?img=25\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": true,\"connectionCount\": 892,\"contactInfo\": \"sarah.johnson@example.com\",\"connectionDegree\": \"1st\",\"currentCompany\": \"StartUp Inc\",\"regions\": [\"North America\"]},{\"id\": \"5\",\"name\": \"Jane Smith\",\"title\": \"Data Scientist\",\"company\": \"Tech Corp\",\"location\": \"San Francisco, CA\",\"avatar\": \"https://i.pravatar.cc/150?img=32\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": false,\"connectionCount\": 320,\"contactInfo\": \"jane.smith@example.com\",\"connectionDegree\": \"1st\",\"currentCompany\": \"Tech Corp\",\"regions\": [\"North America\"],\"industry\": \"Technology\"},{\"id\": \"6\",\"name\": \"Jane Wilson\",\"title\": \"Marketing Director\",\"company\": \"Global Marketing Co\",\"location\": \"London, UK\",\"avatar\": \"https://i.pravatar.cc/150?img=28\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": true,\"connectionCount\": 640,\"contactInfo\": \"jane.wilson@example.com\",\"connectionDegree\": \"1st\",\"currentCompany\": \"Global Marketing Co\",\"regions\": [\"Europe\"],\"industry\": \"Marketing\"},{\"id\": \"7\",\"name\": \"Jane Chen\",\"title\": \"Software Architect\",\"company\": \"Innovate Labs\",\"location\": \"Singapore\",\"avatar\": \"https://i.pravatar.cc/150?img=21\",\"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\",\"isVerified\": true,\"connectionCount\": 445,\"contactInfo\": \"jane.chen@example.com\",\"connectionDegree\": \"3rd+\",\"currentCompany\": \"Innovate Labs\",\"regions\": [\"Asia Pacific\"],\"industry\": \"Technology\"}],\"companies\": [],\"jobs\": [],\"searchResults\": {\"people\": [],\"companies\": [],\"jobs\": [],\"allPeople\": [],\"allCompanies\": [],\"allJobs\": [],\"totalPeople\": 0,\"totalCompanies\": 0,\"totalJobs\": 0,\"peopleQueryOnly\": [],\"companiesQueryOnly\": [],\"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Perform a comprehensive people search with multiple filters: 1) Click the search input bar at the top navigation, 2) Type 'jane' in the search field, 3) Click 'see all results' in the dropdown to go to the search results page, 4) Click on the 'People' filter button in the top filter bar to switch to People view, 5) Click the '1st' connection degree button to filter by 1st degree connections, 6) Click on the 'Locations' filter dropdown and select 'North America', 7) Click on the 'Companies' filter dropdown and select 'StartUp Inc', 8) Click on the 'Industry' filter dropdown and select 'Technology'. Verify that Jane Doe appears in the filtered results.\", \"success_criteria\": \"The app must be on search view with mainCategory='People', searchQuery containing 'jane', and searchFilter containing connections=['1st'], locations including 'North America', companies including 'StartUp Inc', and industry including 'Technology'.\"}", @@ -11,4 +12,4 @@ "max_steps": 18, "timeout_seconds": 150, "metadata": "{\"category\": \"social\", \"difficulty\": \"hard\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/filter-by-connection.json b/tasks/linkedin/filter-by-connection.json index d36a2b83ce41ded85851a2c11e88df064785a15c..0387af3cabce1d47845c8152bda6e56d526ffb74 100644 --- a/tasks/linkedin/filter-by-connection.json +++ b/tasks/linkedin/filter-by-connection.json @@ -3,6 +3,7 @@ "id": "filter-by-connection", "name": "Filter Search by Connection Degree", "description": "Apply a connection degree filter to search results", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"search\", \"viewedUserId\": \"1\", \"searchQuery\": \"engineer\", \"searchFilter\": {\"mainCategory\": \"People\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the search results page for 'engineer' with the People filter active. Click on the '1st' connection degree button to filter results to show only 1st degree connections.\", \"success_criteria\": \"The searchFilter must have connections array containing '1st' while maintaining currentView='search' and mainCategory='People'.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 45, "metadata": "{\"category\": \"social\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/fractional-find-user-profile.json b/tasks/linkedin/fractional-find-user-profile.json index 2fe3be1102bf298abe72765a25e09ea907b87f63..2e6e977620f38cc6a7dbd469312e2e2610e50c56 100644 --- a/tasks/linkedin/fractional-find-user-profile.json +++ b/tasks/linkedin/fractional-find-user-profile.json @@ -3,6 +3,7 @@ "id": "fractional-find-user-profile", "name": "Find User Profile on LinkedIn", "description": "Click the search input, type 'john smith', click 'see all results' to find John Smith in the search results, and click on John Smith's profile to view their profile", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\", \"viewedUserId\": \"1\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"]}, {\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Click the search input in the top navigation bar, type 'john smith', click 'see all results' to find John Smith in the search results, and click on John Smith's profile to view their profile.\", \"success_criteria\": \"The app must be on the profile view (currentView='profile'), viewing John Smith's profile (viewedUserId='2'), and there's 'john smith' on the search query (searchQuery='john smith')\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 60, "metadata": "{\"category\": \"social\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/navigate-and-compare-profiles.json b/tasks/linkedin/navigate-and-compare-profiles.json index 0ae0455faadada32afde13d71d4794b06d0a286d..c5d8608387b349faccbcfd75e35dccf3fd7130b4 100644 --- a/tasks/linkedin/navigate-and-compare-profiles.json +++ b/tasks/linkedin/navigate-and-compare-profiles.json @@ -3,6 +3,7 @@ "id": "navigate-and-compare-profiles", "name": "Navigate and Compare Multiple Profiles", "description": "Search for users, navigate between their profiles to examine details, and navigate back to search results", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\", \"viewedUserId\": \"1\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"], \"skills\": [{\"id\": \"skill-1\", \"name\": \"JavaScript\", \"endorsements\": 45}, {\"id\": \"skill-2\", \"name\": \"Python\", \"endorsements\": 38}, {\"id\": \"skill-3\", \"name\": \"React\", \"endorsements\": 42}, {\"id\": \"skill-4\", \"name\": \"Node.js\", \"endorsements\": 40}, {\"id\": \"skill-5\", \"name\": \"AWS\", \"endorsements\": 35}, {\"id\": \"skill-6\", \"name\": \"Docker\", \"endorsements\": 30}], \"education\": [{\"id\": \"edu-1\", \"school\": \"Stanford University\", \"schoolAbbreviation\": \"Stanford\", \"degree\": \"Master of Computer Science\", \"field\": \"Computer Science\", \"startYear\": \"2019\", \"endYear\": \"2021\"}, {\"id\": \"edu-2\", \"school\": \"UC Berkeley\", \"schoolAbbreviation\": \"UC Berkeley\", \"degree\": \"Bachelor of Computer Science\", \"field\": \"Computer Science\", \"startYear\": \"2015\", \"endYear\": \"2019\"}, {\"id\": \"edu-3\", \"school\": \"Coursera\", \"degree\": \"Machine Learning Specialization\", \"field\": \"AI/ML\", \"startYear\": \"2020\", \"endYear\": \"2020\"}, {\"id\": \"edu-4\", \"school\": \"Udemy\", \"degree\": \"Full-Stack Development Bootcamp\", \"field\": \"Web Development\", \"startYear\": \"2019\", \"endYear\": \"2019\"}, {\"id\": \"edu-5\", \"school\": \"Pluralsight\", \"degree\": \"DevOps Foundations\", \"field\": \"DevOps\", \"startYear\": \"2019\", \"endYear\": \"2019\"}, {\"id\": \"edu-6\", \"school\": \"Codecademy\", \"degree\": \"Data Structures & Algorithms\", \"field\": \"Programming\", \"startYear\": \"2018\", \"endYear\": \"2018\"}]}, {\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"], \"skills\": [{\"id\": \"skill-1\", \"name\": \"Product Management\", \"endorsements\": 60}, {\"id\": \"skill-2\", \"name\": \"Agile Methodologies\", \"endorsements\": 55}, {\"id\": \"skill-3\", \"name\": \"User Research\", \"endorsements\": 52}, {\"id\": \"skill-4\", \"name\": \"Data Analysis\", \"endorsements\": 48}, {\"id\": \"skill-5\", \"name\": \"Stakeholder Management\", \"endorsements\": 50}, {\"id\": \"skill-6\", \"name\": \"Product Strategy\", \"endorsements\": 45}], \"education\": [{\"id\": \"edu-1\", \"school\": \"Harvard Business School\", \"schoolAbbreviation\": \"HBS\", \"degree\": \"MBA\", \"field\": \"Business Administration\", \"startYear\": \"2018\", \"endYear\": \"2020\"}, {\"id\": \"edu-2\", \"school\": \"MIT\", \"schoolAbbreviation\": \"MIT\", \"degree\": \"Bachelor of Science in Management\", \"field\": \"Business\", \"startYear\": \"2014\", \"endYear\": \"2018\"}, {\"id\": \"edu-3\", \"school\": \"Product School\", \"degree\": \"Product Management Certification\", \"field\": \"Product Management\", \"startYear\": \"2019\", \"endYear\": \"2019\"}, {\"id\": \"edu-4\", \"school\": \"General Assembly\", \"degree\": \"UX Design Immersive\", \"field\": \"UX Design\", \"startYear\": \"2019\", \"endYear\": \"2019\"}, {\"id\": \"edu-5\", \"school\": \"LinkedIn Learning\", \"degree\": \"Product Strategy Fundamentals\", \"field\": \"Product Strategy\", \"startYear\": \"2020\", \"endYear\": \"2020\"}, {\"id\": \"edu-6\", \"school\": \"Stanford Continuing Studies\", \"degree\": \"Entrepreneurship and Innovation\", \"field\": \"Business Innovation\", \"startYear\": \"2018\", \"endYear\": \"2018\"}]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Complete this multi-step navigation workflow: 1) Click the search input bar at the top navigation, 2) Type 'john' in the search field, 3) Click 'see all results' in the dropdown, 4) Click on 'John Smith' in the search results to view his profile, 5) Scroll down on John Smith's profile page to find the Skills section, 6) Click 'Show all skills' or the arrow icon next to the Skills section to navigate to his skills detail section (profile-skills), 7) Click the LinkedIn logo at the top left to return to the feed, 8) Click the search input bar again, 9) Type 'jane' in the search field, 10) Click 'see all results' in the dropdown, 11) Click on 'Jane Doe' in the search results to view her profile, 12) Scroll down on Jane Doe's profile page to find the Education section, 13) Click 'Show all education' or the arrow icon next to the Education section to navigate to her education detail section (profile-education).\", \"success_criteria\": \"The app must end on Jane Doe's education detail page (currentView='profile-education', viewedUserId='3').\"}", @@ -11,4 +12,4 @@ "max_steps": 27, "timeout_seconds": 180, "metadata": "{\"category\": \"social\", \"difficulty\": \"hard\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/navigate-to-profile.json b/tasks/linkedin/navigate-to-profile.json index 841a20def438365743e91ab2872bba5ae2564dfe..10afbd73a3afeadcc38645e7323cce48f35aa05c 100644 --- a/tasks/linkedin/navigate-to-profile.json +++ b/tasks/linkedin/navigate-to-profile.json @@ -3,6 +3,7 @@ "id": "navigate-to-profile", "name": "Navigate to User Profile", "description": "Click on a user's name to navigate to their profile page", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"search\", \"viewedUserId\": \"1\", \"searchQuery\": \"jane\", \"searchFilter\": {\"mainCategory\": \"People\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"]}, {\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [{\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companies\": [], \"jobs\": [], \"allPeople\": [{\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 1, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [{\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn search results page showing 'Jane Doe' in the results. Click on 'Jane Doe' to navigate to her profile page.\", \"success_criteria\": \"The app must be on the profile view (currentView='profile') and viewing Jane Doe's profile (viewedUserId='3').\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 30, "metadata": "{\"category\": \"social\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/search-and-filter-people.json b/tasks/linkedin/search-and-filter-people.json index 18f6882d69042be642b75d5473b85632311003e9..8013c4915d7216a5d8b517c81bf040732e7beba1 100644 --- a/tasks/linkedin/search-and-filter-people.json +++ b/tasks/linkedin/search-and-filter-people.json @@ -3,6 +3,7 @@ "id": "search-and-filter-people", "name": "Search and Filter People by Connection and Location", "description": "Search for users and apply connection degree and location filters", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\", \"viewedUserId\": \"1\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"]}, {\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}, {\"id\": \"5\", \"name\": \"Jane Smith\", \"title\": \"Data Scientist\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=32\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 320, \"contactInfo\": \"jane.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"]}, {\"id\": \"6\", \"name\": \"Jane Wilson\", \"title\": \"Marketing Director\", \"company\": \"Global Marketing Co\", \"location\": \"London, UK\", \"avatar\": \"https://i.pravatar.cc/150?img=28\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 640, \"contactInfo\": \"jane.wilson@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Global Marketing Co\", \"regions\": [\"Europe\"]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Search for people and apply filters: 1) Click the search input bar at the top navigation, 2) Type 'jane' in the search field, 3) Click 'see all results' in the dropdown to go to the search results page, 4) Click on the 'People' filter button in the top filter bar to switch to People view, 5) Click the '1st' connection degree button to filter by 1st degree connections, 6) Click on the 'Locations' filter dropdown and select 'North America'.\", \"success_criteria\": \"The app must be on search view with mainCategory='People', searchQuery containing 'jane', and searchFilter containing connections=['1st'] and locations including 'North America'.\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 90, "metadata": "{\"category\": \"social\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/search-company.json b/tasks/linkedin/search-company.json index 3f1f82ab0583a1b1a26fd3cdbb75ba20ba4c865e..feb0859c0388cf16a1379aa656c66d6a497af75b 100644 --- a/tasks/linkedin/search-company.json +++ b/tasks/linkedin/search-company.json @@ -3,6 +3,7 @@ "id": "search-company", "name": "Search for Company", "description": "Search for a specific company by name and view results", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\", \"viewedUserId\": \"1\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Search for a company: 1) Click the search input bar at the top navigation, 2) Type 'Tech Corp' in the search field, 3) Click 'see all results' in the dropdown to navigate to the search results page.\", \"success_criteria\": \"The app must be on the search view (currentView='search') with searchQuery containing 'Tech Corp'.\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 45, "metadata": "{\"category\": \"social\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/search-user.json b/tasks/linkedin/search-user.json index 1f9664bcd8510f9c78f4738c95711fe3f0d73ec0..5bc1ef596007f36ff3b0fc2f4e53c5f463ca5ced 100644 --- a/tasks/linkedin/search-user.json +++ b/tasks/linkedin/search-user.json @@ -3,6 +3,7 @@ "id": "search-user", "name": "Search for User on LinkedIn", "description": "Click the search input, type 'dzaka', and click 'see all results' to find Dzaka Athif in the search results", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\", \"viewedUserId\": \"1\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"]}, {\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Click the search input in the top navigation bar, type 'dzaka', and click 'see all results' to search for users.\", \"success_criteria\": \"The app must be on the search results page (currentView='search') with searchQuery containing 'dzaka', and Dzaka Athif must appear in the search results.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 60, "metadata": "{\"category\": \"social\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/search-with-multiple-filters.json b/tasks/linkedin/search-with-multiple-filters.json index 015d246faa1d250b5f6efd8058e1c1ea646e032c..07f85b08ef45347c3430e5a02baffcf256e0a009 100644 --- a/tasks/linkedin/search-with-multiple-filters.json +++ b/tasks/linkedin/search-with-multiple-filters.json @@ -3,6 +3,7 @@ "id": "search-with-multiple-filters", "name": "Search with Multiple Filters", "description": "Perform a search and apply multiple filters including location, company, and connection degree", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"feed\", \"viewedUserId\": \"1\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are on the LinkedIn feed page. Search for people with multiple filters: 1) Click the search input bar at the top navigation, 2) Type 'john' in the search field, 3) Click 'see all results' in the dropdown to go to the search results page, 4) Click on the 'People' filter button in the top filter bar to switch to People view, 5) Click the '2nd' connection degree button to filter by 2nd degree connections, 6) Click on the 'Locations' filter dropdown and select 'North America', 7) Click on the 'Companies' filter dropdown and select 'Tech Corp'.\", \"success_criteria\": \"The app must be on search view with searchQuery='john', mainCategory='People', and searchFilter containing connections=['2nd'], locations including 'North America', and companies including 'Tech Corp'.\"}", @@ -11,4 +12,4 @@ "max_steps": 17, "timeout_seconds": 90, "metadata": "{\"category\": \"social\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/view-profile-experience.json b/tasks/linkedin/view-profile-experience.json index 122b612b647ce0ebb88e3275b18f32056f1dc82f..6ff4350738ce9a3451bfe40266582f91913fe00e 100644 --- a/tasks/linkedin/view-profile-experience.json +++ b/tasks/linkedin/view-profile-experience.json @@ -3,6 +3,7 @@ "id": "view-profile-experience", "name": "View Profile Experience Section", "description": "Navigate to a user's profile and view their detailed experience section", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"profile\", \"viewedUserId\": \"2\", \"searchQuery\": \"\", \"searchFilter\": {\"mainCategory\": \"All\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"], \"experience\": [{\"id\": \"exp-1\", \"title\": \"Senior Software Engineer\", \"company\": \"Tech Corp\", \"employmentType\": \"Full-time\", \"startDate\": \"2022-01\", \"endDate\": \"2024-12\", \"location\": \"San Francisco, CA\", \"description\": \"Leading development of cloud infrastructure and microservices architecture\"}, {\"id\": \"exp-2\", \"title\": \"Software Engineer\", \"company\": \"StartupHub\", \"employmentType\": \"Full-time\", \"startDate\": \"2020-06\", \"endDate\": \"2021-12\", \"location\": \"San Francisco, CA\", \"description\": \"Developed scalable web applications using React and Node.js\"}, {\"id\": \"exp-3\", \"title\": \"Junior Software Engineer\", \"company\": \"DevShop\", \"employmentType\": \"Full-time\", \"startDate\": \"2018-03\", \"endDate\": \"2020-05\", \"location\": \"Remote\", \"description\": \"Built RESTful APIs and database schemas for client projects\"}, {\"id\": \"exp-4\", \"title\": \"Software Engineering Intern\", \"company\": \"Tech Corp\", \"employmentType\": \"Internship\", \"startDate\": \"2017-06\", \"endDate\": \"2017-09\", \"location\": \"San Francisco, CA\", \"description\": \"Assisted in developing internal tools and automation scripts\"}, {\"id\": \"exp-5\", \"title\": \"Teaching Assistant\", \"company\": \"Stanford University\", \"employmentType\": \"Part-time\", \"startDate\": \"2017-01\", \"endDate\": \"2017-12\", \"location\": \"Stanford, CA\", \"description\": \"Taught introductory programming and data structures courses\"}, {\"id\": \"exp-6\", \"title\": \"Freelance Web Developer\", \"company\": \"Independent\", \"employmentType\": \"Contract\", \"startDate\": \"2016-06\", \"endDate\": \"2018-02\", \"location\": \"Remote\", \"description\": \"Created custom websites for small businesses and nonprofits\"}]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [], \"companies\": [], \"jobs\": [], \"allPeople\": [], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 0, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"You are viewing John Smith's profile. Scroll down the profile page to find the Experience section. Then click on the 'Show all experiences' link or arrow icon to view the detailed experience section.\", \"success_criteria\": \"The app must navigate to the profile-experience view (currentView='profile-experience') for John Smith (viewedUserId='2').\"}", @@ -11,4 +12,4 @@ "max_steps": 7, "timeout_seconds": 45, "metadata": "{\"category\": \"social\", \"difficulty\": \"easy\"}" -} \ No newline at end of file +} diff --git a/tasks/linkedin/view-user-education-details.json b/tasks/linkedin/view-user-education-details.json index e98631f0a241b267ea711b79a9405d95b6a93b41..b032db427ab5b1127a33f15f1ba6887d7739fd30 100644 --- a/tasks/linkedin/view-user-education-details.json +++ b/tasks/linkedin/view-user-education-details.json @@ -3,6 +3,7 @@ "id": "view-user-education-details", "name": "View User Education Details", "description": "Navigate to a specific user's profile and view their detailed education section", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linkedin/index.html\"}", "initial_state": "{\"currentView\": \"search\", \"viewedUserId\": \"1\", \"searchQuery\": \"product\", \"searchFilter\": {\"mainCategory\": \"People\", \"connections\": [], \"locations\": [], \"companies\": [], \"industry\": [], \"companySize\": [], \"datePosted\": [], \"underTenApplicants\": false}, \"currentUser\": {\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, \"posts\": [], \"users\": [{\"id\": \"1\", \"name\": \"Dzaka Athif\", \"title\": \"Junior Forward Deployed Engineer\", \"company\": \"Chakra\", \"location\": \"Sydney, New South Wales\", \"avatar\": \"https://i.pravatar.cc/150?img=33\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 477, \"contactInfo\": \"dzaka.athif@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"Chakra\", \"regions\": [\"Asia Pacific\"]}, {\"id\": \"2\", \"name\": \"John Smith\", \"title\": \"Software Engineer\", \"company\": \"Tech Corp\", \"location\": \"San Francisco, CA\", \"avatar\": \"https://i.pravatar.cc/150?img=12\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": false, \"connectionCount\": 250, \"contactInfo\": \"john.smith@example.com\", \"connectionDegree\": \"2nd\", \"currentCompany\": \"Tech Corp\", \"regions\": [\"North America\"]}, {\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"], \"education\": [{\"id\": \"edu-1\", \"school\": \"Harvard Business School\", \"schoolAbbreviation\": \"HBS\", \"degree\": \"MBA\", \"field\": \"Business Administration\", \"startYear\": \"2018\", \"endYear\": \"2020\"}, {\"id\": \"edu-2\", \"school\": \"MIT\", \"schoolAbbreviation\": \"MIT\", \"degree\": \"Bachelor of Science in Management\", \"field\": \"Business\", \"startYear\": \"2014\", \"endYear\": \"2018\"}, {\"id\": \"edu-3\", \"school\": \"Product School\", \"degree\": \"Product Management Certification\", \"field\": \"Product Management\", \"startYear\": \"2019\", \"endYear\": \"2019\"}, {\"id\": \"edu-4\", \"school\": \"General Assembly\", \"degree\": \"UX Design Immersive\", \"field\": \"UX Design\", \"startYear\": \"2019\", \"endYear\": \"2019\"}, {\"id\": \"edu-5\", \"school\": \"LinkedIn Learning\", \"degree\": \"Product Strategy Fundamentals\", \"field\": \"Product Strategy\", \"startYear\": \"2020\", \"endYear\": \"2020\"}, {\"id\": \"edu-6\", \"school\": \"Stanford Continuing Studies\", \"degree\": \"Entrepreneurship and Innovation\", \"field\": \"Business Innovation\", \"startYear\": \"2018\", \"endYear\": \"2018\"}]}], \"companies\": [], \"jobs\": [], \"searchResults\": {\"people\": [{\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companies\": [], \"jobs\": [], \"allPeople\": [{\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"allCompanies\": [], \"allJobs\": [], \"totalPeople\": 1, \"totalCompanies\": 0, \"totalJobs\": 0, \"peopleQueryOnly\": [{\"id\": \"3\", \"name\": \"Jane Doe\", \"title\": \"Product Manager\", \"company\": \"StartUp Inc\", \"location\": \"New York, NY\", \"avatar\": \"https://i.pravatar.cc/150?img=45\", \"coverImage\": \"linear-gradient(135deg, #667eea 0%, #764ba2 100%)\", \"isVerified\": true, \"connectionCount\": 512, \"contactInfo\": \"jane.doe@example.com\", \"connectionDegree\": \"1st\", \"currentCompany\": \"StartUp Inc\", \"regions\": [\"North America\"]}], \"companiesQueryOnly\": [], \"jobsQueryOnly\": []}}", "instructions": "{\"user_prompt\": \"From the search results, click on 'Jane Doe' to view her profile. Scroll down the profile page to find the Education section. Then click on 'Show all education' or the arrow icon next to the Education section to view her detailed education section.\", \"success_criteria\": \"The app must be on the profile-education view (currentView='profile-education') for Jane Doe (viewedUserId='3').\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 90, "metadata": "{\"category\": \"social\", \"difficulty\": \"medium\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/flag-corner-mines.json b/tasks/minesweeper/flag-corner-mines.json index 375de435d793659e62d0d2e0965291e12cf27b27..a00fd925d33ec0fb042218eea0ec0b6d23d4a686 100644 --- a/tasks/minesweeper/flag-corner-mines.json +++ b/tasks/minesweeper/flag-corner-mines.json @@ -3,6 +3,7 @@ "id": "flag-corner-mines", "name": "Flag All Corner Mines", "description": "Flag mines located at all four corners of the board", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"Mines have been identified at all four corners of the board: [0][0] (top-left), [0][8] (top-right), [8][0] (bottom-left), and [8][8] (bottom-right). Flag all four corner positions.\", \"success_criteria\": \"All four corner cells must be flagged correctly.\"}", @@ -11,4 +12,4 @@ "max_steps": 8, "timeout_seconds": 60, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"flag_corners\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/flag-single-mine.json b/tasks/minesweeper/flag-single-mine.json index 501c22532bafa85dfa5b2a1f398bee610f38b232..05d01e444b4e84e369a1ff0610b721dbd685a452 100644 --- a/tasks/minesweeper/flag-single-mine.json +++ b/tasks/minesweeper/flag-single-mine.json @@ -3,6 +3,7 @@ "id": "flag-single-mine", "name": "Flag Single Mine", "description": "Flag a specific mine location that has been identified", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"A mine has been identified at row 0, column 0 (top-left corner). Right-click on that cell to place a flag and mark it as a mine.\", \"success_criteria\": \"The cell at position [0][0] must be flagged.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"flag_mine\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/flag-three-mines.json b/tasks/minesweeper/flag-three-mines.json index 34ce532f7877964aad78674a7bffb005162dcb38..02b92d31b66c64eb88d6894a0807d8b55f286608 100644 --- a/tasks/minesweeper/flag-three-mines.json +++ b/tasks/minesweeper/flag-three-mines.json @@ -3,6 +3,7 @@ "id": "flag-three-mines", "name": "Flag Three Mines", "description": "Flag three specific mine locations that have been identified", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"Three mines have been identified at positions: [0][0] (top-left), [0][8] (top-right), and [8][0] (bottom-left). Right-click on each of these three cells to flag them as mines.\", \"success_criteria\": \"All three cells at positions [0][0], [0][8], and [8][0] must be flagged.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 45, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"flag_multiple\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/reveal-10-cells.json b/tasks/minesweeper/reveal-10-cells.json index b19815a16a8bc2405dd1de7e95b73932f146e599..be4940fd19b51a022f7a3e67ea88c08b15122a6d 100644 --- a/tasks/minesweeper/reveal-10-cells.json +++ b/tasks/minesweeper/reveal-10-cells.json @@ -3,6 +3,7 @@ "id": "reveal-10-cells", "name": "Reveal 10 Cells", "description": "Reveal at least 10 safe cells without hitting any mines", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":2},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":2}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"Reveal at least 10 safe cells on the board. Use the numbers shown to deduce safe cells and avoid mines. The game should still be in progress.\", \"success_criteria\": \"At least 10 cells must be revealed, none of them should be mines, and the game should still be in progress.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 60, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"reveal_10_cells\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/reveal-20-cells.json b/tasks/minesweeper/reveal-20-cells.json index 83cb9ee6fcc28e84756c177cb3a34555fedfa66f..46cfc4801c35f4f18b74478ac39636f65b801ad5 100644 --- a/tasks/minesweeper/reveal-20-cells.json +++ b/tasks/minesweeper/reveal-20-cells.json @@ -3,6 +3,7 @@ "id": "reveal-20-cells", "name": "Reveal 20 Cells", "description": "Reveal at least 20 safe cells without hitting any mines", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":2},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":3},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":2}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"Carefully reveal cells on the board to uncover at least 20 safe cells. Use the numbers shown to deduce safe cells and avoid mines. The game should still be in progress after revealing 20+ cells.\", \"success_criteria\": \"At least 20 cells must be revealed, the game status should still be 'playing' (not lost or won).\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 90, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"reveal_20_cells\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/reveal-first-cell.json b/tasks/minesweeper/reveal-first-cell.json index 7f807b34f99de86f3fd7a3989e0028146bf8a515..99733c0b3487d83401dbf520944b490b85a5fea0 100644 --- a/tasks/minesweeper/reveal-first-cell.json +++ b/tasks/minesweeper/reveal-first-cell.json @@ -3,6 +3,7 @@ "id": "reveal-first-cell", "name": "Reveal First Cell", "description": "Make the first move in Minesweeper by revealing any cell", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"not_started\",\"board\":[[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"Start playing Minesweeper by revealing any cell on the board. Left-click on any cell to begin the game.\", \"success_criteria\": \"At least one cell must be revealed and the game status should change to 'playing'.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"first_move\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/reveal-numbered-cell.json b/tasks/minesweeper/reveal-numbered-cell.json index ef446a6d5cb1903e3632ca6cfd32ae3f9a215748..af7949e4ec9fbbbf5f5310d66b74d5eeb4488873 100644 --- a/tasks/minesweeper/reveal-numbered-cell.json +++ b/tasks/minesweeper/reveal-numbered-cell.json @@ -3,6 +3,7 @@ "id": "reveal-numbered-cell", "name": "Reveal Numbered Cell", "description": "Reveal a cell that shows the count of neighboring mines", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"The cell at row 1, column 1 is safe and has neighboring mines. Left-click on that cell to reveal it and see the count of neighboring mines.\", \"success_criteria\": \"The cell at position [1][1] must be revealed and show a neighbor mine count greater than 0.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"reveal_numbered\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/reveal-safe-cell.json b/tasks/minesweeper/reveal-safe-cell.json index 9c195a690dce41e81e9952b28fbcf928befba189..65a6da00b33ae4639b51ee479331b02c68e47308 100644 --- a/tasks/minesweeper/reveal-safe-cell.json +++ b/tasks/minesweeper/reveal-safe-cell.json @@ -3,6 +3,7 @@ "id": "reveal-safe-cell", "name": "Reveal Safe Cell", "description": "Reveal a specific safe cell with no neighboring mines", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"The cell at row 4, column 4 (center) is confirmed safe with no neighboring mines. Left-click on that cell to reveal it.\", \"success_criteria\": \"The cell at position [4][4] must be revealed and show no neighboring mines.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"reveal_safe\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/strategic-flagging-and-clearing.json b/tasks/minesweeper/strategic-flagging-and-clearing.json index 8713c900ff2f21984b4ef07cf907e9a0ce663698..7353e8b7818fa7d670c563c819263567ea29aa5a 100644 --- a/tasks/minesweeper/strategic-flagging-and-clearing.json +++ b/tasks/minesweeper/strategic-flagging-and-clearing.json @@ -3,6 +3,7 @@ "id": "strategic-flagging-and-clearing", "name": "Strategic Flagging and Clearing", "description": "Complete a Minesweeper game by strategically flagging mines and revealing all safe cells", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"The board is partially revealed with some cells already uncovered. Use strategic thinking to flag all remaining mines and reveal all safe cells to win the game. Use the number clues to deduce mine locations.\", \"success_criteria\": \"The game must end with status 'won' by revealing all non-mine cells. All mines should ideally be flagged correctly.\"}", @@ -11,4 +12,4 @@ "max_steps": 20, "timeout_seconds": 180, "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"action\": \"strategic_complete\", \"strategy\": \"comprehensive\"}" -} \ No newline at end of file +} diff --git a/tasks/minesweeper/win-small-game.json b/tasks/minesweeper/win-small-game.json index 44ed670a8da1f24fb7ff6472a661ade7997219ba..2c6899c67602ac30cb707edb687a900b7a3a71d6 100644 --- a/tasks/minesweeper/win-small-game.json +++ b/tasks/minesweeper/win-small-game.json @@ -3,6 +3,7 @@ "id": "win-small-game", "name": "Win Small Game", "description": "Win a Minesweeper game that is mostly cleared and close to completion", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/minesweeper/index.html\"}", "initial_state": "{\"gameStatus\":\"playing\",\"board\":[[{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1}],[{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":true,\"isFlagged\":false,\"neighborMineCount\":0},{\"isMine\":false,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":1},{\"isMine\":true,\"isRevealed\":false,\"isFlagged\":false,\"neighborMineCount\":0}]]}", "instructions": "{\"user_prompt\": \"The board is mostly cleared with only a few cells remaining. Reveal the remaining safe cells to win the game. Be careful not to hit any mines!\", \"success_criteria\": \"The game must end with status 'won' by revealing all non-mine cells.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"action\": \"win_game\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/block-computer-win.json b/tasks/tic-tac-toe/block-computer-win.json index 3983a8db92e14547918a47e14cb031b3acd76ce1..f8ad5c1c65e70e934955bb4e191074151d167696 100644 --- a/tasks/tic-tac-toe/block-computer-win.json +++ b/tasks/tic-tac-toe/block-computer-win.json @@ -3,6 +3,7 @@ "id": "block-computer-win", "name": "Block Computer Win", "description": "Block the computer from winning by placing X in the critical position", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"O\", \"O\", null, \"X\", null, null, null, null, null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"The computer (O) has two in a row at the top! Block the computer from winning by placing your X in the empty square at position 2 (top-right corner) to prevent three O's in a row.\", \"success_criteria\": \"X must be placed in position 2 (index 2) to block the computer's winning move in the top row.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"block_win\", \"strategy\": \"defensive\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/force-computer-mistake.json b/tasks/tic-tac-toe/force-computer-mistake.json index d2c8559241ba923aaca4bfdb7105fda9d17ace75..b26775dac9d6b3fc56f248f8ed9c62e47a69addd 100644 --- a/tasks/tic-tac-toe/force-computer-mistake.json +++ b/tasks/tic-tac-toe/force-computer-mistake.json @@ -3,6 +3,7 @@ "id": "force-computer-mistake", "name": "Force Computer Into Fork", "description": "Create a fork position with two ways to win, forcing the computer into an unwinnable situation", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"X\", null, null, null, \"O\", null, \"O\", null, \"X\"], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"You have X's in opposite corners (positions 0 and 8), and O is in the center. Create a fork by placing your next X strategically to set up two possible winning lines. The computer won't be able to block both, guaranteeing your victory.\", \"success_criteria\": \"The game must end with X as the winner by creating and exploiting a fork position.\"}", @@ -11,4 +12,4 @@ "max_steps": 8, "timeout_seconds": 90, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"fork_strategy\", \"strategy\": \"offensive\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/lose-game.json b/tasks/tic-tac-toe/lose-game.json index 33a18aba48d72e0fd5ef11be79071dabd3138b7a..2c6308c2e3ef57b5e838f2bcf1b880eeaae01268 100644 --- a/tasks/tic-tac-toe/lose-game.json +++ b/tasks/tic-tac-toe/lose-game.json @@ -3,6 +3,7 @@ "id": "lose-game", "name": "Lose Tic-Tac-Toe Game", "description": "Intentionally lose a game of tic-tac-toe by allowing the computer to get three O's in a row", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"X\", \"O\", null, null, null, null, null, null, null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"Play tic-tac-toe and intentionally lose the game by allowing the computer (O) to get three in a row. You are X and need to make moves that don't block the computer's winning opportunities.\", \"success_criteria\": \"The game must end with the computer (O) as the winner, indicated by the message 'Computer wins!' appearing on screen.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"player\": \"X\", \"opponent\": \"computer\", \"strategy\": \"intentional_loss\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/make-first-move.json b/tasks/tic-tac-toe/make-first-move.json index 531a2d16e8b2775b2b363ae9a28b0a0d395985eb..0da0ac429d8de99fa363ac0b4985e291f42504b9 100644 --- a/tasks/tic-tac-toe/make-first-move.json +++ b/tasks/tic-tac-toe/make-first-move.json @@ -3,6 +3,7 @@ "id": "make-first-move", "name": "Make First Move", "description": "Make any valid first move on an empty tic-tac-toe board", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [null, null, null, null, null, null, null, null, null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"Start a game of tic-tac-toe by making your first move. Click on any empty square on the board to place your X.\", \"success_criteria\": \"The board must have at least one X placed on it, indicating a successful first move.\"}", @@ -11,4 +12,4 @@ "max_steps": 3, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"first_move\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/prevent-computer-fork.json b/tasks/tic-tac-toe/prevent-computer-fork.json index 89d53b3c4c8d8e8e2950cc1aadb5a1d2be0b8971..57c5a733b9c4f1d1e717c1aad9ff70b184a7a619 100644 --- a/tasks/tic-tac-toe/prevent-computer-fork.json +++ b/tasks/tic-tac-toe/prevent-computer-fork.json @@ -3,6 +3,7 @@ "id": "prevent-computer-fork", "name": "Prevent Computer Fork", "description": "Defend against the computer's fork attempt and avoid losing", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"O\", null, null, \"X\", \"X\", null, null, null, \"O\"], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"The computer (O) has taken opposite corners (positions 0 and 8), and you have the center. This is a dangerous fork setup. You must defend carefully to prevent the computer from creating two winning threats at once. Play defensively to force a tie or find a way to win.\", \"success_criteria\": \"The game must NOT end with O (computer) as the winner. Either achieve a tie or win with X.\"}", @@ -11,4 +12,4 @@ "max_steps": 12, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"action\": \"prevent_fork\", \"strategy\": \"defensive\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/reset-game.json b/tasks/tic-tac-toe/reset-game.json index ed6cd6d5f37c20fd7203488e9a5c2c7b41cab8f4..ed736de8aafc360518764fa1f0320e5d035664f5 100644 --- a/tasks/tic-tac-toe/reset-game.json +++ b/tasks/tic-tac-toe/reset-game.json @@ -3,6 +3,7 @@ "id": "reset-game", "name": "Reset Tic-Tac-Toe Game", "description": "Reset the tic-tac-toe game to its initial state by clicking the reset button", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"X\", \"O\", \"X\", \"O\", \"X\", \"O\", \"X\", \"O\", \"X\"], \"currentPlayer\": \"X\", \"winner\": \"X\", \"gameOver\": true, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"The tic-tac-toe game is currently finished. Click the 'Reset Game' button to start a new game and return the board to its initial empty state.\", \"success_criteria\": \"The game must be reset to its initial state with an empty board, no winner, and the game not over. The reset button should clear all X's and O's from the board.\"}", @@ -11,4 +12,4 @@ "max_steps": 3, "timeout_seconds": 30, "metadata": "{\"category\": \"ui\", \"difficulty\": \"easy\", \"action\": \"reset\", \"interface_element\": \"button\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/take-center.json b/tasks/tic-tac-toe/take-center.json index 45a1f39227524aad217ff2e706930b32666d0fc5..66e2c936d32e40b147c25abba2f98d35c3614c02 100644 --- a/tasks/tic-tac-toe/take-center.json +++ b/tasks/tic-tac-toe/take-center.json @@ -3,6 +3,7 @@ "id": "take-center", "name": "Take Center Square", "description": "Take the center square as a strategic first or early move", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [null, null, null, null, null, null, null, null, null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"Make a strategic move by taking the center square (middle position) of the tic-tac-toe board. The center is position 4, the middle square of the 3x3 grid.\", \"success_criteria\": \"X must be placed in the center position (index 4) of the board.\"}", @@ -11,4 +12,4 @@ "max_steps": 2, "timeout_seconds": 30, "metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"strategic_center\", \"strategy\": \"offensive\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/tie-game.json b/tasks/tic-tac-toe/tie-game.json index 7e759f07aaf22ce81222f19632d2ad557fc415a5..4dc944b8aa16327b3fb5925e6e8bb0eea32aa507 100644 --- a/tasks/tic-tac-toe/tie-game.json +++ b/tasks/tic-tac-toe/tie-game.json @@ -3,6 +3,7 @@ "id": "tie-game", "name": "Tie Tic-Tac-Toe Game", "description": "Achieve a tie in tic-tac-toe by filling the board without either player getting three in a row", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"O\", \"O\", \"X\", \"X\", \"X\", null, \"O\", \"O\", null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"Play tic-tac-toe and achieve a tie game by strategically placing your X's to prevent both you and the computer from getting three in a row. The board should fill completely with no winner.\", \"success_criteria\": \"The game must end in a tie with no winner, indicated by the message 'It's a tie!' appearing on screen and the board being completely filled.\"}", @@ -11,4 +12,4 @@ "max_steps": 15, "timeout_seconds": 180, "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"player\": \"X\", \"opponent\": \"computer\", \"strategy\": \"defensive\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/win-game.json b/tasks/tic-tac-toe/win-game.json index faa10c69680a567952a387ddba582e93d26b6e12..b6ae417a21e257e294f8763950e6a146a525c529 100644 --- a/tasks/tic-tac-toe/win-game.json +++ b/tasks/tic-tac-toe/win-game.json @@ -3,6 +3,7 @@ "id": "win-game", "name": "Win Tic-Tac-Toe Game", "description": "Successfully win a game of tic-tac-toe by getting three X's in a row before the computer", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"O\", \"O\", \"X\", \"X\", \"X\", null, \"O\", \"O\", null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"Play tic-tac-toe and win the game by getting three X's in a row, column, or diagonal. You are X and the computer is O. Click on empty squares to make your moves.\", \"success_criteria\": \"The game must end with you (X) as the winner, indicated by the message 'You win!' appearing on screen.\"}", @@ -11,4 +12,4 @@ "max_steps": 10, "timeout_seconds": 120, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"player\": \"X\", \"opponent\": \"computer\"}" -} \ No newline at end of file +} diff --git a/tasks/tic-tac-toe/win-in-two-moves.json b/tasks/tic-tac-toe/win-in-two-moves.json index 9a15af072bb5dfdc966a534bce74a788f6967038..3db323bed8fd419d7b302a650ccb263cab700e11 100644 --- a/tasks/tic-tac-toe/win-in-two-moves.json +++ b/tasks/tic-tac-toe/win-in-two-moves.json @@ -3,6 +3,7 @@ "id": "win-in-two-moves", "name": "Win in Two Moves", "description": "Set up and execute a winning sequence in two moves", + "tier": "free", "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", "initial_state": "{\"board\": [\"X\", \"O\", null, \"O\", \"X\", null, null, null, null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", "instructions": "{\"user_prompt\": \"You have X's in positions 0 and 4 (top-left and center). Win the game by completing the diagonal from top-left to bottom-right. Place your X strategically to set up the win, then complete it on your next turn.\", \"success_criteria\": \"The game must end with X as the winner by completing a line of three X's.\"}", @@ -11,4 +12,4 @@ "max_steps": 5, "timeout_seconds": 60, "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"win_sequence\", \"strategy\": \"offensive\"}" -} \ No newline at end of file +}