MCPcopy Create free account

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

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

↓ 2 callersFunctionget_gold_nav
(instance, env)
mllm_base_agent/environments/embodiedcity/vln/env.py:84
↓ 2 callersMethodget_observations
(self, states, step_id, landmarks, traffic_flow=None)
mllm_base_agent/environments/embodiedcity/vln/env.py:20
↓ 2 callersFunctionget_observations_str
(observations)
mllm_base_agent/environments/embodiedcity/vln/prompt_builder.py:50
↓ 2 callersMethodget_obstacle_dis
mllm_base_agent/environments/embodiedcity/vln/agent.py:486
↓ 2 callersMethodget_panorama_images
(self, image_type=0)
mllm_base_agent/environments/embodiedcity/vln/agent.py:344
↓ 2 callersMethodget_prev_state
(self)
mllm_base_agent/environments/embodiedcity/vln/base_navigator.py:32
↓ 2 callersFunctionget_procthor_continuous_prompt
()
mllm_base_agent/prompts/procthor_continuous.py:72
↓ 2 callersFunctionget_procthor_prompt
Get ProcTHOR system prompt (aligned with AI2-THOR prompt structure).
mllm_base_agent/prompts/procthor.py:338
↓ 2 callersFunctionget_relative_angle
(curr_heading, heading)
mllm_base_agent/environments/embodiedcity/vln/base_navigator.py:149
↓ 2 callersFunctionget_response_text
OpenAI , API Args: response: OpenAI API api_type: API , None Returns:
scripts/utils/api_utils.py:573
↓ 2 callersMethodget_section
Get a top-level section of configuration Args: section: Section name, e.g., "env", "task", "model" Retur
configs/virtualhome/load_config.py:404
↓ 2 callersMethodget_section
Get a top-level section of configuration Args: section: Section name, e.g., "env", "task", "model" Retur
configs/ai2thor/load_config.py:343
↓ 2 callersMethodget_shortest_path_length
(self, panoid1, panoid2)
mllm_base_agent/environments/embodiedcity/vln/graph_loader.py:39
↓ 2 callersMethodget_video_file
Get recorded video file path
mllm_base_agent/environments/game/utils/video_recorder.py:113
↓ 2 callersFunctioninfer_env_type
Infer environment type from task id first, config as fallback.
scripts/virtualhome/run_benchmark.py:296
↓ 2 callersMethodinit
mllm_base_agent/environments/game/games/Snake/snake_adapter.py:97
↓ 2 callersMethodinit
mllm_base_agent/environments/game/games/Block3D/block3d_adapter.py:97
↓ 2 callersMethodinit
mllm_base_agent/environments/game/games/rubik_cube/rubik_cube_adapter.py:100
↓ 2 callersMethodinit
mllm_base_agent/environments/game/games/maze3d_pro/maze3d_pro_adapter.py:68
↓ 2 callersFunctioninit_functional_keys
(rubik, init_move)
mllm_base_agent/environments/game/games/rubik_cube/main.py:410
↓ 2 callersFunctioninit_handle_keys
(init_move, save_positions, reset_positions)
mllm_base_agent/environments/game/games/rubik_cube/main.py:63
↓ 2 callersFunctioninitialize_agent_state
( agent_id: str, vlm: Any, observation: Any, max_steps: int, )
mllm_base_agent/dual_agent/procthor/main.py:243
↓ 2 callersMethodis_bottom_layer_solved
(rubik, bottom)
mllm_base_agent/environments/game/games/rubik_cube/utilities.py:46
↓ 2 callersFunctionis_point_in_polygon
Check if point is in polygon (Ray Casting)
evaluation/carla/base.py:34
↓ 2 callersFunctionis_point_in_polygon
Check if point is in polygon (Ray Casting)
evaluation/virtualhome/base.py:34
↓ 2 callersFunctionis_port_open
(host: str, port: int, timeout_sec: float = 1.0)
mllm_base_agent/environments/virtualhome/backend_utils.py:89
↓ 2 callersMethodis_top_cross_solved
(rubik, bottom)
mllm_base_agent/environments/game/games/rubik_cube/utilities.py:70
↓ 2 callersFunctionload_discrete_init_data
Load init.json and normalize rotation to 30-degree discrete yaw. Returns a dict with: - init_action_strings - init_scene - init
scripts/evaluate_actions_virtualhome.py:387
↓ 2 callersFunctionload_task_metadata
Load task metadata from tasks/<task_id>/task.json. Returns keys: - instruction: str | None - golden_action_count: int | None -
scripts/virtualhome/run_benchmark.py:858
↓ 2 callersFunctionload_task_metadata
Load task metadata from tasks/<task_id>/task.json. Returns keys: - instruction: str | None - golden_action_count: int | None -
scripts/ai2thor/run_benchmark.py:742
↓ 2 callersFunctionload_task_metadata
Load metadata from mllm_base_agent/dual_agent/procthor/task_mutil_procthor/<task_id>/task.json.
mllm_base_agent/dual_agent/procthor/run_benchmark.py:274
↓ 2 callersFunctionload_tower
(filename)
mllm_base_agent/environments/game/games/maze3d_pro/main.py:50
↓ 2 callersFunctionmain
(mode, player_name)
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_new.py:31
↓ 2 callersMethodmap_key_to_action
mllm_base_agent/environments/game/core/action_mapping.py:84
↓ 2 callersMethodmerge_recorded_user_actions
Inject interact-recorded object IDs into a golden action sequence. During an interact session the controller records which specific object
mllm_base_agent/environments/virtualhome/wrapper.py:3967
↓ 2 callersFunctionmodel_task_succeeded
( ) decide_csv_status task_success
scripts/carla/run_benchmark.py:290
↓ 2 callersFunctionnormalize_angle_deg
Normalize angle to [-180, 180].
mllm_base_agent/environments/virtualhome/utils.py:154
↓ 2 callersFunctionnormalize_task_id
Normalize task ID (e.g. ai2thor_04000 -> ai2thor04000, procthor_00001 -> procthor00001).
scripts/procthor/run_benchmark.py:410
↓ 2 callersFunctionparse_json_from_text
JSON Args: text: JSON , JSON Returns: JSON , None
scripts/utils/api_utils.py:691
↓ 2 callersFunctionparse_json_object
(value: Any)
scripts/analyze_and_export.py:278
↓ 2 callersFunctionparse_vlm_response
( response_text: str, enable_summary: bool = False, env_type: str = "ai2thor", executor_type:
actions/response_parser.py:21
↓ 2 callersFunctionperform_final_evaluation
(state: AgentState = None, *, env=None, task_config: dict = None, observation=None)
mllm_base_agent/agent/runner.py:388
↓ 2 callersFunctionquantize_yaw_degrees
Snap yaw(deg) to nearest discrete step and normalize to [-180, 180].
mllm_base_agent/environments/virtualhome/utils.py:209
↓ 2 callersFunctionquat_to_yaw_rad
Convert Unity quaternion [x, y, z, w] to yaw(rad).
mllm_base_agent/environments/virtualhome/utils.py:163
↓ 2 callersMethodrandom_move
()
mllm_base_agent/environments/game/games/rubik_cube/utilities.py:16
↓ 2 callersFunctionread_task_ids_from_csv
Read task IDs from CSV. Args: csv_path: Path to CSV. only_null: If True, only include rows with Completed null/empty. R
scripts/virtualhome/run_benchmark.py:107
↓ 2 callersMethodrecord_model_response
Record model response and decision Args: frame_number: Frame number response: OpenAI API response object
scripts/game/sokoban_opengl_openai_evaluation.py:198
↓ 2 callersMethodrecord_model_response
Args: frame_number: response: OpenAI API action_taken:
scripts/game/maze_openai_evaluation.py:255
↓ 2 callersMethodrecord_model_response
Args: frame_number: response: OpenAI API action_taken:
scripts/game/rubik_openai_evaluation.py:322
↓ 2 callersMethodrecord_model_response
Args: frame_number: response: OpenAI API action_taken:
scripts/game/snake_openai_evaluation.py:223
↓ 2 callersMethodrecord_model_response
Args: frame_number: response: OpenAI API action_taken:
scripts/game/maze3d_pro_openai_evaluation.py:293
↓ 2 callersMethodrecord_model_response
Args: frame_number: response: OpenAI API action_taken:
scripts/game/block3d_openai_evaluation.py:234
↓ 2 callersMethodreorder
(self)
mllm_base_agent/environments/game/games/rubik_cube/rubik.py:80
↓ 2 callersFunctionreport_missing
(game: str, missing: List[str])
scripts/analyze_and_export.py:222
↓ 2 callersMethodreset
Reset controller state
mllm_base_agent/environments/carla/controller.py:66
↓ 2 callersMethodreset
(self)
mllm_base_agent/environments/carla/local_planner.py:62
↓ 2 callersMethodreset_game
[ ] -
mllm_base_agent/environments/game/games/Snake/snake_adapter.py:111
↓ 2 callersMethodreset_game
(self)
mllm_base_agent/environments/game/games/Snake/main.py:60
↓ 2 callersMethodreset_game
mllm_base_agent/environments/game/games/Block3D/block3d_adapter.py:112
↓ 2 callersFunctionresolve_step_distance
Map model output to one of {2.5, 5, 10}. Accepts: - labels: small / medium / large (case-insensitive) - numeric literals: 2.5, 5, 10
mllm_base_agent/environments/carla/step_sizes.py:26
↓ 2 callersFunctionresolve_turn_degrees
Map model output to one of {30, 90}. Accepts: - labels: medium / large (case-insensitive; small is a legacy alias for medium) - numer
mllm_base_agent/environments/carla/step_sizes.py:52
↓ 2 callersMethodrotate
(self, direction, face, times=1)
mllm_base_agent/environments/game/games/rubik_cube/rubik.py:133
↓ 2 callersFunctionrun_analyze_and_export
(root_output_dir: str)
scripts/game/run_benchmark.py:190
↓ 2 callersMethodsave_cache
(self)
mllm_base_agent/environments/embodiedcity/vln/clip.py:107
↓ 2 callersFunctionsave_conversation_log
Save complete conversation history as multi-turn dialogue JSON format
scripts/carla/work/run_task.py:913
↓ 2 callersFunctionsave_conversation_log
Save complete conversation history as multi-turn dialogue JSON format
scripts/virtualhome/work/run_task.py:940
↓ 2 callersFunctionsave_failed_log
Args: task_id: ID task_output_dir: failed_logs_dir: attempt: outp
scripts/carla/run_benchmark.py:917
↓ 2 callersFunctionsave_failed_snapshot
(task_id: str, task_output_dir: str, failed_logs_dir: str, attempt: int = 1)
mllm_base_agent/dual_agent/procthor/run_benchmark.py:729
↓ 2 callersFunctionsave_failed_snapshot
Save failed task outputs without deleting previous snapshots.
mllm_base_agent/dual_agent/procthor/run_csv_benchmark.py:144
↓ 2 callersFunctionsave_failed_snapshot
mllm_base_agent/dual_agent/ai2thor/run_benchmark.py:597
↓ 2 callersFunctionsave_failed_snapshot
Save failed task outputs without deleting previous snapshots.
mllm_base_agent/dual_agent/ai2thor/run_csv_benchmark.py:150
↓ 2 callersFunctionsave_save
()
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_new.py:392
↓ 2 callersMethodshould_continue
(self)
mllm_base_agent/environments/game/games/Snake/snake_adapter.py:201
↓ 2 callersFunctionshould_retry_csv_status
Retry infra/API outcomes that intentionally remain CSV null.
scripts/carla/run_benchmark.py:648
↓ 2 callersMethodsolve
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:407
↓ 2 callersFunctionsolve_bfs
BFS ,
data/game/maze3d/generate.py:131
↓ 2 callersMethodsolve_bottom_corners
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:98
↓ 2 callersMethodsolve_bottom_cross
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:47
↓ 2 callersMethodsolve_middle_layer
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:135
↓ 2 callersMethodsolve_next_step
This method identifies the current stage the cube is solved to, then solves it to the next stage.
mllm_base_agent/environments/game/games/rubik_cube/solver.py:416
↓ 2 callersMethodsolve_orient_top_corners
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:361
↓ 2 callersMethodsolve_position_top_corners
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:326
↓ 2 callersMethodsolve_top_cross
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:209
↓ 2 callersMethodsolve_top_edges
(rubik, base=D)
mllm_base_agent/environments/game/games/rubik_cube/solver.py:272
↓ 2 callersMethodstart_recording
Start recording video Args: frame_data: First frame data for video parameters session_name: Session name for
mllm_base_agent/environments/game/utils/video_recorder.py:38
↓ 2 callersMethodstep
Execute one step of PID calculation Args: error: Current error Returns: Control output
mllm_base_agent/environments/carla/controller.py:38
↓ 2 callersMethodstep
(self, error: float, dt: float = 0.05)
mllm_base_agent/environments/carla/local_planner.py:53
↓ 2 callersMethodstep_with_action_dict
( : ``thor_agent_id`` ) Args: action_dict: , action_type, action_name thor_agent_id:
mllm_base_agent/environments/procthor/wrapper.py:871
↓ 2 callersMethodstop_recording
Stop recording video
mllm_base_agent/environments/game/utils/video_recorder.py:97
↓ 2 callersFunctionsummary_step_count
(summary: Dict[str, Any])
scripts/analyze_and_export.py:233
↓ 2 callersMethodto_payload
(self)
mllm_base_agent/llm/messages.py:51
↓ 2 callersFunctionwait_for_local_model_api
Wait for a local OpenAI-compatible API before burning a task attempt.
scripts/carla/run_benchmark.py:107
↓ 2 callersFunctionyaw_rad_to_quat
Convert yaw(rad) to Unity quaternion [x, y, z, w].
mllm_base_agent/environments/virtualhome/utils.py:177
↓ 1 callersMethod__init__
( self, host="localhost", port=2000, timeout=10.0, config=None,
mllm_base_agent/environments/carla/wrapper.py:711
↓ 1 callersMethod__init__
Initialize VirtualHome environment wrapper. Args: scene: VirtualHome scene index (0–49 correspond to different apartments).
mllm_base_agent/environments/virtualhome/wrapper.py:195
↓ 1 callersMethod__init__
(self, query_func, env, instance, prompt_template)
mllm_base_agent/environments/embodiedcity/vln/agent.py:28
↓ 1 callersMethod_action_uses_granularity
Granular movement already represents the full step, so do not repeat it.
mllm_base_agent/environments/game/input_sources/pygame_input_source.py:246
↓ 1 callersFunction_add_file_log_handler
Create <log_dir>/agent.log and attach a FileHandler to _log.
scripts/embodiedcity/work/run_task.py:46
↓ 1 callersFunction_add_file_log_handler
Create <log_dir>/agent.log and attach a FileHandler to _log.
mllm_base_agent/environments/embodiedcity/vln_agent.py:46
↓ 1 callersFunction_agent_config_kwargs
(agent_config: Mapping[str, Any] | None)
mllm_base_agent/dual_agent/ai2thor/core/llm/__init__.py:10
← previousnext →501–600 of 1,798, ranked by callers