MCPcopy Create free account

hub / github.com/Hongcheng-Gao/SpatialWorld / functions

Functions1,798 in github.com/Hongcheng-Gao/SpatialWorld

↓ 6 callersMethod_try_move
mllm_base_agent/environments/game/games/Snake/snake_adapter.py:231
↓ 6 callersMethodadd_action_callback
Args: callback: , Action
evaluation/game/evaluation_engine.py:103
↓ 6 callersMethodadd_frame_callback
Args: callback: , FrameData
evaluation/game/evaluation_engine.py:85
↓ 6 callersMethodadd_state_callback
Args: callback: , GameState
evaluation/game/evaluation_engine.py:94
↓ 6 callersFunctionbuild_conversation_history
Args: screenshot: base64 prompt_text: ( eval ) step_number: ( 1 )
mllm_base_agent/environments/game/utils/openai_utils.py:465
↓ 6 callersFunctionbuild_csv_extra_fields
( task_metadata: Dict[str, Any], actual_actions_info: Dict[str, Any], token_stats: Dict[str, Optio
mllm_base_agent/dual_agent/procthor/run_benchmark.py:356
↓ 6 callersFunctionencode_image
base64 Args: image_input: PIL.Image Returns: base64 Raises: ValueError:
mllm_base_agent/environments/game/utils/openai_utils.py:286
↓ 6 callersFunctionextract_action_info_from_response
OpenAI , API Args: response: OpenAI API api_type: API ("responses" "chat"), None Returns:
mllm_base_agent/environments/game/utils/action_parser.py:130
↓ 6 callersMethodget_all_task_names
Get list of all available task names Combines tasks from both task_presets and task.json files Returns:
configs/carla/load_config.py:294
↓ 6 callersFunctionget_cell
(x, y)
mllm_base_agent/environments/game/games/maze3d/maze3d_pygame.py:269
↓ 6 callersMethodget_info
Returns: Dict[str, Any]:
mllm_base_agent/environments/game/core/input_source.py:101
↓ 6 callersMethodget_log_file_path
mllm_base_agent/environments/game/utils/logger.py:161
↓ 6 callersFunctionget_logger
mllm_base_agent/environments/game/utils/logger.py:177
↓ 6 callersFunctionget_score
(image_embeds, text)
mllm_base_agent/environments/embodiedcity/vln/dataset.py:47
↓ 6 callersMethodif_position
(self, position)
mllm_base_agent/environments/game/games/rubik_cube/rubik.py:65
↓ 6 callersMethodinitialize
Args: **kwargs: Returns: bool:
mllm_base_agent/environments/game/core/input_source.py:32
↓ 6 callersMethodlog_evaluation_end
mllm_base_agent/environments/game/utils/logger.py:136
↓ 6 callersMethodlog_evaluation_start
mllm_base_agent/environments/game/utils/logger.py:125
↓ 6 callersMethodlog_input_source_init
mllm_base_agent/environments/game/utils/logger.py:76
↓ 6 callersMethodlog_performance_metrics
mllm_base_agent/environments/game/utils/logger.py:116
↓ 6 callersMethodmove_forward
(self, granularity=None)
mllm_base_agent/environments/game/games/maze3d/maze3d_adapter.py:283
↓ 6 callersFunctionparse_action_sequence
graph.py parse_action_string() : - MoveAhead,RotateLeft,MoveAhead - PickupObject(Apple),PutObjec
scripts/evaluate_actions_ai2thor.py:69
↓ 6 callersMethodplace_goal_at
(self, map, coord_x, coord_y)
mllm_base_agent/environments/game/games/SOKOBAN_3D/Classes/Map/Map.py:259
↓ 6 callersMethodplace_objective_at
(self, map, coord_x, coord_y)
mllm_base_agent/environments/game/games/SOKOBAN_3D/Classes/Map/Map.py:263
↓ 6 callersMethodplace_player_at
(self, map, coord_x, coord_y)
mllm_base_agent/environments/game/games/SOKOBAN_3D/Classes/Map/Map.py:255
↓ 6 callersMethodrender
- OpenGL 2D
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_adapter.py:100
↓ 6 callersMethodsetupUi
(self, Dialog)
mllm_base_agent/environments/game/games/SOKOBAN_3D/UI/NameInput.py:12
↓ 6 callersFunctionsetup_global_logger
mllm_base_agent/environments/game/utils/logger.py:170
↓ 6 callersMethodtry_move
(self, dx, dy, dz)
mllm_base_agent/environments/game/games/Snake/main.py:96
↓ 5 callersFunction_coalesce
(*values: Any)
mllm_base_agent/environments/virtualhome/backend_utils.py:31
↓ 5 callersFunction_env_config
(config: Mapping[str, Any] | None)
mllm_base_agent/environments/virtualhome/backend_utils.py:24
↓ 5 callersFunction_env_int
(name: str, default: int)
mllm_base_agent/llm/provider.py:23
↓ 5 callersMethod_get_node_by_id
Return a graph node by id from the current snapshot.
mllm_base_agent/environments/virtualhome/wrapper.py:2080
↓ 5 callersFunction_legacy_factory
(project_dir: str, module_name: str, class_name: str)
mllm_base_agent/environments/__init__.py:38
↓ 5 callersMethod_normalize_angle_rad
Normalize an angle to [-pi, pi].
mllm_base_agent/environments/virtualhome/wrapper.py:1210
↓ 5 callersFunction_normalize_content
(content: Any)
mllm_base_agent/llm/messages.py:71
↓ 5 callersMethod_save_frame
Save image frame (same naming as single-agent: ``{prefix}_{timestamp}.png``). When ``agent_count > 1``, saves under ``agent{k}/`` for the emb
mllm_base_agent/environments/ai2thor/wrapper.py:1682
↓ 5 callersMethod_teleport_forward
scripts/carla/interact_carla.py teleport_forward : hop( 2m) , ** **, “ 8m ”
mllm_base_agent/environments/carla/local_planner.py:607
↓ 5 callersMethod_unwrap_agent_event
Align multi-agent with single-agent: always use ``Event`` and ``event.frame``. ``controller.reset`` / ``step`` return ``Event`` when ``agent_
mllm_base_agent/environments/ai2thor/wrapper.py:314
↓ 5 callersFunction_vh_obj
(obj: str)
actions/parser.py:118
↓ 5 callersMethodadd_mapping
mllm_base_agent/environments/game/core/action_mapping.py:39
↓ 5 callersMethodclose
mllm_base_agent/environments/procthor/wrapper.py:1891
↓ 5 callersFunctioncreate_evaluator_from_config
Create evaluator from configuration Supports both: 1. Single success_condition (legacy format) 2. Multiple success_conditions with succes
evaluation/carla/base.py:388
↓ 5 callersMethodevaluate
Evaluate task completion Args: env: Environment instance metadata: Environment metadata Returns:
evaluation/carla/base.py:97
↓ 5 callersFunctionfinal_node
(state: AgentState)
mllm_base_agent/agent/runner.py:428
↓ 5 callersFunctionfind_result_json
JSON( log.json, episode_*.json)
scripts/carla/run_benchmark.py:414
↓ 5 callersFunctionfind_result_json
Find result JSON (log.json or episode_*.json) in task output dir. Returns: Path to JSON or None.
scripts/virtualhome/run_benchmark.py:233
↓ 5 callersFunctionfind_result_json
Find result JSON (log.json or episode_*.json) in task output dir. Returns: Path to JSON or None.
scripts/procthor/run_benchmark.py:231
↓ 5 callersFunctionfind_result_json
Find result JSON (log.json or episode_*.json) in task output dir. Returns: Path to JSON or None.
scripts/ai2thor/run_benchmark.py:212
↓ 5 callersFunctionfmt_count
(value: int, total: int)
scripts/analyze_and_export.py:200
↓ 5 callersMethodget_action_sequence
(self)
mllm_base_agent/environments/base.py:29
↓ 5 callersMethodget_next_state
(self, action)
mllm_base_agent/environments/embodiedcity/vln/base_navigator.py:65
↓ 5 callersMethodget_observation_for_agent
Render the current world state from a specific embodied agent's camera. Uses a no-op Pass so AI2-THOR returns that agent's frame and metadata
mllm_base_agent/environments/ai2thor/wrapper.py:403
↓ 5 callersMethodget_target_neighbors
(self, panoid)
mllm_base_agent/environments/embodiedcity/vln/graph_loader.py:36
↓ 5 callersFunctionget_valid_pos
(x_min, x_max, y_min, y_max)
data/game/maze3d_pro_bridge/generate.py:140
↓ 5 callersFunctionget_vlm
( provider: str = "openai", model_name: Optional[str] = None, temperature: float = 0.7, max_to
mllm_base_agent/llm/provider.py:228
↓ 5 callersFunctionhandoff_agent_or_finish
Deactivate current agent and hand off to the partner if possible.
mllm_base_agent/dual_agent/procthor/main.py:394
↓ 5 callersMethodinit
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_adapter.py:48
↓ 5 callersFunctioninit_move
(direction, face, action)
mllm_base_agent/environments/game/games/rubik_cube/main.py:167
↓ 5 callersFunctionlatest_summaries
(cfg: Dict[str, Any])
scripts/analyze_and_export.py:418
↓ 5 callersFunctionload_init_actions_for_task
init.json task.json init.json , Args: task_file: , tasks/procthor109/task.js
scripts/evaluate_actions_procthor.py:70
↓ 5 callersFunctionmark_agent_failure
Mark current agent as failed and maybe update global failure hints.
mllm_base_agent/dual_agent/procthor/main.py:425
↓ 5 callersMethodmoveBackForth
(self, distance)
mllm_base_agent/environments/embodiedcity/vln/agent.py:243
↓ 5 callersMethodmoveVertical
(self, distance)
mllm_base_agent/environments/embodiedcity/vln/agent.py:251
↓ 5 callersMethodmove_backward
(self, granularity=None)
mllm_base_agent/environments/game/games/maze3d/maze3d_adapter.py:295
↓ 5 callersFunctionnormalize_task_id
task id, ai2thor_04000 / ai2thor04000
mllm_base_agent/dual_agent/ai2thor/run_benchmark.py:79
↓ 5 callersFunctionparse_vh_action_string
Parse a VirtualHome-style action string into an action dictionary. Supported formats: TurnLeft -> body turn 90° (defau
mllm_base_agent/environments/virtualhome/utils.py:579
↓ 5 callersFunctionprint_config
Print configuration information Args: config: ConfigLoader instance section: Section to print, None means print all
configs/carla/load_config.py:446
↓ 5 callersFunctionread_result_status_info
JSON
scripts/carla/run_benchmark.py:467
↓ 5 callersMethodstep
(self, action)
mllm_base_agent/environments/embodiedcity/vln/base_navigator.py:56
↓ 5 callersMethodupdate
mllm_base_agent/environments/game/games/rubik_cube/rubik_cube_adapter.py:126
↓ 5 callersFunctionxy_projection
(surf)
mllm_base_agent/environments/game/games/rubik_cube/geometry.py:111
↓ 4 callersFunction_apply_world_weather
Set CARLA weather; override_name wins, else fallback_name.
mllm_base_agent/environments/carla/wrapper.py:135
↓ 4 callersMethod_build_metadata
( self, success: bool = False, error: Optional[str] = None )
mllm_base_agent/environments/carla/wrapper.py:445
↓ 4 callersFunction_build_room_boundaries_from_house_scene
ProcTHOR house ( ) ProcTHOR house rooms , room floorPolygon , , Args: env
evaluation/procthor/getters.py:61
↓ 4 callersMethod_check_done
( , ) spatial-planning/envs/ai2thor/wrapper.py
mllm_base_agent/environments/procthor/wrapper.py:1350
↓ 4 callersMethod_check_done
Check if task is complete (generalized version, based on task config) Determines task completion through target_object_types and success_pred
mllm_base_agent/environments/ai2thor/wrapper.py:1958
↓ 4 callersMethod_dist_to_end
(self, task: dict)
scripts/embodiedcity/work/run_task.py:612
↓ 4 callersMethod_dist_to_end
(self, task: dict)
mllm_base_agent/environments/embodiedcity/vln_agent.py:612
↓ 4 callersFunction_extract_tag_block
(text: str, tag: str)
mllm_base_agent/dual_agent/procthor/main.py:200
↓ 4 callersMethod_generate_text_state
Args: metadata: AI2-THOR Returns: str:
mllm_base_agent/environments/procthor/wrapper.py:1449
↓ 4 callersMethod_generate_text_state
Generate text state description (supports first_person / omniscient modes)
mllm_base_agent/environments/ai2thor/wrapper.py:1716
↓ 4 callersMethod_get_char_position_from_graph
Return current character [x, y, z] from the cached graph snapshot.
mllm_base_agent/environments/virtualhome/wrapper.py:952
↓ 4 callersMethod_is_object_held
Check if the object is currently held by the first character.
mllm_base_agent/environments/virtualhome/wrapper.py:3804
↓ 4 callersMethod_node_bbox_center_size
Extract world-space bounding-box center and size from a node.
mllm_base_agent/environments/virtualhome/wrapper.py:2096
↓ 4 callersMethod_restore_yaw_after_walk
Match interact mode by compensating VH walk-induced yaw drift.
mllm_base_agent/environments/virtualhome/wrapper.py:2968
↓ 4 callersMethod_unwrap_agent_event
Multi-agent: ``MultiAgentEvent`` per-agent ``Event``( ``.frame``) spatial-planning/envs/ai2thor/wrapper.py — ``agent_count==1``
mllm_base_agent/environments/procthor/wrapper.py:621
↓ 4 callersFunctionblend_colors
mllm_base_agent/environments/game/games/maze3d/maze3d_pygame.py:129
↓ 4 callersFunctioncompute_max_steps_from_n
(n: int)
actions/max_steps.py:70
↓ 4 callersFunctionconfigure_utf8_stdio
Prefer UTF-8 for terminal I/O without failing on redirected streams.
mllm_base_agent/console.py:9
↓ 4 callersFunctioncount_csv_status
(csv_path: Path)
mllm_base_agent/dual_agent/procthor/run_benchmark.py:147
↓ 4 callersFunctioncreate_agent_graph
()
mllm_base_agent/agent/runner.py:514
↓ 4 callersFunctiondarken
mllm_base_agent/environments/game/games/maze3d_pro/main.py:45
↓ 4 callersFunctiondarken_color
mllm_base_agent/environments/game/games/maze3d/maze3d_pygame.py:125
↓ 4 callersFunctiondecide_csv_status
Completed:true= evaluate;false= ( ACTION);null=
scripts/carla/run_benchmark.py:625
↓ 4 callersFunctiondecide_csv_status_from_result
Decide CSV Completed status, considering both failure_type and fail_reason. Rules: - api_error/env_error/external_error → null (external issu
scripts/virtualhome/run_benchmark.py:1134
↓ 4 callersFunctiondecide_csv_status_from_result
Decide CSV Completed status, considering both failure_type and fail_reason. Rules: - api_error/env_error/external_error → null (external issu
scripts/ai2thor/run_benchmark.py:1010
↓ 4 callersFunctiondetermine_failure_reason
Determine failure reason; prefer failure_type from JSON. Returns one of: api_error, parse_error, env_error, action_error, model_error, exter
scripts/virtualhome/run_benchmark.py:509
↓ 4 callersFunctiondetermine_failure_reason
Determine failure reason; prefer failure_type from JSON. Supports both log.json (metadata.failure_type) and episode_*.json (root failure_typ
scripts/procthor/run_benchmark.py:419
↓ 4 callersFunctiondetermine_failure_reason
Determine failure reason; prefer failure_type from JSON. Returns one of: api_error, parse_error, env_error, action_error, model_error, exter
scripts/ai2thor/run_benchmark.py:405
← previousnext →101–200 of 1,798, ranked by callers