邻接机制:time.sleep 阻塞等待。
固定源码版本:2f2318653f6f794dddd321eff7c9d4b7b174643f。本表共 58 条静态出现记录;不是运行次数。
同一个直接 API 表达式只记为 api_call 或 api_reference 中的一类。实例候选不计入直接原生 API 总数。
| ID | 位置 / 快照 | 所属符号 | 种类 | API / 语法 | 来源判定 | 源码行 |
|---|---|---|---|---|---|---|
| occ-000167 | examples/multi_agent/agent_system.py:3 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000172 | examples/multi_agent/agent_system.py:103 · 快照 | Agent.run | api_call | time.sleep | lexical_import_resolution | time.sleep(1) |
| occ-000570 | slime/backends/megatron_utils/server/megatron_server.py:4 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000589 | slime/backends/megatron_utils/server/megatron_server.py:315 · 快照 | _run_stats_printer | api_call | time.sleep | lexical_import_resolution | time.sleep(interval) |
| occ-000641 | slime/backends/megatron_utils/server/megatron_server.py:689 · 快照 | run_megatron_dp_models_loop_worker | api_call | time.sleep | lexical_import_resolution | time.sleep(0.02) |
| occ-000656 | slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py:4 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000659 | slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py:260 · 快照 | UpdateWeightFromDistributed._update_bucket_weights_from_distributed | api_call | time.sleep | lexical_import_resolution | time.sleep(0.1) |
| occ-000663 | slime/backends/sglang_utils/deployment.py:6 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000666 | slime/backends/sglang_utils/deployment.py:59 · 快照 | _start_router | api_call | time.sleep | lexical_import_resolution | time.sleep(3) |
| occ-000712 | slime/backends/sglang_utils/sglang_engine.py:6 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000721 | slime/backends/sglang_utils/sglang_engine.py:95 · 快照 | _wait_server_healthy | api_call | time.sleep | lexical_import_resolution | time.sleep(2) |
| occ-000725 | slime/backends/sglang_utils/sglang_engine.py:292 · 快照 | SGLangEngine.flush_cache | api_call | time.sleep | lexical_import_resolution | time.sleep(1) |
| occ-000726 | slime/backends/sglang_utils/sglang_engine.py:297 · 快照 | SGLangEngine.flush_cache | api_call | time.sleep | lexical_import_resolution | time.sleep(1) |
| occ-000748 | slime/data/queue_data_source.py:17 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000806 | slime/data/queue_data_source.py:1093 · 快照 | QueueReader.get_samples | api_call | time.sleep | lexical_import_resolution | time.sleep(0.05) |
| occ-000897 | slime/ray/actor_group.py:4 · 快照 | <module> | import | time | explicit_import | import time |
| occ-000899 | slime/ray/actor_group.py:203 · 快照 | RayTrainGroup.release | api_call | time.sleep | lexical_import_resolution | time.sleep(5) |
| occ-001189 | slime/rollout/sleep_rollout.py:2 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001190 | slime/rollout/sleep_rollout.py:10 · 快照 | sleep | api_call | time.sleep | lexical_import_resolution | time.sleep(3600) |
| occ-001328 | slime_plugins/rollout_buffer/generator/base_generator.py:4 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001331 | slime_plugins/rollout_buffer/generator/base_generator.py:8 · 快照 | <module> | import | time.sleep | explicit_import | from time import sleep |
| occ-001332 | slime_plugins/rollout_buffer/generator/base_generator.py:86 · 快照 | query_single_turn | api_call | time.sleep | lexical_import_resolution | sleep(10) |
| occ-001338 | slime_plugins/rollout_buffer/generator/base_generator.py:226 · 快照 | BaseGenerator.run.read_data_into_queue | api_call | time.sleep | lexical_import_resolution | time.sleep(300) |
| occ-001346 | slime_plugins/rollout_buffer/generator/base_generator.py:280 · 快照 | run_rollout | api_call | time.sleep | lexical_import_resolution | time.sleep(10) |
| occ-001351 | slime_plugins/rollout_buffer/rollout_buffer_example.py:2 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001359 | slime_plugins/rollout_buffer/rollout_buffer_example.py:243 · 快照 | generate_rollout_async | api_call | time.sleep | lexical_import_resolution | time.sleep(5) |
| occ-001365 | tests/ci/gpu_lock_exec.py:9 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001385 | tests/ci/gpu_lock_exec.py:78 · 快照 | _run_command | api_call | time.sleep | lexical_import_resolution | time.sleep(1) |
| occ-001391 | tests/ci/gpu_lock_exec.py:161 · 快照 | _try_acquire_specific | api_call | time.sleep | lexical_import_resolution | time.sleep(SLEEP_BACKOFF * random.random()) |
| occ-001395 | tests/ci/gpu_lock_exec.py:198 · 快照 | _try_acquire_count | api_call | time.sleep | lexical_import_resolution | time.sleep(SLEEP_BACKOFF * random.random()) |
| occ-001633 | tests/test_distributed_rollout.py:10 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001690 | tests/test_distributed_rollout.py:745 · 快照 | test_scheduler_replaces_rejected_groups_and_bounds_prefetch | api_call | time.sleep | lexical_import_resolution | time.sleep(0.05) |
| occ-001694 | tests/test_distributed_rollout.py:799 · 快照 | test_async_scheduler_fast_worker_fills_batch_without_waiting_for_slow_worker | api_call | time.sleep | lexical_import_resolution | time.sleep(0.1) |
| occ-001825 | tests/test_fully_async_rollout.py:24 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001839 | tests/test_fully_async_rollout.py:250 · 快照 | test_loop_backpressure_stops_topping_up_when_queue_is_full | api_call | time.sleep | lexical_import_resolution | time.sleep(0.02) |
| occ-001844 | tests/test_fully_async_rollout.py:279 · 快照 | test_local_worker_lifecycle_is_scoped_to_source | api_call | time.sleep | lexical_import_resolution | time.sleep(0.01) |
| occ-001845 | tests/test_fully_async_rollout.py:284 · 快照 | test_local_worker_lifecycle_is_scoped_to_source | api_call | time.sleep | lexical_import_resolution | time.sleep(0.03) |
| occ-001873 | tests/test_qwen2.5_0.5B_opd_sglang.py:3 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001878 | tests/test_qwen2.5_0.5B_opd_sglang.py:73 · 快照 | _launch_teacher_server | api_call | time.sleep | lexical_import_resolution | time.sleep(5) |
| occ-001887 | tests/test_qwen2.5_0.5B_training_recovery.py:9 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001888 | tests/test_qwen2.5_0.5B_training_recovery.py:75 · 快照 | wait_job | api_call | time.sleep | lexical_import_resolution | time.sleep(10) |
| occ-001891 | tests/test_qwen2.5_0.5B_training_recovery.py:334 · 快照 | execute.block | api_call | time.sleep | lexical_import_resolution | time.sleep(300) |
| occ-001892 | tests/test_qwen2.5_0.5B_training_recovery.py:340 · 快照 | execute | api_call | time.sleep | lexical_import_resolution | time.sleep(0.1) |
| occ-001894 | tests/test_qwen2.5_0.5B_training_recovery.py:356 · 快照 | execute | api_call | time.sleep | lexical_import_resolution | time.sleep(1) |
| occ-001897 | tests/test_qwen3_4B_external_pd.py:23 · 快照 | <module> | import | time | explicit_import | import time |
| occ-001907 | tests/test_qwen3_4B_external_pd.py:210 · 快照 | _launch_sglang_server | api_call | time.sleep | lexical_import_resolution | time.sleep(5) |
| occ-001925 | tests/test_rollout_manager_recovery.py:248 · 快照 | _ResetPeer.reset_weights_update_groups | import | time | explicit_import | import time |
| occ-001926 | tests/test_rollout_manager_recovery.py:250 · 快照 | _ResetPeer.reset_weights_update_groups | api_call | time.sleep | lexical_import_resolution | time.sleep(300) |
| occ-001927 | tests/test_rollout_manager_recovery.py:257 · 快照 | test_serving_reset_retires_blocked_actor_and_keeps_healthy_peer | import | time | explicit_import | import time |
| occ-001928 | tests/test_rollout_manager_recovery.py:299 · 快照 | _AttemptManager.detach_training | import | time | explicit_import | import time |
| occ-001929 | tests/test_rollout_manager_recovery.py:301 · 快照 | _AttemptManager.detach_training | api_call | time.sleep | lexical_import_resolution | time.sleep(300) |
| occ-001930 | tests/test_rollout_manager_recovery.py:325 · 快照 | _PDResetPeer.reset_weights_update_groups | import | time | explicit_import | import time |
| occ-001931 | tests/test_rollout_manager_recovery.py:329 · 快照 | _PDResetPeer.reset_weights_update_groups | api_call | time.sleep | lexical_import_resolution | time.sleep(0.01) |
| occ-001933 | tests/test_rollout_manager_recovery.py:373 · 快照 | test_driver_detach_releases_real_trainer_when_manager_cannot_pause | import | time | explicit_import | import time |
| occ-002061 | tests/test_straw_fully_async_recovery.py:16 · 快照 | <module> | import | time | explicit_import | import time |
| occ-002077 | tests/test_straw_fully_async_recovery.py:159 · 快照 | _run_job | api_call | time.sleep | lexical_import_resolution | time.sleep(0.05) |
| occ-002084 | tests/test_straw_fully_async_recovery.py:241 · 快照 | _kill_job | api_call | time.sleep | lexical_import_resolution | time.sleep(0.05) |
| occ-002088 | tests/test_straw_fully_async_recovery.py:270 · 快照 | test_fully_async_sigkill_and_restart_preserves_results_and_prefixes | api_call | time.sleep | lexical_import_resolution | time.sleep(0.1) |