MCPcopy Create free account

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

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

↓ 2 callersMethod_has_result
Return True if a result.json already exists for this task.
mllm_base_agent/environments/embodiedcity/vln_agent.py:787
↓ 2 callersFunction_is_carla_env
(env: Any)
evaluation/carla/base.py:66
↓ 2 callersMethod_is_object_close_to_char
Check whether Unity marks the object CLOSE to the character. ``interaction_distance_meters`` is retained as an opt-in legacy/local di
mllm_base_agent/environments/virtualhome/wrapper.py:2041
↓ 2 callersMethod_is_red_light
Check if the traffic light controller currently indicates red.
mllm_base_agent/environments/carla/local_planner.py:465
↓ 2 callersMethod_is_scene_object_node
Return True for regular scene objects (exclude rooms/characters/structures).
mllm_base_agent/environments/virtualhome/wrapper.py:2582
↓ 2 callersMethod_is_visibility_object_node
Return whether a node id should count as an object visible to the agent.
mllm_base_agent/environments/virtualhome/wrapper.py:3262
↓ 2 callersMethod_key_to_pygame_event
pygame
mllm_base_agent/environments/game/input_sources/pygame_input_source.py:335
↓ 2 callersMethod_load_scene_from_jsonl_file
jsonl.gz ProcTHOR
mllm_base_agent/environments/procthor/wrapper.py:426
↓ 2 callersMethod_move_along_direction
Move up to the requested number of cells, stopping before walls.
mllm_base_agent/environments/game/games/maze3d/maze3d_adapter.py:264
↓ 2 callersMethod_move_along_direction
Move up to the requested number of cells, stopping before walls.
mllm_base_agent/environments/game/games/maze3d_pro/maze3d_pro_adapter.py:236
↓ 2 callersFunction_non_terminal_action_count
(actions: Any)
actions/max_steps.py:23
↓ 2 callersFunction_normalize_header
(name: str)
scripts/aggregate_results_by_category.py:24
↓ 2 callersFunction_normalize_structured_action
Validate a structured VH action dict against the prompt action space.
scripts/evaluate_actions_virtualhome.py:272
↓ 2 callersMethod_normalize_success_condition_config
Normalize success condition inputs to a canonical internal representation.
mllm_base_agent/environments/virtualhome/wrapper.py:604
↓ 2 callersFunction_parse_cam_names
Parse character_cameras() output that may be list or JSON string.
mllm_base_agent/environments/virtualhome/wrapper.py:166
↓ 2 callersFunction_parse_visibility_sources
Normalize configured visibility sources to an ordered unique list.
mllm_base_agent/environments/virtualhome/wrapper.py:72
↓ 2 callersMethod_read_cache
(self, cache_key, name)
mllm_base_agent/environments/embodiedcity/vln/clip.py:333
↓ 2 callersFunction_record_step
(step_i, action_dict, obs, error_msg)
scripts/evaluate_actions_virtualhome.py:1090
↓ 2 callersMethod_refresh_scene_object_type_cache
Refresh cached scene object tokens used by prompt injection.
mllm_base_agent/environments/virtualhome/wrapper.py:2669
↓ 2 callersMethod_refresh_success_runtime
Refresh predicates/evaluator after success-condition configuration changes.
mllm_base_agent/environments/virtualhome/wrapper.py:638
↓ 2 callersMethod_resolve_move_magnitude
Resolve move magnitude from explicit value or granularity (Small/Medium/Large). Small=0.25m, Medium=0.5m, Large=1m. Default when omitted: Smal
mllm_base_agent/environments/ai2thor/wrapper.py:817
↓ 2 callersMethod_resolve_target_object_id
Resolve an action target id using explicit binding, replay binding, then scene lookup.
mllm_base_agent/environments/virtualhome/wrapper.py:2365
↓ 2 callersFunction_resolve_task_json
(task_id: str)
scripts/ai2thor/run_benchmark.py:70
↓ 2 callersMethod_restore_rotation
Restore character rotation using TurnLeft/TurnRight. Args: target_quat: Target quaternion [x, y, z, w] (Unity format).
mllm_base_agent/environments/virtualhome/wrapper.py:1353
↓ 2 callersFunction_run_capture_utf8
Run subprocess and decode stdout/stderr as UTF-8. On Windows, ``text=True`` without reliable UTF-8 can use GBK and crash (UnicodeDecodeError)
scripts/carla/run_benchmark.py:45
↓ 2 callersMethod_save_frame
Capture a frame from VirtualHome and save it as a PNG. Uses the first available first-person camera, or any camera if none found. Fal
mllm_base_agent/environments/virtualhome/wrapper.py:3588
↓ 2 callersMethod_set_state
(self, panoid, heading)
mllm_base_agent/environments/embodiedcity/vln/base_navigator.py:17
↓ 2 callersMethod_snap_lane_distance
/replay {2.5, 5.0, 10.0}
mllm_base_agent/environments/carla/local_planner.py:596
↓ 2 callersMethod_snap_turn_degrees
/replay {30.0, 90.0}
mllm_base_agent/environments/carla/wrapper.py:691
↓ 2 callersMethod_snap_walk_distance
/replay {2.5, 5.0, 10.0}
mllm_base_agent/environments/carla/wrapper.py:679
↓ 2 callersFunction_strip_quotes
(value: str)
actions/parser.py:25
↓ 2 callersMethod_tasks_dir
(self)
configs/carla/load_config.py:128
↓ 2 callersMethod_tasks_dir
(self)
configs/virtualhome/load_config.py:150
↓ 2 callersMethod_teleport_change_lane
Teleport to adjacent driving lane in the same direction.
mllm_base_agent/environments/carla/local_planner.py:824
↓ 2 callersMethod_teleport_turn_at_junction
Teleport turn at junction. Blocked when traffic light is red.
mllm_base_agent/environments/carla/local_planner.py:684
↓ 2 callersFunction_terminate_backend
scripts/evaluate_actions_virtualhome.py:139
↓ 2 callersFunction_try_import_virtualhome_with_fallback
Import VirtualHome package; fallback to common local clone paths.
scripts/evaluate_actions_virtualhome.py:693
↓ 2 callersMethod_try_restore_rotation_exact
Try restoring exact rotation via move_character; verify against live graph yaw.
mllm_base_agent/environments/virtualhome/wrapper.py:1272
↓ 2 callersFunction_tsr
(stats: dict[str, int])
scripts/aggregate_results_by_category.py:167
↓ 2 callersMethod_write_cache
(self, cache_key, value, name)
mllm_base_agent/environments/embodiedcity/vln/clip.py:320
↓ 2 callersMethodadd_edge
(self, start_panoid, end_panoid, heading)
mllm_base_agent/environments/embodiedcity/vln/graph_loader.py:28
↓ 2 callersMethodadd_frame
Add frame to video Args: frame_data: Frame data
mllm_base_agent/environments/game/utils/video_recorder.py:75
↓ 2 callersFunctionappend_common_args
(cmd: List[str], args: argparse.Namespace)
scripts/game/run_benchmark.py:115
↓ 2 callersFunctionbuild_backend_command
( backend_exe: str, backend_args_str: str, *, port: int, )
mllm_base_agent/environments/virtualhome/backend_utils.py:78
↓ 2 callersFunctionbuild_object_metadata
Convert VirtualHome graph into an AI2THOR-compatible object list. This allows existing evaluators in evaluators/base.py (which expects metada
mllm_base_agent/environments/virtualhome/utils.py:355
↓ 2 callersFunctionbuild_prompt
(navi_desc)
mllm_base_agent/environments/embodiedcity/prompts/prompt2.py:3
↓ 2 callersMethodbuild_report
(self)
mllm_base_agent/environments/carla/traffic_lights.py:101
↓ 2 callersFunctioncheck
(dist_f, dist_s)
mllm_base_agent/environments/game/games/maze3d/maze3d_pygame.py:293
↓ 2 callersMethodcheck_pedestrian_ahead
Check if there is a pedestrian ahead Returns: (has_pedestrian, distance) tuple
mllm_base_agent/environments/carla/local_planner.py:248
↓ 2 callersFunctioncheck_task_success
Check if task completed successfully (JSON present, then evaluate). Returns: True if task completed and evaluate passes.
scripts/virtualhome/run_benchmark.py:435
↓ 2 callersFunctioncheck_task_success
Check if task completed successfully (JSON present, then evaluate). AI2-THOR benchmark : JSON , evaluate_task
scripts/procthor/run_benchmark.py:356
↓ 2 callersFunctioncheck_task_success
Check if task completed successfully (JSON present, then evaluate). Returns: True if task completed and evaluate passes.
scripts/ai2thor/run_benchmark.py:339
↓ 2 callersMethodcheck_traffic_light
Check if traffic light is red Returns: True if need to stop (red light)
mllm_base_agent/environments/carla/local_planner.py:199
↓ 2 callersMethodcheck_vehicle_ahead
Check if there is a vehicle ahead Returns: (has_vehicle, distance) tuple
mllm_base_agent/environments/carla/local_planner.py:211
↓ 2 callersMethodclear
Clear all memory
mllm_base_agent/dual_agent/ai2thor/core/memory/__init__.py:228
↓ 2 callersMethodclose
Close environment and release resources
mllm_base_agent/environments/ai2thor/env_base.py:53
↓ 2 callersMethodclose
Close environment
mllm_base_agent/environments/ai2thor/wrapper.py:2069
↓ 2 callersMethodconfigure_task
Configure task parameters (generalized support for multiple tasks) Args: target_object_types: Target object type list (e.g., ["Fr
mllm_base_agent/environments/ai2thor/wrapper.py:284
↓ 2 callersMethodconstruct_graph
(self)
mllm_base_agent/environments/embodiedcity/vln/graph_loader.py:56
↓ 2 callersFunctionconvert_to_chat_format
responses chat Args: conversation_history: responses Returns: chat
mllm_base_agent/environments/game/utils/openai_utils.py:206
↓ 2 callersFunctioncopy_to_outputs_completed
Archive completed task outputs without deleting existing data.
mllm_base_agent/dual_agent/procthor/run_csv_benchmark.py:131
↓ 2 callersFunctioncopy_to_outputs_completed
Archive completed task outputs without deleting existing data.
mllm_base_agent/dual_agent/ai2thor/run_csv_benchmark.py:137
↓ 2 callersFunctioncopy_to_outputs_true
outputs_true Args: task_id: ID( retry , "ai2thor03023") task_output_dir: ( retry , "ai2thor0
scripts/carla/run_benchmark.py:749
↓ 2 callersFunctioncopytree_no_delete
(source: Path, dest: Path)
mllm_base_agent/dual_agent/procthor/run_benchmark.py:707
↓ 2 callersFunctioncopytree_no_delete
Copy directory without deleting existing targets.
mllm_base_agent/dual_agent/procthor/run_csv_benchmark.py:121
↓ 2 callersFunctioncopytree_no_delete
Copy directory without deleting existing targets.
mllm_base_agent/dual_agent/ai2thor/run_csv_benchmark.py:127
↓ 2 callersFunctioncount_csv_status
Count true/false/null in CSV Completed column. Returns dict with true, false, null, total.
scripts/virtualhome/run_benchmark.py:753
↓ 2 callersFunctioncount_csv_status
Count true/false/null in CSV Completed column. Returns dict with true, false, null, total.
scripts/procthor/run_benchmark.py:552
↓ 2 callersFunctioncount_csv_status
Count true/false/null in CSV Completed column. Returns dict with true, false, null, total.
scripts/ai2thor/run_benchmark.py:649
↓ 2 callersFunctioncreate_openai_response
OpenAI API - API , : prompt , tools Args: client: OpenAI model: conve
scripts/embodiedcity/work/utils/api_utils.py:336
↓ 2 callersFunctiondecide_csv_status_from_result
(result_info: Dict[str, Any], fallback_failure_type: str)
mllm_base_agent/dual_agent/procthor/run_benchmark.py:671
↓ 2 callersFunctiondecide_csv_status_from_result
CSV:true / false / None( , ) fail_reason , failure_type null
mllm_base_agent/dual_agent/ai2thor/run_benchmark.py:458
↓ 2 callersFunctiondeduplicate_task_ids
(task_ids: List[str])
mllm_base_agent/dual_agent/procthor/run_benchmark.py:175
↓ 2 callersFunctionderive_task_n
Infer n for max_steps = 10 + 2n from common task fields.
actions/max_steps.py:33
↓ 2 callersFunctiondraw_3d_view
(screen, maze, px, py, pDir, exitx, exity)
mllm_base_agent/environments/game/games/maze3d/maze3d_pygame.py:260
↓ 2 callersFunctiondraw_3d_view
(surface, maze, px, py, pDir, exit_pos)
mllm_base_agent/environments/game/games/maze3d_pro/main.py:103
↓ 2 callersFunctiondraw_cube
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_adapter.py:332
↓ 2 callersFunctiondraw_cube
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_single_level.py:285
↓ 2 callersFunctiondraw_cube
( centerPosX, centerPosY, centerPosZ, edgeLength, mode)
mllm_base_agent/environments/game/games/SOKOBAN_3D/sokoban_new.py:222
↓ 2 callersMethoddraw_element
(self, point, color, base_radius=11, is_head=False, draw_projections=False)
mllm_base_agent/environments/game/games/Snake/main.py:249
↓ 2 callersFunctiondraw_key_indicator
mllm_base_agent/environments/game/games/rubik_cube/main.py:227
↓ 2 callersFunctiondraw_orientation
(win, rubik)
mllm_base_agent/environments/game/games/rubik_cube/main.py:212
↓ 2 callersFunctionensure_col
(col_name: str)
scripts/carla/run_benchmark.py:675
↓ 2 callersFunctionensure_column
(col_name: str)
scripts/virtualhome/run_benchmark.py:632
↓ 2 callersFunctionensure_column
(col_name: str)
scripts/ai2thor/run_benchmark.py:528
↓ 2 callersMethodevaluate
Evaluate all conditions with specified logic Args: env: Environment instance metadata: Environment metadata
evaluation/carla/base.py:145
↓ 2 callersFunctionexecute_action
Execute one navigation action via teleport-style pose update. Movement actions support small/medium/large distances. Rotation actions sup
scripts/embodiedcity/work/run_task.py:273
↓ 2 callersMethodexecute_action
Args: action: Returns:
scripts/game/rubik_openai_evaluation.py:359
↓ 2 callersFunctionextract_actual_actions
(result_json: Optional[Path])
mllm_base_agent/dual_agent/procthor/run_benchmark.py:474
↓ 2 callersFunctionextract_actual_actions
JSON
mllm_base_agent/dual_agent/ai2thor/run_benchmark.py:508
↓ 2 callersFunctionextract_golden_actions_from_task
golden_actions
mllm_base_agent/dual_agent/ai2thor/evaluate_action_sequence.py:59
↓ 2 callersFunctionextract_model_config_from_file
Extract model.vlm from a single-agent config file.
mllm_base_agent/dual_agent/procthor/main.py:69
↓ 2 callersFunctionextract_model_config_from_file
model.vlm
mllm_base_agent/dual_agent/ai2thor/main.py:195
↓ 2 callersFunctionfinalize_system_step_if_complete
Increase system step count when all expected active agents have acted.
mllm_base_agent/dual_agent/procthor/main.py:312
↓ 2 callersFunctionfind_export_summary_file
(task_dir: Path, cfg: Dict[str, Any])
scripts/analyze_and_export.py:244
↓ 2 callersMethodfrom_string
Parses an action string like "MoveForward(distance=10)" or "TurnLeft"
mllm_base_agent/environments/carla/actions.py:49
↓ 2 callersMethodgenerate_food
(self)
mllm_base_agent/environments/game/games/Snake/main.py:82
↓ 2 callersMethodget_current_speed
Get current speed (km/h)
mllm_base_agent/environments/carla/local_planner.py:137
↓ 2 callersMethodget_distance_to_target
2D ; inf
mllm_base_agent/environments/carla/wrapper.py:1032
↓ 2 callersMethodget_front_image
(self, image_type=0)
mllm_base_agent/environments/embodiedcity/vln/agent.py:360
← previousnext →401–500 of 1,798, ranked by callers