asyncio 模块的导入、直接调用与非调用引用。

固定源码版本:2f2318653f6f794dddd321eff7c9d4b7b174643f。本表共 313 条静态出现记录;不是运行次数。

同一个直接 API 表达式只记为 api_call 或 api_reference 中的一类。实例候选不计入直接原生 API 总数。

总览 · 完整文件索引 · JSON · TSV

ID位置 / 快照所属符号种类API / 语法来源判定源码行
occ-000001examples/coding_agent_rl/generate.py:20 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000004examples/coding_agent_rl/generate.py:92 · 快照<module>api_callasyncio.Semaphorelexical_import_resolution_BOOT_SEM = asyncio.Semaphore(CONFIG.boot_concurrency)
occ-000015examples/coding_agent_rl/generate.py:127 · 快照boot_agent_sandboxapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(1 + attempt + random.random())
occ-000021examples/coding_agent_rl/generate.py:202 · 快照generateapi_callasyncio.timeoutlexical_import_resolutionasync with asyncio.timeout(CONFIG.rollout_guard_sec):
occ-000028examples/coding_agent_rl/generate.py:270 · 快照generateapi_referenceasyncio.TimeoutErrorlexical_import_resolutionexcept asyncio.TimeoutError:
occ-000031examples/coding_agent_rl/generate.py:283 · 快照generateapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(10)
occ-000032examples/coding_agent_rl/generate.py:290 · 快照_log_timeout_diagnosticapi_callasyncio.all_taskslexical_import_resolutionpending = [t for t in asyncio.all_tasks() if not t.done()]
occ-000034examples/coding_agent_rl/swe.py:27 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000150examples/coding_agent_rl/swe.py:466 · 快照_grade_swebenchapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(
occ-000166examples/multi_agent/agent_system.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000185examples/multi_agent/agent_system.py:222 · 快照run_agent_systemapi_callasyncio.gatherlexical_import_resolutionresults = await asyncio.gather(*tasks, return_exceptions=True)
occ-000188examples/multi_agent/agent_system.py:244 · 快照run_agent_systemapi_callasyncio.gatherlexical_import_resolutionrewrited_solutions_raw = await asyncio.gather(*tasks, return_exceptions=True)
occ-000204examples/retool/tool_sandbox.py:10 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000206examples/retool/tool_sandbox.py:38 · 快照<module>api_callasyncio.Semaphorelexical_import_resolutionSEMAPHORE = asyncio.Semaphore(TOOL_CONFIGS[“tool_concurrency”])
occ-000222examples/search-r1/generate_with_search.py:4 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000223examples/search-r1/generate_with_search.py:41 · 快照<module>api_callasyncio.Semaphorelexical_import_resolutionSEMAPHORE = asyncio.Semaphore(SEARCH_R1_CONFIGS[“search_concurrency”])
occ-000236examples/search-r1/google_search_server.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000239examples/search-r1/google_search_server.py:42 · 快照<module>api_referenceasyncio.Semaphorelexical_import_resolutionasync def fetch(session: aiohttp.ClientSession, url: str, semaphore: asyncio.Semaphore) -> str:
occ-000245examples/search-r1/google_search_server.py:59 · 快照fetchapi_referenceasyncio.TimeoutErrorlexical_import_resolutionexcept (aiohttp.ClientError, asyncio.TimeoutError):
occ-000247examples/search-r1/google_search_server.py:64 · 快照fetch_allapi_callasyncio.Semaphorelexical_import_resolutionsemaphore = asyncio.Semaphore(limit)
occ-000250examples/search-r1/google_search_server.py:70 · 快照fetch_allapi_callasyncio.gatherlexical_import_resolutionreturn await asyncio.gather(*tasks)
occ-000355slime/agent/adapters/common.py:15 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000362slime/agent/adapters/common.py:157 · 快照BaseAdapter.initapi_referenceasyncio.Tasklexical_import_resolutionself.inflight: dict[str, set[asyncio.Task]] = {}
occ-000368slime/agent/adapters/common.py:233 · 快照BaseAdapter.shutdown_session._drainapi_callasyncio.waitlexical_import_resolution_, pending = await asyncio.wait(tasks, timeout=wait_timeout)
occ-000371slime/agent/adapters/common.py:237 · 快照BaseAdapter.shutdown_session._drainapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*pending, return_exceptions=True)
occ-000374slime/agent/adapters/common.py:241 · 快照BaseAdapter.shutdown_sessionapi_callasyncio.wrap_futurelexical_import_resolutionawait asyncio.wrap_future(asyncio.run_coroutine_threadsafe(_drain(), loop))
occ-000375slime/agent/adapters/common.py:241 · 快照BaseAdapter.shutdown_sessionapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionawait asyncio.wrap_future(asyncio.run_coroutine_threadsafe(_drain(), loop))
occ-000385slime/agent/adapters/common.py:337 · 快照BaseAdapter._run_turnapi_callasyncio.current_tasklexical_import_resolutiontask = asyncio.current_task()
occ-000390slime/agent/adapters/common.py:364 · 快照BaseAdapter._run_turnapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept (ConnectionResetError, asyncio.CancelledError) as e:
occ-000391slime/agent/adapters/common.py:372 · 快照BaseAdapter._run_turnapi_referenceasyncio.CancelledErrorlexical_import_resolutionif isinstance(e, asyncio.CancelledError):
occ-000409slime/agent/adapters/common.py:502 · 快照call_sglang_generateapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept (asyncio.CancelledError, aiohttp.ClientError, asyncio.TimeoutError) as e:
occ-000410slime/agent/adapters/common.py:502 · 快照call_sglang_generateapi_referenceasyncio.TimeoutErrorlexical_import_resolutionexcept (asyncio.CancelledError, aiohttp.ClientError, asyncio.TimeoutError) as e:
occ-000423slime/agent/adapters/common.py:547 · 快照_abort_sglang_requestapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*(abort_worker(url) for url in worker_urls))
occ-000467slime/agent/aiohttp_threaded.py:5 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000470slime/agent/aiohttp_threaded.py:30 · 快照AppHandleapi_referenceasyncio.AbstractEventLooplexical_import_resolutionloop: asyncio.AbstractEventLoop
occ-000473slime/agent/aiohttp_threaded.py:38 · 快照AppHandle.stopapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionfut = asyncio.run_coroutine_threadsafe(_shutdown(), self.loop)
occ-000478slime/agent/aiohttp_threaded.py:66 · 快照run_app_in_thread._runapi_callasyncio.new_event_looplexical_import_resolutionloop = asyncio.new_event_loop()
occ-000479slime/agent/aiohttp_threaded.py:67 · 快照run_app_in_thread._runapi_callasyncio.set_event_looplexical_import_resolutionasyncio.set_event_loop(loop)
occ-000501slime/agent/harness/common.py:18 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000517slime/agent/harness/common.py:148 · 快照install_npm_cliapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(NPM_INSTALL_BACKOFF_SEC * (attempt + 1))
occ-000521slime/agent/sandbox.py:11 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000529slime/agent/sandbox.py:75 · 快照_await_done_markerapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(5)
occ-000542slime/agent/sandbox.py:269 · 快照E2BSandbox._rpc_retryapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(backoff)
occ-000568slime/backends/megatron_utils/server/megatron_server.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000592slime/backends/megatron_utils/server/megatron_server.py:356 · 快照_ray_getapi_callasyncio.to_threadlexical_import_resolutionreturn await asyncio.to_thread(ray.get, ref)
occ-000600slime/backends/megatron_utils/server/megatron_server.py:399 · 快照_wait_until_idleapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.1)
occ-000604slime/backends/megatron_utils/server/megatron_server.py:429 · 快照_build_http_appapi_callasyncio.Locklexical_import_resolutionupdate_lock = asyncio.Lock()
occ-000613slime/backends/megatron_utils/server/megatron_server.py:464 · 快照_build_http_app.update_from_diskapi_callasyncio.get_running_looplexical_import_resolutionupdate_future = asyncio.get_running_loop().create_future()
occ-000616slime/backends/megatron_utils/server/megatron_server.py:471 · 快照_build_http_app.update_from_diskapi_callasyncio.shieldlexical_import_resolutionresult = await asyncio.shield(update_future)
occ-000622slime/backends/megatron_utils/server/megatron_server.py:483 · 快照_build_http_app.update_from_diskapi_callasyncio.to_threadlexical_import_resolutionupdate_result = await asyncio.to_thread(update_from_disk_fn, model_path)
occ-000635slime/backends/megatron_utils/server/megatron_server.py:584 · 快照_build_http_app.generateapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.05)
occ-000636slime/backends/megatron_utils/server/megatron_server.py:585 · 快照_build_http_app.generateapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept asyncio.CancelledError:
occ-000668slime/backends/sglang_utils/server_control.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000679slime/backends/sglang_utils/server_control.py:57 · 快照get_live_router_workersapi_callasyncio.gatherlexical_import_resolutionworkers = await asyncio.gather(*(check(worker) for worker in response.json()[“workers”]))
occ-000696slime/backends/sglang_utils/server_control.py:153 · 快照_abort_server_onceapi_callasyncio.wait_forlexical_import_resolutionawait asyncio.wait_for(
occ-000699slime/backends/sglang_utils/server_control.py:160 · 快照_get_server_loadapi_callasyncio.wait_forlexical_import_resolutionreturn await asyncio.wait_for(
occ-000701slime/backends/sglang_utils/server_control.py:176 · 快照abort_server_until_idleapi_callasyncio.get_running_looplexical_import_resolutionloop = asyncio.get_running_loop()
occ-000705slime/backends/sglang_utils/server_control.py:233 · 快照abort_server_until_idleapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(min(retry_interval, remaining))
occ-000708slime/backends/sglang_utils/server_control.py:245 · 快照abort_servers_until_idleapi_callasyncio.gatherlexical_import_resolutionresults = await asyncio.gather(
occ-000745slime/data/queue_data_source.py:11 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000810slime/data/queue_data_source.py:1115 · 快照QueueReader.get_samples_asyncapi_callasyncio.get_running_looplexical_import_resolutionreturn await asyncio.get_running_loop().run_in_executor(self._reader, self.get_samples, num_samples)
occ-000822slime/data/transport.py:5 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000835slime/data/transport.py:372 · 快照run_rollout_ioapi_callasyncio.get_running_looplexical_import_resolutionloop = asyncio.get_running_loop()
occ-000837slime/data/transport.py:375 · 快照run_rollout_ioapi_callasyncio.Semaphorelexical_import_resolution_async_limits[key] = asyncio.Semaphore(getattr(args, “rollout_io_concurrency”, 4))
occ-000839slime/data/transport.py:377 · 快照run_rollout_ioapi_callasyncio.create_tasklexical_import_resolutionpending = asyncio.create_task(asyncio.to_thread(function, *values, **kwargs))
occ-000840slime/data/transport.py:377 · 快照run_rollout_ioapi_callasyncio.to_threadlexical_import_resolutionpending = asyncio.create_task(asyncio.to_thread(function, *values, **kwargs))
occ-000842slime/data/transport.py:379 · 快照run_rollout_ioapi_callasyncio.shieldlexical_import_resolutionreturn await asyncio.shield(pending)
occ-000843slime/data/transport.py:380 · 快照run_rollout_ioapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept asyncio.CancelledError:
occ-000846slime/data/transport.py:385 · 快照run_rollout_ioapi_callasyncio.shieldlexical_import_resolutionawait asyncio.shield(pending)
occ-000847slime/data/transport.py:386 · 快照run_rollout_ioapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept asyncio.CancelledError:
occ-000851slime/data/transport.py:413 · 快照unpack_published_payloadapi_callasyncio.to_threadlexical_import_resolutionreturn await asyncio.to_thread(unpack_rollout_payload, value)
occ-000853slime/data/transport.py:419 · 快照unpack_published_payloadapi_callasyncio.to_threadlexical_import_resolutionreturn await asyncio.to_thread(unpack_rollout_payload, value)
occ-000910slime/rollout/fully_async_distributed.py:3 · 快照<module>importasyncioexplicit_importimport asyncio
occ-000936slime/rollout/fully_async_distributed.py:280 · 快照_GenerationActor.startapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionfuture = asyncio.run_coroutine_threadsafe(self._start(rollout_id), get_async_loop().loop)
occ-000938slime/rollout/fully_async_distributed.py:281 · 快照_GenerationActor.startapi_callasyncio.wrap_futurelexical_import_resolutionawait asyncio.wrap_future(future)
occ-000942slime/rollout/fully_async_distributed.py:291 · 快照_GenerationActor._startapi_callasyncio.Queuelexical_import_resolutionself.outputs = asyncio.Queue(maxsize=1)
occ-000943slime/rollout/fully_async_distributed.py:292 · 快照_GenerationActor._startapi_callasyncio.create_tasklexical_import_resolutionself.producer = asyncio.create_task(self._produce())
occ-000945slime/rollout/fully_async_distributed.py:295 · 快照_GenerationActor.pauseapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionfuture = asyncio.run_coroutine_threadsafe(self._pause(), get_async_loop().loop)
occ-000947slime/rollout/fully_async_distributed.py:296 · 快照_GenerationActor.pauseapi_callasyncio.wrap_futurelexical_import_resolutionawait asyncio.wrap_future(future)
occ-000950slime/rollout/fully_async_distributed.py:302 · 快照_GenerationActor.nextapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionfuture = asyncio.run_coroutine_threadsafe(self._next(), get_async_loop().loop)
occ-000952slime/rollout/fully_async_distributed.py:303 · 快照_GenerationActor.nextapi_callasyncio.wrap_futurelexical_import_resolutionreturn await asyncio.wrap_future(future)
occ-000954slime/rollout/fully_async_distributed.py:306 · 快照_GenerationActor._nextapi_callasyncio.create_tasklexical_import_resolutiontake = asyncio.create_task(self.outputs.get())
occ-000957slime/rollout/fully_async_distributed.py:308 · 快照_GenerationActor._nextapi_callasyncio.waitlexical_import_resolutionawait asyncio.wait((take, self.producer), return_when=asyncio.FIRST_COMPLETED)
occ-000958slime/rollout/fully_async_distributed.py:308 · 快照_GenerationActor._nextapi_referenceasyncio.FIRST_COMPLETEDlexical_import_resolutionawait asyncio.wait((take, self.producer), return_when=asyncio.FIRST_COMPLETED)
occ-000966slime/rollout/fully_async_distributed.py:317 · 快照_GenerationActor._nextapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(take, return_exceptions=True)
occ-000973slime/rollout/fully_async_distributed.py:334 · 快照_GenerationActor._produce.<comprehension>api_callasyncio.create_tasklexical_import_resolutiontasks.extend(asyncio.create_task(generate_slot(group)) for group in groups)
occ-000975slime/rollout/fully_async_distributed.py:337 · 快照_GenerationActor._produceapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.001)
occ-000977slime/rollout/fully_async_distributed.py:338 · 快照_GenerationActor._produceapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*tasks)
occ-000980slime/rollout/fully_async_distributed.py:342 · 快照_GenerationActor._produceapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*tasks, return_exceptions=True)
occ-000987slime/rollout/fully_async_distributed.py:373 · 快照_GenerationActor._generate_groupapi_callasyncio.to_threadlexical_import_resolutionawait asyncio.to_thread(
occ-000991slime/rollout/fully_async_distributed.py:394 · 快照_GenerationActor._generate_groupapi_callasyncio.to_threadlexical_import_resolutiongroup = await asyncio.to_thread(self.data_source.materialize_samples, group)
occ-000993slime/rollout/fully_async_distributed.py:401 · 快照_GenerationActor._rebufferapi_callasyncio.get_running_looplexical_import_resolutionfuture = asyncio.get_running_loop().create_future()
occ-000995slime/rollout/fully_async_distributed.py:404 · 快照_GenerationActor._rebufferapi_callasyncio.create_tasklexical_import_resolutionself._rebuffer_task = asyncio.create_task(self._flush_rebuffers())
occ-000997slime/rollout/fully_async_distributed.py:405 · 快照_GenerationActor._rebufferapi_callasyncio.shieldlexical_import_resolutionawait asyncio.shield(future)
occ-001000slime/rollout/fully_async_distributed.py:409 · 快照_GenerationActor._flush_rebuffersapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.01)
occ-001002slime/rollout/fully_async_distributed.py:413 · 快照_GenerationActor._flush_rebuffersapi_callasyncio.to_threadlexical_import_resolutionawait asyncio.to_thread(self.data_source.add_samples, [group for group, _ in batch])
occ-001008slime/rollout/fully_async_distributed.py:435 · 快照_GenerationActor.closeapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionfuture = asyncio.run_coroutine_threadsafe(self._close(), get_async_loop().loop)
occ-001010slime/rollout/fully_async_distributed.py:436 · 快照_GenerationActor.closeapi_callasyncio.wrap_futurelexical_import_resolutionawait asyncio.wrap_future(future)
occ-001014slime/rollout/fully_async_distributed.py:442 · 快照_GenerationActor._closeapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(self.producer, return_exceptions=True)
occ-001017slime/rollout/fully_async_distributed.py:447 · 快照_GenerationActor._closeapi_callasyncio.get_running_looplexical_import_resolutionawait asyncio.get_running_loop().shutdown_default_executor()
occ-001022slime/rollout/fully_async_rollout.py:31 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001041slime/rollout/fully_async_rollout.py:165 · 快照AsyncRolloutWorker._thread_mainapi_callasyncio.runlexical_import_resolutionasyncio.run(self._loop())
occ-001044slime/rollout/fully_async_rollout.py:174 · 快照AsyncRolloutWorker._loopapi_referenceasyncio.Tasklexical_import_resolutionactive_tasks: set[asyncio.Task] = set()
occ-001048slime/rollout/fully_async_rollout.py:192 · 快照AsyncRolloutWorker._loopapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0)
occ-001050slime/rollout/fully_async_rollout.py:209 · 快照AsyncRolloutWorker._loopapi_callasyncio.create_tasklexical_import_resolutiontask = asyncio.create_task(
occ-001054slime/rollout/fully_async_rollout.py:226 · 快照AsyncRolloutWorker._loopapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(self.poll_interval)
occ-001056slime/rollout/fully_async_rollout.py:237 · 快照AsyncRolloutWorker._loopapi_callasyncio.waitlexical_import_resolutionawait asyncio.wait(active_tasks, timeout=30)
occ-001057slime/rollout/fully_async_rollout.py:242 · 快照AsyncRolloutWorker._make_done_cbapi_referenceasyncio.Tasklexical_import_resolutiondef _cb(done_task: asyncio.Task) -> None:
occ-001059slime/rollout/fully_async_rollout.py:245 · 快照AsyncRolloutWorker._make_done_cb._cbapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept asyncio.CancelledError:
occ-001065slime/rollout/fully_async_rollout.py:312 · 快照_generate_rollout_asyncapi_callasyncio.to_threadlexical_import_resolutionawait asyncio.to_thread(
occ-001068slime/rollout/fully_async_rollout.py:324 · 快照_generate_rollout_asyncapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.05)
occ-001070slime/rollout/fully_async_rollout.py:357 · 快照_generate_rollout_asyncapi_callasyncio.to_threadlexical_import_resolutionoutput = await asyncio.to_thread(
occ-001076slime/rollout/rm_hub/init.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001081slime/rollout/rm_hub/init.py:52 · 快照remote_rmapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(backoff)
occ-001090slime/rollout/rm_hub/init.py:109 · 快照batched_async_rmapi_callasyncio.gatherlexical_import_resolutionrewards = await asyncio.gather(*tasks)
occ-001115slime/rollout/sglang_rollout.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001117slime/rollout/sglang_rollout.py:95 · 快照GenerateState.initapi_callasyncio.Semaphorelexical_import_resolutionself.semaphore = asyncio.Semaphore(
occ-001119slime/rollout/sglang_rollout.py:145 · 快照GenerateState.submit_generate_tasksapi_callasyncio.create_tasklexical_import_resolutionasyncio.create_task(
occ-001125slime/rollout/sglang_rollout.py:263 · 快照_run_request_abortable_generateapi_callasyncio.current_tasklexical_import_resolutiontask = asyncio.current_task()
occ-001127slime/rollout/sglang_rollout.py:268 · 快照_run_request_abortable_generateapi_referenceasyncio.CancelledErrorlexical_import_resolutionexcept asyncio.CancelledError:
occ-001141slime/rollout/sglang_rollout.py:411 · 快照generate_and_rm_groupapi_callasyncio.create_tasklexical_import_resolutionasyncio.create_task(generate_and_rm(args, sample, current_sampling_params, evaluation=evaluation))
occ-001143slime/rollout/sglang_rollout.py:414 · 快照generate_and_rm_groupapi_callasyncio.gatherlexical_import_resolutiongroup = await asyncio.gather(*tasks)
occ-001151slime/rollout/sglang_rollout.py:449 · 快照abortapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*cancellable_tasks, return_exceptions=True)
occ-001153slime/rollout/sglang_rollout.py:454 · 快照abortapi_callasyncio.waitlexical_import_resolutiondone, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)
occ-001154slime/rollout/sglang_rollout.py:454 · 快照abortapi_referenceasyncio.FIRST_COMPLETEDlexical_import_resolutiondone, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)
occ-001159slime/rollout/sglang_rollout.py:523 · 快照generate_rollout_asyncapi_callasyncio.waitlexical_import_resolutiondone, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)
occ-001160slime/rollout/sglang_rollout.py:523 · 快照generate_rollout_asyncapi_referenceasyncio.FIRST_COMPLETEDlexical_import_resolutiondone, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)
occ-001163slime/rollout/sglang_rollout.py:545 · 快照generate_rollout_asyncapi_callasyncio.to_threadlexical_import_resolutionawait asyncio.to_thread(
occ-001171slime/rollout/sglang_rollout.py:594 · 快照generate_rollout_asyncapi_callasyncio.to_threadlexical_import_resolutionoutput = await asyncio.to_thread(
occ-001174slime/rollout/sglang_rollout.py:609 · 快照eval_rolloutapi_callasyncio.gatherlexical_import_resolutionresults_list = await asyncio.gather(*coros)
occ-001176slime/rollout/sglang_rollout.py:712 · 快照eval_rollout_single_datasetapi_callasyncio.create_tasklexical_import_resolutionasyncio.create_task(
occ-001177slime/rollout/sglang_rollout.py:725 · 快照eval_rollout_single_datasetapi_callasyncio.as_completedlexical_import_resolutionfor coro in asyncio.as_completed(tasks):
occ-001196slime/utils/async_utils.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001199slime/utils/async_utils.py:25 · 快照AsyncPacer.waitapi_callasyncio.get_running_looplexical_import_resolutionloop = asyncio.get_running_loop()
occ-001205slime/utils/async_utils.py:40 · 快照AsyncPacer._releaseapi_callasyncio.get_running_looplexical_import_resolutionasyncio.get_running_loop().call_later(0.001, self._release)
occ-001207slime/utils/async_utils.py:48 · 快照AsyncLoopThread.initapi_callasyncio.new_event_looplexical_import_resolutionself.loop = asyncio.new_event_loop()
occ-001210slime/utils/async_utils.py:53 · 快照AsyncLoopThread._start_loopapi_callasyncio.set_event_looplexical_import_resolutionasyncio.set_event_loop(self.loop)
occ-001212slime/utils/async_utils.py:58 · 快照AsyncLoopThread.runapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionreturn asyncio.run_coroutine_threadsafe(coro, self.loop).result()
occ-001247slime/utils/http_utils.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001252slime/utils/http_utils.py:186 · 快照_ShardedHTTPTransport.acloseapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*(transport.aclose() for transport in self._transports))
occ-001257slime/utils/http_utils.py:204 · 快照_postapi_callasyncio.to_threadlexical_import_resolutionoutput = await asyncio.to_thread(decode_score_centering_response, content, score_centering_top_k)
occ-001259slime/utils/http_utils.py:223 · 快照_postapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(1)
occ-001350slime_plugins/rollout_buffer/rollout_buffer_example.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001357slime_plugins/rollout_buffer/rollout_buffer_example.py:149 · 快照get_rollout_dataapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(3)
occ-001426tests/plugin_contracts/test_plugin_generate_contracts.py:3 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001432tests/plugin_contracts/test_plugin_generate_contracts.py:143 · 快照test_generate_and_rm_default_generate_branch_is_stableapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-001433tests/plugin_contracts/test_plugin_generate_contracts.py:158 · 快照test_generate_and_rm_prefers_per_sample_generate_functionapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(generate_and_rm(args, sample, sampling_params={“temperature”: 0.3}, evaluation=True))
occ-001434tests/plugin_contracts/test_plugin_generate_contracts.py:169 · 快照test_custom_generate_function_path_supports_user_overrideapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-001436tests/plugin_contracts/test_plugin_generate_contracts.py:190 · 快照test_generate_and_rm_group_rm_accepts_list_result_from_custom_generateapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-001437tests/plugin_contracts/test_plugin_path_loading_contracts.py:3 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001441tests/plugin_contracts/test_plugin_path_loading_contracts.py:334 · 快照test_custom_rm_default_behavior_is_stableapi_callasyncio.runlexical_import_resolutionreward = asyncio.run(async_rm(make_args(rm_type=“random”), make_sample(4)))
occ-001442tests/plugin_contracts/test_plugin_path_loading_contracts.py:335 · 快照test_custom_rm_default_behavior_is_stableapi_callasyncio.runlexical_import_resolutionrewards = asyncio.run(
occ-001443tests/plugin_contracts/test_plugin_path_loading_contracts.py:347 · 快照test_custom_rm_path_aligns_with_expected_formatapi_callasyncio.runlexical_import_resolutionrewards = asyncio.run(
occ-001444tests/plugin_contracts/test_plugin_path_loading_contracts.py:360 · 快照test_custom_rm_path_aligns_with_expected_formatapi_callasyncio.runlexical_import_resolutionreward = asyncio.run(
occ-001478tests/test_agent/test_adapters.py:16 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001490tests/test_agent/test_adapters.py:201 · 快照test_anthropic_messages_nonstream_records_token_segmentsapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001499tests/test_agent/test_adapters.py:230 · 快照test_openai_chat_completions_nonstream_records_token_segmentsapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001509tests/test_agent/test_adapters.py:269 · 快照test_anthropic_messages_streams_blocksapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001518tests/test_agent/test_adapters.py:297 · 快照test_openai_chat_completions_streams_chunks_until_doneapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001529tests/test_agent/test_adapters.py:375 · 快照test_anthropic_multiturn_wire_roundtrip_and_token_captureapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001538tests/test_agent/test_adapters.py:402 · 快照test_max_turns_per_sid_returns_429api_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001540tests/test_agent/test_agent_rollout_cpu.py:26 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001542tests/test_agent/test_agent_rollout_cpu.py:56 · 快照<module>api_referenceasynciolexical_import_resolutionif not hasattr(asyncio, “timeout”):
occ-001546tests/test_agent/test_agent_rollout_cpu.py:62 · 快照<module>api_referenceasyncio.timeoutlexical_import_resolutionasyncio.timeout = _timeout_shim
occ-001547tests/test_agent/test_agent_rollout_cpu.py:78 · 快照<module>api_referenceasyncio.sleeplexical_import_resolution_REAL_SLEEP = asyncio.sleep
occ-001558tests/test_agent/test_agent_rollout_cpu.py:194 · 快照test_generate_produces_trained_samplesapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case(mp))
occ-001563tests/test_agent/test_agent_rollout_cpu.py:216 · 快照test_generate_aborts_on_empty_trajectoryapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case(mp))
occ-001567tests/test_agent/test_agent_rollout_cpu.py:230 · 快照test_generate_aborts_on_missing_imageapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case(mp))
occ-001577tests/test_agent/test_agent_rollout_cpu.py:292 · 快照test_codex_openai_rollout_closes_loopapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001578tests/test_agent/test_harness.py:14 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001579tests/test_agent/test_harness.py:35 · 快照<module>api_referenceasyncio.sleeplexical_import_resolution_REAL_SLEEP = asyncio.sleep
occ-001585tests/test_agent/test_harness.py:75 · 快照test_run_agent_returns_marker_exit_codeapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001589tests/test_agent/test_harness.py:88 · 快照test_run_agent_propagates_nonzero_exitapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001592tests/test_agent/test_harness.py:98 · 快照test_run_agent_times_out_when_marker_never_appearsapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001596tests/test_agent/test_harness.py:115 · 快照test_claude_code_write_config_preacks_bypass_permissionsapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001600tests/test_agent/test_harness.py:143 · 快照test_claude_code_launch_command_and_envapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001603tests/test_agent/test_harness.py:163 · 快照test_codex_write_config_base64_roundtrips_inline_base_urlapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001607tests/test_agent/test_harness.py:186 · 快照test_codex_launch_command_and_envapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001610tests/test_agent/test_harness.py:203 · 快照test_ensure_agent_user_provisions_user_and_git_safe_dirapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001615tests/test_agent/test_harness.py:232 · 快照test_base_harness_run_calls_steps_in_orderapi_callasyncio.runlexical_import_resolutionasyncio.run(run_case())
occ-001616tests/test_agent/test_sandbox_exec_and_wait.py:23 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001628tests/test_agent/test_sandbox_exec_and_wait.py:139 · 快照test_same_tag_reinvocation_actually_rerunsapi_callasyncio.runlexical_import_resolution(first_code, first_out), (second_code, second_out) = asyncio.run(_two_attempts())
occ-001629tests/test_agent/test_sandbox_exec_and_wait.py:152 · 快照test_transport_retry_of_the_spawn_stays_dedupedapi_callasyncio.runlexical_import_resolutionasyncio.run(exec_and_wait(sb, cmd=“true”, time_budget_sec=60, tag=“job”))
occ-001630tests/test_agent/test_sandbox_exec_and_wait.py:158 · 快照test_transport_retry_of_the_spawn_stays_dedupedapi_callasyncio.runlexical_import_resolutionasyncio.run(sb.exec(spawn_cmds[0]))
occ-001631tests/test_distributed_rollout.py:3 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001661tests/test_distributed_rollout.py:613 · 快照test_slow_task_acquire_does_not_block_async_generation.exerciseapi_callasyncio.create_tasklexical_import_resolutiontask = asyncio.create_task(source.get_samples_async(1))
occ-001664tests/test_distributed_rollout.py:618 · 快照test_slow_task_acquire_does_not_block_async_generation.exerciseapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.01)
occ-001669tests/test_distributed_rollout.py:625 · 快照test_slow_task_acquire_does_not_block_async_generationapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())
occ-001670tests/test_distributed_rollout.py:647 · 快照scheduler_factory.remote.<lambda>api_callasyncio.run_coroutine_threadsafelexical_import_resolutionreturn SimpleNamespace(remote=lambda *args: asyncio.run_coroutine_threadsafe(method(*args), loop))
occ-001680tests/test_distributed_rollout.py:688 · 快照scheduler_factory.create.make_generator.executeapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.01)
occ-001687tests/test_distributed_rollout.py:735 · 快照scheduler_factory.cleanupapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*producers, return_exceptions=True)
occ-001688tests/test_distributed_rollout.py:737 · 快照scheduler_factoryapi_callasyncio.run_coroutine_threadsafelexical_import_resolutionasyncio.run_coroutine_threadsafe(cleanup(), loop).result(timeout=10)
occ-001719tests/test_distributed_rollout.py:963 · 快照test_distributed_completed_groups_keep_rewards_and_masksapi_callasyncio.runlexical_import_resolutionresult, _ = asyncio.run(worker._generate_group(3))
occ-001720tests/test_distributed_rollout.py:977 · 快照test_worker_refills_locally_and_slow_group_does_not_block_resultsapi_callasyncio.Eventlexical_import_resolutionrelease = asyncio.Event()
occ-001725tests/test_distributed_rollout.py:992 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.generate_groupapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0)
occ-001730tests/test_distributed_rollout.py:1009 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.wait_forlexical_import_resolutionfirst = await asyncio.wait_for(worker._next(), timeout=5)
occ-001732tests/test_distributed_rollout.py:1010 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.wait_forlexical_import_resolutionsecond = await asyncio.wait_for(worker._next(), timeout=5)
occ-001735tests/test_distributed_rollout.py:1017 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.wait_forlexical_import_resolutionoutput = await asyncio.wait_for(worker._next(), timeout=5)
occ-001737tests/test_distributed_rollout.py:1020 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.02)
occ-001739tests/test_distributed_rollout.py:1022 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.02)
occ-001743tests/test_distributed_rollout.py:1029 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.wait_forlexical_import_resolutionwhile (output := await asyncio.wait_for(worker._next(), timeout=5)) is not None:
occ-001747tests/test_distributed_rollout.py:1037 · 快照test_worker_refills_locally_and_slow_group_does_not_block_results.exerciseapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(worker.producer, return_exceptions=True)
occ-001748tests/test_distributed_rollout.py:1039 · 快照test_worker_refills_locally_and_slow_group_does_not_block_resultsapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())
occ-001751tests/test_distributed_rollout.py:1054 · 快照_generate_locallyapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.01)
occ-001753tests/test_distributed_rollout.py:1055 · 快照_generate_locallyapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.01 * (sample.group_index % 3))
occ-001774tests/test_distributed_rollout.py:1831 · 快照test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise.<comprehension>api_callasyncio.create_tasklexical_import_resolutionwaiters = [asyncio.create_task(actor._rebuffer(i)) for i in range(130)]
occ-001776tests/test_distributed_rollout.py:1832 · 快照test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exerciseapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.001)
occ-001779tests/test_distributed_rollout.py:1834 · 快照test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exerciseapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*waiters, return_exceptions=True)
occ-001780tests/test_distributed_rollout.py:1839 · 快照test_cancelled_rebuffer_waiter_does_not_drop_its_continuationapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())
occ-001800tests/test_distributed_rollout.py:2072 · 快照test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.runapi_callasyncio.Eventlexical_import_resolutionentered, release = asyncio.Event(), asyncio.Event()
occ-001801tests/test_distributed_rollout.py:2072 · 快照test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.runapi_callasyncio.Eventlexical_import_resolutionentered, release = asyncio.Event(), asyncio.Event()
occ-001808tests/test_distributed_rollout.py:2094 · 快照test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.runapi_callasyncio.create_tasklexical_import_resolutiontask = asyncio.create_task(worker._generate_group(0))
occ-001814tests/test_distributed_rollout.py:2103 · 快照test_queue_fetch_finishing_after_pause_preserves_group_without_new_generationapi_callasyncio.runlexical_import_resolutionasyncio.run(run())
occ-001823tests/test_fully_async_rollout.py:21 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001827tests/test_fully_async_rollout.py:70 · 快照test_custom_data_source_keeps_original_entrypointapi_referenceasyncio.runlexical_import_resolutionmonkeypatch.setattr(fa, “run”, asyncio.run)
occ-001829tests/test_fully_async_rollout.py:118 · 快照test_rollout_takes_target_groups_and_leaves_surplus_queuedapi_callasyncio.runlexical_import_resolutionout = asyncio.run(fa._generate_rollout_async(args, rollout_id=0, data_buffer=None))
occ-001832tests/test_fully_async_rollout.py:166 · 快照test_dynamic_filter_drops_groups_and_refillsapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(fa._generate_rollout_async(args, rollout_id=7, data_buffer=None))
occ-001843tests/test_fully_async_rollout.py:267 · 快照test_local_worker_lifecycle_is_scoped_to_source.generateapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.01)
occ-001862tests/test_published_payload_retry.py:3 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001869tests/test_published_payload_retry.py:42 · 快照test_result_and_shelve_payloads_recover_at_the_storage_layerapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(transport.unpack_published_payload(ref))
occ-001871tests/test_published_payload_retry.py:64 · 快照test_native_failure_is_not_retried_again_by_slimeapi_callasyncio.runlexical_import_resolutionasyncio.run(transport.unpack_published_payload(ref))
occ-001935tests/test_rollout_sample_hooks.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001937tests/test_rollout_sample_hooks.py:34 · 快照test_rollout_sample_hooks_preserve_nested_shape_and_filter_kwargsapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(apply_rollout_sample_hooks(args, samples, evaluation=True, ignored=“value”))
occ-001938tests/test_rollout_sample_hooks.py:47 · 快照test_rollout_sample_hook_rejects_invalid_return_typeapi_callasyncio.runlexical_import_resolutionasyncio.run(apply_rollout_sample_hooks(args, Sample(index=0)))
occ-001939tests/test_rollout_sample_hooks.py:55 · 快照test_rollout_sample_hooks_are_noop_when_unconfiguredapi_callasyncio.runlexical_import_resolutionassert asyncio.run(apply_rollout_sample_hooks(args, sample)) is sample
occ-001942tests/test_rollout_sample_hooks.py:63 · 快照test_concurrent_groups_keep_their_own_rollout_hook_context.generateapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0)
occ-001946tests/test_rollout_sample_hooks.py:68 · 快照test_concurrent_groups_keep_their_own_rollout_hook_context.exerciseapi_callasyncio.gatherlexical_import_resolutionassert await asyncio.gather(generate(10), generate(11)) == [(“seen”, 10), (“seen”, 11)]
occ-001947tests/test_rollout_sample_hooks.py:70 · 快照test_concurrent_groups_keep_their_own_rollout_hook_contextapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())
occ-001951tests/test_rollout_straw_transport.py:329 · 快照test_fully_async_stores_groups_while_collecting_the_batchimportasyncioexplicit_importimport asyncio
occ-001952tests/test_rollout_straw_transport.py:354 · 快照test_fully_async_stores_groups_while_collecting_the_batchapi_callasyncio.runlexical_import_resolutionoutput = asyncio.run(fa._generate_rollout_async(args, 0, None))
occ-001953tests/test_rollout_straw_transport.py:362 · 快照test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hookimportasyncioexplicit_importimport asyncio
occ-001955tests/test_rollout_straw_transport.py:376 · 快照test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exerciseapi_callasyncio.Eventlexical_import_resolutionsecond = asyncio.Event()
occ-001956tests/test_rollout_straw_transport.py:377 · 快照test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exerciseapi_callasyncio.get_running_looplexical_import_resolutionloop = asyncio.get_running_loop()
occ-001960tests/test_rollout_straw_transport.py:387 · 快照test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise.submit.<comprehension>api_callasyncio.create_tasklexical_import_resolutionstate.pendings.update(asyncio.create_task(generate(index)) for index in (2, 1))
occ-001964tests/test_rollout_straw_transport.py:409 · 快照test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exerciseapi_callasyncio.wait_forlexical_import_resolutionreturn await asyncio.wait_for(sr.generate_rollout_async(args, 0, lambda count: [None] * count), timeout=20)
occ-001965tests/test_rollout_straw_transport.py:411 · 快照test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hookapi_callasyncio.runlexical_import_resolutionoutput, aborted = asyncio.run(exercise())
occ-001983tests/test_score_centering_binary.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001990tests/test_score_centering_binary.py:121 · 快照test_http_worker_decodes_off_event_loopapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-001991tests/test_score_centering_transport.py:3 · 快照<module>importasyncioexplicit_importimport asyncio
occ-001993tests/test_score_centering_transport.py:93 · 快照test_generate_requests_sampler_topkapi_callasyncio.runlexical_import_resolutionsample = asyncio.run(rollout.generate(a, Sample(prompt=“test”), {“max_new_tokens”: 8}))
occ-001995tests/test_score_centering_transport.py:145 · 快照test_r3_resume_appends_routes_without_replacing_the_persisted_prefixapi_callasyncio.runlexical_import_resolutionasyncio.run(rollout.generate(a, sample, {“max_new_tokens”: 8}))
occ-001996tests/test_score_centering_transport.py:148 · 快照test_r3_resume_appends_routes_without_replacing_the_persisted_prefixapi_callasyncio.runlexical_import_resolutionactual = asyncio.run(rollout.generate(a, sample, {“max_new_tokens”: 8}))
occ-001997tests/test_score_centering_transport.py:159 · 快照test_streaming_score_centering_rejectedapi_callasyncio.runlexical_import_resolutionasyncio.run(generate_streaming(args(), Sample(), {}))
occ-001998tests/test_score_centering_transport.py:191 · 快照test_evaluation_preserves_training_score_centeringapi_callasyncio.Semaphorelexical_import_resolutionsemaphore=asyncio.Semaphore(1),
occ-002004tests/test_score_centering_transport.py:219 · 快照test_evaluation_preserves_training_score_centeringapi_callasyncio.runlexical_import_resolutionasyncio.run(run())
occ-002006tests/test_score_centering_transport.py:561 · 快照test_generate_requests_complete_top_p_probabilitiesapi_callasyncio.runlexical_import_resolutionsample = asyncio.run(rollout.generate(a, Sample(prompt=“test”), {“max_new_tokens”: 8}))
occ-002007tests/test_server_control.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-002009tests/test_server_control.py:37 · 快照test_rollout_boundary_prunes_failed_router_workersapi_callasyncio.runlexical_import_resolutionworkers = asyncio.run(server_control.get_live_router_workers(“http://router”, timeout=0.1))
occ-002014tests/test_server_control.py:139 · 快照test_abort_uses_supported_load_sections_and_waits_for_pd_transfersapi_callasyncio.runlexical_import_resolutionasyncio.run(server_control.abort_server_until_idle(“http://engine”, retry_interval=0, timeout=0.1))
occ-002017tests/test_server_control.py:181 · 快照test_abort_retries_load_failure_until_idleapi_callasyncio.runlexical_import_resolutionasyncio.run(server_control.abort_server_until_idle(“http://engine”, retry_interval=0, timeout=1))
occ-002019tests/test_server_control.py:193 · 快照test_abort_servers_surfaces_partial_failureapi_callasyncio.runlexical_import_resolutionasyncio.run(server_control.abort_servers_until_idle([“http://good”, “http://bad”]))
occ-002023tests/test_server_control.py:218 · 快照test_http_post_forwards_timeout_and_closes_responseapi_callasyncio.runlexical_import_resolutionassert asyncio.run(http_utils._post(Client(), “http://engine”, {}, max_retries=1, timeout=2.5)) == {“ok”: True}
occ-002026tests/test_server_control.py:232 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serveapi_callasyncio.current_tasklexical_import_resolutiontask = asyncio.current_task()
occ-002032tests/test_server_control.py:250 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serveapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.1)
occ-002036tests/test_server_control.py:253 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serveapi_referenceasyncio.IncompleteReadErrorlexical_import_resolutionexcept (asyncio.IncompleteReadError, ConnectionError):
occ-002041tests/test_server_control.py:261 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budget.checkapi_callasyncio.start_serverlexical_import_resolutionserver = await asyncio.start_server(serve, “127.0.0.1”, 0, backlog=2 * concurrency)
occ-002047tests/test_server_control.py:272 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budget.checkapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*(request(i) for i in range(concurrency + 3)))
occ-002054tests/test_server_control.py:281 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budget.checkapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*tasks, return_exceptions=True)
occ-002055tests/test_server_control.py:284 · 快照test_http_transport_preserves_streams_timeouts_and_connection_budgetapi_callasyncio.runlexical_import_resolutionasyncio.run(check())
occ-002056tests/test_straw_fully_async_recovery.py:9 · 快照<module>importasyncioexplicit_importimport asyncio
occ-002064tests/test_straw_fully_async_recovery.py:49 · 快照_generate_with_interruptapi_callasyncio.Eventlexical_import_resolutionawait asyncio.Event().wait()
occ-002067tests/test_straw_fully_async_recovery.py:52 · 快照_generate_with_interruptapi_callasyncio.Eventlexical_import_resolutionawait asyncio.Event().wait()
occ-002091tests/test_straw_r3.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-002093tests/test_straw_r3.py:61 · 快照test_straw_publishes_replay_tensors_with_the_group_without_hook_or_spill_directoryapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(apply_rollout_sample_hooks(args, nested, rollout_id=3))
occ-002094tests/test_straw_r3.py:105 · 快照test_hooks_leave_ray_evaluation_and_aborted_samples_residentapi_callasyncio.runlexical_import_resolutionassert asyncio.run(apply_rollout_sample_hooks(args, sample, evaluation=evaluation)) is sample
occ-002100tests/test_straw_r3.py:160 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_callasyncio.create_tasklexical_import_resolutionfirst = asyncio.create_task(rollout_transport.publish_rollout_async(samples[0], args, 0))
occ-002102tests/test_straw_r3.py:163 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_callasyncio.to_threadlexical_import_resolutionassert await asyncio.to_thread(entered.wait, 5)
occ-002104tests/test_straw_r3.py:165 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_callasyncio.create_tasklexical_import_resolutionsecond = asyncio.create_task(rollout_transport.publish_rollout_async(samples[1], args, 0))
occ-002106tests/test_straw_r3.py:167 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.05)
occ-002109tests/test_straw_r3.py:169 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_callasyncio.sleeplexical_import_resolutionawait asyncio.sleep(0.05)
occ-002113tests/test_straw_r3.py:174 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_callasyncio.gatherlexical_import_resolutionresults = await asyncio.gather(*tasks, return_exceptions=True)
occ-002114tests/test_straw_r3.py:175 · 快照test_cancelled_straw_publication_drains_before_releasing_capacity.runapi_referenceasyncio.CancelledErrorlexical_import_resolutionassert isinstance(results[0], asyncio.CancelledError)
occ-002115tests/test_straw_r3.py:179 · 快照test_cancelled_straw_publication_drains_before_releasing_capacityapi_callasyncio.runlexical_import_resolutionasyncio.run(run())
occ-002117tests/test_streaming_rollout.py:1 · 快照<module>importasyncioexplicit_importimport asyncio
occ-002121tests/test_streaming_rollout.py:129 · 快照_generation_stateapi_callasyncio.Semaphorelexical_import_resolutionsemaphore=asyncio.Semaphore(8),
occ-002128tests/test_streaming_rollout.py:258 · 快照test_generate_streaming_preserves_metadata_across_stream_intervalsapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-002129tests/test_streaming_rollout.py:299 · 快照test_generate_streaming_handles_encoded_terminal_metadataapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-002130tests/test_streaming_rollout.py:320 · 快照test_streaming_generator_fails_closed_on_unexpected_eofapi_callasyncio.runlexical_import_resolutionasyncio.run(
occ-002133tests/test_streaming_rollout.py:338 · 快照test_server_abort_keeps_last_observed_prefixapi_callasyncio.runlexical_import_resolutionresult = asyncio.run(
occ-002134tests/test_streaming_rollout.py:352 · 快照test_stream_cancellation_closes_request_and_keeps_prefixapi_callasyncio.Eventlexical_import_resolutionfirst_chunk_seen = asyncio.Event()
occ-002135tests/test_streaming_rollout.py:353 · 快照test_stream_cancellation_closes_request_and_keeps_prefixapi_callasyncio.Eventlexical_import_resolutionrequest_closed = asyncio.Event()
occ-002136tests/test_streaming_rollout.py:354 · 快照test_stream_cancellation_closes_request_and_keeps_prefixapi_callasyncio.Eventlexical_import_resolutionserver_started = asyncio.Event()
occ-002137tests/test_streaming_rollout.py:355 · 快照test_stream_cancellation_closes_request_and_keeps_prefixapi_callasyncio.Eventlexical_import_resolutionserver_released = asyncio.Event()
occ-002142tests/test_streaming_rollout.py:369 · 快照test_stream_cancellation_closes_request_and_keeps_prefix.linesapi_callasyncio.Eventlexical_import_resolutionawait asyncio.Event().wait()
occ-002152tests/test_streaming_rollout.py:393 · 快照test_stream_cancellation_closes_request_and_keeps_prefix.exerciseapi_callasyncio.create_tasklexical_import_resolutionrequest_task = asyncio.create_task(
occ-002153tests/test_streaming_rollout.py:400 · 快照test_stream_cancellation_closes_request_and_keeps_prefix.exerciseapi_callasyncio.create_tasklexical_import_resolutionserver_task = asyncio.create_task(sglang_rollout.generate_and_rm(args, Sample(), {}))
occ-002155tests/test_streaming_rollout.py:401 · 快照test_stream_cancellation_closes_request_and_keeps_prefix.exerciseapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(first_chunk_seen.wait(), server_started.wait())
occ-002160tests/test_streaming_rollout.py:403 · 快照test_stream_cancellation_closes_request_and_keeps_prefix.exerciseapi_callasyncio.gatherlexical_import_resolutionreturn await asyncio.gather(request_task, server_task)
occ-002161tests/test_streaming_rollout.py:405 · 快照test_stream_cancellation_closes_request_and_keeps_prefixapi_callasyncio.runlexical_import_resolutionresult, server_result = asyncio.run(exercise())
occ-002163tests/test_streaming_rollout.py:416 · 快照test_unrelated_stream_cancellation_propagatesapi_callasyncio.Eventlexical_import_resolutionrequest_started = asyncio.Event()
occ-002167tests/test_streaming_rollout.py:421 · 快照test_unrelated_stream_cancellation_propagates.linesapi_callasyncio.Eventlexical_import_resolutionawait asyncio.Event().wait()
occ-002171tests/test_streaming_rollout.py:428 · 快照test_unrelated_stream_cancellation_propagates.exerciseapi_callasyncio.create_tasklexical_import_resolutiontask = asyncio.create_task(
occ-002175tests/test_streaming_rollout.py:438 · 快照test_unrelated_stream_cancellation_propagates.exerciseapi_referenceasyncio.CancelledErrorlexical_import_resolutionwith pytest.raises(asyncio.CancelledError):
occ-002177tests/test_streaming_rollout.py:441 · 快照test_unrelated_stream_cancellation_propagatesapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())
occ-002179tests/test_streaming_rollout.py:472 · 快照test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise.<comprehension>api_callasyncio.create_tasklexical_import_resolutionasyncio.create_task(asyncio.sleep(0, result=group)) for group in (mixed_group, [terminal], [empty])
occ-002180tests/test_streaming_rollout.py:472 · 快照test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise.<comprehension>api_callasyncio.sleeplexical_import_resolutionasyncio.create_task(asyncio.sleep(0, result=group)) for group in (mixed_group, [terminal], [empty])
occ-002184tests/test_streaming_rollout.py:507 · 快照test_partial_abort_buffers_and_resumes_only_aborted_siblings.exerciseapi_callasyncio.Semaphorelexical_import_resolutionstate.semaphore = asyncio.Semaphore(2)
occ-002186tests/test_streaming_rollout.py:514 · 快照test_partial_abort_buffers_and_resumes_only_aborted_siblingsapi_callasyncio.runlexical_import_resolutionbuffered_groups, resumed_group = asyncio.run(exercise())
occ-002188tests/test_streaming_rollout.py:535 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.Semaphorelexical_import_resolutionstate.semaphore = asyncio.Semaphore(128)
occ-002189tests/test_streaming_rollout.py:539 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.Eventlexical_import_resolutionfirst_batch, all_started, finish = asyncio.Event(), asyncio.Event(), asyncio.Event()
occ-002190tests/test_streaming_rollout.py:539 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.Eventlexical_import_resolutionfirst_batch, all_started, finish = asyncio.Event(), asyncio.Event(), asyncio.Event()
occ-002191tests/test_streaming_rollout.py:539 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.Eventlexical_import_resolutionfirst_batch, all_started, finish = asyncio.Event(), asyncio.Event(), asyncio.Event()
occ-002192tests/test_streaming_rollout.py:541 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.get_running_looplexical_import_resolutionloop = asyncio.get_running_loop()
occ-002198tests/test_streaming_rollout.py:568 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.startapi_callasyncio.create_tasklexical_import_resolutionreturn asyncio.create_task(
occ-002200tests/test_streaming_rollout.py:573 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.wait_forlexical_import_resolutionawait asyncio.wait_for(first_batch.wait(), 1)
occ-002204tests/test_streaming_rollout.py:578 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_referenceasyncio.CancelledErrorlexical_import_resolutionwith pytest.raises(asyncio.CancelledError):
occ-002207tests/test_streaming_rollout.py:581 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.wait_forlexical_import_resolutionawait asyncio.wait_for(all_started.wait(), 1)
occ-002211tests/test_streaming_rollout.py:585 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exerciseapi_callasyncio.gatherlexical_import_resolutionawait asyncio.gather(*(task for i, task in enumerate(tasks) if i != 70))
occ-002213tests/test_streaming_rollout.py:589 · 快照test_generation_pacing_preserves_concurrency_cancellation_and_reuseapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())
occ-002215tests/test_streaming_rollout.py:597 · 快照test_abort_while_waiting_for_generation_pacer_does_not_start_request.exerciseapi_callasyncio.Eventlexical_import_resolutionqueued, release = asyncio.Event(), asyncio.Event()
occ-002216tests/test_streaming_rollout.py:597 · 快照test_abort_while_waiting_for_generation_pacer_does_not_start_request.exerciseapi_callasyncio.Eventlexical_import_resolutionqueued, release = asyncio.Event(), asyncio.Event()
occ-002223tests/test_streaming_rollout.py:611 · 快照test_abort_while_waiting_for_generation_pacer_does_not_start_request.exerciseapi_callasyncio.create_tasklexical_import_resolutiontask = asyncio.create_task(sglang_rollout.generate_and_rm(args, Sample(), {}))
occ-002228tests/test_streaming_rollout.py:618 · 快照test_abort_while_waiting_for_generation_pacer_does_not_start_requestapi_callasyncio.runlexical_import_resolutionasyncio.run(exercise())

返回分类索引 · 返回学习首页