id	file	module	line	end_line	col	end_col	symbol	kind	category	name	provenance	expression	source_line	source_url	snapshot	details
occ-000001	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	20	20	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L20	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 20}"
occ-000002	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	27	27	28	41	<module>	import	async-typing	collections.abc.AsyncIterator	explicit_import	from collections.abc import AsyncIterator	from collections.abc import AsyncIterator	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L27	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""local_binding"": ""AsyncIterator"", ""selective_module_import"": false, ""statement_line"": 27}"
occ-000003	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	28	28	23	42	<module>	import	contextlib-async	contextlib.asynccontextmanager	explicit_import	from contextlib import asynccontextmanager	from contextlib import asynccontextmanager	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L28	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""local_binding"": ""asynccontextmanager"", ""selective_module_import"": false, ""statement_line"": 28}"
occ-000004	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	92	92	12	29	<module>	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	_BOOT_SEM = asyncio.Semaphore(CONFIG.boot_concurrency)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L92	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000005	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	95	95	1	20	<module>	api_reference	contextlib-async	contextlib.asynccontextmanager	lexical_import_resolution	asynccontextmanager	@asynccontextmanager	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L95	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000006	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	96	134	0	44	<module>	async_generator_def	syntax	boot_agent_sandbox	python_ast	async def boot_agent_sandbox(image: str, instance_id: str) -> AsyncIterator[E2BSandbox]:	async def boot_agent_sandbox(image: str, instance_id: str) -> AsyncIterator[E2BSandbox]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L96-L134	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""async_protocol"": false}"
occ-000007	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	96	96	62	75	<module>	api_reference	async-typing	collections.abc.AsyncIterator	lexical_import_resolution	AsyncIterator	async def boot_agent_sandbox(image: str, instance_id: str) -> AsyncIterator[E2BSandbox]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L96	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000008	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	108	114	12	25	boot_agent_sandbox	async_with	syntax	async with	python_ast	            async with _BOOT_SEM:	            async with _BOOT_SEM:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L108-L114	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""items"": 1}"
occ-000009	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	109	109	16	39	boot_agent_sandbox	await	syntax	await	python_ast	await cand.__aenter__()	                await cand.__aenter__()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L109	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000010	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	109	109	22	37	boot_agent_sandbox	instance_candidate	candidates	__aenter__	unresolved_receiver_candidate	cand.__aenter__	                await cand.__aenter__()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L109	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""receiver"": ""cand"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000011	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	111	111	20	57	boot_agent_sandbox	await	syntax	await	python_ast	await HARNESS_CLS().install_cli(cand)	                    await HARNESS_CLS().install_cli(cand)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L111	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000012	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	113	113	20	58	boot_agent_sandbox	await	syntax	await	python_ast	await cand.__aexit__(None, None, None)	                    await cand.__aexit__(None, None, None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L113	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000013	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	113	113	26	40	boot_agent_sandbox	instance_candidate	candidates	__aexit__	unresolved_receiver_candidate	cand.__aexit__	                    await cand.__aexit__(None, None, None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L113	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""receiver"": ""cand"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000014	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	127	127	12	62	boot_agent_sandbox	await	syntax	await	python_ast	await asyncio.sleep(1 + attempt + random.random())	            await asyncio.sleep(1 + attempt + random.random())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L127	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000015	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	127	127	18	31	boot_agent_sandbox	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(1 + attempt + random.random())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L127	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000016	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	132	132	8	16	boot_agent_sandbox	async_yield	syntax	yield in async generator	python_ast	yield sb	        yield sb	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L132	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000017	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	134	134	8	44	boot_agent_sandbox	await	syntax	await	python_ast	await sb.__aexit__(None, None, None)	        await sb.__aexit__(None, None, None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L134	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000018	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	134	134	14	26	boot_agent_sandbox	instance_candidate	candidates	__aexit__	unresolved_receiver_candidate	sb.__aexit__	        await sb.__aexit__(None, None, None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L134	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""receiver"": ""sb"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000019	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	182	283	0	31	<module>	async_def	syntax	generate	python_ast	async def generate(args, base_sample: Sample, sampling_params: dict[str, Any], evaluation: bool = False):	async def generate(args, base_sample: Sample, sampling_params: dict[str, Any], evaluation: bool = False):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L182-L283	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""async_protocol"": false}"
occ-000020	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	202	268	8	26	generate	async_with	syntax	async with	python_ast	        async with asyncio.timeout(CONFIG.rollout_guard_sec):	        async with asyncio.timeout(CONFIG.rollout_guard_sec):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L202-L268	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""items"": 1}"
occ-000021	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	202	202	19	34	generate	api_call	asyncio	asyncio.timeout	lexical_import_resolution	asyncio.timeout	        async with asyncio.timeout(CONFIG.rollout_guard_sec):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L202	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000022	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	203	213	12	65	generate	async_with	syntax	async with	python_ast	"            async with boot_agent_sandbox(md[""image""], instance_id) as sb:"	"            async with boot_agent_sandbox(md[""image""], instance_id) as sb:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L203-L213	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""items"": 1}"
occ-000023	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	204	204	16	66	generate	await	syntax	await	python_ast	"await swe.prepare_workspace(sb, md[""workdir""], md)"	"                await swe.prepare_workspace(sb, md[""workdir""], md)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L204	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000024	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	205	212	34	17	generate	await	syntax	await	python_ast	"await HARNESS_CLS().run(
                    sb,
                    workdir=md[""workdir""],
                    session_id=session_id,
                    adapter_url=state.adapter_url,
                    time_budget_sec=CONFIG.agent_time_budget_sec,
                    prompt=swe.SWE_PROMPT,
                )"	                agent_exit_code = await HARNESS_CLS().run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L205-L212	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000025	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	213	213	28	65	generate	await	syntax	await	python_ast	"await swe.git_diff(sb, md[""workdir""])"	"                diff_text = await swe.git_diff(sb, md[""workdir""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L213	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000026	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	215	219	38	13	generate	await	syntax	await	python_ast	"await swe.run_evaluation(
                md,
                diff_text=diff_text,
                timeout_sec=CONFIG.eval_timeout_sec,
            )"	            reward, applied_cleanly = await swe.run_evaluation(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L215-L219	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000027	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	237	245	22	13	generate	await	syntax	await	python_ast	"await state.adapter.finish_session(
                session_id,
                base_sample=base_sample,
                reward=float(reward),
                extra_metadata={
                    ""grading_solved"": float(reward) == 1.0,
                    ""instance_id"": instance_id,
                },
            )"	            samples = await state.adapter.finish_session(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L237-L245	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000028	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	270	270	11	31	generate	api_reference	asyncio	asyncio.TimeoutError	lexical_import_resolution	asyncio.TimeoutError	    except asyncio.TimeoutError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L270	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000029	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	282	282	8	69	generate	await	syntax	await	python_ast	await state.adapter.drop_session(session_id, wait_timeout=30)	        await state.adapter.drop_session(session_id, wait_timeout=30)  # cleanup only, idempotent	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L282	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000030	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	283	283	8	31	generate	await	syntax	await	python_ast	await asyncio.sleep(10)	        await asyncio.sleep(10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L283	source_snapshot/examples/coding_agent_rl/generate.py.txt	{}
occ-000031	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	283	283	14	27	generate	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	        await asyncio.sleep(10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L283	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000032	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	290	290	30	47	_log_timeout_diagnostic	api_call	asyncio	asyncio.all_tasks	lexical_import_resolution	asyncio.all_tasks	        pending = [t for t in asyncio.all_tasks() if not t.done()]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L290	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""access"": ""load""}"
occ-000033	examples/coding_agent_rl/generate.py	examples.coding_agent_rl.generate	290	290	57	63	_log_timeout_diagnostic.<comprehension>	instance_candidate	candidates	done	unresolved_receiver_candidate	t.done	        pending = [t for t in asyncio.all_tasks() if not t.done()]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/generate.py#L290	source_snapshot/examples/coding_agent_rl/generate.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000034	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	27	27	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L27	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 27}"
occ-000035	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	91	91	10	15	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"    rem = m.get(""remote_env_info"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L91	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000036	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	93	93	13	18	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"    swepro = m.get(""swepro"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L93	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000037	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	94	94	15	20	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"    eval_cmd = m.get(""eval_cmd"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L94	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000038	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	95	95	17	24	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"    f2p_script = rem.get(""f2p_script"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L95	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000039	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	96	96	26	33	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"    looks_swebench = bool(rem.get(""test_patch"")) and not (swepro or eval_cmd or f2p_script)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L96	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000040	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	99	99	23	28	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"        ""instance_id"": m.get(""instance_id"") or rem.get(""instance_id"") or label or ""unknown"","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L99	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000041	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	99	99	47	54	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""instance_id"": m.get(""instance_id"") or rem.get(""instance_id"") or label or ""unknown"","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L99	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000042	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	100	100	17	22	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"        ""image"": m.get(""image"") or rem.get(""image_url""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L100	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000043	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	100	100	35	42	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""image"": m.get(""image"") or rem.get(""image_url""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L100	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000044	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	101	101	19	24	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"        ""workdir"": m.get(""workdir"") or rem.get(""workdir""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L101	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000045	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	101	101	39	46	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""workdir"": m.get(""workdir"") or rem.get(""workdir""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L101	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000046	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	102	102	29	34	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"        ""problem_statement"": m.get(""problem_statement"") or _coerce_prompt(sample.prompt),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L102	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000047	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	108	108	28	33	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"            ""pre_commands"": m.get(""pre_commands"") or rem.get(""pre_commands""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L108	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000048	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	108	108	53	60	_metadata_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"            ""pre_commands"": m.get(""pre_commands"") or rem.get(""pre_commands""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L108	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000049	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	117	117	10	15	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"    rem = m.get(""remote_env_info"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L117	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000050	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	119	119	23	30	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""instance_id"": rem.get(""instance_id"") or ""unknown"","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L119	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000051	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	120	120	16	23	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""repo"": rem.get(""repo"") or """","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L120	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000052	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	121	121	19	26	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""version"": rem.get(""version""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L121	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000053	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	122	122	23	30	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""base_commit"": rem.get(""base_commit"") or """","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L122	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000054	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	123	123	29	36	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""problem_statement"": rem.get(""problem_statement"") or _coerce_prompt(sample.prompt),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L123	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000055	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	124	124	22	29	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""hints_text"": rem.get(""hints_text"") or """","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L124	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000056	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	125	125	22	29	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""test_patch"": rem.get(""test_patch"") or """","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L125	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000057	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	126	126	24	31	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""FAIL_TO_PASS"": rem.get(""FAIL_TO_PASS""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L126	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000058	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	127	127	24	31	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""PASS_TO_PASS"": rem.get(""PASS_TO_PASS""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L127	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000059	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	128	128	36	43	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""environment_setup_commit"": rem.get(""environment_setup_commit""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L128	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000060	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	133	133	17	24	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""image"": rem.get(""image""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L133	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000061	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	134	134	19	26	_metadata_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	rem.get	"        ""workdir"": rem.get(""workdir"") or ""/testbed"","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L134	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""rem"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000062	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	146	146	39	44	_coerce_prompt	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"            if isinstance(m, dict) and m.get(""role"") == ""user"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L146	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000063	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	147	147	39	44	_coerce_prompt	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"                return flatten_content(m.get(""content""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L147	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000064	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	152	152	7	13	evaluability_check	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"    if md.get(""protocol"") == PROTOCOL_SWEBENCH:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L152	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000065	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	154	154	53	59	evaluability_check	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"    return ""protocol_row_mismatch:looks_swebench"" if md.get(""looks_swebench"") else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L154	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000066	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	160	160	11	36	_evaluability_check_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	"md.get(""grading"", {}).get"	"    inst = md.get(""grading"", {}).get(""sweb_instance"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L160	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md.get(\""grading\"", {})"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000067	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	160	160	11	17	_evaluability_check_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"    inst = md.get(""grading"", {}).get(""sweb_instance"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L160	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000068	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	161	161	11	19	_evaluability_check_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	inst.get	"    if not inst.get(""repo""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L161	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""inst"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000069	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	163	163	11	19	_evaluability_check_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	inst.get	"    if not inst.get(""base_commit""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L163	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""inst"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000070	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	165	165	12	20	_evaluability_check_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	inst.get	"    if not (inst.get(""test_patch"") or """").strip():"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L165	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""inst"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000071	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	177	198	0	5	<module>	async_def	syntax	prepare_workspace	python_ast	async def prepare_workspace(sb: Sandbox, workdir: str, md: dict) -> None:	async def prepare_workspace(sb: Sandbox, workdir: str, md: dict) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L177-L198	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000072	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	185	185	4	54	prepare_workspace	await	syntax	await	python_ast	await agent_sandbox.ensure_agent_user(sb, workdir)	    await agent_sandbox.ensure_agent_user(sb, workdir)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L185	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000073	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	186	186	7	13	prepare_workspace	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"    if md.get(""protocol"") == PROTOCOL_SCALESWE:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L186	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000074	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	187	187	18	24	prepare_workspace	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"        grading = md.get(""grading"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L187	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000075	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	188	188	17	28	prepare_workspace	instance_candidate	candidates	get	unresolved_receiver_candidate	grading.get	"        swepro = grading.get(""swepro"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L188	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""grading"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000076	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	190	190	12	64	prepare_workspace	await	syntax	await	python_ast	await apply_before_repo_set_cmd(sb, workdir, swepro)	            await apply_before_repo_set_cmd(sb, workdir, swepro)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L190	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000077	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	191	191	23	34	prepare_workspace	instance_candidate	candidates	get	unresolved_receiver_candidate	grading.get	"        pre_commands = grading.get(""pre_commands"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L191	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""grading"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000078	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	193	193	12	63	prepare_workspace	await	syntax	await	python_ast	await apply_pre_commands(sb, workdir, pre_commands)	            await apply_pre_commands(sb, workdir, pre_commands)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L193	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000079	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	194	198	4	5	prepare_workspace	await	syntax	await	python_ast	"await sb.write_file(
        f""{workdir}/PROBLEM_STATEMENT.md"",
        md.get(""problem_statement"") or """",
        user=""agent"",
    )"	    await sb.write_file(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L194-L198	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000080	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	196	196	8	14	prepare_workspace	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"        md.get(""problem_statement"") or """","	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L196	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000081	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	201	211	0	99	<module>	async_def	syntax	apply_before_repo_set_cmd	python_ast	async def apply_before_repo_set_cmd(sb: Sandbox, workdir: str, swepro: dict) -> None:	async def apply_before_repo_set_cmd(sb: Sandbox, workdir: str, swepro: dict) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L201-L211	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000082	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	203	203	13	23	apply_before_repo_set_cmd	instance_candidate	candidates	get	unresolved_receiver_candidate	swepro.get	"    before = swepro.get(""before_repo_set_cmd"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L203	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""swepro"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000083	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	207	209	4	5	apply_before_repo_set_cmd	await	syntax	await	python_ast	"await sb.exec(
        ""mkdir -p /workspace/swepro_setup && chown agent:agent /workspace/swepro_setup"", user=""root"", check=True
    )"	    await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L207-L209	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000084	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	210	210	4	83	apply_before_repo_set_cmd	await	syntax	await	python_ast	"await sb.write_file(""/workspace/swepro_setup/before.sh"", payload, user=""agent"")"	"    await sb.write_file(""/workspace/swepro_setup/before.sh"", payload, user=""agent"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L210	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000085	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	211	211	4	99	apply_before_repo_set_cmd	await	syntax	await	python_ast	"await sb.exec(""bash /workspace/swepro_setup/before.sh"", user=""agent"", check=False, timeout=600)"	"    await sb.exec(""bash /workspace/swepro_setup/before.sh"", user=""agent"", check=False, timeout=600)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L211	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000086	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	214	224	0	109	<module>	async_def	syntax	apply_pre_commands	python_ast	async def apply_pre_commands(sb: Sandbox, workdir: str, pre: list[str] | str) -> None:	async def apply_pre_commands(sb: Sandbox, workdir: str, pre: list[str] | str) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L214-L224	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000087	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	222	222	15	24	apply_pre_commands	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"        body = ""\n"".join(c for c in (pre or []) if c)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L222	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000088	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	223	223	4	62	apply_pre_commands	await	syntax	await	python_ast	"await sb.write_file(_PRE, ""set -e\n"" + body, user=""agent"")"	"    await sb.write_file(_PRE, ""set -e\n"" + body, user=""agent"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L223	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000089	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	224	224	4	109	apply_pre_commands	await	syntax	await	python_ast	"await sb.exec(f""chmod 755 {_PRE} && cd {workdir} && bash {_PRE}"", user=""agent"", check=False, timeout=600)"	"    await sb.exec(f""chmod 755 {_PRE} && cd {workdir} && bash {_PRE}"", user=""agent"", check=False, timeout=600)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L224	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000090	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	230	233	0	14	<module>	async_def	syntax	git_diff	python_ast	async def git_diff(sb: Sandbox, workdir: str) -> str:	async def git_diff(sb: Sandbox, workdir: str) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L230-L233	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000091	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	232	232	16	61	git_diff	await	syntax	await	python_ast	"await sb.exec(cmd, user=""agent"", timeout=120)"	"    _, out, _ = await sb.exec(cmd, user=""agent"", timeout=120)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L232	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000092	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	239	247	0	60	<module>	async_def	syntax	run_evaluation	python_ast	async def run_evaluation(md: dict, *, diff_text: str, timeout_sec: int) -> EvalResult:	async def run_evaluation(md: dict, *, diff_text: str, timeout_sec: int) -> EvalResult:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L239-L247	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000093	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	245	245	7	13	run_evaluation	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"    if md.get(""protocol"") == PROTOCOL_SWEBENCH:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L245	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000094	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	246	246	15	64	run_evaluation	await	syntax	await	python_ast	await _grade_swebench(md, diff_text, timeout_sec)	        return await _grade_swebench(md, diff_text, timeout_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L246	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000095	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	247	247	11	60	run_evaluation	await	syntax	await	python_ast	await _grade_scaleswe(md, diff_text, timeout_sec)	    return await _grade_scaleswe(md, diff_text, timeout_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L247	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000096	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	253	287	0	34	<module>	async_def	syntax	_grade_scaleswe	python_ast	async def _grade_scaleswe(md: dict, diff_text: str, timeout_sec: int) -> EvalResult:	async def _grade_scaleswe(md: dict, diff_text: str, timeout_sec: int) -> EvalResult:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L253-L287	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000097	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	259	259	14	20	_grade_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	md.get	"    grading = md.get(""grading"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L259	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""md"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000098	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	260	260	13	24	_grade_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	grading.get	"    swepro = grading.get(""swepro"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L260	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""grading"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000099	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	261	261	15	26	_grade_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	grading.get	"    eval_cmd = grading.get(""eval_cmd"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L261	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""grading"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000100	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	262	262	17	28	_grade_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	grading.get	"    f2p_script = grading.get(""f2p_script"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L262	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""grading"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000101	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	263	263	19	30	_grade_scaleswe	instance_candidate	candidates	get	unresolved_receiver_candidate	grading.get	"    pre_commands = grading.get(""pre_commands"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L263	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""grading"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000102	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	269	287	4	34	_grade_scaleswe	async_with	syntax	async with	python_ast	    async with E2BSandbox(image) as ev:	    async with E2BSandbox(image) as ev:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L269-L287	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""items"": 1}"
occ-000103	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	270	270	8	58	_grade_scaleswe	await	syntax	await	python_ast	await agent_sandbox.ensure_agent_user(ev, workdir)	        await agent_sandbox.ensure_agent_user(ev, workdir)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L270	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000104	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	272	272	12	50	_grade_scaleswe	await	syntax	await	python_ast	await _setup_swepro_assets(ev, swepro)	            await _setup_swepro_assets(ev, swepro)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L272	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000105	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	273	273	12	64	_grade_scaleswe	await	syntax	await	python_ast	await apply_before_repo_set_cmd(ev, workdir, swepro)	            await apply_before_repo_set_cmd(ev, workdir, swepro)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L273	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000106	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	275	275	12	63	_grade_scaleswe	await	syntax	await	python_ast	await apply_pre_commands(ev, workdir, pre_commands)	            await apply_pre_commands(ev, workdir, pre_commands)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L275	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000107	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	277	277	18	59	_grade_scaleswe	await	syntax	await	python_ast	await _apply_diff(ev, workdir, diff_text)	        applied = await _apply_diff(ev, workdir, diff_text)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L277	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000108	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	282	282	16	67	_grade_scaleswe	await	syntax	await	python_ast	await _run_swepro(ev, workdir, swepro, timeout_sec)	            r = await _run_swepro(ev, workdir, swepro, timeout_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L282	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000109	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	284	284	16	71	_grade_scaleswe	await	syntax	await	python_ast	await _run_eval_cmd(ev, workdir, eval_cmd, timeout_sec)	            r = await _run_eval_cmd(ev, workdir, eval_cmd, timeout_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L284	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000110	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	286	286	16	75	_grade_scaleswe	await	syntax	await	python_ast	await _run_f2p_script(ev, workdir, f2p_script, timeout_sec)	            r = await _run_f2p_script(ev, workdir, f2p_script, timeout_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L286	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000111	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	290	296	0	110	<module>	async_def	syntax	_setup_swepro_assets	python_ast	async def _setup_swepro_assets(ev: Sandbox, swepro: dict) -> None:	async def _setup_swepro_assets(ev: Sandbox, swepro: dict) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L290-L296	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000112	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	291	291	4	96	_setup_swepro_assets	await	syntax	await	python_ast	"await ev.exec(f""mkdir -p {_SWEPRO_DIR} && chmod 777 {_SWEPRO_DIR}"", user=""root"", check=True)"	"    await ev.exec(f""mkdir -p {_SWEPRO_DIR} && chmod 777 {_SWEPRO_DIR}"", user=""root"", check=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L291	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000113	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	293	293	17	27	_setup_swepro_assets	instance_candidate	candidates	get	unresolved_receiver_candidate	swepro.get	        host_p = swepro.get(k)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L293	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""swepro"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000114	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	295	295	12	82	_setup_swepro_assets	await	syntax	await	python_ast	"await ev.write_file(f""{_SWEPRO_DIR}/{dst}"", Path(host_p), user=""root"")"	"            await ev.write_file(f""{_SWEPRO_DIR}/{dst}"", Path(host_p), user=""root"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L295	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000115	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	296	296	4	110	_setup_swepro_assets	await	syntax	await	python_ast	"await ev.exec(f""chmod 755 {_SWEPRO_DIR}/* && chown -R agent:agent {_SWEPRO_DIR}"", user=""root"", check=True)"	"    await ev.exec(f""chmod 755 {_SWEPRO_DIR}/* && chown -R agent:agent {_SWEPRO_DIR}"", user=""root"", check=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L296	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000116	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	299	313	0	18	<module>	async_def	syntax	_apply_diff	python_ast	async def _apply_diff(ev: Sandbox, workdir: str, diff_text: str) -> bool:	async def _apply_diff(ev: Sandbox, workdir: str, diff_text: str) -> bool:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L299-L313	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000117	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	302	302	4	56	_apply_diff	await	syntax	await	python_ast	"await ev.write_file(_PATCH, diff_text, user=""agent"")"	"    await ev.write_file(_PATCH, diff_text, user=""agent"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L302	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000118	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	304	304	13	24	_apply_diff	instance_candidate	candidates	join	unresolved_receiver_candidate	""" || "".join"	"    ladder = "" || "".join("	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L304	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""\"" || \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000119	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	312	312	15	99	_apply_diff	await	syntax	await	python_ast	"await ev.exec(f""cd {workdir} && ({ladder})"", user=""agent"", check=False, timeout=120)"	"    ec, _, _ = await ev.exec(f""cd {workdir} && ({ladder})"", user=""agent"", check=False, timeout=120)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L312	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000120	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	316	338	0	33	<module>	async_def	syntax	_run_swepro	python_ast	async def _run_swepro(ev: Sandbox, workdir: str, swepro: dict, timeout: int) -> float:	async def _run_swepro(ev: Sandbox, workdir: str, swepro: dict, timeout: int) -> float:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L316-L338	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000121	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	317	317	15	23	_run_swepro	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    test_arg = "","".join(swepro.get(""selected_test_files"") or [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L317	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000122	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	317	317	24	34	_run_swepro	instance_candidate	candidates	get	unresolved_receiver_candidate	swepro.get	"    test_arg = "","".join(swepro.get(""selected_test_files"") or [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L317	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""swepro"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000123	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	321	326	4	5	_run_swepro	await	syntax	await	python_ast	"await ev.exec(
        f""cd {workdir} && bash {_SWEPRO_DIR}/run_script.sh {json.dumps(test_arg)} > {stdout_f} 2> {stderr_f} || true"",
        user=""agent"",
        check=False,
        timeout=timeout,
    )"	    await ev.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L321-L326	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000124	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	327	332	4	5	_run_swepro	await	syntax	await	python_ast	"await ev.exec(
        f""python3 {_SWEPRO_DIR}/parser.py {stdout_f} {stderr_f} {result_f}"",
        user=""agent"",
        check=False,
        timeout=120,
    )"	    await ev.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L327-L332	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000125	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	333	333	10	52	_run_swepro	await	syntax	await	python_ast	"await ev.read_file(result_f, user=""agent"")"	"    raw = await ev.read_file(result_f, user=""agent"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L333	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000126	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	335	335	33	43	_run_swepro	instance_candidate	candidates	get	unresolved_receiver_candidate	parsed.get	"    passed = {t[""name""] for t in parsed.get(""tests"", []) if t.get(""status"") == ""PASSED""}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L335	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""parsed"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000127	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	335	335	60	65	_run_swepro.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	t.get	"    passed = {t[""name""] for t in parsed.get(""tests"", []) if t.get(""status"") == ""PASSED""}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L335	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000128	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	336	336	19	29	_run_swepro	instance_candidate	candidates	get	unresolved_receiver_candidate	swepro.get	"    required = set(swepro.get(""fail_to_pass"") or []) | set(swepro.get(""pass_to_pass"") or [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L336	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""swepro"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000129	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	336	336	59	69	_run_swepro	instance_candidate	candidates	get	unresolved_receiver_candidate	swepro.get	"    required = set(swepro.get(""fail_to_pass"") or []) | set(swepro.get(""pass_to_pass"") or [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L336	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""swepro"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000130	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	341	343	0	34	<module>	async_def	syntax	_run_eval_cmd	python_ast	async def _run_eval_cmd(ev: Sandbox, workdir: str, cmd: str, timeout: int) -> float:	async def _run_eval_cmd(ev: Sandbox, workdir: str, cmd: str, timeout: int) -> float:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L341-L343	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000131	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	342	342	15	98	_run_eval_cmd	await	syntax	await	python_ast	"await ev.exec(f""cd {workdir} && {cmd}"", user=""agent"", check=False, timeout=timeout)"	"    ec, _, _ = await ev.exec(f""cd {workdir} && {cmd}"", user=""agent"", check=False, timeout=timeout)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L342	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000132	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	346	352	0	34	<module>	async_def	syntax	_run_f2p_script	python_ast	async def _run_f2p_script(ev: Sandbox, workdir: str, script: str, timeout: int) -> float:	async def _run_f2p_script(ev: Sandbox, workdir: str, script: str, timeout: int) -> float:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L346-L352	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000133	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	350	350	4	51	_run_f2p_script	await	syntax	await	python_ast	"await ev.write_file(_F2P, script, user=""agent"")"	"    await ev.write_file(_F2P, script, user=""agent"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L350	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000134	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	351	351	15	106	_run_f2p_script	await	syntax	await	python_ast	"await ev.exec(f""cd {workdir} && python {_F2P}"", user=""agent"", check=False, timeout=timeout)"	"    ec, _, _ = await ev.exec(f""cd {workdir} && python {_F2P}"", user=""agent"", check=False, timeout=timeout)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L351	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000135	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	364	374	0	18	<module>	async_def	syntax	_apply_model_patch	python_ast	async def _apply_model_patch(ev: Sandbox, workdir: str) -> bool:	async def _apply_model_patch(ev: Sandbox, workdir: str) -> bool:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L364-L374	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000136	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	368	368	13	24	_apply_model_patch	instance_candidate	candidates	join	unresolved_receiver_candidate	""" || "".join"	"    ladder = "" || "".join(f""{cmd} /tmp/patch.diff"" for cmd in _GIT_APPLY_CMDS)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L368	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""\"" || \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000137	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	373	373	15	72	_apply_model_patch	await	syntax	await	python_ast	"await ev.exec(cmd, user=""root"", check=False, timeout=120)"	"    ec, _, _ = await ev.exec(cmd, user=""root"", check=False, timeout=120)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L373	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000138	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	388	388	8	17	_eval_report_from_log	instance_candidate	candidates	write	unresolved_receiver_candidate	tmp.write	        tmp.write(log)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L388	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""tmp"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000139	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	390	390	8	17	_eval_report_from_log	instance_candidate	candidates	close	unresolved_receiver_candidate	tmp.close	        tmp.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L390	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""tmp"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000140	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	411	411	21	26	_ratio	instance_candidate	candidates	get	unresolved_receiver_candidate	d.get	"    passed, failed = d.get(""success"", []), d.get(""failure"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L411	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""d"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000141	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	411	411	43	48	_ratio	instance_candidate	candidates	get	unresolved_receiver_candidate	d.get	"    passed, failed = d.get(""success"", []), d.get(""failure"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L411	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""d"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000142	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	419	419	7	15	_log_swebench_result	instance_candidate	candidates	get	unresolved_receiver_candidate	info.get	"    if info.get(""resolved""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L419	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000143	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	422	422	16	24	_log_swebench_result	instance_candidate	candidates	get	unresolved_receiver_candidate	info.get	"    ts_status = info.get(""tests_status"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L422	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000144	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	423	423	33	46	_log_swebench_result	instance_candidate	candidates	get	unresolved_receiver_candidate	ts_status.get	"    f2p_pass, f2p_total = _ratio(ts_status.get(""FAIL_TO_PASS"", {}))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L423	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""ts_status"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000145	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	424	424	33	46	_log_swebench_result	instance_candidate	candidates	get	unresolved_receiver_candidate	ts_status.get	"    p2p_pass, p2p_total = _ratio(ts_status.get(""PASS_TO_PASS"", {}))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L424	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""ts_status"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000146	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	431	431	13	21	_log_swebench_result	instance_candidate	candidates	get	unresolved_receiver_candidate	info.get	"        bool(info.get(""patch_successfully_applied"")),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L431	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000147	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	440	492	0	105	<module>	async_def	syntax	_grade_swebench	python_ast	async def _grade_swebench(md: dict, diff_text: str, timeout_sec: int) -> EvalResult:	async def _grade_swebench(md: dict, diff_text: str, timeout_sec: int) -> EvalResult:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L440-L492	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""async_protocol"": false}"
occ-000148	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	465	477	4	9	_grade_swebench	async_with	syntax	async with	python_ast	    async with E2BSandbox(image) as ev:	    async with E2BSandbox(image) as ev:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L465-L477	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""items"": 1}"
occ-000149	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	466	469	8	9	_grade_swebench	await	syntax	await	python_ast	"await asyncio.gather(
            ev.write_file(""/tmp/patch.diff"", diff_text or """", user=""root""),
            ev.write_file(""/tmp/eval.sh"", eval_sh, user=""root""),
        )"	        await asyncio.gather(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L466-L469	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000150	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	466	466	14	28	_grade_swebench	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        await asyncio.gather(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L466	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""access"": ""load""}"
occ-000151	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	472	472	15	58	_grade_swebench	await	syntax	await	python_ast	"await _apply_model_patch(ev, md[""workdir""])"	"        if not await _apply_model_patch(ev, md[""workdir""]):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L472	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000152	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	475	477	25	9	_grade_swebench	await	syntax	await	python_ast	"await exec_and_wait(
            ev, cmd=""bash /tmp/eval.sh"", user=""root"", time_budget_sec=timeout_sec, tag=""eval"", want_output=True
        )"	        exit_code, log = await exec_and_wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L475-L477	source_snapshot/examples/coding_agent_rl/swe.py.txt	{}
occ-000153	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	490	490	11	21	_grade_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	report.get	    info = report.get(instance_id, {})	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L490	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""report"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000154	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	492	492	29	37	_grade_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	info.get	"    return EvalResult(1.0 if info.get(""resolved"") else 0.0, bool(info.get(""patch_successfully_applied"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L492	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000155	examples/coding_agent_rl/swe.py	examples.coding_agent_rl.swe	492	492	65	73	_grade_swebench	instance_candidate	candidates	get	unresolved_receiver_candidate	info.get	"    return EvalResult(1.0 if info.get(""resolved"") else 0.0, bool(info.get(""patch_successfully_applied"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/coding_agent_rl/swe.py#L492	source_snapshot/examples/coding_agent_rl/swe.py.txt	"{""receiver"": ""info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000156	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	66	66	12	24	_encode_observation_for_generation	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"    tools = metadata.get(""tools"") if metadata else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L66	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000157	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	110	110	29	50	_encode_observation_for_generation	instance_candidate	candidates	get	unresolved_receiver_candidate	multimodal_inputs.get	"    if multimodal_inputs and multimodal_inputs.get(""images""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L110	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""receiver"": ""multimodal_inputs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000158	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	165	165	36	64	_prepare_initial_inputs	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.multimodal_inputs.get	"    if sample.multimodal_inputs and sample.multimodal_inputs.get(""images""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L165	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""receiver"": ""sample.multimodal_inputs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000159	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	187	187	9	28	_prepare_start_state	instance_candidate	candidates	get	unresolved_receiver_candidate	sampling_params.get	"    elif sampling_params.get(""max_new_tokens"") is not None:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L187	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""receiver"": ""sampling_params"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000160	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	192	209	0	85	<module>	async_def	syntax	_run_inference_step	python_ast	async def _run_inference_step(url: str, tokens: list[int], sampling_params: dict, image_data, tokenizer):	async def _run_inference_step(url: str, tokens: list[int], sampling_params: dict, image_data, tokenizer):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L192-L209	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""async_protocol"": false}"
occ-000161	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	201	201	13	37	_run_inference_step	await	syntax	await	python_ast	await post(url, payload)	    output = await post(url, payload)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L201	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	{}
occ-000162	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	315	387	0	16	<module>	async_def	syntax	generate	python_ast	async def generate(args: Any, sample: Sample, sampling_params) -> Sample:	async def generate(args: Any, sample: Sample, sampling_params) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L315-L387	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""async_protocol"": false}"
occ-000163	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	325	325	8	17	generate	instance_candidate	candidates	reset	unresolved_receiver_candidate	env.reset	        env.reset()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L325	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""receiver"": ""env"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000164	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	336	336	16	119	generate	await	syntax	await	python_ast	await _run_inference_step(url, sample.tokens, cur_sampling_params, current_image_data, state.tokenizer)	                await _run_inference_step(url, sample.tokens, cur_sampling_params, current_image_data, state.tokenizer)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L336	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	{}
occ-000165	examples/geo3k_vlm_multi_turn/rollout.py	examples.geo3k_vlm_multi_turn.rollout	385	385	12	21	generate	instance_candidate	candidates	close	unresolved_receiver_candidate	env.close	            env.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/geo3k_vlm_multi_turn/rollout.py#L385	source_snapshot/examples/geo3k_vlm_multi_turn/rollout.py.txt	"{""receiver"": ""env"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000166	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L1	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-000167	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	3	3	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L3	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 3}"
occ-000168	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	14	86	0	19	<module>	async_def	syntax	generate_response	python_ast	async def generate_response(args, prompt, key):	async def generate_response(args, prompt, key):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L14-L86	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000169	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	37	37	17	41	generate_response	await	syntax	await	python_ast	await post(url, payload)	        output = await post(url, payload)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L37	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000170	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	95	105	4	19	Agent	async_def	syntax	run	python_ast	    async def run(self, args, prompt, max_retries: int = 1, key: str = None) -> str:	    async def run(self, args, prompt, max_retries: int = 1, key: str = None) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L95-L105	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000171	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	99	99	27	73	Agent.run	await	syntax	await	python_ast	await generate_response(args, prompt, key=key)	                response = await generate_response(args, prompt, key=key)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L99	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000172	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	103	103	16	26	Agent.run	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L103	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""access"": ""load""}"
occ-000173	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	114	117	4	72	SolverAgent	async_def	syntax	generate_initial_solution	python_ast	    async def generate_initial_solution(self, args, problem_statement) -> str:	    async def generate_initial_solution(self, args, problem_statement) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L114-L117	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000174	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	117	117	15	72	SolverAgent.generate_initial_solution	await	syntax	await	python_ast	"await self.run(args, prompt, max_retries=3, key=""solver"")"	"        return await self.run(args, prompt, max_retries=3, key=""solver"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L117	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000175	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	126	138	4	74	RewriterAgent	async_def	syntax	rewrite	python_ast	    async def rewrite(self, args, problem_statement, previous_solutions: list[str]) -> str:	    async def rewrite(self, args, problem_statement, previous_solutions: list[str]) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L126-L138	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000176	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	138	138	15	74	RewriterAgent.rewrite	await	syntax	await	python_ast	"await self.run(args, prompt, max_retries=1, key=""rewriter"")"	"        return await self.run(args, prompt, max_retries=1, key=""rewriter"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L138	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000177	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	147	159	4	75	SelectorAgent	async_def	syntax	select	python_ast	    async def select(self, args, problem_statement, candidate_solutions: list[str]) -> str:	    async def select(self, args, problem_statement, candidate_solutions: list[str]) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L147-L159	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000178	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	159	159	15	75	SelectorAgent.select	await	syntax	await	python_ast	"await self.run(args, prompt, max_retries=10, key=""selector"")"	"        return await self.run(args, prompt, max_retries=10, key=""selector"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L159	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000179	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	176	179	0	23	<module>	async_def	syntax	rewrite_worker	python_ast	async def rewrite_worker(args, previous_solutions, problem_statement, worker_id):	async def rewrite_worker(args, previous_solutions, problem_statement, worker_id):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L176-L179	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000180	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	178	178	19	86	rewrite_worker	await	syntax	await	python_ast	await rewriter.rewrite(args, problem_statement, previous_solutions)	    new_solution = await rewriter.rewrite(args, problem_statement, previous_solutions)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L178	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000181	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	182	195	0	19	<module>	async_def	syntax	solver_worker	python_ast	async def solver_worker(args, problem_statement, worker_id):	async def solver_worker(args, problem_statement, worker_id):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L182-L195	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000182	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	189	189	27	90	solver_worker	await	syntax	await	python_ast	await solver.generate_initial_solution(args, problem_statement)	        current_solution = await solver.generate_initial_solution(args, problem_statement)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L189	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000183	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	198	296	0	109	<module>	async_def	syntax	run_agent_system	python_ast	async def run_agent_system(args, sample):	async def run_agent_system(args, sample):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L198-L296	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""async_protocol"": false}"
occ-000184	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	222	222	14	66	run_agent_system	await	syntax	await	python_ast	await asyncio.gather(*tasks, return_exceptions=True)	    results = await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L222	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000185	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	222	222	20	34	run_agent_system	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    results = await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L222	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""access"": ""load""}"
occ-000186	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	224	224	14	71	run_agent_system	await	syntax	await	python_ast	"await batched_async_rm(args, args.results_dict[""solver""])"	"    rewards = await batched_async_rm(args, args.results_dict[""solver""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L224	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000187	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	244	244	29	81	run_agent_system	await	syntax	await	python_ast	await asyncio.gather(*tasks, return_exceptions=True)	    rewrited_solutions_raw = await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L244	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000188	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	244	244	35	49	run_agent_system	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    rewrited_solutions_raw = await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L244	source_snapshot/examples/multi_agent/agent_system.py.txt	"{""access"": ""load""}"
occ-000189	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	252	252	14	73	run_agent_system	await	syntax	await	python_ast	"await batched_async_rm(args, args.results_dict[""rewriter""])"	"    rewards = await batched_async_rm(args, args.results_dict[""rewriter""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L252	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000190	examples/multi_agent/agent_system.py	examples.multi_agent.agent_system	263	263	15	81	run_agent_system	await	syntax	await	python_ast	await selector.select(args, problem_statement, rewrited_solutions)	    response = await selector.select(args, problem_statement, rewrited_solutions)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/agent_system.py#L263	source_snapshot/examples/multi_agent/agent_system.py.txt	{}
occ-000191	examples/multi_agent/rollout_with_multi_agents.py	examples.multi_agent.rollout_with_multi_agents	16	33	0	18	<module>	async_def	syntax	generate_with_multi_agents	python_ast	async def generate_with_multi_agents(args, sample: Sample, sampling_params, evaluation=False) -> list[Sample]:	async def generate_with_multi_agents(args, sample: Sample, sampling_params, evaluation=False) -> list[Sample]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/rollout_with_multi_agents.py#L16-L33	source_snapshot/examples/multi_agent/rollout_with_multi_agents.py.txt	"{""async_protocol"": false}"
occ-000192	examples/multi_agent/rollout_with_multi_agents.py	examples.multi_agent.rollout_with_multi_agents	29	29	14	57	generate_with_multi_agents	await	syntax	await	python_ast	await custom_multi_agent_func(args, sample)	    samples = await custom_multi_agent_func(args, sample)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/multi_agent/rollout_with_multi_agents.py#L29	source_snapshot/examples/multi_agent/rollout_with_multi_agents.py.txt	{}
occ-000193	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	120	120	24	42	postprocess_predictions	instance_candidate	candidates	get	unresolved_receiver_candidate	tool_call_data.get	"            tool_name = tool_call_data.get(""name"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L120	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""receiver"": ""tool_call_data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000194	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	121	121	24	42	postprocess_predictions	instance_candidate	candidates	get	unresolved_receiver_candidate	tool_call_data.get	"            arguments = tool_call_data.get(""arguments"", {})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L121	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""receiver"": ""tool_call_data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000195	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	124	124	23	36	postprocess_predictions	instance_candidate	candidates	get	unresolved_receiver_candidate	arguments.get	"                code = arguments.get(""code"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L124	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""receiver"": ""arguments"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000196	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	183	212	0	25	<module>	async_def	syntax	execute_predictions	python_ast	async def execute_predictions(prediction: str) -> str:	async def execute_predictions(prediction: str) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L183-L212	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""async_protocol"": false}"
occ-000197	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	192	193	12	93	execute_predictions	async_with	syntax	async with	python_ast	            async with SEMAPHORE:	            async with SEMAPHORE:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L192-L193	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""items"": 1}"
occ-000198	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	193	193	25	93	execute_predictions	await	syntax	await	python_ast	"await tool_registry.execute_tool(""code_interpreter"", {""code"": code})"	"                result = await tool_registry.execute_tool(""code_interpreter"", {""code"": code})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L193	source_snapshot/examples/retool/generate_with_retool.py.txt	{}
occ-000199	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	215	404	0	17	<module>	async_def	syntax	generate	python_ast	async def generate(args, sample: Sample, sampling_params) -> Sample:	async def generate(args, sample: Sample, sampling_params) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L215-L404	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""async_protocol"": false}"
occ-000200	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	266	266	12	31	generate	instance_candidate	candidates	get	unresolved_receiver_candidate	sampling_params.get	"            sampling_params.get(""max_new_tokens"", remaining_budget),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L266	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""receiver"": ""sampling_params"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000201	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	299	299	17	41	generate	await	syntax	await	python_ast	await post(url, payload)	        output = await post(url, payload)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L299	source_snapshot/examples/retool/generate_with_retool.py.txt	{}
occ-000202	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	335	335	25	64	generate	await	syntax	await	python_ast	await execute_predictions(cur_response)	        next_obs, done = await execute_predictions(cur_response)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L335	source_snapshot/examples/retool/generate_with_retool.py.txt	{}
occ-000203	examples/retool/generate_with_retool.py	examples.retool.generate_with_retool	407	432	0	17	<module>	async_def	syntax	reward_func	python_ast	async def reward_func(args, sample, **kwargs):	async def reward_func(args, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/generate_with_retool.py#L407-L432	source_snapshot/examples/retool/generate_with_retool.py.txt	"{""async_protocol"": false}"
occ-000204	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	10	10	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L10	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 10}"
occ-000205	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	14	14	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L14	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 14}"
occ-000206	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	38	38	12	29	<module>	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	"SEMAPHORE = asyncio.Semaphore(TOOL_CONFIGS[""tool_concurrency""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L38	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""access"": ""load""}"
occ-000207	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	193	297	4	25	PythonSandbox	async_def	syntax	execute_code	python_ast	    async def execute_code(self, code: str) -> str:	    async def execute_code(self, code: str) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L193-L297	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""async_protocol"": false}"
occ-000208	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	209	209	24	33	PythonSandbox.execute_code	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"        indented_code = ""\n"".join(""    "" + line for line in code.split(""\n""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L209	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000209	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	263	263	16	23	PythonSandbox.execute_code	instance_candidate	candidates	write	unresolved_receiver_candidate	f.write	                f.write(wrapped_code)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L263	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000210	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	267	267	26	42	PythonSandbox.execute_code	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	                process = subprocess.Popen(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L267	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""access"": ""load""}"
occ-000211	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	269	269	27	42	PythonSandbox.execute_code	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	                    stdout=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L269	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""access"": ""load""}"
occ-000212	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	270	270	27	42	PythonSandbox.execute_code	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	                    stderr=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L270	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""access"": ""load""}"
occ-000213	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	278	278	37	56	PythonSandbox.execute_code	instance_candidate	candidates	communicate	inferred_receiver_candidate	process.communicate	                    stdout, stderr = process.communicate(timeout=self.timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L278	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                    [\""python3\"", script_path],\n                    stdout=subprocess.PIPE,\n                    stderr=subprocess.PIPE,\n                    env=env,\n                    cwd=temp_dir,\n                    text=True,\n                )"", ""line"": 267, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-000214	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	285	285	23	48	PythonSandbox.execute_code	api_reference	subprocess	subprocess.TimeoutExpired	lexical_import_resolution	subprocess.TimeoutExpired	                except subprocess.TimeoutExpired:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L285	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""access"": ""load""}"
occ-000215	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	286	286	20	32	PythonSandbox.execute_code	instance_candidate	candidates	kill	inferred_receiver_candidate	process.kill	                    process.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L286	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                    [\""python3\"", script_path],\n                    stdout=subprocess.PIPE,\n                    stderr=subprocess.PIPE,\n                    env=env,\n                    cwd=temp_dir,\n                    text=True,\n                )"", ""line"": 267, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-000216	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	337	346	4	67	ToolRegistry	async_def	syntax	execute_tool	python_ast	    async def execute_tool(self, tool_name: str, arguments: dict[str, Any]) -> str:	    async def execute_tool(self, tool_name: str, arguments: dict[str, Any]) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L337-L346	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""async_protocol"": false}"
occ-000217	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	342	346	8	67	ToolRegistry.execute_tool	async_with	syntax	async with	python_ast	        async with SEMAPHORE:	        async with SEMAPHORE:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L342-L346	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""items"": 1}"
occ-000218	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	344	344	23	60	ToolRegistry.execute_tool	await	syntax	await	python_ast	await self._execute_python(arguments)	                return await self._execute_python(arguments)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L344	source_snapshot/examples/retool/tool_sandbox.py.txt	{}
occ-000219	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	348	356	4	21	ToolRegistry	async_def	syntax	_execute_python	python_ast	    async def _execute_python(self, arguments: dict[str, Any]) -> str:	    async def _execute_python(self, arguments: dict[str, Any]) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L348-L356	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""async_protocol"": false}"
occ-000220	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	350	350	15	28	ToolRegistry._execute_python	instance_candidate	candidates	get	unresolved_receiver_candidate	arguments.get	"        code = arguments.get(""code"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L350	source_snapshot/examples/retool/tool_sandbox.py.txt	"{""receiver"": ""arguments"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000221	examples/retool/tool_sandbox.py	examples.retool.tool_sandbox	355	355	17	61	ToolRegistry._execute_python	await	syntax	await	python_ast	await self.python_sandbox.execute_code(code)	        result = await self.python_sandbox.execute_code(code)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/retool/tool_sandbox.py#L355	source_snapshot/examples/retool/tool_sandbox.py.txt	{}
occ-000222	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	4	4	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L4	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 4}"
occ-000223	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	41	41	12	29	<module>	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	"SEMAPHORE = asyncio.Semaphore(SEARCH_R1_CONFIGS[""search_concurrency""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L41	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""access"": ""load""}"
occ-000224	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	53	53	15	24	_passages2string	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"        text = ""\n"".join(content.split(""\n"")[1:])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L53	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000225	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	59	90	0	35	<module>	async_def	syntax	search	python_ast	async def search(query: str) -> str:	async def search(query: str) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L59-L90	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""async_protocol"": false}"
occ-000226	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	70	75	17	9	search	await	syntax	await	python_ast	"await local_search(
            local_config[""search_url""],
            query,
            SEARCH_R1_CONFIGS[""topk""],
            proxy=local_config[""proxy""],
        )"	        result = await local_search(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L70-L75	source_snapshot/examples/search-r1/generate_with_search.py.txt	{}
occ-000227	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	80	86	17	9	search	await	syntax	await	python_ast	"await google_search(
            google_config[""api_key""],
            query,
            SEARCH_R1_CONFIGS[""topk""],
            snippet_only=google_config[""snippet_only""],
            proxy=google_config[""proxy""],
        )"	        result = await google_search(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L80-L86	source_snapshot/examples/search-r1/generate_with_search.py.txt	{}
occ-000228	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	124	142	0	25	<module>	async_def	syntax	execute_predictions	python_ast	async def execute_predictions(prediction: str) -> str:	async def execute_predictions(prediction: str) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L124-L142	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""async_protocol"": false}"
occ-000229	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	129	130	8	55	execute_predictions	async_with	syntax	async with	python_ast	        async with SEMAPHORE:	        async with SEMAPHORE:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L129-L130	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""items"": 1}"
occ-000230	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	130	130	29	55	execute_predictions	await	syntax	await	python_ast	await search(search_query)	            search_results = await search(search_query)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L130	source_snapshot/examples/search-r1/generate_with_search.py.txt	{}
occ-000231	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	145	274	0	17	<module>	async_def	syntax	generate	python_ast	async def generate(args, sample: Sample, sampling_params) -> Sample:	async def generate(args, sample: Sample, sampling_params) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L145-L274	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""async_protocol"": false}"
occ-000232	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	174	174	21	40	generate	instance_candidate	candidates	get	unresolved_receiver_candidate	sampling_params.get	"    _existing_stop = sampling_params.get(""stop"") or []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L174	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""receiver"": ""sampling_params"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000233	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	188	188	17	41	generate	await	syntax	await	python_ast	await post(url, payload)	        output = await post(url, payload)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L188	source_snapshot/examples/search-r1/generate_with_search.py.txt	{}
occ-000234	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	235	235	25	64	generate	await	syntax	await	python_ast	await execute_predictions(cur_response)	        next_obs, done = await execute_predictions(cur_response)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L235	source_snapshot/examples/search-r1/generate_with_search.py.txt	{}
occ-000235	examples/search-r1/generate_with_search.py	examples.search-r1.generate_with_search	277	293	0	16	<module>	async_def	syntax	reward_func	python_ast	async def reward_func(args, sample, **kwargs):	async def reward_func(args, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/generate_with_search.py#L277-L293	source_snapshot/examples/search-r1/generate_with_search.py.txt	"{""async_protocol"": false}"
occ-000236	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L1	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-000237	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	33	33	20	30	filter_links	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	"        for item in result.get(""items"", []):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L33	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000238	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	42	60	0	21	<module>	async_def	syntax	fetch	python_ast	async def fetch(session: aiohttp.ClientSession, url: str, semaphore: asyncio.Semaphore) -> str:	async def fetch(session: aiohttp.ClientSession, url: str, semaphore: asyncio.Semaphore) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L42-L60	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""async_protocol"": false}"
occ-000239	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	42	42	69	86	<module>	api_reference	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	async def fetch(session: aiohttp.ClientSession, url: str, semaphore: asyncio.Semaphore) -> str:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L42	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""access"": ""load""}"
occ-000240	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	52	60	4	21	fetch	async_with	syntax	async with	python_ast	    async with semaphore:	    async with semaphore:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L52-L60	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""items"": 1}"
occ-000241	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	54	58	12	60	fetch	async_with	syntax	async with	python_ast	            async with session.get(url, headers=headers) as response:	            async with session.get(url, headers=headers) as response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L54-L58	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""items"": 1}"
occ-000242	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	54	54	23	34	fetch	instance_candidate	candidates	get	unresolved_receiver_candidate	session.get	            async with session.get(url, headers=headers) as response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L54	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""session"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000243	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	55	55	22	43	fetch	await	syntax	await	python_ast	await response.read()	                raw = await response.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L55	source_snapshot/examples/search-r1/google_search_server.py.txt	{}
occ-000244	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	55	55	28	41	fetch	instance_candidate	candidates	read	unresolved_receiver_candidate	response.read	                raw = await response.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L55	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""response"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000245	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	59	59	37	57	fetch	api_reference	asyncio	asyncio.TimeoutError	lexical_import_resolution	asyncio.TimeoutError	        except (aiohttp.ClientError, asyncio.TimeoutError):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L59	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""access"": ""load""}"
occ-000246	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	63	70	0	43	<module>	async_def	syntax	fetch_all	python_ast	async def fetch_all(urls: list[str], limit: int = 8) -> list[str]:	async def fetch_all(urls: list[str], limit: int = 8) -> list[str]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L63-L70	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""async_protocol"": false}"
occ-000247	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	64	64	16	33	fetch_all	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	    semaphore = asyncio.Semaphore(limit)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L64	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""access"": ""load""}"
occ-000248	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	68	70	4	43	fetch_all	async_with	syntax	async with	python_ast	    async with aiohttp.ClientSession(timeout=timeout, connector=connector) as session:	    async with aiohttp.ClientSession(timeout=timeout, connector=connector) as session:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L68-L70	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""items"": 1}"
occ-000249	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	70	70	15	43	fetch_all	await	syntax	await	python_ast	await asyncio.gather(*tasks)	        return await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L70	source_snapshot/examples/search-r1/google_search_server.py.txt	{}
occ-000250	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	70	70	21	35	fetch_all	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        return await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L70	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""access"": ""load""}"
occ-000251	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	91	91	11	20	collect_context	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"    return ""\n"".join(ctx_paras)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L91	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000252	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	94	149	0	19	<module>	async_def	syntax	google_search	python_ast	async def google_search(api_key, query, top_k=5, timeout: int = 60, proxy=None, snippet_only=False) -> list[dict]:	async def google_search(api_key, query, top_k=5, timeout: int = 60, proxy=None, snippet_only=False) -> list[dict]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L94-L149	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""async_protocol"": false}"
occ-000253	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	99	116	4	47	google_search	async_with	syntax	async with	python_ast	    async with aiohttp.ClientSession(**session_kwargs) as session:	    async with aiohttp.ClientSession(**session_kwargs) as session:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L99-L116	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""items"": 1}"
occ-000254	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	100	116	8	47	google_search	async_with	syntax	async with	python_ast	        async with session.post(	        async with session.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L100-L116	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""items"": 1}"
occ-000255	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	115	115	23	40	google_search	await	syntax	await	python_ast	await resp.json()	            response = await resp.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L115	source_snapshot/examples/search-r1/google_search_server.py.txt	{}
occ-000256	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	116	116	20	32	google_search	instance_candidate	candidates	get	unresolved_receiver_candidate	response.get	"            items = response.get(""organic"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L116	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""response"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000257	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	121	121	20	28	google_search	instance_candidate	candidates	get	unresolved_receiver_candidate	item.get	"            title = item.get(""title"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L121	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000258	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	122	122	22	30	google_search	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"            context = "" "".join(parse_snippet(item.get(""snippet"", """")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L122	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000259	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	122	122	45	53	google_search	instance_candidate	candidates	get	unresolved_receiver_candidate	item.get	"            context = "" "".join(parse_snippet(item.get(""snippet"", """")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L122	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000260	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	132	132	17	25	google_search.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	item.get	"        links = [item.get(""link"", """") for item in items if ""link"" in item]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L132	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000261	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	133	133	23	45	google_search	await	syntax	await	python_ast	await fetch_all(links)	        web_contents = await fetch_all(links)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L133	source_snapshot/examples/search-r1/google_search_server.py.txt	{}
occ-000262	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	136	136	20	28	google_search	instance_candidate	candidates	get	unresolved_receiver_candidate	item.get	"            title = item.get(""title"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L136	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000263	examples/search-r1/google_search_server.py	examples.search-r1.google_search_server	137	137	22	30	google_search	instance_candidate	candidates	get	unresolved_receiver_candidate	item.get	"            snippet = item.get(""snippet"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/google_search_server.py#L137	source_snapshot/examples/search-r1/google_search_server.py.txt	"{""receiver"": ""item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000264	examples/search-r1/local_search_server.py	examples.search-r1.local_search_server	25	97	0	19	<module>	async_def	syntax	local_search	python_ast	async def local_search(	async def local_search(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/local_search_server.py#L25-L97	source_snapshot/examples/search-r1/local_search_server.py.txt	"{""async_protocol"": false}"
occ-000265	examples/search-r1/local_search_server.py	examples.search-r1.local_search_server	66	69	8	42	local_search	async_with	syntax	async with	python_ast	        async with aiohttp.ClientSession(**session_kwargs) as session:	        async with aiohttp.ClientSession(**session_kwargs) as session:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/local_search_server.py#L66-L69	source_snapshot/examples/search-r1/local_search_server.py.txt	"{""items"": 1}"
occ-000266	examples/search-r1/local_search_server.py	examples.search-r1.local_search_server	67	69	12	42	local_search	async_with	syntax	async with	python_ast	            async with session.post(search_url, json=payload, timeout=timeout_obj) as resp:	            async with session.post(search_url, json=payload, timeout=timeout_obj) as resp:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/local_search_server.py#L67-L69	source_snapshot/examples/search-r1/local_search_server.py.txt	"{""items"": 1}"
occ-000267	examples/search-r1/local_search_server.py	examples.search-r1.local_search_server	69	69	25	42	local_search	await	syntax	await	python_ast	await resp.json()	                result = await resp.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/local_search_server.py#L69	source_snapshot/examples/search-r1/local_search_server.py.txt	{}
occ-000268	examples/search-r1/local_search_server.py	examples.search-r1.local_search_server	76	76	24	34	local_search	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	"    retrieval_results = result.get(""result"", [[]])[0]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/local_search_server.py#L76	source_snapshot/examples/search-r1/local_search_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000269	examples/search-r1/local_search_server.py	examples.search-r1.local_search_server	86	86	22	30	local_search	instance_candidate	candidates	get	unresolved_receiver_candidate	item.get	"            content = item.get(""contents"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/search-r1/local_search_server.py#L86	source_snapshot/examples/search-r1/local_search_server.py.txt	"{""receiver"": ""item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000270	examples/strands_sglang/generate_with_strands.py	examples.strands_sglang.generate_with_strands	41	87	0	17	<module>	async_def	syntax	generate	python_ast	async def generate(args, sample: Sample, sampling_params) -> Sample:	async def generate(args, sample: Sample, sampling_params) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/generate_with_strands.py#L41-L87	source_snapshot/examples/strands_sglang/generate_with_strands.py.txt	"{""async_protocol"": false}"
occ-000271	examples/strands_sglang/generate_with_strands.py	examples.strands_sglang.generate_with_strands	66	66	8	40	generate	await	syntax	await	python_ast	await agent.invoke_async(prompt)	        await agent.invoke_async(prompt)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/generate_with_strands.py#L66	source_snapshot/examples/strands_sglang/generate_with_strands.py.txt	{}
occ-000272	examples/strands_sglang/generate_with_strands.py	examples.strands_sglang.generate_with_strands	85	85	4	15	generate	instance_candidate	candidates	reset	unresolved_receiver_candidate	model.reset	    model.reset()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/generate_with_strands.py#L85	source_snapshot/examples/strands_sglang/generate_with_strands.py.txt	"{""receiver"": ""model"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000273	examples/strands_sglang/generate_with_strands.py	examples.strands_sglang.generate_with_strands	90	108	0	26	<module>	async_def	syntax	reward_func	python_ast	async def reward_func(args, sample: Sample, **kwargs):	async def reward_func(args, sample: Sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/generate_with_strands.py#L90-L108	source_snapshot/examples/strands_sglang/generate_with_strands.py.txt	"{""async_protocol"": false}"
occ-000274	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	27	27	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L27	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 27}"
occ-000275	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	141	141	25	31	SubprocessInterpreter.run_file	instance_candidate	candidates	read	unresolved_receiver_candidate	f.read	                source = f.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L141	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000276	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	228	228	19	35	SubprocessInterpreter.run_file	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	            proc = subprocess.Popen(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L228	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000277	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	230	230	23	38	SubprocessInterpreter.run_file	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	                stdout=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L230	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000278	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	231	231	23	38	SubprocessInterpreter.run_file	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	                stderr=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L231	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000279	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	237	237	29	45	SubprocessInterpreter.run_file	instance_candidate	candidates	communicate	inferred_receiver_candidate	proc.communicate	            stdout, stderr = proc.communicate(timeout=self.execution_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L237	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""proc"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                cmd,\n                stdout=subprocess.PIPE,\n                stderr=subprocess.PIPE,\n                text=True,\n                env=env,\n                shell=False,  # Never use shell=True for security\n            )"", ""line"": 228, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-000280	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	239	239	15	40	SubprocessInterpreter.run_file	api_reference	subprocess	subprocess.TimeoutExpired	lexical_import_resolution	subprocess.TimeoutExpired	        except subprocess.TimeoutExpired:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L239	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000281	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	240	240	12	21	SubprocessInterpreter.run_file	instance_candidate	candidates	kill	inferred_receiver_candidate	proc.kill	            proc.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L240	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""proc"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                cmd,\n                stdout=subprocess.PIPE,\n                stderr=subprocess.PIPE,\n                text=True,\n                env=env,\n                shell=False,  # Never use shell=True for security\n            )"", ""line"": 228, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-000282	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	241	241	29	45	SubprocessInterpreter.run_file	instance_candidate	candidates	communicate	inferred_receiver_candidate	proc.communicate	            stdout, stderr = proc.communicate()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L241	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""proc"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                cmd,\n                stdout=subprocess.PIPE,\n                stderr=subprocess.PIPE,\n                text=True,\n                env=env,\n                shell=False,  # Never use shell=True for security\n            )"", ""line"": 228, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-000283	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	360	360	16	23	SubprocessInterpreter._create_temp_file	instance_candidate	candidates	write	unresolved_receiver_candidate	f.write	                f.write(code)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L360	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000284	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	380	380	19	28	SubprocessInterpreter._check_code_type	instance_candidate	candidates	join	unresolved_receiver_candidate	', '.join	"                f""{', '.join(self._CODE_EXTENSION_MAPPING.keys())}."""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L380	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""', '"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000285	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	416	416	20	41	SubprocessInterpreter._is_command_available	api_call	subprocess	subprocess.check_call	lexical_import_resolution	subprocess.check_call	                    subprocess.check_call(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L416	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000286	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	423	423	19	48	SubprocessInterpreter._is_command_available	api_reference	subprocess	subprocess.CalledProcessError	lexical_import_resolution	subprocess.CalledProcessError	            except subprocess.CalledProcessError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L423	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000287	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	429	429	20	41	SubprocessInterpreter._is_command_available	api_call	subprocess	subprocess.check_call	lexical_import_resolution	subprocess.check_call	                    subprocess.check_call(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L429	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000288	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	436	436	19	48	SubprocessInterpreter._is_command_available	api_reference	subprocess	subprocess.CalledProcessError	lexical_import_resolution	subprocess.CalledProcessError	            except subprocess.CalledProcessError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L436	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000289	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	467	467	19	35	SubprocessInterpreter.execute_command	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	            proc = subprocess.Popen(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L467	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000290	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	469	469	23	38	SubprocessInterpreter.execute_command	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	                stdout=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L469	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000291	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	470	470	23	38	SubprocessInterpreter.execute_command	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	                stderr=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L470	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""access"": ""load""}"
occ-000292	examples/strands_sglang/subprocess_interpreter.py	examples.strands_sglang.subprocess_interpreter	476	476	29	45	SubprocessInterpreter.execute_command	instance_candidate	candidates	communicate	inferred_receiver_candidate	proc.communicate	            stdout, stderr = proc.communicate(timeout=self.execution_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/strands_sglang/subprocess_interpreter.py#L476	source_snapshot/examples/strands_sglang/subprocess_interpreter.py.txt	"{""receiver"": ""proc"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                command,\n                stdout=subprocess.PIPE,\n                stderr=subprocess.PIPE,\n                text=True,\n                env=env,\n                shell=True,  # Use shell=True for command execution\n            )"", ""line"": 467, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-000293	examples/tau-bench/generate_with_tau.py	examples.tau-bench.generate_with_tau	60	60	13	31	res_to_sample	instance_candidate	candidates	get	unresolved_receiver_candidate	status_mapping.get	    status = status_mapping.get(res.status)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/generate_with_tau.py#L60	source_snapshot/examples/tau-bench/generate_with_tau.py.txt	"{""receiver"": ""status_mapping"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000294	examples/tau-bench/generate_with_tau.py	examples.tau-bench.generate_with_tau	100	153	0	24	<module>	async_def	syntax	generate	python_ast	async def generate(args: dict[str, Any], sample: Sample, sampling_params: dict) -> Sample:	async def generate(args: dict[str, Any], sample: Sample, sampling_params: dict) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/generate_with_tau.py#L100-L153	source_snapshot/examples/tau-bench/generate_with_tau.py.txt	"{""async_protocol"": false}"
occ-000295	examples/tau-bench/generate_with_tau.py	examples.tau-bench.generate_with_tau	147	147	25	103	generate	await	syntax	await	python_ast	await agent.asolve(env, agent.rollout_args, agent.sampling_params, task_index)	    interaction_result = await agent.asolve(env, agent.rollout_args, agent.sampling_params, task_index)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/generate_with_tau.py#L147	source_snapshot/examples/tau-bench/generate_with_tau.py.txt	{}
occ-000296	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	91	102	4	39	TrainableAgentMixin	async_def	syntax	_call_llm	python_ast	    async def _call_llm(self, url: str, payload: dict[str, Any]) -> dict[str, Any]:	    async def _call_llm(self, url: str, payload: dict[str, Any]) -> dict[str, Any]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L91-L102	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""async_protocol"": false}"
occ-000297	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	102	102	15	39	TrainableAgentMixin._call_llm	await	syntax	await	python_ast	await post(url, payload)	        return await post(url, payload)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L102	source_snapshot/examples/tau-bench/trainable_agents.py.txt	{}
occ-000298	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	116	127	4	31	TrainableAgentMixin	async_def	syntax	_execute_tool	python_ast	    async def _execute_tool(self, env, action: Action):	    async def _execute_tool(self, env, action: Action):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L116-L127	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""async_protocol"": false}"
occ-000299	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	141	141	28	37	TrainableAgentMixin._initialize_environment	instance_candidate	candidates	reset	unresolved_receiver_candidate	env.reset	            env_reset_res = env.reset(task_index=task_index)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L141	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""receiver"": ""env"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000300	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	143	143	28	37	TrainableAgentMixin._initialize_environment	instance_candidate	candidates	reset	unresolved_receiver_candidate	env.reset	            env_reset_res = env.reset()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L143	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""receiver"": ""env"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000301	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	177	337	4	9	TrainableAgentMixin	async_def	syntax	asolve	python_ast	    async def asolve(	    async def asolve(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L177-L337	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""async_protocol"": false}"
occ-000302	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	232	232	21	55	TrainableAgentMixin.asolve	await	syntax	await	python_ast	await self._call_llm(url, payload)	            output = await self._call_llm(url, payload)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L232	source_snapshot/examples/tau-bench/trainable_agents.py.txt	{}
occ-000303	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	293	293	31	68	TrainableAgentMixin.asolve	await	syntax	await	python_ast	await self._execute_tool(env, action)	                env_response = await self._execute_tool(env, action)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L293	source_snapshot/examples/tau-bench/trainable_agents.py.txt	{}
occ-000304	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	397	397	23	30	TrainableAgentMixin._build_final_result	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"        res.response = """".join([msg.get(""content"", """") for msg in messages if msg[""role""] == ""assistant""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L397	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000305	examples/tau-bench/trainable_agents.py	examples.tau-bench.trainable_agents	397	397	32	39	TrainableAgentMixin._build_final_result.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"        res.response = """".join([msg.get(""content"", """") for msg in messages if msg[""role""] == ""assistant""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/examples/tau-bench/trainable_agents.py#L397	source_snapshot/examples/tau-bench/trainable_agents.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000306	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	59	59	41	49	AnthropicAdapter._translate	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        translated = _translate_messages(body.get(""messages"") or [], body.get(""system""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L59	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000307	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	59	59	69	77	AnthropicAdapter._translate	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        translated = _translate_messages(body.get(""messages"") or [], body.get(""system""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L59	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000308	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	60	60	44	52	AnthropicAdapter._translate	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        tools_schema = _tools_to_chat_tools(body.get(""tools""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L60	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000309	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	71	75	4	94	AnthropicAdapter	async_def	syntax	_respond	python_ast	    async def _respond(self, request, body, reply, in_tok, out_tok, stream) -> web.StreamResponse:	    async def _respond(self, request, body, reply, in_tok, out_tok, stream) -> web.StreamResponse:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L71-L75	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""async_protocol"": false}"
occ-000310	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	74	74	19	86	AnthropicAdapter._respond	await	syntax	await	python_ast	await _render_stream(request, blocks, stop_reason, in_tok, out_tok)	            return await _render_stream(request, blocks, stop_reason, in_tok, out_tok)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L74	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000311	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	89	89	24	29	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"        role, content = m.get(""role""), m.get(""content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L89	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000312	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	89	89	39	44	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"        role, content = m.get(""role""), m.get(""content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L89	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000313	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	93	93	43	48	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                if isinstance(b, dict) and b.get(""type"") == ""tool_result"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L93	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000314	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	94	94	82	87	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    translated.append({""role"": ""tool"", ""content"": flatten_content(b.get(""content""))})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L94	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000315	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	95	95	45	50	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                elif isinstance(b, dict) and b.get(""type"") == ""text"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L95	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000316	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	96	96	66	71	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    translated.append({""role"": ""user"", ""content"": b.get(""text"", """")})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L96	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000317	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	105	105	19	24	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                if b.get(""type"") == ""text"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L105	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000318	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	106	106	33	38	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    texts.append(b.get(""text"", """"))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L106	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000319	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	107	107	21	26	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                elif b.get(""type"") == ""thinking"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L107	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000320	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	108	108	37	42	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    thinkings.append(b.get(""thinking"", """"))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L108	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000321	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	109	109	21	26	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                elif b.get(""type"") == ""tool_use"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L109	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000322	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	111	111	46	51	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    tcs.append(tool_call_dict(b.get(""name"", ""tool""), b.get(""input"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L111	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000323	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	111	111	69	74	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    tcs.append(tool_call_dict(b.get(""name"", ""tool""), b.get(""input"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L111	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000324	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	112	112	66	73	_translate_messages	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"            mo: dict[str, Any] = {""role"": ""assistant"", ""content"": """".join(texts)}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L112	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000325	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	114	114	42	49	_translate_messages	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"                mo[""reasoning_content""] = """".join(thinkings)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L114	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000326	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	136	136	35	40	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	t.get	"                    ""description"": t.get(""description"", """"),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L136	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000327	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	137	137	34	39	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	t.get	"                    ""parameters"": t.get(""input_schema"") or t.get(""parameters"") or {""type"": ""object"", ""properties"": {}},"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L137	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000328	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	137	137	59	64	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	t.get	"                    ""parameters"": t.get(""input_schema"") or t.get(""parameters"") or {""type"": ""object"", ""properties"": {}},"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L137	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000329	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	168	168	54	60	_build_reply_parts	instance_candidate	candidates	get	unresolved_receiver_candidate	tu.get	"        manager_tcs.append(tool_call_dict(tu[""name""], tu.get(""input"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L168	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""tu"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000330	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	195	195	40	59	_request_session_id	instance_candidate	candidates	get	unresolved_receiver_candidate	request.headers.get	"    return sid_from_bearer(request) or (request.headers.get(""X-Api-Key"") or """").strip() or ""default"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L195	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""request.headers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000331	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	203	203	17	25	_render_response	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        ""model"": body.get(""model"", ""slime-actor""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L203	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000332	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	211	274	0	14	<module>	async_def	syntax	_render_stream	python_ast	async def _render_stream(request, blocks, stop_reason, in_tok, out_tok) -> web.StreamResponse:	async def _render_stream(request, blocks, stop_reason, in_tok, out_tok) -> web.StreamResponse:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L211-L274	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""async_protocol"": false}"
occ-000333	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	223	223	4	30	_render_stream	await	syntax	await	python_ast	await out.prepare(request)	    await out.prepare(request)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L223	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000334	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	238	238	4	106	_render_stream	await	syntax	await	python_ast	"await out.write(f""event: message_start\ndata: {json.dumps(ms_data, ensure_ascii=False)}\n\n"".encode())"	"    await out.write(f""event: message_start\ndata: {json.dumps(ms_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L238	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000335	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	238	238	10	19	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"    await out.write(f""event: message_start\ndata: {json.dumps(ms_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L238	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000336	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	256	256	8	117	_render_stream	await	syntax	await	python_ast	"await out.write(f""event: content_block_start\ndata: {json.dumps(cbs_data, ensure_ascii=False)}\n\n"".encode())"	"        await out.write(f""event: content_block_start\ndata: {json.dumps(cbs_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L256	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000337	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	256	256	14	23	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"        await out.write(f""event: content_block_start\ndata: {json.dumps(cbs_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L256	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000338	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	259	259	8	117	_render_stream	await	syntax	await	python_ast	"await out.write(f""event: content_block_delta\ndata: {json.dumps(cbd_data, ensure_ascii=False)}\n\n"".encode())"	"        await out.write(f""event: content_block_delta\ndata: {json.dumps(cbd_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L259	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000339	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	259	259	14	23	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"        await out.write(f""event: content_block_delta\ndata: {json.dumps(cbd_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L259	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000340	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	262	262	8	116	_render_stream	await	syntax	await	python_ast	"await out.write(f""event: content_block_stop\ndata: {json.dumps(cbe_data, ensure_ascii=False)}\n\n"".encode())"	"        await out.write(f""event: content_block_stop\ndata: {json.dumps(cbe_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L262	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000341	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	262	262	14	23	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"        await out.write(f""event: content_block_stop\ndata: {json.dumps(cbe_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L262	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000342	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	269	269	4	106	_render_stream	await	syntax	await	python_ast	"await out.write(f""event: message_delta\ndata: {json.dumps(md_data, ensure_ascii=False)}\n\n"".encode())"	"    await out.write(f""event: message_delta\ndata: {json.dumps(md_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L269	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000343	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	269	269	10	19	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"    await out.write(f""event: message_delta\ndata: {json.dumps(md_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L269	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000344	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	272	272	4	106	_render_stream	await	syntax	await	python_ast	"await out.write(f""event: message_stop\ndata: {json.dumps(mst_data, ensure_ascii=False)}\n\n"".encode())"	"    await out.write(f""event: message_stop\ndata: {json.dumps(mst_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L272	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000345	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	272	272	10	19	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"    await out.write(f""event: message_stop\ndata: {json.dumps(mst_data, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L272	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000346	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	279	281	0	49	<module>	async_def	syntax	_count_tokens	python_ast	async def _count_tokens(request: web.Request) -> web.Response:	async def _count_tokens(request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L279-L281	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""async_protocol"": false}"
occ-000347	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	280	280	4	24	_count_tokens	await	syntax	await	python_ast	await request.read()	    await request.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L280	source_snapshot/slime/agent/adapters/anthropic.py.txt	{}
occ-000348	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	280	280	10	22	_count_tokens	instance_candidate	candidates	read	unresolved_receiver_candidate	request.read	    await request.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L280	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""request"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000349	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	301	301	11	23	_fold_mid_list_system_into_user	instance_candidate	candidates	get	unresolved_receiver_candidate	body_obj.get	"    msgs = body_obj.get(""messages"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L301	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""body_obj"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000350	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	305	305	75	80	_fold_mid_list_system_into_user.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"    system_idx = [i for i, m in enumerate(msgs) if isinstance(m, dict) and m.get(""role"") == ""system"" and i > 0]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L305	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000351	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	310	310	12	19	_fold_mid_list_system_into_user._promote_to_list	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"        c = msg.get(""content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L310	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000352	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	326	326	40	51	_fold_mid_list_system_into_user	instance_candidate	candidates	get	unresolved_receiver_candidate	sys_msg.get	"        wrapped = _wrap(flatten_content(sys_msg.get(""content"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L326	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""sys_msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000353	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	330	330	42	50	_fold_mid_list_system_into_user	instance_candidate	candidates	get	unresolved_receiver_candidate	cand.get	"            if isinstance(cand, dict) and cand.get(""role"") == ""user"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L330	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""cand"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000354	slime/agent/adapters/anthropic.py	slime.agent.adapters.anthropic	337	337	46	54	_fold_mid_list_system_into_user	instance_candidate	candidates	get	unresolved_receiver_candidate	cand.get	"                if isinstance(cand, dict) and cand.get(""role"") == ""user"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/anthropic.py#L337	source_snapshot/slime/agent/adapters/anthropic.py.txt	"{""receiver"": ""cand"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000355	slime/agent/adapters/common.py	slime.agent.adapters.common	15	15	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L15	source_snapshot/slime/agent/adapters/common.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 15}"
occ-000356	slime/agent/adapters/common.py	slime.agent.adapters.common	96	96	12	17	flatten_content	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"        t = b.get(""type"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L96	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000357	slime/agent/adapters/common.py	slime.agent.adapters.common	98	98	25	30	flatten_content	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"            parts.append(b.get(""text"", """"))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L98	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000358	slime/agent/adapters/common.py	slime.agent.adapters.common	100	100	41	46	flatten_content	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"            parts.append(flatten_content(b.get(""content"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L100	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000359	slime/agent/adapters/common.py	slime.agent.adapters.common	104	104	41	46	flatten_content	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"            parts.append(flatten_content(b.get(""content"")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L104	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000360	slime/agent/adapters/common.py	slime.agent.adapters.common	106	106	29	34	flatten_content	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"            parts.append(str(b.get(""text"") or """"))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L106	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000361	slime/agent/adapters/common.py	slime.agent.adapters.common	107	107	11	20	flatten_content	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"    return ""\n"".join(p for p in parts if p)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L107	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000362	slime/agent/adapters/common.py	slime.agent.adapters.common	157	157	37	49	BaseAdapter.__init__	api_reference	asyncio	asyncio.Task	lexical_import_resolution	asyncio.Task	        self.inflight: dict[str, set[asyncio.Task]] = {}	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L157	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000363	slime/agent/adapters/common.py	slime.agent.adapters.common	197	206	4	33	BaseAdapter	async_def	syntax	_respond	python_ast	    async def _respond(	    async def _respond(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L197-L206	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000364	slime/agent/adapters/common.py	slime.agent.adapters.common	225	243	4	92	BaseAdapter	async_def	syntax	shutdown_session	python_ast	    async def shutdown_session(self, sid: str, *, wait_timeout: float = 5.0) -> None:	    async def shutdown_session(self, sid: str, *, wait_timeout: float = 5.0) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L225-L243	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000365	slime/agent/adapters/common.py	slime.agent.adapters.common	228	228	62	68	BaseAdapter.shutdown_session.<comprehension>	instance_candidate	candidates	done	unresolved_receiver_candidate	t.done	        tasks = [t for t in self.inflight.pop(sid, ()) if not t.done()]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L228	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000366	slime/agent/adapters/common.py	slime.agent.adapters.common	232	237	8	70	BaseAdapter.shutdown_session	async_def	syntax	_drain	python_ast	        async def _drain() -> None:	        async def _drain() -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L232-L237	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000367	slime/agent/adapters/common.py	slime.agent.adapters.common	233	233	25	72	BaseAdapter.shutdown_session._drain	await	syntax	await	python_ast	await asyncio.wait(tasks, timeout=wait_timeout)	            _, pending = await asyncio.wait(tasks, timeout=wait_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L233	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000368	slime/agent/adapters/common.py	slime.agent.adapters.common	233	233	31	43	BaseAdapter.shutdown_session._drain	api_call	asyncio	asyncio.wait	lexical_import_resolution	asyncio.wait	            _, pending = await asyncio.wait(tasks, timeout=wait_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L233	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000369	slime/agent/adapters/common.py	slime.agent.adapters.common	235	235	16	27	BaseAdapter.shutdown_session._drain	instance_candidate	candidates	cancel	unresolved_receiver_candidate	task.cancel	                task.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L235	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000370	slime/agent/adapters/common.py	slime.agent.adapters.common	237	237	16	70	BaseAdapter.shutdown_session._drain	await	syntax	await	python_ast	await asyncio.gather(*pending, return_exceptions=True)	                await asyncio.gather(*pending, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L237	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000371	slime/agent/adapters/common.py	slime.agent.adapters.common	237	237	22	36	BaseAdapter.shutdown_session._drain	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	                await asyncio.gather(*pending, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L237	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000372	slime/agent/adapters/common.py	slime.agent.adapters.common	239	239	15	32	BaseAdapter.shutdown_session	instance_candidate	candidates	get_loop	unresolved_receiver_candidate	tasks[0].get_loop	        loop = tasks[0].get_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L239	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""tasks[0]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000373	slime/agent/adapters/common.py	slime.agent.adapters.common	241	241	12	87	BaseAdapter.shutdown_session	await	syntax	await	python_ast	await asyncio.wrap_future(asyncio.run_coroutine_threadsafe(_drain(), loop))	            await asyncio.wrap_future(asyncio.run_coroutine_threadsafe(_drain(), loop))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L241	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000374	slime/agent/adapters/common.py	slime.agent.adapters.common	241	241	18	37	BaseAdapter.shutdown_session	api_call	asyncio	asyncio.wrap_future	lexical_import_resolution	asyncio.wrap_future	            await asyncio.wrap_future(asyncio.run_coroutine_threadsafe(_drain(), loop))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L241	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000375	slime/agent/adapters/common.py	slime.agent.adapters.common	241	241	38	70	BaseAdapter.shutdown_session	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	            await asyncio.wrap_future(asyncio.run_coroutine_threadsafe(_drain(), loop))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L241	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000376	slime/agent/adapters/common.py	slime.agent.adapters.common	243	243	12	33	BaseAdapter.shutdown_session	instance_candidate	candidates	exception	unresolved_receiver_candidate	self.logger.exception	"            self.logger.exception(""[%s] sid=%s shutdown drain failed"", self.log_prefix, sid)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L243	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""self.logger"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000377	slime/agent/adapters/common.py	slime.agent.adapters.common	245	276	4	22	BaseAdapter	async_def	syntax	finish_session	python_ast	    async def finish_session(	    async def finish_session(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L245-L276	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000378	slime/agent/adapters/common.py	slime.agent.adapters.common	261	261	8	67	BaseAdapter.finish_session	await	syntax	await	python_ast	await self.shutdown_session(sid, wait_timeout=wait_timeout)	        await self.shutdown_session(sid, wait_timeout=wait_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L261	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000379	slime/agent/adapters/common.py	slime.agent.adapters.common	278	281	4	38	BaseAdapter	async_def	syntax	drop_session	python_ast	    async def drop_session(self, sid: str, *, wait_timeout: float = 5.0) -> None:	    async def drop_session(self, sid: str, *, wait_timeout: float = 5.0) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L278-L281	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000380	slime/agent/adapters/common.py	slime.agent.adapters.common	279	279	8	67	BaseAdapter.drop_session	await	syntax	await	python_ast	await self.shutdown_session(sid, wait_timeout=wait_timeout)	        await self.shutdown_session(sid, wait_timeout=wait_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L279	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000381	slime/agent/adapters/common.py	slime.agent.adapters.common	293	293	16	40	BaseAdapter._check_turn_cap	instance_candidate	candidates	get	unresolved_receiver_candidate	self._sid_turn_count.get	        prior = self._sid_turn_count.get(sid, 0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L293	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""self._sid_turn_count"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000382	slime/agent/adapters/common.py	slime.agent.adapters.common	316	316	12	33	BaseAdapter._run_debug_callback	instance_candidate	candidates	exception	unresolved_receiver_candidate	self.logger.exception	"            self.logger.exception(""debug_callback failed (sid=%s)"", sid)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L316	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""self.logger"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000383	slime/agent/adapters/common.py	slime.agent.adapters.common	318	393	4	55	BaseAdapter	async_def	syntax	_run_turn	python_ast	    async def _run_turn(self, request: web.Request) -> web.StreamResponse:	    async def _run_turn(self, request: web.Request) -> web.StreamResponse:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L318-L393	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000384	slime/agent/adapters/common.py	slime.agent.adapters.common	325	325	15	35	BaseAdapter._run_turn	await	syntax	await	python_ast	await request.json()	        body = await request.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L325	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000385	slime/agent/adapters/common.py	slime.agent.adapters.common	337	337	15	35	BaseAdapter._run_turn	api_call	asyncio	asyncio.current_task	lexical_import_resolution	asyncio.current_task	        task = asyncio.current_task()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L337	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000386	slime/agent/adapters/common.py	slime.agent.adapters.common	344	344	19	96	BaseAdapter._run_turn	await	syntax	await	python_ast	await call_sglang_generate(prompt_ids, s, body, adapter=self, session_id=sid)	            turn = await call_sglang_generate(prompt_ids, s, body, adapter=self, session_id=sid)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L344	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000387	slime/agent/adapters/common.py	slime.agent.adapters.common	357	357	21	29	BaseAdapter._run_turn	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"            stream = body.get(""stream"") is True or ""text/event-stream"" in request.headers.get(""Accept"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L357	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000388	slime/agent/adapters/common.py	slime.agent.adapters.common	357	357	74	93	BaseAdapter._run_turn	instance_candidate	candidates	get	unresolved_receiver_candidate	request.headers.get	"            stream = body.get(""stream"") is True or ""text/event-stream"" in request.headers.get(""Accept"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L357	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""request.headers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000389	slime/agent/adapters/common.py	slime.agent.adapters.common	363	363	27	93	BaseAdapter._run_turn	await	syntax	await	python_ast	await self._respond(request, body, reply, in_tok, out_tok, stream)	                response = await self._respond(request, body, reply, in_tok, out_tok, stream)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L363	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000390	slime/agent/adapters/common.py	slime.agent.adapters.common	364	364	42	64	BaseAdapter._run_turn	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	            except (ConnectionResetError, asyncio.CancelledError) as e:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L364	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000391	slime/agent/adapters/common.py	slime.agent.adapters.common	372	372	33	55	BaseAdapter._run_turn	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	                if isinstance(e, asyncio.CancelledError):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L372	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000392	slime/agent/adapters/common.py	slime.agent.adapters.common	393	393	12	29	BaseAdapter._run_turn	instance_candidate	candidates	get	unresolved_receiver_candidate	self.inflight.get	            self.inflight.get(sid, set()).discard(task)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L393	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""self.inflight"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000393	slime/agent/adapters/common.py	slime.agent.adapters.common	398	398	11	30	sid_from_bearer	instance_candidate	candidates	get	unresolved_receiver_candidate	request.headers.get	"    auth = request.headers.get(""Authorization"", """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L398	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""request.headers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000394	slime/agent/adapters/common.py	slime.agent.adapters.common	408	408	15	23	sid_from_body	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"    metadata = body.get(""metadata"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L408	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000395	slime/agent/adapters/common.py	slime.agent.adapters.common	409	409	38	50	sid_from_body	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"    if isinstance(metadata, dict) and metadata.get(""session_id""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L409	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000396	slime/agent/adapters/common.py	slime.agent.adapters.common	411	411	7	15	sid_from_body	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"    if body.get(""user""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L411	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000397	slime/agent/adapters/common.py	slime.agent.adapters.common	426	426	11	19	_sampling_params	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	        if body.get(key) is not None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L426	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000398	slime/agent/adapters/common.py	slime.agent.adapters.common	427	427	43	49	_sampling_params	instance_candidate	candidates	get	unresolved_receiver_candidate	sp.get	"            sp[""max_new_tokens""] = min(int(sp.get(""max_new_tokens"", body[key])), int(body[key]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L427	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""sp"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000399	slime/agent/adapters/common.py	slime.agent.adapters.common	435	435	11	19	_sampling_params	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	        if body.get(key):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L435	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000400	slime/agent/adapters/common.py	slime.agent.adapters.common	442	514	0	5	<module>	async_def	syntax	call_sglang_generate	python_ast	async def call_sglang_generate(	async def call_sglang_generate(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L442-L514	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000401	slime/agent/adapters/common.py	slime.agent.adapters.common	468	468	39	45	call_sglang_generate	instance_candidate	candidates	get	unresolved_receiver_candidate	sp.get	"        sp[""max_new_tokens""] = min(int(sp.get(""max_new_tokens"", remaining_context)), remaining_context)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L468	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""sp"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000402	slime/agent/adapters/common.py	slime.agent.adapters.common	475	496	8	50	call_sglang_generate	async_with	syntax	async with	python_ast	        async with aiohttp.ClientSession(timeout=timeout) as sess, sess.post(	        async with aiohttp.ClientSession(timeout=timeout) as sess, sess.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L475-L496	source_snapshot/slime/agent/adapters/common.py.txt	"{""items"": 2}"
occ-000403	slime/agent/adapters/common.py	slime.agent.adapters.common	486	486	23	37	call_sglang_generate	await	syntax	await	python_ast	await r.text()	                text = await r.text()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L486	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000404	slime/agent/adapters/common.py	slime.agent.adapters.common	496	496	19	50	call_sglang_generate	await	syntax	await	python_ast	await r.json(content_type=None)	            data = await r.json(content_type=None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L496	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000405	slime/agent/adapters/common.py	slime.agent.adapters.common	497	497	15	23	call_sglang_generate	instance_candidate	candidates	get	unresolved_receiver_candidate	data.get	"        meta = data.get(""meta_info"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L497	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000406	slime/agent/adapters/common.py	slime.agent.adapters.common	498	498	32	40	call_sglang_generate	instance_candidate	candidates	get	unresolved_receiver_candidate	meta.get	"        output_token_logprobs = meta.get(""output_token_logprobs"") or []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L498	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""meta"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000407	slime/agent/adapters/common.py	slime.agent.adapters.common	501	501	17	54	call_sglang_generate	instance_candidate	candidates	get	unresolved_receiver_candidate	"(meta.get(""finish_reason"") or {}).get"	"        finish = (meta.get(""finish_reason"") or {}).get(""type"", ""stop"") or ""stop"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L501	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""meta.get(\""finish_reason\"") or {}"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000408	slime/agent/adapters/common.py	slime.agent.adapters.common	501	501	18	26	call_sglang_generate	instance_candidate	candidates	get	unresolved_receiver_candidate	meta.get	"        finish = (meta.get(""finish_reason"") or {}).get(""type"", ""stop"") or ""stop"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L501	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""meta"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000409	slime/agent/adapters/common.py	slime.agent.adapters.common	502	502	12	34	call_sglang_generate	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	    except (asyncio.CancelledError, aiohttp.ClientError, asyncio.TimeoutError) as e:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L502	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000410	slime/agent/adapters/common.py	slime.agent.adapters.common	502	502	57	77	call_sglang_generate	api_reference	asyncio	asyncio.TimeoutError	lexical_import_resolution	asyncio.TimeoutError	    except (asyncio.CancelledError, aiohttp.ClientError, asyncio.TimeoutError) as e:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L502	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000411	slime/agent/adapters/common.py	slime.agent.adapters.common	506	506	8	60	call_sglang_generate	await	syntax	await	python_ast	await _abort_sglang_request(sglang_url, rid, logger)	        await _abort_sglang_request(sglang_url, rid, logger)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L506	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000412	slime/agent/adapters/common.py	slime.agent.adapters.common	517	554	0	9	<module>	async_def	syntax	_abort_sglang_request	python_ast	async def _abort_sglang_request(sglang_url: str, rid: str, logger: logging.Logger) -> None:	async def _abort_sglang_request(sglang_url: str, rid: str, logger: logging.Logger) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L517-L554	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000413	slime/agent/adapters/common.py	slime.agent.adapters.common	521	547	8	77	_abort_sglang_request	async_with	syntax	async with	python_ast	        async with aiohttp.ClientSession(timeout=timeout) as session:	        async with aiohttp.ClientSession(timeout=timeout) as session:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L521-L547	source_snapshot/slime/agent/adapters/common.py.txt	"{""items"": 1}"
occ-000414	slime/agent/adapters/common.py	slime.agent.adapters.common	523	528	12	24	_abort_sglang_request	async_def	syntax	abort_worker	python_ast	            async def abort_worker(url: str) -> None:	            async def abort_worker(url: str) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L523-L528	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000415	slime/agent/adapters/common.py	slime.agent.adapters.common	525	526	20	28	_abort_sglang_request.abort_worker	async_with	syntax	async with	python_ast	"                    async with session.post(f""{url}/abort_request"", json={""rid"": rid}):"	"                    async with session.post(f""{url}/abort_request"", json={""rid"": rid}):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L525-L526	source_snapshot/slime/agent/adapters/common.py.txt	"{""items"": 1}"
occ-000416	slime/agent/adapters/common.py	slime.agent.adapters.common	530	535	12	47	_abort_sglang_request	async_with	syntax	async with	python_ast	"            async with session.get(f""{sglang_url}/workers"") as response:"	"            async with session.get(f""{sglang_url}/workers"") as response:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L530-L535	source_snapshot/slime/agent/adapters/common.py.txt	"{""items"": 1}"
occ-000417	slime/agent/adapters/common.py	slime.agent.adapters.common	530	530	23	34	_abort_sglang_request	instance_candidate	candidates	get	unresolved_receiver_candidate	session.get	"            async with session.get(f""{sglang_url}/workers"") as response:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L530	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""session"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000418	slime/agent/adapters/common.py	slime.agent.adapters.common	532	532	20	50	_abort_sglang_request	await	syntax	await	python_ast	await abort_worker(sglang_url)	                    await abort_worker(sglang_url)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L532	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000419	slime/agent/adapters/common.py	slime.agent.adapters.common	535	535	26	47	_abort_sglang_request	await	syntax	await	python_ast	await response.json()	                payload = await response.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L535	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000420	slime/agent/adapters/common.py	slime.agent.adapters.common	543	543	30	41	_abort_sglang_request	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"                for worker in payload.get(""workers"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L543	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000421	slime/agent/adapters/common.py	slime.agent.adapters.common	544	544	59	69	_abort_sglang_request.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	worker.get	"                if isinstance(worker, dict) and isinstance(worker.get(""url""), str) and worker[""url""]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L544	source_snapshot/slime/agent/adapters/common.py.txt	"{""receiver"": ""worker"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000422	slime/agent/adapters/common.py	slime.agent.adapters.common	547	547	12	77	_abort_sglang_request	await	syntax	await	python_ast	await asyncio.gather(*(abort_worker(url) for url in worker_urls))	            await asyncio.gather(*(abort_worker(url) for url in worker_urls))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L547	source_snapshot/slime/agent/adapters/common.py.txt	{}
occ-000423	slime/agent/adapters/common.py	slime.agent.adapters.common	547	547	18	32	_abort_sglang_request	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(*(abort_worker(url) for url in worker_urls))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L547	source_snapshot/slime/agent/adapters/common.py.txt	"{""access"": ""load""}"
occ-000424	slime/agent/adapters/common.py	slime.agent.adapters.common	557	559	0	42	<module>	async_def	syntax	_health	python_ast	async def _health(request: web.Request) -> web.Response:	async def _health(request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/common.py#L557-L559	source_snapshot/slime/agent/adapters/common.py.txt	"{""async_protocol"": false}"
occ-000425	slime/agent/adapters/openai.py	slime.agent.adapters.openai	54	54	19	27	OpenAIAdapter._translate	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        messages = body.get(""messages"") or []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L54	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000426	slime/agent/adapters/openai.py	slime.agent.adapters.openai	58	58	44	52	OpenAIAdapter._translate	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        tools_schema = _tools_to_chat_tools(body.get(""tools""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L58	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000427	slime/agent/adapters/openai.py	slime.agent.adapters.openai	69	73	4	100	OpenAIAdapter	async_def	syntax	_respond	python_ast	    async def _respond(self, request, body, reply, in_tok, out_tok, stream) -> web.StreamResponse:	    async def _respond(self, request, body, reply, in_tok, out_tok, stream) -> web.StreamResponse:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L69-L73	source_snapshot/slime/agent/adapters/openai.py.txt	"{""async_protocol"": false}"
occ-000428	slime/agent/adapters/openai.py	slime.agent.adapters.openai	72	72	19	98	OpenAIAdapter._respond	await	syntax	await	python_ast	await _render_stream(request, body, wire_message, wire_finish, in_tok, out_tok)	            return await _render_stream(request, body, wire_message, wire_finish, in_tok, out_tok)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L72	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000429	slime/agent/adapters/openai.py	slime.agent.adapters.openai	120	120	15	22	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"        role = msg.get(""role"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L120	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000430	slime/agent/adapters/openai.py	slime.agent.adapters.openai	121	121	18	25	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"        content = msg.get(""content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L121	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000431	slime/agent/adapters/openai.py	slime.agent.adapters.openai	135	135	24	31	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"            reasoning = msg.get(""reasoning_content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L135	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000432	slime/agent/adapters/openai.py	slime.agent.adapters.openai	138	138	25	32	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"            tool_calls = msg.get(""tool_calls"") or []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L138	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000433	slime/agent/adapters/openai.py	slime.agent.adapters.openai	143	143	27	35	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	call.get	"                function = call.get(""function"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L143	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""call"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000434	slime/agent/adapters/openai.py	slime.agent.adapters.openai	144	144	23	35	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	function.get	"                name = function.get(""name"") or call.get(""name"") or ""tool"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L144	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""function"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000435	slime/agent/adapters/openai.py	slime.agent.adapters.openai	144	144	47	55	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	call.get	"                name = function.get(""name"") or call.get(""name"") or ""tool"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L144	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""call"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000436	slime/agent/adapters/openai.py	slime.agent.adapters.openai	145	145	28	40	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	function.get	"                arguments = function.get(""arguments"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L145	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""function"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000437	slime/agent/adapters/openai.py	slime.agent.adapters.openai	147	147	32	40	_translate_messages	instance_candidate	candidates	get	unresolved_receiver_candidate	call.get	"                    arguments = call.get(""arguments"", {})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L147	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""call"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000438	slime/agent/adapters/openai.py	slime.agent.adapters.openai	174	174	11	19	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"        if tool.get(""type"") and tool.get(""type"") != ""function"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L174	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000439	slime/agent/adapters/openai.py	slime.agent.adapters.openai	174	174	32	40	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"        if tool.get(""type"") and tool.get(""type"") != ""function"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L174	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000440	slime/agent/adapters/openai.py	slime.agent.adapters.openai	176	176	19	27	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"        function = tool.get(""function"") if isinstance(tool.get(""function""), dict) else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L176	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000441	slime/agent/adapters/openai.py	slime.agent.adapters.openai	176	176	54	62	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"        function = tool.get(""function"") if isinstance(tool.get(""function""), dict) else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L176	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000442	slime/agent/adapters/openai.py	slime.agent.adapters.openai	178	178	19	31	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	function.get	"            name = function.get(""name"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L178	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""function"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000443	slime/agent/adapters/openai.py	slime.agent.adapters.openai	186	186	39	51	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	function.get	"                        ""description"": function.get(""description"", """"),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L186	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""function"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000444	slime/agent/adapters/openai.py	slime.agent.adapters.openai	187	187	38	50	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	function.get	"                        ""parameters"": function.get(""parameters"") or {""type"": ""object"", ""properties"": {}},"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L187	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""function"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000445	slime/agent/adapters/openai.py	slime.agent.adapters.openai	192	192	19	27	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"            name = tool.get(""name"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L192	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000446	slime/agent/adapters/openai.py	slime.agent.adapters.openai	200	200	39	47	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"                        ""description"": tool.get(""description"", """"),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L200	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000447	slime/agent/adapters/openai.py	slime.agent.adapters.openai	201	201	38	46	_tools_to_chat_tools	instance_candidate	candidates	get	unresolved_receiver_candidate	tool.get	"                        ""parameters"": tool.get(""parameters"") or {""type"": ""object"", ""properties"": {}},"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L201	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tool"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000448	slime/agent/adapters/openai.py	slime.agent.adapters.openai	225	225	15	21	_build_reply_parts	instance_candidate	candidates	get	unresolved_receiver_candidate	tu.get	"        name = tu.get(""name"", ""tool"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L225	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tu"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000449	slime/agent/adapters/openai.py	slime.agent.adapters.openai	226	226	20	26	_build_reply_parts	instance_candidate	candidates	get	unresolved_receiver_candidate	tu.get	"        args_dict = tu.get(""input"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L226	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""tu"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000450	slime/agent/adapters/openai.py	slime.agent.adapters.openai	312	312	17	25	_render_response	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"        ""model"": body.get(""model"", ""slime-actor""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L312	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000451	slime/agent/adapters/openai.py	slime.agent.adapters.openai	324	378	0	14	<module>	async_def	syntax	_render_stream	python_ast	async def _render_stream(	async def _render_stream(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L324-L378	source_snapshot/slime/agent/adapters/openai.py.txt	"{""async_protocol"": false}"
occ-000452	slime/agent/adapters/openai.py	slime.agent.adapters.openai	347	347	4	30	_render_stream	await	syntax	await	python_ast	await out.prepare(request)	    await out.prepare(request)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L347	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000453	slime/agent/adapters/openai.py	slime.agent.adapters.openai	351	361	4	86	_render_stream	async_def	syntax	emit	python_ast	    async def emit(delta: dict[str, Any], finish_reason: str | None = None, usage: dict | None = None) -> None:	    async def emit(delta: dict[str, Any], finish_reason: str | None = None, usage: dict | None = None) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L351-L361	source_snapshot/slime/agent/adapters/openai.py.txt	"{""async_protocol"": false}"
occ-000454	slime/agent/adapters/openai.py	slime.agent.adapters.openai	356	356	21	29	_render_stream.emit	instance_candidate	candidates	get	unresolved_receiver_candidate	body.get	"            ""model"": body.get(""model"", ""slime-actor""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L356	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""body"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000455	slime/agent/adapters/openai.py	slime.agent.adapters.openai	361	361	8	86	_render_stream.emit	await	syntax	await	python_ast	"await out.write(f""data: {json.dumps(chunk, ensure_ascii=False)}\n\n"".encode())"	"        await out.write(f""data: {json.dumps(chunk, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L361	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000456	slime/agent/adapters/openai.py	slime.agent.adapters.openai	361	361	14	23	_render_stream.emit	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"        await out.write(f""data: {json.dumps(chunk, ensure_ascii=False)}\n\n"".encode())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L361	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000457	slime/agent/adapters/openai.py	slime.agent.adapters.openai	363	363	4	37	_render_stream	await	syntax	await	python_ast	"await emit({""role"": ""assistant""})"	"    await emit({""role"": ""assistant""})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L363	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000458	slime/agent/adapters/openai.py	slime.agent.adapters.openai	364	364	16	32	_render_stream	instance_candidate	candidates	get	unresolved_receiver_candidate	wire_message.get	"    reasoning = wire_message.get(""reasoning_content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L364	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""wire_message"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000459	slime/agent/adapters/openai.py	slime.agent.adapters.openai	366	366	8	52	_render_stream	await	syntax	await	python_ast	"await emit({""reasoning_content"": reasoning})"	"        await emit({""reasoning_content"": reasoning})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L366	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000460	slime/agent/adapters/openai.py	slime.agent.adapters.openai	367	367	14	30	_render_stream	instance_candidate	candidates	get	unresolved_receiver_candidate	wire_message.get	"    content = wire_message.get(""content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L367	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""wire_message"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000461	slime/agent/adapters/openai.py	slime.agent.adapters.openai	369	369	8	40	_render_stream	await	syntax	await	python_ast	"await emit({""content"": content})"	"        await emit({""content"": content})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L369	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000462	slime/agent/adapters/openai.py	slime.agent.adapters.openai	373	373	17	33	_render_stream	instance_candidate	candidates	get	unresolved_receiver_candidate	wire_message.get	"    tool_calls = wire_message.get(""tool_calls"") or []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L373	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""wire_message"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000463	slime/agent/adapters/openai.py	slime.agent.adapters.openai	375	375	8	99	_render_stream	await	syntax	await	python_ast	"await emit({""tool_calls"": [{**call, ""index"": idx} for idx, call in enumerate(tool_calls)]})"	"        await emit({""tool_calls"": [{**call, ""index"": idx} for idx, call in enumerate(tool_calls)]})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L375	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000464	slime/agent/adapters/openai.py	slime.agent.adapters.openai	376	376	4	76	_render_stream	await	syntax	await	python_ast	await emit({}, finish_reason=wire_finish, usage=_usage(in_tok, out_tok))	    await emit({}, finish_reason=wire_finish, usage=_usage(in_tok, out_tok))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L376	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000465	slime/agent/adapters/openai.py	slime.agent.adapters.openai	377	377	4	40	_render_stream	await	syntax	await	python_ast	"await out.write(b""data: [DONE]\n\n"")"	"    await out.write(b""data: [DONE]\n\n"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L377	source_snapshot/slime/agent/adapters/openai.py.txt	{}
occ-000466	slime/agent/adapters/openai.py	slime.agent.adapters.openai	377	377	10	19	_render_stream	instance_candidate	candidates	write	unresolved_receiver_candidate	out.write	"    await out.write(b""data: [DONE]\n\n"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/adapters/openai.py#L377	source_snapshot/slime/agent/adapters/openai.py.txt	"{""receiver"": ""out"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000467	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	5	5	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L5	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-000468	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	6	6	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L6	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-000469	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	29	29	12	28	AppHandle	api_reference	threading	threading.Thread	lexical_import_resolution	threading.Thread	    thread: threading.Thread	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L29	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000470	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	30	30	10	35	AppHandle	api_reference	asyncio	asyncio.AbstractEventLoop	lexical_import_resolution	asyncio.AbstractEventLoop	    loop: asyncio.AbstractEventLoop	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L30	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000471	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	34	35	8	39	AppHandle.stop	async_def	syntax	_shutdown	python_ast	        async def _shutdown() -> None:	        async def _shutdown() -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L34-L35	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""async_protocol"": false}"
occ-000472	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	35	35	12	39	AppHandle.stop._shutdown	await	syntax	await	python_ast	await self.runner.cleanup()	            await self.runner.cleanup()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L35	source_snapshot/slime/agent/aiohttp_threaded.py.txt	{}
occ-000473	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	38	38	18	50	AppHandle.stop	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	            fut = asyncio.run_coroutine_threadsafe(_shutdown(), self.loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L38	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000474	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	39	39	12	22	AppHandle.stop	instance_candidate	candidates	result	inferred_receiver_candidate	fut.result	            fut.result(timeout=10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L39	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""fut"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.run_coroutine_threadsafe(_shutdown(), self.loop)"", ""line"": 38, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-000475	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	42	42	8	38	AppHandle.stop	instance_candidate	candidates	call_soon_threadsafe	unresolved_receiver_candidate	self.loop.call_soon_threadsafe	        self.loop.call_soon_threadsafe(self.loop.stop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L42	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""self.loop"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000476	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	43	43	8	24	AppHandle.stop	instance_candidate	candidates	join	unresolved_receiver_candidate	self.thread.join	        self.thread.join(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L43	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000477	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	61	61	14	29	run_app_in_thread	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	    started = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L61	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000478	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	66	66	15	37	run_app_in_thread._run	api_call	asyncio	asyncio.new_event_loop	lexical_import_resolution	asyncio.new_event_loop	        loop = asyncio.new_event_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L66	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000479	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	67	67	8	30	run_app_in_thread._run	api_call	asyncio	asyncio.set_event_loop	lexical_import_resolution	asyncio.set_event_loop	        asyncio.set_event_loop(loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L67	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000480	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	70	70	12	35	run_app_in_thread._run	instance_candidate	candidates	run_until_complete	inferred_receiver_candidate	loop.run_until_complete	            loop.run_until_complete(runner.setup())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L70	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.new_event_loop()"", ""line"": 66, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-000481	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	72	72	12	35	run_app_in_thread._run	instance_candidate	candidates	run_until_complete	inferred_receiver_candidate	loop.run_until_complete	            loop.run_until_complete(site.start())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L72	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.new_event_loop()"", ""line"": 66, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-000482	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	72	72	36	46	run_app_in_thread._run	instance_candidate	candidates	start	unresolved_receiver_candidate	site.start	            loop.run_until_complete(site.start())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L72	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""site"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000483	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	80	80	12	23	run_app_in_thread._run	instance_candidate	candidates	set	inferred_receiver_candidate	started.set	            started.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L80	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 61, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000484	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	81	81	12	28	run_app_in_thread._run	instance_candidate	candidates	run_forever	inferred_receiver_candidate	loop.run_forever	            loop.run_forever()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L81	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.new_event_loop()"", ""line"": 66, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-000485	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	84	84	12	23	run_app_in_thread._run	instance_candidate	candidates	set	inferred_receiver_candidate	started.set	            started.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L84	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 61, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000486	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	87	87	13	29	run_app_in_thread	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	    thread = threading.Thread(target=_run, name=thread_name, daemon=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L87	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""access"": ""load""}"
occ-000487	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	88	88	4	16	run_app_in_thread	instance_candidate	candidates	start	inferred_receiver_candidate	thread.start	    thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L88	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=_run, name=thread_name, daemon=True)"", ""line"": 87, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000488	slime/agent/aiohttp_threaded.py	slime.agent.aiohttp_threaded	89	89	4	16	run_app_in_thread	instance_candidate	candidates	wait	inferred_receiver_candidate	started.wait	    started.wait(timeout=start_timeout_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/aiohttp_threaded.py#L89	source_snapshot/slime/agent/aiohttp_threaded.py.txt	"{""receiver"": ""started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 61, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000489	slime/agent/harness/claude_code.py	slime.agent.harness.claude_code	36	42	4	9	ClaudeCodeHarness	async_def	syntax	install_cli	python_ast	    async def install_cli(self, sb: Sandbox) -> None:	    async def install_cli(self, sb: Sandbox) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/claude_code.py#L36-L42	source_snapshot/slime/agent/harness/claude_code.py.txt	"{""async_protocol"": false}"
occ-000490	slime/agent/harness/claude_code.py	slime.agent.harness.claude_code	37	42	8	9	ClaudeCodeHarness.install_cli	await	syntax	await	python_ast	"await install_npm_cli(
            sb,
            node_runtime=Path(os.environ[self.node_tarball_env]),
            npm_package=Path(os.environ[self.cli_tarball_env]),
            check_cmd=""ls -la /usr/local/bin/claude && /usr/local/bin/claude --version"",
        )"	        await install_npm_cli(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/claude_code.py#L37-L42	source_snapshot/slime/agent/harness/claude_code.py.txt	{}
occ-000491	slime/agent/harness/claude_code.py	slime.agent.harness.claude_code	44	55	4	9	ClaudeCodeHarness	async_def	syntax	write_config	python_ast	    async def write_config(self, sb: Sandbox, ctx: HarnessContext) -> None:	    async def write_config(self, sb: Sandbox, ctx: HarnessContext) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/claude_code.py#L44-L55	source_snapshot/slime/agent/harness/claude_code.py.txt	"{""async_protocol"": false}"
occ-000492	slime/agent/harness/claude_code.py	slime.agent.harness.claude_code	47	55	8	9	ClaudeCodeHarness.write_config	await	syntax	await	python_ast	"await sb.exec(
            ""mkdir -p /home/agent/.claude && ""
            f""echo {shlex.quote(settings)} ""
            ""| tee /home/agent/.claude.json /home/agent/.claude/settings.json > /dev/null && ""
            ""chown -R agent:agent /home/agent/.claude /home/agent/.claude.json"",
            user=""root"",
            check=True,
            timeout=60,
        )"	        await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/claude_code.py#L47-L55	source_snapshot/slime/agent/harness/claude_code.py.txt	{}
occ-000493	slime/agent/harness/claude_code.py	slime.agent.harness.claude_code	57	71	4	112	ClaudeCodeHarness	async_def	syntax	launch_and_wait	python_ast	    async def launch_and_wait(self, sb: Sandbox, ctx: HarnessContext, prompt: str, time_budget_sec: int) -> int:	    async def launch_and_wait(self, sb: Sandbox, ctx: HarnessContext, prompt: str, time_budget_sec: int) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/claude_code.py#L57-L71	source_snapshot/slime/agent/harness/claude_code.py.txt	"{""async_protocol"": false}"
occ-000494	slime/agent/harness/claude_code.py	slime.agent.harness.claude_code	71	71	15	112	ClaudeCodeHarness.launch_and_wait	await	syntax	await	python_ast	await run_agent(sb, workdir=ctx.workdir, start_cmd=cmd, env=env, time_budget_sec=time_budget_sec)	        return await run_agent(sb, workdir=ctx.workdir, start_cmd=cmd, env=env, time_budget_sec=time_budget_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/claude_code.py#L71	source_snapshot/slime/agent/harness/claude_code.py.txt	{}
occ-000495	slime/agent/harness/codex.py	slime.agent.harness.codex	48	54	4	9	CodexHarness	async_def	syntax	install_cli	python_ast	    async def install_cli(self, sb: Sandbox) -> None:	    async def install_cli(self, sb: Sandbox) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/codex.py#L48-L54	source_snapshot/slime/agent/harness/codex.py.txt	"{""async_protocol"": false}"
occ-000496	slime/agent/harness/codex.py	slime.agent.harness.codex	49	54	8	9	CodexHarness.install_cli	await	syntax	await	python_ast	"await install_npm_cli(
            sb,
            node_runtime=Path(os.environ[self.node_tarball_env]),
            npm_package=Path(os.environ[self.cli_tarball_env]),
            check_cmd=""codex --version"",
        )"	        await install_npm_cli(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/codex.py#L49-L54	source_snapshot/slime/agent/harness/codex.py.txt	{}
occ-000497	slime/agent/harness/codex.py	slime.agent.harness.codex	56	67	4	9	CodexHarness	async_def	syntax	write_config	python_ast	    async def write_config(self, sb: Sandbox, ctx: HarnessContext) -> None:	    async def write_config(self, sb: Sandbox, ctx: HarnessContext) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/codex.py#L56-L67	source_snapshot/slime/agent/harness/codex.py.txt	"{""async_protocol"": false}"
occ-000498	slime/agent/harness/codex.py	slime.agent.harness.codex	59	67	8	9	CodexHarness.write_config	await	syntax	await	python_ast	"await sb.exec(
            ""mkdir -p /home/agent/.codex && ""
            # base64 round-trip avoids any single-quote / heredoc shell-quoting trap
            f""echo {shlex.quote(toml_b64)} | base64 -d > /home/agent/.codex/config.toml && ""
            ""chown -R agent:agent /home/agent/.codex"",
            user=""root"",
            check=True,
            timeout=60,
        )"	        await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/codex.py#L59-L67	source_snapshot/slime/agent/harness/codex.py.txt	{}
occ-000499	slime/agent/harness/codex.py	slime.agent.harness.codex	69	86	4	112	CodexHarness	async_def	syntax	launch_and_wait	python_ast	    async def launch_and_wait(self, sb: Sandbox, ctx: HarnessContext, prompt: str, time_budget_sec: int) -> int:	    async def launch_and_wait(self, sb: Sandbox, ctx: HarnessContext, prompt: str, time_budget_sec: int) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/codex.py#L69-L86	source_snapshot/slime/agent/harness/codex.py.txt	"{""async_protocol"": false}"
occ-000500	slime/agent/harness/codex.py	slime.agent.harness.codex	86	86	15	112	CodexHarness.launch_and_wait	await	syntax	await	python_ast	await run_agent(sb, workdir=ctx.workdir, start_cmd=cmd, env=env, time_budget_sec=time_budget_sec)	        return await run_agent(sb, workdir=ctx.workdir, start_cmd=cmd, env=env, time_budget_sec=time_budget_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/codex.py#L86	source_snapshot/slime/agent/harness/codex.py.txt	{}
occ-000501	slime/agent/harness/common.py	slime.agent.harness.common	18	18	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L18	source_snapshot/slime/agent/harness/common.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 18}"
occ-000502	slime/agent/harness/common.py	slime.agent.harness.common	64	66	4	62	BaseHarness	async_def	syntax	install_cli	python_ast	    async def install_cli(self, sb: Sandbox) -> None:	    async def install_cli(self, sb: Sandbox) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L64-L66	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000503	slime/agent/harness/common.py	slime.agent.harness.common	69	70	4	58	BaseHarness	async_def	syntax	write_config	python_ast	    async def write_config(self, sb: Sandbox, ctx: HarnessContext) -> None:	    async def write_config(self, sb: Sandbox, ctx: HarnessContext) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L69-L70	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000504	slime/agent/harness/common.py	slime.agent.harness.common	73	79	4	11	BaseHarness	async_def	syntax	launch_and_wait	python_ast	    async def launch_and_wait(self, sb: Sandbox, ctx: HarnessContext, prompt: str, time_budget_sec: int) -> int:	    async def launch_and_wait(self, sb: Sandbox, ctx: HarnessContext, prompt: str, time_budget_sec: int) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L73-L79	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000505	slime/agent/harness/common.py	slime.agent.harness.common	81	104	4	75	BaseHarness	async_def	syntax	run	python_ast	    async def run(	    async def run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L81-L104	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000506	slime/agent/harness/common.py	slime.agent.harness.common	97	97	8	53	BaseHarness.run	await	syntax	await	python_ast	await _sandbox.ensure_agent_user(sb, workdir)	        await _sandbox.ensure_agent_user(sb, workdir)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L97	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000507	slime/agent/harness/common.py	slime.agent.harness.common	103	103	8	40	BaseHarness.run	await	syntax	await	python_ast	await self.write_config(sb, ctx)	        await self.write_config(sb, ctx)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L103	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000508	slime/agent/harness/common.py	slime.agent.harness.common	104	104	15	75	BaseHarness.run	await	syntax	await	python_ast	await self.launch_and_wait(sb, ctx, prompt, time_budget_sec)	        return await self.launch_and_wait(sb, ctx, prompt, time_budget_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L104	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000509	slime/agent/harness/common.py	slime.agent.harness.common	107	122	0	20	<module>	async_def	syntax	run_agent	python_ast	async def run_agent(sb: Sandbox, *, workdir: str, start_cmd: str, env: dict[str, str], time_budget_sec: int) -> int:	async def run_agent(sb: Sandbox, *, workdir: str, start_cmd: str, env: dict[str, str], time_budget_sec: int) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L107-L122	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000510	slime/agent/harness/common.py	slime.agent.harness.common	110	110	4	110	run_agent	await	syntax	await	python_ast	"await sb.exec(f""mkdir -p {meta_dir} && chown agent:agent {meta_dir}"", user=""root"", check=True, timeout=30)"	"    await sb.exec(f""mkdir -p {meta_dir} && chown agent:agent {meta_dir}"", user=""root"", check=True, timeout=30)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L110	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000511	slime/agent/harness/common.py	slime.agent.harness.common	111	121	19	5	run_agent	await	syntax	await	python_ast	"await exec_and_wait(
        sb,
        cmd=start_cmd,
        user=""agent"",
        env=env,
        workdir=workdir,
        out_file=f""{meta_dir}/trajectory.jsonl"",
        time_budget_sec=time_budget_sec,
        tag=""run"",
        want_output=False,
    )"	    exit_code, _ = await exec_and_wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L111-L121	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000512	slime/agent/harness/common.py	slime.agent.harness.common	125	151	0	5	<module>	async_def	syntax	install_npm_cli	python_ast	async def install_npm_cli(	async def install_npm_cli(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L125-L151	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000513	slime/agent/harness/common.py	slime.agent.harness.common	135	135	4	42	install_npm_cli	await	syntax	await	python_ast	await install_node22(sb, node_runtime)	    await install_node22(sb, node_runtime)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L135	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000514	slime/agent/harness/common.py	slime.agent.harness.common	137	137	4	60	install_npm_cli	await	syntax	await	python_ast	"await sb.write_file(""/tmp/harness-cli.tgz"", npm_package)"	"    await sb.write_file(""/tmp/harness-cli.tgz"", npm_package)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L137	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000515	slime/agent/harness/common.py	slime.agent.harness.common	142	144	30	9	install_npm_cli	await	syntax	await	python_ast	"await exec_and_wait(
            sb, cmd=install_cmd, user=""root"", time_budget_sec=300, tag=""harness-npm-install""
        )"	        exit_code, last_log = await exec_and_wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L142-L144	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000516	slime/agent/harness/common.py	slime.agent.harness.common	148	148	12	72	install_npm_cli	await	syntax	await	python_ast	await asyncio.sleep(NPM_INSTALL_BACKOFF_SEC * (attempt + 1))	            await asyncio.sleep(NPM_INSTALL_BACKOFF_SEC * (attempt + 1))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L148	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000517	slime/agent/harness/common.py	slime.agent.harness.common	148	148	18	31	install_npm_cli	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(NPM_INSTALL_BACKOFF_SEC * (attempt + 1))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L148	source_snapshot/slime/agent/harness/common.py.txt	"{""access"": ""load""}"
occ-000518	slime/agent/harness/common.py	slime.agent.harness.common	154	178	0	5	<module>	async_def	syntax	install_node22	python_ast	async def install_node22(sb: Sandbox, host_tarball: Path) -> None:	async def install_node22(sb: Sandbox, host_tarball: Path) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L154-L178	source_snapshot/slime/agent/harness/common.py.txt	"{""async_protocol"": false}"
occ-000519	slime/agent/harness/common.py	slime.agent.harness.common	167	167	4	56	install_node22	await	syntax	await	python_ast	"await sb.write_file(""/tmp/node22.tar"", host_tarball)"	"    await sb.write_file(""/tmp/node22.tar"", host_tarball)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L167	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000520	slime/agent/harness/common.py	slime.agent.harness.common	168	178	4	5	install_node22	await	syntax	await	python_ast	"await sb.exec(
        ""set -e && mkdir -p /opt/node22 && ""
        ""tar xf /tmp/node22.tar -C /opt/node22 --strip-components=1 && ""
        ""ln -sf /opt/node22/bin/node /usr/local/bin/node && ""
        ""ln -sf /opt/node22/bin/npm  /usr/local/bin/npm && ""
        ""ln -sf /opt/node22/bin/npx  /usr/local/bin/npx && ""
        ""hash -r 2>/dev/null || true && node --version && npm --version"",
        user=""root"",
        timeout=180,
        check=True,
    )"	    await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/harness/common.py#L168-L178	source_snapshot/slime/agent/harness/common.py.txt	{}
occ-000521	slime/agent/sandbox.py	slime.agent.sandbox	11	11	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L11	source_snapshot/slime/agent/sandbox.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 11}"
occ-000522	slime/agent/sandbox.py	slime.agent.sandbox	42	42	4	46	Sandbox	async_def	syntax	__aenter__	python_ast	    async def __aenter__(self) -> Sandbox: ...	    async def __aenter__(self) -> Sandbox: ...	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L42	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": true}"
occ-000523	slime/agent/sandbox.py	slime.agent.sandbox	44	44	4	61	Sandbox	async_def	syntax	__aexit__	python_ast	    async def __aexit__(self, exc_type, exc, tb) -> None: ...	    async def __aexit__(self, exc_type, exc, tb) -> None: ...	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L44	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": true}"
occ-000524	slime/agent/sandbox.py	slime.agent.sandbox	46	55	4	24	Sandbox	async_def	syntax	exec	python_ast	    async def exec(	    async def exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L46-L55	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000525	slime/agent/sandbox.py	slime.agent.sandbox	57	57	4	107	Sandbox	async_def	syntax	write_file	python_ast	"    async def write_file(self, sandbox_path: str, content: FileContent, *, user: str = ""root"") -> None: ..."	"    async def write_file(self, sandbox_path: str, content: FileContent, *, user: str = ""root"") -> None: ..."	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L57	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000526	slime/agent/sandbox.py	slime.agent.sandbox	59	59	4	83	Sandbox	async_def	syntax	read_file	python_ast	"    async def read_file(self, sandbox_path: str, *, user: str = ""root"") -> str: ..."	"    async def read_file(self, sandbox_path: str, *, user: str = ""root"") -> str: ..."	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L59	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000527	slime/agent/sandbox.py	slime.agent.sandbox	65	79	0	36	<module>	async_def	syntax	_await_done_marker	python_ast	async def _await_done_marker(sb: Sandbox, done_file: str, *, user: str, time_budget_sec: int) -> int:	async def _await_done_marker(sb: Sandbox, done_file: str, *, user: str, time_budget_sec: int) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L65-L79	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000528	slime/agent/sandbox.py	slime.agent.sandbox	75	75	8	30	_await_done_marker	await	syntax	await	python_ast	await asyncio.sleep(5)	        await asyncio.sleep(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L75	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000529	slime/agent/sandbox.py	slime.agent.sandbox	75	75	14	27	_await_done_marker	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	        await asyncio.sleep(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L75	source_snapshot/slime/agent/sandbox.py.txt	"{""access"": ""load""}"
occ-000530	slime/agent/sandbox.py	slime.agent.sandbox	76	76	21	113	_await_done_marker	await	syntax	await	python_ast	"await sb.exec(f""test -f {done_file} && cat {done_file}"", user=user, timeout=15, check=False)"	"        ec, out, _ = await sb.exec(f""test -f {done_file} && cat {done_file}"", user=user, timeout=15, check=False)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L76	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000531	slime/agent/sandbox.py	slime.agent.sandbox	82	145	0	32	<module>	async_def	syntax	exec_and_wait	python_ast	async def exec_and_wait(	async def exec_and_wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L82-L145	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000532	slime/agent/sandbox.py	slime.agent.sandbox	113	113	4	59	exec_and_wait	await	syntax	await	python_ast	await sb.write_file(launcher, launcher_body, user=user)	    await sb.write_file(launcher, launcher_body, user=user)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L113	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000533	slime/agent/sandbox.py	slime.agent.sandbox	122	128	4	5	exec_and_wait	await	syntax	await	python_ast	"await sb.exec(
        f""rm -rf {lock_dir}; rm -f {out_file} {done_file}"",
        user=user,
        timeout=30,
        check=True,
        idempotent=True,
    )"	    await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L122-L128	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000534	slime/agent/sandbox.py	slime.agent.sandbox	129	138	4	5	exec_and_wait	await	syntax	await	python_ast	"await sb.exec(
        f""chmod +x {launcher}; ""
        f""mkdir {lock_dir} 2>/dev/null || exit 0; ""
        f""setsid bash {launcher} < /dev/null > {out_file} 2>&1 &"",
        user=user,
        env=env,
        timeout=30,
        check=True,
        idempotent=True,
    )"	    await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L129-L138	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000535	slime/agent/sandbox.py	slime.agent.sandbox	139	139	16	99	exec_and_wait	await	syntax	await	python_ast	await _await_done_marker(sb, done_file, user=user, time_budget_sec=time_budget_sec)	    exit_code = await _await_done_marker(sb, done_file, user=user, time_budget_sec=time_budget_sec)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L139	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000536	slime/agent/sandbox.py	slime.agent.sandbox	143	143	26	65	exec_and_wait	await	syntax	await	python_ast	await sb.read_file(out_file, user=user)	        return exit_code, await sb.read_file(out_file, user=user)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L143	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000537	slime/agent/sandbox.py	slime.agent.sandbox	144	144	17	105	exec_and_wait	await	syntax	await	python_ast	"await sb.exec(f""tail -c 512 {out_file} 2>/dev/null"", user=user, timeout=15, check=False)"	"    _, tail, _ = await sb.exec(f""tail -c 512 {out_file} 2>/dev/null"", user=user, timeout=15, check=False)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L144	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000538	slime/agent/sandbox.py	slime.agent.sandbox	237	271	4	22	E2BSandbox	async_def	syntax	_rpc_retry	python_ast	    async def _rpc_retry(self, op_name: str, coro_factory, *, idempotent: bool = True):	    async def _rpc_retry(self, op_name: str, coro_factory, *, idempotent: bool = True):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L237-L271	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000539	slime/agent/sandbox.py	slime.agent.sandbox	249	249	23	43	E2BSandbox._rpc_retry	await	syntax	await	python_ast	await coro_factory()	                return await coro_factory()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L249	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000540	slime/agent/sandbox.py	slime.agent.sandbox	257	257	20	49	E2BSandbox._rpc_retry	await	syntax	await	python_ast	await self._reset_conn_pool()	                    await self._reset_conn_pool()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L257	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000541	slime/agent/sandbox.py	slime.agent.sandbox	269	269	20	48	E2BSandbox._rpc_retry	await	syntax	await	python_ast	await asyncio.sleep(backoff)	                    await asyncio.sleep(backoff)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L269	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000542	slime/agent/sandbox.py	slime.agent.sandbox	269	269	26	39	E2BSandbox._rpc_retry	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                    await asyncio.sleep(backoff)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L269	source_snapshot/slime/agent/sandbox.py.txt	"{""access"": ""load""}"
occ-000543	slime/agent/sandbox.py	slime.agent.sandbox	273	279	4	74	E2BSandbox	async_def	syntax	_reset_conn_pool	python_ast	    async def _reset_conn_pool(self) -> None:	    async def _reset_conn_pool(self) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L273-L279	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000544	slime/agent/sandbox.py	slime.agent.sandbox	277	277	12	31	E2BSandbox._reset_conn_pool	await	syntax	await	python_ast	await pool.aclose()	            await pool.aclose()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L277	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000545	slime/agent/sandbox.py	slime.agent.sandbox	281	300	4	19	E2BSandbox	async_def	syntax	__aenter__	python_ast	    async def __aenter__(self) -> E2BSandbox:	    async def __aenter__(self) -> E2BSandbox:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L281-L300	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": true}"
occ-000546	slime/agent/sandbox.py	slime.agent.sandbox	298	298	19	114	E2BSandbox.__aenter__	await	syntax	await	python_ast	"await self._rpc_retry(""create"", lambda: AsyncSandbox.create(timeout=self.timeout, metadata=md))"	"        self._sb = await self._rpc_retry(""create"", lambda: AsyncSandbox.create(timeout=self.timeout, metadata=md))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L298	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000547	slime/agent/sandbox.py	slime.agent.sandbox	302	307	4	88	E2BSandbox	async_def	syntax	__aexit__	python_ast	    async def __aexit__(self, exc_type, exc, tb) -> None:	    async def __aexit__(self, exc_type, exc, tb) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L302-L307	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": true}"
occ-000548	slime/agent/sandbox.py	slime.agent.sandbox	305	305	16	37	E2BSandbox.__aexit__	await	syntax	await	python_ast	await self._sb.kill()	                await self._sb.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L305	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000549	slime/agent/sandbox.py	slime.agent.sandbox	305	305	22	35	E2BSandbox.__aexit__	instance_candidate	candidates	kill	unresolved_receiver_candidate	self._sb.kill	                await self._sb.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L305	source_snapshot/slime/agent/sandbox.py.txt	"{""receiver"": ""self._sb"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000550	slime/agent/sandbox.py	slime.agent.sandbox	309	340	4	62	E2BSandbox	async_def	syntax	exec	python_ast	    async def exec(	    async def exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L309-L340	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000551	slime/agent/sandbox.py	slime.agent.sandbox	322	333	18	13	E2BSandbox.exec	await	syntax	await	python_ast	"await self._rpc_retry(
                f""exec({cmd[:60]!r})"",
                lambda: self._sb.commands.run(
                    cmd,
                    user=user,
                    envs=env,
                    timeout=timeout,
                    on_stdout=lambda s: None,
                    on_stderr=lambda s: None,
                ),
                idempotent=idempotent,
            )"	            res = await self._rpc_retry(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L322-L333	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000552	slime/agent/sandbox.py	slime.agent.sandbox	342	378	4	9	E2BSandbox	async_def	syntax	write_file	python_ast	"    async def write_file(self, sandbox_path: str, content: FileContent, *, user: str = ""root"") -> None:"	"    async def write_file(self, sandbox_path: str, content: FileContent, *, user: str = ""root"") -> None:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L342-L378	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000553	slime/agent/sandbox.py	slime.agent.sandbox	346	355	12	21	E2BSandbox.write_file	async_def	syntax	_do_path	python_ast	            async def _do_path():	            async def _do_path():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L346-L355	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000554	slime/agent/sandbox.py	slime.agent.sandbox	348	355	20	21	E2BSandbox.write_file._do_path	await	syntax	await	python_ast	"await self._sb.files.write(
                        sandbox_path,
                        fp,
                        user=user,
                        gzip=False,
                        use_octet_stream=True,
                        request_timeout=600,
                    )"	                    await self._sb.files.write(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L348-L355	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000555	slime/agent/sandbox.py	slime.agent.sandbox	348	348	26	46	E2BSandbox.write_file._do_path	instance_candidate	candidates	write	unresolved_receiver_candidate	self._sb.files.write	                    await self._sb.files.write(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L348	source_snapshot/slime/agent/sandbox.py.txt	"{""receiver"": ""self._sb.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000556	slime/agent/sandbox.py	slime.agent.sandbox	357	357	12	94	E2BSandbox.write_file	await	syntax	await	python_ast	"await self._rpc_retry(f""write_file({sandbox_path} <- {host_path.name})"", _do_path)"	"            await self._rpc_retry(f""write_file({sandbox_path} <- {host_path.name})"", _do_path)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L357	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000557	slime/agent/sandbox.py	slime.agent.sandbox	362	370	12	17	E2BSandbox.write_file	async_def	syntax	_do_bytes	python_ast	            async def _do_bytes():	            async def _do_bytes():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L362-L370	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000558	slime/agent/sandbox.py	slime.agent.sandbox	363	370	16	17	E2BSandbox.write_file._do_bytes	await	syntax	await	python_ast	"await self._sb.files.write(
                    sandbox_path,
                    io.BytesIO(content),
                    user=user,
                    gzip=False,
                    use_octet_stream=True,
                    request_timeout=600,
                )"	                await self._sb.files.write(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L363-L370	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000559	slime/agent/sandbox.py	slime.agent.sandbox	363	363	22	42	E2BSandbox.write_file._do_bytes	instance_candidate	candidates	write	unresolved_receiver_candidate	self._sb.files.write	                await self._sb.files.write(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L363	source_snapshot/slime/agent/sandbox.py.txt	"{""receiver"": ""self._sb.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000560	slime/agent/sandbox.py	slime.agent.sandbox	372	372	12	97	E2BSandbox.write_file	await	syntax	await	python_ast	"await self._rpc_retry(f""write_file({sandbox_path}, bytes={len(content)})"", _do_bytes)"	"            await self._rpc_retry(f""write_file({sandbox_path}, bytes={len(content)})"", _do_bytes)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L372	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000561	slime/agent/sandbox.py	slime.agent.sandbox	375	378	8	9	E2BSandbox.write_file	await	syntax	await	python_ast	"await self._rpc_retry(
            f""write_file({sandbox_path})"",
            lambda: self._sb.files.write(sandbox_path, content, user=user),
        )"	        await self._rpc_retry(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L375-L378	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000562	slime/agent/sandbox.py	slime.agent.sandbox	377	377	20	40	E2BSandbox.write_file.<lambda>	instance_candidate	candidates	write	unresolved_receiver_candidate	self._sb.files.write	            lambda: self._sb.files.write(sandbox_path, content, user=user),	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L377	source_snapshot/slime/agent/sandbox.py.txt	"{""receiver"": ""self._sb.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000563	slime/agent/sandbox.py	slime.agent.sandbox	380	387	4	21	E2BSandbox	async_def	syntax	read_file	python_ast	"    async def read_file(self, sandbox_path: str, *, user: str = ""root"") -> str:"	"    async def read_file(self, sandbox_path: str, *, user: str = ""root"") -> str:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L380-L387	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000564	slime/agent/sandbox.py	slime.agent.sandbox	382	385	19	13	E2BSandbox.read_file	await	syntax	await	python_ast	"await self._rpc_retry(
                f""read_file({sandbox_path})"",
                lambda: self._sb.files.read(sandbox_path, user=user),
            )"	            return await self._rpc_retry(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L382-L385	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000565	slime/agent/sandbox.py	slime.agent.sandbox	384	384	24	43	E2BSandbox.read_file.<lambda>	instance_candidate	candidates	read	unresolved_receiver_candidate	self._sb.files.read	                lambda: self._sb.files.read(sandbox_path, user=user),	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L384	source_snapshot/slime/agent/sandbox.py.txt	"{""receiver"": ""self._sb.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000566	slime/agent/sandbox.py	slime.agent.sandbox	390	399	0	5	<module>	async_def	syntax	ensure_agent_user	python_ast	async def ensure_agent_user(sb: Sandbox, workdir: str) -> None:	async def ensure_agent_user(sb: Sandbox, workdir: str) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L390-L399	source_snapshot/slime/agent/sandbox.py.txt	"{""async_protocol"": false}"
occ-000567	slime/agent/sandbox.py	slime.agent.sandbox	392	399	4	5	ensure_agent_user	await	syntax	await	python_ast	"await sb.exec(
        f""id agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent && ""
        f""chown -R agent:agent /home/agent {workdir} && ""
        f""git config --system --add safe.directory '*' && id agent"",
        user=""root"",
        check=True,
        timeout=60,
    )"	    await sb.exec(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/agent/sandbox.py#L392-L399	source_snapshot/slime/agent/sandbox.py.txt	{}
occ-000568	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L1	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-000569	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	3	3	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L3	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-000570	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	4	4	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L4	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 4}"
occ-000571	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	79	79	17	28	_get_update_timeout_s	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"    return float(payload.get(""timeout_s"") or args.megatron_server_update_timeout_s)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L79	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000572	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	181	181	57	64	SampleManager.cancel_request.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	req.get	"                req for req in self._pending_requests if req.get(""request_id"") != request_id"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L181	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""req"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000573	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	187	187	18	25	SampleManager._pop_next_request	instance_candidate	candidates	get	unresolved_receiver_candidate	req.get	"            rid = req.get(""request_id"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L187	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""req"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000574	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	204	204	19	26	SampleManager.get_input_data	instance_candidate	candidates	get	unresolved_receiver_candidate	req.get	"        sample_n = req.get(""sample_n"", 0)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L204	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""req"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000575	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	205	205	26	33	SampleManager.get_input_data	instance_candidate	candidates	get	unresolved_receiver_candidate	req.get	"        label_token_ids = req.get(""label_token_ids"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L205	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""req"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000576	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	263	263	28	43	SampleManager.save_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	output_item.get	"                log_probs = output_item.get(""log_probs"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L263	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""output_item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000577	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	264	264	36	51	SampleManager.save_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	output_item.get	"                sampled_token_ids = output_item.get(""sampled_token_ids"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L264	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""output_item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000578	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	265	265	36	51	SampleManager.save_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	output_item.get	"                sampled_log_probs = output_item.get(""sampled_log_probs"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L265	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""output_item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000579	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	266	266	40	55	SampleManager.save_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	output_item.get	"                label_token_log_probs = output_item.get(""label_token_log_probs"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L266	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""output_item"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000580	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	287	287	34	39	_merge_log_probs.<lambda>	instance_candidate	candidates	get	unresolved_receiver_candidate	x.get	"    logp_parts.sort(key=lambda x: x.get(""dp_rank""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L287	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""x"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000581	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	290	290	23	31	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"        has_log_prob = part.get(""log_prob"") is not None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L290	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000582	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	291	291	22	30	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"        has_sampled = part.get(""sampled_log_probs"") is not None or part.get(""sampled_token_ids"") is not None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L291	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000583	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	291	291	67	75	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"        has_sampled = part.get(""sampled_log_probs"") is not None or part.get(""sampled_token_ids"") is not None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L291	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000584	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	292	292	20	28	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"        has_label = part.get(""label_token_log_probs"") is not None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L292	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000585	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	297	297	29	37	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"                ""log_probs"": part.get(""log_prob""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L297	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000586	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	298	298	37	45	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"                ""sampled_log_probs"": part.get(""sampled_log_probs""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L298	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000587	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	299	299	37	45	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"                ""sampled_token_ids"": part.get(""sampled_token_ids""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L299	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000588	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	300	300	41	49	_merge_log_probs	instance_candidate	candidates	get	unresolved_receiver_candidate	part.get	"                ""label_token_log_probs"": part.get(""label_token_log_probs""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L300	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""part"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000589	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	315	315	8	18	_run_stats_printer	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(interval)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L315	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000590	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	355	356	0	48	<module>	async_def	syntax	_ray_get	python_ast	async def _ray_get(ref):	async def _ray_get(ref):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L355-L356	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000591	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	356	356	11	48	_ray_get	await	syntax	await	python_ast	await asyncio.to_thread(ray.get, ref)	    return await asyncio.to_thread(ray.get, ref)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L356	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000592	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	356	356	17	34	_ray_get	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	    return await asyncio.to_thread(ray.get, ref)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L356	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000593	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	359	366	0	55	<module>	async_def	syntax	_read_json_payload	python_ast	async def _read_json_payload(request: web.Request) -> dict[str, Any]:	async def _read_json_payload(request: web.Request) -> dict[str, Any]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L359-L366	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000594	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	363	363	18	38	_read_json_payload	await	syntax	await	python_ast	await request.json()	        payload = await request.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L363	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000595	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	382	382	36	46	_build_generate_response	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	"        ""log_probs"": _crop_sequence(result.get(""log_probs""), expected_len),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L382	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000596	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	385	385	16	26	_build_generate_response	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	        value = result.get(key)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L385	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000597	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	391	399	0	32	<module>	async_def	syntax	_wait_until_idle	python_ast	async def _wait_until_idle(sample_manager, timeout_s: float) -> dict[str, Any]:	async def _wait_until_idle(sample_manager, timeout_s: float) -> dict[str, Any]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L391-L399	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000598	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	394	394	16	65	_wait_until_idle	await	syntax	await	python_ast	await _ray_get(sample_manager.get_loads.remote())	        loads = await _ray_get(sample_manager.get_loads.remote())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L394	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000599	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	399	399	8	32	_wait_until_idle	await	syntax	await	python_ast	await asyncio.sleep(0.1)	        await asyncio.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L399	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000600	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	399	399	14	27	_wait_until_idle	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	        await asyncio.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L399	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000601	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	403	403	17	28	_get_update_model_path	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"    model_path = payload.get(""model_path"") or payload.get(""path"") or payload.get(""load"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L403	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000602	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	403	403	46	57	_get_update_model_path	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"    model_path = payload.get(""model_path"") or payload.get(""path"") or payload.get(""load"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L403	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000603	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	403	403	69	80	_get_update_model_path	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"    model_path = payload.get(""model_path"") or payload.get(""path"") or payload.get(""load"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L403	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000604	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	429	429	18	30	_build_http_app	api_call	asyncio	asyncio.Lock	lexical_import_resolution	asyncio.Lock	    update_lock = asyncio.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L429	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000605	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	431	432	4	68	_build_http_app	async_def	syntax	detect	python_ast	    async def detect(_request: web.Request) -> web.Response:	    async def detect(_request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L431-L432	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000606	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	434	435	4	46	_build_http_app	async_def	syntax	healthz	python_ast	    async def healthz(_request: web.Request) -> web.Response:	    async def healthz(_request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L434-L435	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000607	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	437	438	4	63	_build_http_app	async_def	syntax	info	python_ast	    async def info(_request: web.Request) -> web.Response:	    async def info(_request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L437-L438	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000608	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	440	441	4	83	_build_http_app	async_def	syntax	get_loads	python_ast	    async def get_loads(_request: web.Request) -> web.Response:	    async def get_loads(_request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L440-L441	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000609	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	441	441	33	82	_build_http_app.get_loads	await	syntax	await	python_ast	await _ray_get(sample_manager.get_loads.remote())	        return web.json_response(await _ray_get(sample_manager.get_loads.remote()))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L441	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000610	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	443	515	4	59	_build_http_app	async_def	syntax	update_from_disk	python_ast	    async def update_from_disk(request: web.Request) -> web.Response:	    async def update_from_disk(request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L443-L515	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000611	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	447	447	18	51	_build_http_app.update_from_disk	await	syntax	await	python_ast	await _read_json_payload(request)	        payload = await _read_json_payload(request)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L447	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000612	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	452	468	8	33	_build_http_app.update_from_disk	async_with	syntax	async with	python_ast	        async with update_lock:	        async with update_lock:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L452-L468	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""items"": 1}"
occ-000613	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	464	464	32	56	_build_http_app.update_from_disk	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	                update_future = asyncio.get_running_loop().create_future()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L464	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000614	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	464	464	32	72	_build_http_app.update_from_disk	instance_candidate	candidates	create_future	inferred_receiver_candidate	asyncio.get_running_loop().create_future	                update_future = asyncio.get_running_loop().create_future()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L464	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""asyncio.get_running_loop()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 464, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-000615	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	471	471	21	56	_build_http_app.update_from_disk	await	syntax	await	python_ast	await asyncio.shield(update_future)	            result = await asyncio.shield(update_future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L471	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000616	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	471	471	27	41	_build_http_app.update_from_disk	api_call	asyncio	asyncio.shield	lexical_import_resolution	asyncio.shield	            result = await asyncio.shield(update_future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L471	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000617	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	472	472	15	25	_build_http_app.update_from_disk	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	"            if result.get(""ok"") is True:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L472	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000618	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	476	476	31	41	_build_http_app.update_from_disk	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	"            return _json_error(result.get(""error"", ""update_from_disk failed""), int(result.get(""status"", 500)))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L476	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000619	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	476	476	83	93	_build_http_app.update_from_disk	instance_candidate	candidates	get	unresolved_receiver_candidate	result.get	"            return _json_error(result.get(""error"", ""update_from_disk failed""), int(result.get(""status"", 500)))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L476	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""result"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000620	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	482	482	27	76	_build_http_app.update_from_disk	await	syntax	await	python_ast	await _wait_until_idle(sample_manager, timeout_s)	            before_loads = await _wait_until_idle(sample_manager, timeout_s)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L482	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000621	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	483	483	28	84	_build_http_app.update_from_disk	await	syntax	await	python_ast	await asyncio.to_thread(update_from_disk_fn, model_path)	            update_result = await asyncio.to_thread(update_from_disk_fn, model_path)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L483	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000622	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	483	483	34	51	_build_http_app.update_from_disk	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	            update_result = await asyncio.to_thread(update_from_disk_fn, model_path)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L483	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000623	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	484	484	26	75	_build_http_app.update_from_disk	await	syntax	await	python_ast	await _ray_get(sample_manager.get_loads.remote())	            after_loads = await _ray_get(sample_manager.get_loads.remote())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L484	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000624	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	504	511	12	52	_build_http_app.update_from_disk	async_with	syntax	async with	python_ast	            async with update_lock:	            async with update_lock:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L504-L511	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""items"": 1}"
occ-000625	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	506	506	20	44	_build_http_app.update_from_disk	instance_candidate	candidates	set_result	inferred_receiver_candidate	update_future.set_result	                    update_future.set_result(result)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L506	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""update_future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""asyncio.get_running_loop().create_future()"", ""line"": 464, ""type"": ""asyncio.Future""}, ""resolved_non_native_name"": null}"
occ-000626	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	508	508	20	44	_build_http_app.update_from_disk	instance_candidate	candidates	set_result	inferred_receiver_candidate	update_future.set_result	                    update_future.set_result(error)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L508	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""update_future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""asyncio.get_running_loop().create_future()"", ""line"": 464, ""type"": ""asyncio.Future""}, ""resolved_non_native_name"": null}"
occ-000627	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	517	595	4	102	_build_http_app	async_def	syntax	generate	python_ast	    async def generate(request: web.Request) -> web.Response:	    async def generate(request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L517-L595	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""async_protocol"": false}"
occ-000628	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	521	521	18	51	_build_http_app.generate	await	syntax	await	python_ast	await _read_json_payload(request)	        payload = await _read_json_payload(request)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L521	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000629	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	541	541	39	50	_build_http_app.generate	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            sample_n = _parse_sample_n(payload.get(""sample_n"", 0))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L541	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000630	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	543	543	57	68	_build_http_app.generate	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            label_token_ids = _normalize_label_token_ids(payload.get(""label_token_ids""), valid_response_length)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L543	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000631	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	548	548	20	69	_build_http_app.generate	await	syntax	await	python_ast	await _ray_get(sample_manager.get_stats.remote())	            stats = await _ray_get(sample_manager.get_stats.remote())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L548	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000632	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	570	578	25	13	_build_http_app.generate	await	syntax	await	python_ast	"await _ray_get(
                sample_manager.submit.remote(
                    input_ids,
                    response_length=response_length,
                    loss_mask=loss_mask,
                    sample_n=sample_n,
                    label_token_ids=label_token_ids,
                )
            )"	            request_id = await _ray_get(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L570-L578	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000633	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	581	581	25	85	_build_http_app.generate	await	syntax	await	python_ast	await _ray_get(sample_manager.get_result.remote(request_id))	                result = await _ray_get(sample_manager.get_result.remote(request_id))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L581	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000634	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	584	584	16	41	_build_http_app.generate	await	syntax	await	python_ast	await asyncio.sleep(0.05)	                await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L584	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000635	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	584	584	22	35	_build_http_app.generate	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L584	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000636	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	585	585	15	37	_build_http_app.generate	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	        except asyncio.CancelledError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L585	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000637	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	588	588	16	80	_build_http_app.generate	await	syntax	await	python_ast	await _ray_get(sample_manager.cancel_request.remote(request_id))	                await _ray_get(sample_manager.cancel_request.remote(request_id))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L588	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	{}
occ-000638	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	616	616	19	35	_start_http_server	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	    stats_thread = threading.Thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L616	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000639	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	622	622	4	22	_start_http_server	instance_candidate	candidates	start	inferred_receiver_candidate	stats_thread.start	    stats_thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L622	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""stats_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(\n        target=_run_stats_printer,\n        args=(sample_manager, 5.0),\n        name=\""stats-printer\"",\n        daemon=True,\n    )"", ""line"": 616, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000640	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	667	667	8	26	_run_warmup_via_private_http	instance_candidate	candidates	stop	unresolved_receiver_candidate	warmup_handle.stop	        warmup_handle.stop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L667	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""receiver"": ""warmup_handle"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000641	slime/backends/megatron_utils/server/megatron_server.py	slime.backends.megatron_utils.server.megatron_server	689	689	20	30	run_megatron_dp_models_loop_worker	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                    time.sleep(0.02)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/server/megatron_server.py#L689	source_snapshot/slime/backends/megatron_utils/server/megatron_server.py.txt	"{""access"": ""load""}"
occ-000642	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	6	6	7	12	<module>	import	queue	queue	explicit_import	import queue	import queue	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L6	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""local_binding"": ""queue"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-000643	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	10	10	31	49	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import ThreadPoolExecutor	from concurrent.futures import ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L10	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 10}"
occ-000644	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	124	124	8	28	UpdateWeightFromDiskDelta._publish_full	instance_candidate	candidates	clear	unresolved_receiver_candidate	self._snapshot.clear	        self._snapshot.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L124	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""self._snapshot"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000645	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	132	132	16	28	UpdateWeightFromDiskDelta._publish_full	instance_candidate	candidates	write	unresolved_receiver_candidate	writer.write	                writer.write(tensors, chunk_index)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L132	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""writer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000646	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	234	234	16	27	UpdateWeightFromDiskDelta._encode_delta	api_reference	queue	queue.Queue	lexical_import_resolution	queue.Queue	        free_q: queue.Queue = queue.Queue()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L234	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""access"": ""load""}"
occ-000647	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	234	234	30	41	UpdateWeightFromDiskDelta._encode_delta	api_call	queue	queue.Queue	lexical_import_resolution	queue.Queue	        free_q: queue.Queue = queue.Queue()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L234	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""access"": ""load""}"
occ-000648	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	238	238	16	26	UpdateWeightFromDiskDelta._encode_delta	instance_candidate	candidates	put	inferred_receiver_candidate	free_q.put	                free_q.put(torch.empty(max_bytes, dtype=torch.uint8, pin_memory=True))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L238	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""free_q"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 234, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-000649	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	247	247	16	26	UpdateWeightFromDiskDelta._encode_delta.diff_and_compress	instance_candidate	candidates	put	inferred_receiver_candidate	free_q.put	                free_q.put(buf)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L247	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""free_q"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 234, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-000650	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	266	266	53	63	UpdateWeightFromDiskDelta._encode_delta.collect	instance_candidate	candidates	result	unresolved_receiver_candidate	fut.result	            name, new, compressed, digest, changed = fut.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L266	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""fut"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000651	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	273	273	15	33	UpdateWeightFromDiskDelta._encode_delta	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	        pool = ThreadPoolExecutor(max_workers=NUM_WORKERS)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L273	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""access"": ""load""}"
occ-000652	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	280	280	26	36	UpdateWeightFromDiskDelta._encode_delta	instance_candidate	candidates	get	inferred_receiver_candidate	free_q.get	                    buf = free_q.get()  # blocks when all buffers are in flight -> backpressures the gather	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L280	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""free_q"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 234, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-000653	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	287	287	32	43	UpdateWeightFromDiskDelta._encode_delta	instance_candidate	candidates	submit	inferred_receiver_candidate	pool.submit	                inflight.append(pool.submit(diff_and_compress, name, payload, nbytes, pinned))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L287	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""pool"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=NUM_WORKERS)"", ""line"": 273, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-000654	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	293	293	12	25	UpdateWeightFromDiskDelta._encode_delta	instance_candidate	candidates	shutdown	inferred_receiver_candidate	pool.shutdown	            pool.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L293	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""pool"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=NUM_WORKERS)"", ""line"": 273, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-000655	slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py	slime.backends.megatron_utils.update_weight.update_weight_from_disk_delta	320	320	8	15	_atomic_write	instance_candidate	candidates	write	unresolved_receiver_candidate	f.write	        f.write(data)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py#L320	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_disk_delta.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000656	slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py	slime.backends.megatron_utils.update_weight.update_weight_from_distributed	4	4	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py#L4	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 4}"
occ-000657	slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py	slime.backends.megatron_utils.update_weight.update_weight_from_distributed	237	237	12	23	UpdateWeightFromDistributed._ep_gather_and_convert	instance_candidate	candidates	wait	unresolved_receiver_candidate	handle.wait	            handle.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py#L237	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py.txt	"{""receiver"": ""handle"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000658	slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py	slime.backends.megatron_utils.update_weight.update_weight_from_distributed	239	239	8	27	UpdateWeightFromDistributed._ep_gather_and_convert	instance_candidate	candidates	clear	unresolved_receiver_candidate	named_tensors.clear	        named_tensors.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py#L239	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py.txt	"{""receiver"": ""named_tensors"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000659	slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py	slime.backends.megatron_utils.update_weight.update_weight_from_distributed	260	260	12	22	UpdateWeightFromDistributed._update_bucket_weights_from_distributed	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py#L260	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py.txt	"{""access"": ""load""}"
occ-000660	slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py	slime.backends.megatron_utils.update_weight.update_weight_from_distributed	272	272	8	37	UpdateWeightFromDistributed._update_bucket_weights_from_distributed	instance_candidate	candidates	clear	unresolved_receiver_candidate	converted_named_tensors.clear	        converted_named_tensors.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py#L272	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py.txt	"{""receiver"": ""converted_named_tensors"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000661	slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py	slime.backends.megatron_utils.update_weight.update_weight_from_distributed	362	362	8	19	update_weights_from_distributed	instance_candidate	candidates	wait	unresolved_receiver_candidate	handle.wait	        handle.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py#L362	source_snapshot/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py.txt	"{""receiver"": ""handle"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000662	slime/backends/sglang_utils/deployment.py	slime.backends.sglang_utils.deployment	4	4	7	22	<module>	import	multiprocessing	multiprocessing	explicit_import	import multiprocessing	import multiprocessing	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/deployment.py#L4	source_snapshot/slime/backends/sglang_utils/deployment.py.txt	"{""local_binding"": ""multiprocessing"", ""selective_module_import"": false, ""statement_line"": 4}"
occ-000663	slime/backends/sglang_utils/deployment.py	slime.backends.sglang_utils.deployment	6	6	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/deployment.py#L6	source_snapshot/slime/backends/sglang_utils/deployment.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 6}"
occ-000664	slime/backends/sglang_utils/deployment.py	slime.backends.sglang_utils.deployment	53	53	14	37	_start_router	api_call	multiprocessing	multiprocessing.Process	lexical_import_resolution	multiprocessing.Process	    process = multiprocessing.Process(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/deployment.py#L53	source_snapshot/slime/backends/sglang_utils/deployment.py.txt	"{""access"": ""load""}"
occ-000665	slime/backends/sglang_utils/deployment.py	slime.backends.sglang_utils.deployment	58	58	4	17	_start_router	instance_candidate	candidates	start	inferred_receiver_candidate	process.start	    process.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/deployment.py#L58	source_snapshot/slime/backends/sglang_utils/deployment.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""multiprocessing.Process(\n        target=run_router,\n        args=(router_args,),\n    )"", ""line"": 53, ""type"": ""multiprocessing.Process""}, ""resolved_non_native_name"": null}"
occ-000666	slime/backends/sglang_utils/deployment.py	slime.backends.sglang_utils.deployment	59	59	4	14	_start_router	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	    time.sleep(3)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/deployment.py#L59	source_snapshot/slime/backends/sglang_utils/deployment.py.txt	"{""access"": ""load""}"
occ-000667	slime/backends/sglang_utils/deployment.py	slime.backends.sglang_utils.deployment	60	60	11	27	_start_router	instance_candidate	candidates	is_alive	inferred_receiver_candidate	process.is_alive	    assert process.is_alive()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/deployment.py#L60	source_snapshot/slime/backends/sglang_utils/deployment.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""multiprocessing.Process(\n        target=run_router,\n        args=(router_args,),\n    )"", ""line"": 53, ""type"": ""multiprocessing.Process""}, ""resolved_non_native_name"": null}"
occ-000668	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L1	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-000669	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	21	21	19	29	unregister_worker	instance_candidate	candidates	get	unresolved_receiver_candidate	client.get	"        response = client.get(f""{router_url}/workers"", timeout=timeout)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L21	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000670	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	31	58	0	67	<module>	async_def	syntax	get_live_router_workers	python_ast	async def get_live_router_workers(router_url: str, *, timeout: float) -> list[dict]:	async def get_live_router_workers(router_url: str, *, timeout: float) -> list[dict]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L31-L58	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""async_protocol"": false}"
occ-000671	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	38	58	4	67	get_live_router_workers	async_with	syntax	async with	python_ast	    async with httpx.AsyncClient(timeout=timeout, trust_env=False) as client:	    async with httpx.AsyncClient(timeout=timeout, trust_env=False) as client:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L38-L58	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""items"": 1}"
occ-000672	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	39	39	19	60	get_live_router_workers	await	syntax	await	python_ast	"await client.get(f""{router_url}/workers"")"	"        response = await client.get(f""{router_url}/workers"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L39	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000673	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	39	39	25	35	get_live_router_workers	instance_candidate	candidates	get	unresolved_receiver_candidate	client.get	"        response = await client.get(f""{router_url}/workers"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L39	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000674	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	42	54	8	25	get_live_router_workers	async_def	syntax	check	python_ast	        async def check(worker):	        async def check(worker):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L42-L54	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""async_protocol"": false}"
occ-000675	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	44	44	27	79	get_live_router_workers.check	await	syntax	await	python_ast	"await client.get(f""{worker['url']}/health_generate"")"	"                response = await client.get(f""{worker['url']}/health_generate"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L44	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000676	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	44	44	33	43	get_live_router_workers.check	instance_candidate	candidates	get	unresolved_receiver_candidate	client.get	"                response = await client.get(f""{worker['url']}/health_generate"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L44	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000677	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	50	50	27	86	get_live_router_workers.check	await	syntax	await	python_ast	"await client.delete(f""{router_url}/workers/{worker['id']}"")"	"                response = await client.delete(f""{router_url}/workers/{worker['id']}"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L50	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000678	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	57	57	18	97	get_live_router_workers	await	syntax	await	python_ast	"await asyncio.gather(*(check(worker) for worker in response.json()[""workers""]))"	"        workers = await asyncio.gather(*(check(worker) for worker in response.json()[""workers""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L57	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000679	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	57	57	24	38	get_live_router_workers	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	"        workers = await asyncio.gather(*(check(worker) for worker in response.json()[""workers""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L57	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""access"": ""load""}"
occ-000680	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	72	72	16	24	num_requests_from_load	instance_candidate	candidates	get	unresolved_receiver_candidate	load.get	        value = load.get(key)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L72	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000681	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	77	77	18	26	num_requests_from_load	instance_candidate	candidates	get	unresolved_receiver_candidate	load.get	"        running = load.get(""num_running_reqs"", load.get(""total_running_reqs""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L77	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000682	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	77	77	47	55	num_requests_from_load	instance_candidate	candidates	get	unresolved_receiver_candidate	load.get	"        running = load.get(""num_running_reqs"", load.get(""total_running_reqs""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L77	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000683	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	78	78	18	26	num_requests_from_load	instance_candidate	candidates	get	unresolved_receiver_candidate	load.get	"        waiting = load.get(""num_waiting_reqs"", load.get(""total_waiting_reqs""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L78	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000684	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	78	78	47	55	num_requests_from_load	instance_candidate	candidates	get	unresolved_receiver_candidate	load.get	"        waiting = load.get(""num_waiting_reqs"", load.get(""total_waiting_reqs""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L78	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000685	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	110	110	12	20	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	load.get	"    loads = load.get(""loads"", [load])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L110	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000686	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	118	118	18	31	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	rank_load.get	"        dp_rank = rank_load.get(""dp_rank"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L118	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""rank_load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000687	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	120	120	19	32	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	rank_load.get	"        inflight = rank_load.get(""inflight"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L120	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""rank_load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000688	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	125	125	23	32	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	queue.get	"                reqs = queue.get(""reqs"") if isinstance(queue.get(""reqs""), list) else []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L125	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000689	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	125	125	55	64	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	queue.get	"                reqs = queue.get(""reqs"") if isinstance(queue.get(""reqs""), list) else []"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L125	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000690	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	126	126	24	33	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	queue.get	"                count = queue.get(""num_reqs"", len(reqs))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L126	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000691	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	130	130	54	63	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	queue.get	"                        {""dp_rank"": dp_rank, ""queue"": queue.get(""name"", ""unknown""), ""num_reqs"": count, ""reqs"": reqs}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L130	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000692	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	137	137	22	35	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	rank_load.get	            section = rank_load.get(section_name)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L137	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""rank_load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000693	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	144	144	20	33	non_idle_request_details	instance_candidate	candidates	get	unresolved_receiver_candidate	rank_load.get	            value = rank_load.get(key)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L144	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""rank_load"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000694	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	152	156	0	5	<module>	async_def	syntax	_abort_server_once	python_ast	async def _abort_server_once(url: str, request_timeout: float) -> None:	async def _abort_server_once(url: str, request_timeout: float) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L152-L156	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""async_protocol"": false}"
occ-000695	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	153	156	4	5	_abort_server_once	await	syntax	await	python_ast	"await asyncio.wait_for(
        post(f""{url}/abort_request"", {""abort_all"": True}, max_retries=1, timeout=request_timeout),
        timeout=request_timeout,
    )"	    await asyncio.wait_for(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L153-L156	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000696	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	153	153	10	26	_abort_server_once	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	    await asyncio.wait_for(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L153	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""access"": ""load""}"
occ-000697	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	159	163	0	5	<module>	async_def	syntax	_get_server_load	python_ast	async def _get_server_load(url: str, request_timeout: float) -> Any:	async def _get_server_load(url: str, request_timeout: float) -> Any:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L159-L163	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""async_protocol"": false}"
occ-000698	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	160	163	11	5	_get_server_load	await	syntax	await	python_ast	"await asyncio.wait_for(
        get(f""{url}/v1/loads?include=core,disagg,queues"", timeout=request_timeout),
        timeout=request_timeout,
    )"	    return await asyncio.wait_for(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L160-L163	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000699	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	160	160	17	33	_get_server_load	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	    return await asyncio.wait_for(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L160	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""access"": ""load""}"
occ-000700	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	166	234	0	20	<module>	async_def	syntax	abort_server_until_idle	python_ast	async def abort_server_until_idle(	async def abort_server_until_idle(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L166-L234	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""async_protocol"": false}"
occ-000701	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	176	176	11	35	abort_server_until_idle	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	    loop = asyncio.get_running_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L176	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""access"": ""load""}"
occ-000702	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	199	199	12	62	abort_server_until_idle	await	syntax	await	python_ast	await _abort_server_once(url, per_request_timeout)	            await _abort_server_once(url, per_request_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L199	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000703	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	210	210	19	79	abort_server_until_idle	await	syntax	await	python_ast	await _get_server_load(url, min(request_timeout, remaining))	            load = await _get_server_load(url, min(request_timeout, remaining))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L210	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000704	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	233	233	12	63	abort_server_until_idle	await	syntax	await	python_ast	await asyncio.sleep(min(retry_interval, remaining))	            await asyncio.sleep(min(retry_interval, remaining))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L233	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000705	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	233	233	18	31	abort_server_until_idle	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(min(retry_interval, remaining))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L233	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""access"": ""load""}"
occ-000706	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	237	254	0	9	<module>	async_def	syntax	abort_servers_until_idle	python_ast	async def abort_servers_until_idle(	async def abort_servers_until_idle(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L237-L254	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""async_protocol"": false}"
occ-000707	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	245	248	14	5	abort_servers_until_idle	await	syntax	await	python_ast	"await asyncio.gather(
        *(abort_server_until_idle(url, timeout=timeout, request_timeout=request_timeout) for url in urls),
        return_exceptions=True,
    )"	    results = await asyncio.gather(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L245-L248	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	{}
occ-000708	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	245	245	20	34	abort_servers_until_idle	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    results = await asyncio.gather(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L245	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""access"": ""load""}"
occ-000709	slime/backends/sglang_utils/server_control.py	slime.backends.sglang_utils.server_control	251	251	17	26	abort_servers_until_idle	instance_candidate	candidates	join	unresolved_receiver_candidate	"""; "".join"	"        detail = ""; "".join(f""{url}: {error}"" for url, error in failures)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/server_control.py#L251	source_snapshot/slime/backends/sglang_utils/server_control.py.txt	"{""receiver"": ""\""; \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000710	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	4	4	7	22	<module>	import	multiprocessing	multiprocessing	explicit_import	import multiprocessing	import multiprocessing	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L4	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""local_binding"": ""multiprocessing"", ""selective_module_import"": false, ""statement_line"": 4}"
occ-000711	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	5	5	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L5	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 5}"
occ-000712	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	6	6	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L6	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 6}"
occ-000713	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	32	32	54	77	<module>	api_reference	multiprocessing	multiprocessing.Process	lexical_import_resolution	multiprocessing.Process	def launch_server_process(server_args: ServerArgs) -> multiprocessing.Process:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L32	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000714	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	49	49	4	36	launch_server_process	api_call	multiprocessing	multiprocessing.set_start_method	lexical_import_resolution	multiprocessing.set_start_method	"    multiprocessing.set_start_method(""spawn"", force=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L49	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000715	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	51	51	8	31	launch_server_process	api_call	multiprocessing	multiprocessing.Process	lexical_import_resolution	multiprocessing.Process	    p = multiprocessing.Process(target=_launch_server, args=(server_args, os.getpid()))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L51	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000716	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	51	51	74	83	launch_server_process	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    p = multiprocessing.Process(target=_launch_server, args=(server_args, os.getpid()))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L51	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000717	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	52	52	4	11	launch_server_process	instance_candidate	candidates	start	inferred_receiver_candidate	p.start	    p.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L52	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""p"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""multiprocessing.Process(target=_launch_server, args=(server_args, os.getpid()))"", ""line"": 51, ""type"": ""multiprocessing.Process""}, ""resolved_non_native_name"": null}"
occ-000718	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	60	60	33	43	launch_server_process.<lambda>	instance_candidate	candidates	is_alive	inferred_receiver_candidate	p.is_alive	        is_process_alive=lambda: p.is_alive(),	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L60	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""p"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""multiprocessing.Process(target=_launch_server, args=(server_args, os.getpid()))"", ""line"": 51, ""type"": ""multiprocessing.Process""}, ""resolved_non_native_name"": null}"
occ-000719	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	73	73	7	17	_launch_server	api_call	os-process	os.getppid	lexical_import_resolution	os.getppid	    if os.getppid() == parent_pid:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L73	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000720	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	86	86	27	38	_wait_server_healthy	instance_candidate	candidates	get	unresolved_receiver_candidate	session.get	"                response = session.get(f""{base_url}/health_generate"", headers=headers, timeout=5)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L86	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""session"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000721	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	95	95	12	22	_wait_server_healthy	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L95	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000722	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	173	173	31	53	SGLangEngine._init_external._sanity_check_server_args	instance_candidate	candidates	get	unresolved_receiver_candidate	expect_server_args.get	                expect_value = expect_server_args.get(name)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L173	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""expect_server_args"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000723	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	174	174	31	53	SGLangEngine._init_external._sanity_check_server_args	instance_candidate	candidates	get	unresolved_receiver_candidate	actual_server_args.get	                actual_value = actual_server_args.get(name)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L174	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""actual_server_args"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000724	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	199	199	33	53	SGLangEngine._register_to_router	instance_candidate	candidates	get	unresolved_receiver_candidate	server_args_dict.get	"                bootstrap_port = server_args_dict.get(""disaggregation_bootstrap_port"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L199	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""server_args_dict"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000725	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	292	292	16	26	SGLangEngine.flush_cache	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L292	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000726	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	297	297	16	26	SGLangEngine.flush_cache	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L297	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""access"": ""load""}"
occ-000727	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	529	529	8	21	SGLangEngine.simulate_crash	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	self.shutdown	        self.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L529	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000728	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	547	547	18	42	_compute_server_args	instance_candidate	candidates	get	unresolved_receiver_candidate	normalized_overrides.get	"    pp_size = int(normalized_overrides.get(""pp_size"", args.sglang_pp_size))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L547	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""normalized_overrides"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000729	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	548	548	18	42	_compute_server_args	instance_candidate	candidates	get	unresolved_receiver_candidate	normalized_overrides.get	"    tp_size = int(normalized_overrides.get(""tp_size"", _gpus_per_engine // pp_size))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L548	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""normalized_overrides"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000730	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	633	633	12	22	_compute_server_args	instance_candidate	candidates	get	unresolved_receiver_candidate	kwargs.get	"        and kwargs.get(""enable_memory_saver"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L633	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""kwargs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000731	slime/backends/sglang_utils/sglang_engine.py	slime.backends.sglang_utils.sglang_engine	634	634	12	22	_compute_server_args	instance_candidate	candidates	get	unresolved_receiver_candidate	kwargs.get	"        and kwargs.get(""cuda_graph_backend_prefill"") is None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/backends/sglang_utils/sglang_engine.py#L634	source_snapshot/slime/backends/sglang_utils/sglang_engine.py.txt	"{""receiver"": ""kwargs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000732	slime/data/archive.py	slime.data.archive	26	26	11	25	RolloutArchive.__init__	instance_candidate	candidates	get	unresolved_receiver_candidate	self.index.get	"        if self.index.get(""format"") != ""slime.straw-debug"" or self.index.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L26	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""self.index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000733	slime/data/archive.py	slime.data.archive	26	26	62	76	RolloutArchive.__init__	instance_candidate	candidates	get	unresolved_receiver_candidate	self.index.get	"        if self.index.get(""format"") != ""slime.straw-debug"" or self.index.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L26	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""self.index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000734	slime/data/archive.py	slime.data.archive	56	56	19	28	RolloutArchive.save	import	threading	threading	explicit_import	import threading	            import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L56	source_snapshot/slime/data/archive.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 56}"
occ-000735	slime/data/archive.py	slime.data.archive	66	66	57	72	RolloutArchive.save	api_call	threading	threading.RLock	lexical_import_resolution	threading.RLock	            codec, lock = SampleCodec(store, args=args), threading.RLock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L66	source_snapshot/slime/data/archive.py.txt	"{""access"": ""load""}"
occ-000736	slime/data/archive.py	slime.data.archive	133	133	16	27	RolloutArchive.save	instance_candidate	candidates	close	unresolved_receiver_candidate	store.close	                store.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L133	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000737	slime/data/archive.py	slime.data.archive	146	146	11	20	RolloutArchive.check_metadata	instance_candidate	candidates	get	unresolved_receiver_candidate	index.get	"        if index.get(""format"") != ""slime.straw-debug"" or index.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L146	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000738	slime/data/archive.py	slime.data.archive	146	146	57	66	RolloutArchive.check_metadata	instance_candidate	candidates	get	unresolved_receiver_candidate	index.get	"        if index.get(""format"") != ""slime.straw-debug"" or index.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L146	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000739	slime/data/archive.py	slime.data.archive	148	148	19	28	RolloutArchive.check_metadata	instance_candidate	candidates	get	unresolved_receiver_candidate	index.get	"        metadata = index.get(""sample_metadata"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L148	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000740	slime/data/archive.py	slime.data.archive	154	154	11	23	RolloutArchive.check_metadata	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"        if metadata.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L154	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000741	slime/data/archive.py	slime.data.archive	184	184	20	29	RolloutArchive.load_samples	instance_candidate	candidates	get	unresolved_receiver_candidate	entry.get	"            chunk = entry.get(""chunk"", ""raw"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L184	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""entry"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000742	slime/data/archive.py	slime.data.archive	222	222	8	26	RolloutArchive.release	instance_candidate	candidates	release	unresolved_receiver_candidate	self.store.release	"        self.store.release(self.index[""storage_owner""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L222	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""self.store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000743	slime/data/archive.py	slime.data.archive	225	225	8	24	RolloutArchive.close	instance_candidate	candidates	close	unresolved_receiver_candidate	self.store.close	        self.store.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L225	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""self.store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000744	slime/data/archive.py	slime.data.archive	231	231	8	18	RolloutArchive.__exit__	instance_candidate	candidates	close	unresolved_receiver_candidate	self.close	        self.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/archive.py#L231	source_snapshot/slime/data/archive.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000745	slime/data/queue_data_source.py	slime.data.queue_data_source	11	11	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L11	source_snapshot/slime/data/queue_data_source.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 11}"
occ-000746	slime/data/queue_data_source.py	slime.data.queue_data_source	13	13	7	12	<module>	import	fcntl	fcntl	explicit_import	import fcntl	import fcntl	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L13	source_snapshot/slime/data/queue_data_source.py.txt	"{""local_binding"": ""fcntl"", ""selective_module_import"": true, ""statement_line"": 13}"
occ-000747	slime/data/queue_data_source.py	slime.data.queue_data_source	16	16	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L16	source_snapshot/slime/data/queue_data_source.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 16}"
occ-000748	slime/data/queue_data_source.py	slime.data.queue_data_source	17	17	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L17	source_snapshot/slime/data/queue_data_source.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 17}"
occ-000749	slime/data/queue_data_source.py	slime.data.queue_data_source	19	19	31	49	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import ThreadPoolExecutor	from concurrent.futures import ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L19	source_snapshot/slime/data/queue_data_source.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 19}"
occ-000750	slime/data/queue_data_source.py	slime.data.queue_data_source	73	73	20	31	RolloutQueueController.__init__	api_call	fcntl	fcntl.flock	lexical_import_resolution	fcntl.flock	                    fcntl.flock(self._checkpoint_lock.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L73	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000751	slime/data/queue_data_source.py	slime.data.queue_data_source	73	73	64	77	RolloutQueueController.__init__	api_reference	fcntl	fcntl.LOCK_EX	lexical_import_resolution	fcntl.LOCK_EX	                    fcntl.flock(self._checkpoint_lock.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L73	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000752	slime/data/queue_data_source.py	slime.data.queue_data_source	73	73	80	93	RolloutQueueController.__init__	api_reference	fcntl	fcntl.LOCK_NB	lexical_import_resolution	fcntl.LOCK_NB	                    fcntl.flock(self._checkpoint_lock.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L73	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000753	slime/data/queue_data_source.py	slime.data.queue_data_source	84	84	29	39	RolloutQueueController.__init__	instance_candidate	candidates	get	unresolved_receiver_candidate	branch.get	"                if parent := branch.get(""parent""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L84	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""branch"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000754	slime/data/queue_data_source.py	slime.data.queue_data_source	147	147	34	48	RolloutQueueController.__init__	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	            self._producer_lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L147	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000755	slime/data/queue_data_source.py	slime.data.queue_data_source	153	153	34	49	RolloutQueueController.__init__	api_call	threading	threading.RLock	lexical_import_resolution	threading.RLock	            self._training_lock = threading.RLock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L153	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000756	slime/data/queue_data_source.py	slime.data.queue_data_source	154	154	28	43	RolloutQueueController.__init__	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	            self._gc_stop = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L154	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000757	slime/data/queue_data_source.py	slime.data.queue_data_source	184	184	30	46	RolloutQueueController._start_gc	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	"            self._gc_thread = threading.Thread(target=self._gc_loop, name=""straw-gc"", daemon=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L184	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000758	slime/data/queue_data_source.py	slime.data.queue_data_source	185	185	12	33	RolloutQueueController._start_gc	instance_candidate	candidates	start	inferred_receiver_candidate	self._gc_thread.start	            self._gc_thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L185	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._gc_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._gc_loop, name=\""straw-gc\"", daemon=True)"", ""line"": 184, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000759	slime/data/queue_data_source.py	slime.data.queue_data_source	200	200	18	36	RolloutQueueController._gc_loop	instance_candidate	candidates	wait	inferred_receiver_candidate	self._gc_stop.wait	        while not self._gc_stop.wait(60):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L200	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._gc_stop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 154, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000760	slime/data/queue_data_source.py	slime.data.queue_data_source	205	205	16	33	RolloutQueueController._gc_loop	instance_candidate	candidates	set	inferred_receiver_candidate	self._gc_stop.set	                self._gc_stop.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L205	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._gc_stop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 154, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000761	slime/data/queue_data_source.py	slime.data.queue_data_source	206	206	16	32	RolloutQueueController._gc_loop	instance_candidate	candidates	exception	unresolved_receiver_candidate	logger.exception	"                logger.exception(""straw online GC failed; retained storage must be inspected"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L206	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""logger"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000762	slime/data/queue_data_source.py	slime.data.queue_data_source	263	263	46	57	RolloutQueueController.configuration.<lambda>	instance_candidate	candidates	read	unresolved_receiver_candidate	stream.read	"                    for chunk in iter(lambda: stream.read(4 * 1024 * 1024), b""""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L263	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""stream"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000763	slime/data/queue_data_source.py	slime.data.queue_data_source	292	292	23	56	RolloutQueueController.pending_snapshot	instance_candidate	candidates	get	unresolved_receiver_candidate	"self.queue.metrics()[""tasks""].get"	"            inflight = self.queue.metrics()[""tasks""].get(""leased"", 0) > 0"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L292	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue.metrics()[\""tasks\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000764	slime/data/queue_data_source.py	slime.data.queue_data_source	324	324	51	62	RolloutQueueController.fork_source	instance_candidate	candidates	get	unresolved_receiver_candidate	pending.get	"            if ""producer_cursor"" not in pending or pending.get(""inflight"", True):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L324	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""pending"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000765	slime/data/queue_data_source.py	slime.data.queue_data_source	356	356	34	45	RolloutQueueController.fork_source	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	"                        receipt = self.result(Lease(**status[""lease""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L356	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000766	slime/data/queue_data_source.py	slime.data.queue_data_source	358	358	31	49	RolloutQueueController.fork_source	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"                        page = self.queue.acquire(""fork-import"", 1, task_ids=[task_id])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L358	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000767	slime/data/queue_data_source.py	slime.data.queue_data_source	403	403	19	36	RolloutQueueController.pending_count.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	spec.metadata.get	"        return sum(spec.metadata.get(""returned"", False) for spec in self.queue.pending_tasks(task_prefix=""prompt:""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L403	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""spec.metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000768	slime/data/queue_data_source.py	slime.data.queue_data_source	438	438	21	30	RolloutQueueController.restore_pending.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	saved.get	                key: saved.get(key, default)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L438	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""saved"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000769	slime/data/queue_data_source.py	slime.data.queue_data_source	447	447	20	32	RolloutQueueController.restore_pending	instance_candidate	candidates	release	unresolved_receiver_candidate	self.release	"                    self.release([Lease(**status[""lease""])])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L447	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000770	slime/data/queue_data_source.py	slime.data.queue_data_source	448	448	23	41	RolloutQueueController.restore_pending	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"                page = self.queue.acquire(""checkpoint-restore"", 1, task_ids=[saved[""task_id""]])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L448	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000771	slime/data/queue_data_source.py	slime.data.queue_data_source	459	459	26	37	RolloutQueueController.restore_pending	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	"                receipt = self.result(Lease(**status[""lease""])) if status and status[""state""] == ""completed"" else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L459	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000772	slime/data/queue_data_source.py	slime.data.queue_data_source	463	463	28	40	RolloutQueueController.restore_pending	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"                        set(metadata.get(""source_positions"", [])) | {receipt.position}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L463	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000773	slime/data/queue_data_source.py	slime.data.queue_data_source	486	486	15	78	RolloutQueueController.reader_metadata	instance_candidate	candidates	get	unresolved_receiver_candidate	"self.codec.load(RecordSetRef.from_dict(state[""state_ref""])).get"	"        return self.codec.load(RecordSetRef.from_dict(state[""state_ref""])).get(""metadata"", {}) if state else {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L486	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.codec.load(RecordSetRef.from_dict(state[\""state_ref\""]))"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000774	slime/data/queue_data_source.py	slime.data.queue_data_source	501	501	15	33	RolloutQueueController.take	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"        page = self.queue.acquire(reader_id, count, task_prefix=""prompt:"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L501	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000775	slime/data/queue_data_source.py	slime.data.queue_data_source	506	506	19	37	RolloutQueueController.take	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"            page = self.queue.acquire(reader_id, count, task_prefix=""prompt:"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L506	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000776	slime/data/queue_data_source.py	slime.data.queue_data_source	558	558	15	33	RolloutQueueController.take	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"        return self.queue.acquire(reader_id, requested, task_prefix=""prompt:"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L558	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000777	slime/data/queue_data_source.py	slime.data.queue_data_source	564	564	56	67	RolloutQueueController.complete	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	        if lease.worker_id in self._retired_readers and self.result(lease) is None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L564	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000778	slime/data/queue_data_source.py	slime.data.queue_data_source	580	580	20	81	RolloutQueueController.reject	instance_candidate	candidates	get	unresolved_receiver_candidate	"self.queue.task_status(lease.task_id)[""spec""][""metadata""].get"	"        positions = self.queue.task_status(lease.task_id)[""spec""][""metadata""].get(""source_positions"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L580	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue.task_status(lease.task_id)[\""spec\""][\""metadata\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000779	slime/data/queue_data_source.py	slime.data.queue_data_source	596	596	16	27	RolloutQueueController.results.<comprehension>	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	        return [self.result(lease) if lease else None for lease in leases]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L596	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000780	slime/data/queue_data_source.py	slime.data.queue_data_source	621	621	32	60	RolloutQueueController.recover_reader_results.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"task[""spec""][""metadata""].get"	"                for position in task[""spec""][""metadata""].get(""source_positions"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L621	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""task[\""spec\""][\""metadata\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000781	slime/data/queue_data_source.py	slime.data.queue_data_source	657	657	15	24	RolloutQueueController.recover_pending_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	state.get	"            if state.get(""conversion_started"") or state[""processed_cursor""] or state[""processed_positions""]:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L657	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""state"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000782	slime/data/queue_data_source.py	slime.data.queue_data_source	665	665	32	60	RolloutQueueController.recover_pending_rollout.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"task[""spec""][""metadata""].get"	"                for position in task[""spec""][""metadata""].get(""source_positions"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L665	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""task[\""spec\""][\""metadata\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000783	slime/data/queue_data_source.py	slime.data.queue_data_source	685	685	15	33	RolloutQueueController.begin_collection	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"        page = self.queue.acquire(""manager"", 1, task_ids=[task_id], control=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L685	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000784	slime/data/queue_data_source.py	slime.data.queue_data_source	702	702	18	29	RolloutQueueController.batch	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	"        receipt = self.result(Lease(**task[""lease""])) if task[""state""] == ""completed"" else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L702	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000785	slime/data/queue_data_source.py	slime.data.queue_data_source	706	706	21	29	RolloutQueueController.batch	instance_candidate	candidates	get	unresolved_receiver_candidate	task.get	"            ""lease"": task.get(""lease""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L706	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000786	slime/data/queue_data_source.py	slime.data.queue_data_source	723	723	16	34	RolloutQueueController.plan_batch	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"                self.queue.acquire(""manager"", 1, task_ids=[batch_id], control=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L723	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000787	slime/data/queue_data_source.py	slime.data.queue_data_source	725	725	19	28	RolloutQueueController.plan_batch	instance_candidate	candidates	get	unresolved_receiver_candidate	state.get	"            if not state.get(""conversion_started""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L725	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""state"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000788	slime/data/queue_data_source.py	slime.data.queue_data_source	756	756	29	57	RolloutQueueController._advance	instance_candidate	candidates	get	unresolved_receiver_candidate	"task[""spec""][""metadata""].get"	"            positions.update(task[""spec""][""metadata""].get(""source_positions"", []))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L756	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""task[\""spec\""][\""metadata\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000789	slime/data/queue_data_source.py	slime.data.queue_data_source	821	821	27	45	RolloutQueueController.ready_batch	instance_candidate	candidates	acquire	unresolved_receiver_candidate	self.queue.acquire	"                    page = self.queue.acquire(""manager"", 1, task_ids=[batch_id], control=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L821	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000790	slime/data/queue_data_source.py	slime.data.queue_data_source	838	838	22	33	RolloutQueueController.finish_batch	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	"            receipt = self.result(Lease(**task[""lease""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L838	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000791	slime/data/queue_data_source.py	slime.data.queue_data_source	851	851	19	31	RolloutQueueController.record_dispositions	instance_candidate	candidates	get	unresolved_receiver_candidate	decision.get	"            if not decision.get(""reason"") or any("	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L851	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""decision"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000792	slime/data/queue_data_source.py	slime.data.queue_data_source	903	903	38	49	RolloutQueueController.restore_training_state.visit	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	                            receipt = self.result(Lease(**lease))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L903	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000793	slime/data/queue_data_source.py	slime.data.queue_data_source	907	907	46	57	RolloutQueueController.restore_training_state.visit	instance_candidate	candidates	result	unresolved_receiver_candidate	self.result	"                                    receipt = self.result(Lease(**task[""lease""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L907	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000794	slime/data/queue_data_source.py	slime.data.queue_data_source	911	911	40	49	RolloutQueueController.restore_training_state.visit	instance_candidate	candidates	get	unresolved_receiver_candidate	value.get	"                        retained.update(value.get(""source_positions"", []))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L911	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""value"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000795	slime/data/queue_data_source.py	slime.data.queue_data_source	970	970	12	29	RolloutQueueController.close	instance_candidate	candidates	set	inferred_receiver_candidate	self._gc_stop.set	            self._gc_stop.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L970	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._gc_stop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 154, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000796	slime/data/queue_data_source.py	slime.data.queue_data_source	972	972	16	36	RolloutQueueController.close	instance_candidate	candidates	join	inferred_receiver_candidate	self._gc_thread.join	                self._gc_thread.join()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L972	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._gc_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._gc_loop, name=\""straw-gc\"", daemon=True)"", ""line"": 184, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000797	slime/data/queue_data_source.py	slime.data.queue_data_source	974	974	16	33	RolloutQueueController.close	instance_candidate	candidates	close	unresolved_receiver_candidate	self._queue.close	                self._queue.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L974	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000798	slime/data/queue_data_source.py	slime.data.queue_data_source	983	983	16	43	RolloutQueueController.close	instance_candidate	candidates	close	unresolved_receiver_candidate	self._checkpoint_lock.close	                self._checkpoint_lock.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L983	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._checkpoint_lock"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000799	slime/data/queue_data_source.py	slime.data.queue_data_source	1034	1034	21	36	QueueReader.__init__	api_call	threading	threading.RLock	lexical_import_resolution	threading.RLock	        self._lock = threading.RLock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1034	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000800	slime/data/queue_data_source.py	slime.data.queue_data_source	1035	1035	23	41	QueueReader.__init__	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	"        self._reader = ThreadPoolExecutor(max_workers=1, thread_name_prefix=""queue-input"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1035	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000801	slime/data/queue_data_source.py	slime.data.queue_data_source	1036	1036	21	36	QueueReader.__init__	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	        self._stop = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1036	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000802	slime/data/queue_data_source.py	slime.data.queue_data_source	1044	1044	27	43	QueueReader.__init__	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	"        self._heartbeats = threading.Thread(target=self._heartbeat_loop, name=""queue-leases"", daemon=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1044	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000803	slime/data/queue_data_source.py	slime.data.queue_data_source	1045	1045	8	30	QueueReader.__init__	instance_candidate	candidates	start	inferred_receiver_candidate	self._heartbeats.start	        self._heartbeats.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1045	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._heartbeats"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._heartbeat_loop, name=\""queue-leases\"", daemon=True)"", ""line"": 1044, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000804	slime/data/queue_data_source.py	slime.data.queue_data_source	1049	1049	18	33	QueueReader._heartbeat_loop	instance_candidate	candidates	wait	inferred_receiver_candidate	self._stop.wait	        while not self._stop.wait(interval):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1049	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._stop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 1036, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000805	slime/data/queue_data_source.py	slime.data.queue_data_source	1058	1058	31	47	QueueReader._heartbeat_loop	instance_candidate	candidates	get	unresolved_receiver_candidate	self._leases.get	                            if self._leases.get(lease.task_id) != lease:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1058	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._leases"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000806	slime/data/queue_data_source.py	slime.data.queue_data_source	1093	1093	16	26	QueueReader.get_samples	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1093	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000807	slime/data/queue_data_source.py	slime.data.queue_data_source	1107	1107	57	85	QueueReader.get_samples	instance_candidate	candidates	get	unresolved_receiver_candidate	assignment.task.metadata.get	"                        sample._queue_source_positions = assignment.task.metadata.get(""source_positions"", [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1107	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""assignment.task.metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000808	slime/data/queue_data_source.py	slime.data.queue_data_source	1113	1115	4	108	QueueReader	async_def	syntax	get_samples_async	python_ast	    async def get_samples_async(self, num_samples):	    async def get_samples_async(self, num_samples):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1113-L1115	source_snapshot/slime/data/queue_data_source.py.txt	"{""async_protocol"": false}"
occ-000809	slime/data/queue_data_source.py	slime.data.queue_data_source	1115	1115	15	108	QueueReader.get_samples_async	await	syntax	await	python_ast	await asyncio.get_running_loop().run_in_executor(self._reader, self.get_samples, num_samples)	        return await asyncio.get_running_loop().run_in_executor(self._reader, self.get_samples, num_samples)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1115	source_snapshot/slime/data/queue_data_source.py.txt	{}
occ-000810	slime/data/queue_data_source.py	slime.data.queue_data_source	1115	1115	21	45	QueueReader.get_samples_async	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	        return await asyncio.get_running_loop().run_in_executor(self._reader, self.get_samples, num_samples)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1115	source_snapshot/slime/data/queue_data_source.py.txt	"{""access"": ""load""}"
occ-000811	slime/data/queue_data_source.py	slime.data.queue_data_source	1115	1115	21	63	QueueReader.get_samples_async	instance_candidate	candidates	run_in_executor	inferred_receiver_candidate	asyncio.get_running_loop().run_in_executor	        return await asyncio.get_running_loop().run_in_executor(self._reader, self.get_samples, num_samples)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1115	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""asyncio.get_running_loop()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 1115, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-000812	slime/data/queue_data_source.py	slime.data.queue_data_source	1146	1146	23	39	QueueReader.add_samples	instance_candidate	candidates	get	unresolved_receiver_candidate	self._leases.get	                    if self._leases.get(lease.task_id) == lease:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1146	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._leases"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000813	slime/data/queue_data_source.py	slime.data.queue_data_source	1210	1210	29	45	QueueReader.add_samples	instance_candidate	candidates	get	unresolved_receiver_candidate	self._leases.get	                if lease and self._leases.get(lease.task_id) == lease:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1210	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._leases"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000814	slime/data/queue_data_source.py	slime.data.queue_data_source	1284	1284	8	29	QueueReader.close	instance_candidate	candidates	shutdown	inferred_receiver_candidate	self._reader.shutdown	        self._reader.shutdown(wait=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1284	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._reader"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=1, thread_name_prefix=\""queue-input\"")"", ""line"": 1035, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-000815	slime/data/queue_data_source.py	slime.data.queue_data_source	1288	1288	8	22	QueueReader.close	instance_candidate	candidates	set	inferred_receiver_candidate	self._stop.set	        self._stop.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1288	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._stop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 1036, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-000816	slime/data/queue_data_source.py	slime.data.queue_data_source	1289	1289	8	29	QueueReader.close	instance_candidate	candidates	join	inferred_receiver_candidate	self._heartbeats.join	        self._heartbeats.join(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1289	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self._heartbeats"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._heartbeat_loop, name=\""queue-leases\"", daemon=True)"", ""line"": 1044, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000817	slime/data/queue_data_source.py	slime.data.queue_data_source	1417	1417	15	41	QueueDataSource.load	instance_candidate	candidates	get	unresolved_receiver_candidate	"state[""configuration""].get"	"            if state[""configuration""].get(""dataset"") != self.data_config.get(""dataset""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1417	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""state[\""configuration\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000818	slime/data/queue_data_source.py	slime.data.queue_data_source	1417	1417	56	76	QueueDataSource.load	instance_candidate	candidates	get	unresolved_receiver_candidate	self.data_config.get	"            if state[""configuration""].get(""dataset"") != self.data_config.get(""dataset""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1417	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""self.data_config"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000819	slime/data/queue_data_source.py	slime.data.queue_data_source	1424	1424	15	41	QueueDataSource.load	instance_candidate	candidates	get	unresolved_receiver_candidate	"state[""configuration""].get"	"            if state[""configuration""].get(""queue_id"", self.data_config[""queue_id""]) != self.data_config[""queue_id""]:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1424	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""state[\""configuration\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000820	slime/data/queue_data_source.py	slime.data.queue_data_source	1438	1438	12	26	QueueDataSource.close	instance_candidate	candidates	close	unresolved_receiver_candidate	consumer.close	            consumer.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1438	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""consumer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000821	slime/data/queue_data_source.py	slime.data.queue_data_source	1439	1439	8	21	QueueDataSource.close	instance_candidate	candidates	close	unresolved_receiver_candidate	super().close	        super().close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/queue_data_source.py#L1439	source_snapshot/slime/data/queue_data_source.py.txt	"{""receiver"": ""super()"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000822	slime/data/transport.py	slime.data.transport	5	5	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L5	source_snapshot/slime/data/transport.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-000823	slime/data/transport.py	slime.data.transport	7	7	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L7	source_snapshot/slime/data/transport.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 7}"
occ-000824	slime/data/transport.py	slime.data.transport	8	8	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L8	source_snapshot/slime/data/transport.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 8}"
occ-000825	slime/data/transport.py	slime.data.transport	25	25	16	30	<module>	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	_writers_lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L25	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000826	slime/data/transport.py	slime.data.transport	49	49	22	29	resolve_rollout_data_dir	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"            pattern = """".join("	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L49	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000827	slime/data/transport.py	slime.data.transport	59	59	11	20	resolve_rollout_data_dir	instance_candidate	candidates	get	unresolved_receiver_candidate	index.get	"        if index.get(""format"") != ""slime.straw-debug"" or index.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L59	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000828	slime/data/transport.py	slime.data.transport	59	59	57	66	resolve_rollout_data_dir	instance_candidate	candidates	get	unresolved_receiver_candidate	index.get	"        if index.get(""format"") != ""slime.straw-debug"" or index.get(""version"") != 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L59	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""index"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000829	slime/data/transport.py	slime.data.transport	90	90	11	20	rollout_store	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    key = (os.getpid(), root, run_id, profile, segment_mib, online_gc, json.dumps(declaration, sort_keys=True))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L90	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000830	slime/data/transport.py	slime.data.transport	105	105	36	51	rollout_store	api_call	threading	threading.RLock	lexical_import_resolution	threading.RLock	            _writers[key] = (store, threading.RLock())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L105	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000831	slime/data/transport.py	slime.data.transport	364	367	0	84	<module>	async_def	syntax	publish_rollout_async	python_ast	async def publish_rollout_async(value, args, rollout_id, *, group=False, controller=None):	async def publish_rollout_async(value, args, rollout_id, *, group=False, controller=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L364-L367	source_snapshot/slime/data/transport.py.txt	"{""async_protocol"": false}"
occ-000832	slime/data/transport.py	slime.data.transport	366	366	15	109	publish_rollout_async	await	syntax	await	python_ast	await run_rollout_io(args, pack_rollout_group, value, args, rollout_id, controller=controller)	        return await run_rollout_io(args, pack_rollout_group, value, args, rollout_id, controller=controller)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L366	source_snapshot/slime/data/transport.py.txt	{}
occ-000833	slime/data/transport.py	slime.data.transport	367	367	11	84	publish_rollout_async	await	syntax	await	python_ast	await run_rollout_io(args, pack_rollout_payload, value, args, rollout_id)	    return await run_rollout_io(args, pack_rollout_payload, value, args, rollout_id)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L367	source_snapshot/slime/data/transport.py.txt	{}
occ-000834	slime/data/transport.py	slime.data.transport	370	389	0	17	<module>	async_def	syntax	run_rollout_io	python_ast	async def run_rollout_io(args, function, *values, **kwargs):	async def run_rollout_io(args, function, *values, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L370-L389	source_snapshot/slime/data/transport.py.txt	"{""async_protocol"": false}"
occ-000835	slime/data/transport.py	slime.data.transport	372	372	11	35	run_rollout_io	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	    loop = asyncio.get_running_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L372	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000836	slime/data/transport.py	slime.data.transport	373	373	11	20	run_rollout_io	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    key = (os.getpid(), loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L373	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000837	slime/data/transport.py	slime.data.transport	375	375	29	46	run_rollout_io	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	"        _async_limits[key] = asyncio.Semaphore(getattr(args, ""rollout_io_concurrency"", 4))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L375	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000838	slime/data/transport.py	slime.data.transport	376	389	4	17	run_rollout_io	async_with	syntax	async with	python_ast	    async with _async_limits[key]:	    async with _async_limits[key]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L376-L389	source_snapshot/slime/data/transport.py.txt	"{""items"": 1}"
occ-000839	slime/data/transport.py	slime.data.transport	377	377	18	37	run_rollout_io	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        pending = asyncio.create_task(asyncio.to_thread(function, *values, **kwargs))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L377	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000840	slime/data/transport.py	slime.data.transport	377	377	38	55	run_rollout_io	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	        pending = asyncio.create_task(asyncio.to_thread(function, *values, **kwargs))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L377	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000841	slime/data/transport.py	slime.data.transport	379	379	19	48	run_rollout_io	await	syntax	await	python_ast	await asyncio.shield(pending)	            return await asyncio.shield(pending)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L379	source_snapshot/slime/data/transport.py.txt	{}
occ-000842	slime/data/transport.py	slime.data.transport	379	379	25	39	run_rollout_io	api_call	asyncio	asyncio.shield	lexical_import_resolution	asyncio.shield	            return await asyncio.shield(pending)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L379	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000843	slime/data/transport.py	slime.data.transport	380	380	15	37	run_rollout_io	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	        except asyncio.CancelledError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L380	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000844	slime/data/transport.py	slime.data.transport	383	383	22	34	run_rollout_io	instance_candidate	candidates	done	inferred_receiver_candidate	pending.done	            while not pending.done():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L383	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""pending"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(asyncio.to_thread(function, *values, **kwargs))"", ""line"": 377, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-000845	slime/data/transport.py	slime.data.transport	385	385	20	49	run_rollout_io	await	syntax	await	python_ast	await asyncio.shield(pending)	                    await asyncio.shield(pending)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L385	source_snapshot/slime/data/transport.py.txt	{}
occ-000846	slime/data/transport.py	slime.data.transport	385	385	26	40	run_rollout_io	api_call	asyncio	asyncio.shield	lexical_import_resolution	asyncio.shield	                    await asyncio.shield(pending)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L385	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000847	slime/data/transport.py	slime.data.transport	386	386	23	45	run_rollout_io	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	                except asyncio.CancelledError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L386	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000848	slime/data/transport.py	slime.data.transport	388	388	12	26	run_rollout_io	instance_candidate	candidates	result	inferred_receiver_candidate	pending.result	            pending.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L388	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""pending"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(asyncio.to_thread(function, *values, **kwargs))"", ""line"": 377, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-000849	slime/data/transport.py	slime.data.transport	410	422	0	13	<module>	async_def	syntax	unpack_published_payload	python_ast	async def unpack_published_payload(value):	async def unpack_published_payload(value):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L410-L422	source_snapshot/slime/data/transport.py.txt	"{""async_protocol"": false}"
occ-000850	slime/data/transport.py	slime.data.transport	413	413	15	69	unpack_published_payload	await	syntax	await	python_ast	await asyncio.to_thread(unpack_rollout_payload, value)	        return await asyncio.to_thread(unpack_rollout_payload, value)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L413	source_snapshot/slime/data/transport.py.txt	{}
occ-000851	slime/data/transport.py	slime.data.transport	413	413	21	38	unpack_published_payload	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	        return await asyncio.to_thread(unpack_rollout_payload, value)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L413	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000852	slime/data/transport.py	slime.data.transport	419	419	15	69	unpack_published_payload	await	syntax	await	python_ast	await asyncio.to_thread(unpack_rollout_payload, value)	        return await asyncio.to_thread(unpack_rollout_payload, value)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L419	source_snapshot/slime/data/transport.py.txt	{}
occ-000853	slime/data/transport.py	slime.data.transport	419	419	21	38	unpack_published_payload	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	        return await asyncio.to_thread(unpack_rollout_payload, value)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L419	source_snapshot/slime/data/transport.py.txt	"{""access"": ""load""}"
occ-000854	slime/data/transport.py	slime.data.transport	483	483	30	51	check_rollout_storage.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"node[""Resources""].get"	"        if node[""Alive""] and (node[""Resources""].get(""CPU"", 0) or node[""Resources""].get(""GPU"", 0))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L483	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""node[\""Resources\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000855	slime/data/transport.py	slime.data.transport	483	483	65	86	check_rollout_storage.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"node[""Resources""].get"	"        if node[""Alive""] and (node[""Resources""].get(""CPU"", 0) or node[""Resources""].get(""GPU"", 0))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/data/transport.py#L483	source_snapshot/slime/data/transport.py.txt	"{""receiver"": ""node[\""Resources\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000856	slime/observability/trace_utils.py	slime.observability.trace_utils	3	3	7	18	<module>	import	contextvars	contextvars	explicit_import	import contextvars	import contextvars	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L3	source_snapshot/slime/observability/trace_utils.py.txt	"{""local_binding"": ""contextvars"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-000857	slime/observability/trace_utils.py	slime.observability.trace_utils	5	5	7	14	<module>	import	inspect-async	inspect	explicit_import	import inspect	import inspect	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L5	source_snapshot/slime/observability/trace_utils.py.txt	"{""local_binding"": ""inspect"", ""selective_module_import"": true, ""statement_line"": 5}"
occ-000858	slime/observability/trace_utils.py	slime.observability.trace_utils	47	47	14	36	<module>	api_reference	contextvars	contextvars.ContextVar	lexical_import_resolution	contextvars.ContextVar	_TRACE_STACK: contextvars.ContextVar[tuple[tuple[str, str], ...]] = contextvars.ContextVar(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L47	source_snapshot/slime/observability/trace_utils.py.txt	"{""access"": ""load""}"
occ-000859	slime/observability/trace_utils.py	slime.observability.trace_utils	47	47	68	90	<module>	api_call	contextvars	contextvars.ContextVar	lexical_import_resolution	contextvars.ContextVar	_TRACE_STACK: contextvars.ContextVar[tuple[tuple[str, str], ...]] = contextvars.ContextVar(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L47	source_snapshot/slime/observability/trace_utils.py.txt	"{""access"": ""load""}"
occ-000860	slime/observability/trace_utils.py	slime.observability.trace_utils	51	51	21	43	<module>	api_reference	contextvars	contextvars.ContextVar	lexical_import_resolution	contextvars.ContextVar	_TRACE_HANDLE_STACK: contextvars.ContextVar[tuple[tuple[TraceHandle, ...], ...]] = contextvars.ContextVar(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L51	source_snapshot/slime/observability/trace_utils.py.txt	"{""access"": ""load""}"
occ-000861	slime/observability/trace_utils.py	slime.observability.trace_utils	51	51	83	105	<module>	api_call	contextvars	contextvars.ContextVar	lexical_import_resolution	contextvars.ContextVar	_TRACE_HANDLE_STACK: contextvars.ContextVar[tuple[tuple[TraceHandle, ...], ...]] = contextvars.ContextVar(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L51	source_snapshot/slime/observability/trace_utils.py.txt	"{""access"": ""load""}"
occ-000862	slime/observability/trace_utils.py	slime.observability.trace_utils	144	144	24	32	build_sglang_meta_trace_attrs	instance_candidate	candidates	get	unresolved_receiver_candidate	meta.get	"        finish_reason = meta.get(""finish_reason"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L144	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""meta"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000863	slime/observability/trace_utils.py	slime.observability.trace_utils	145	145	47	64	build_sglang_meta_trace_attrs	instance_candidate	candidates	get	unresolved_receiver_candidate	finish_reason.get	"        if isinstance(finish_reason, dict) and finish_reason.get(""type"") is not None:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L145	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""finish_reason"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000864	slime/observability/trace_utils.py	slime.observability.trace_utils	150	150	11	19	build_sglang_meta_trace_attrs	instance_candidate	candidates	get	unresolved_receiver_candidate	meta.get	"        if meta.get(""id"") is not None:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L150	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""meta"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000865	slime/observability/trace_utils.py	slime.observability.trace_utils	234	234	29	40	_ensure_trace_carrier	instance_candidate	candidates	get	unresolved_receiver_candidate	carrier.get	"    carrier[""attempt""] = int(carrier.get(""attempt"", attempt))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L234	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""carrier"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000866	slime/observability/trace_utils.py	slime.observability.trace_utils	248	248	22	38	bind_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.trace.get	"            sample_id=sample.trace.get(""sample_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L248	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""sample.trace"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000867	slime/observability/trace_utils.py	slime.observability.trace_utils	249	249	21	37	bind_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.trace.get	"            group_id=sample.trace.get(""group_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L249	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""sample.trace"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000868	slime/observability/trace_utils.py	slime.observability.trace_utils	250	250	24	40	bind_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.trace.get	"            attempt=int(sample.trace.get(""attempt"", 0)),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L250	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""sample.trace"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000869	slime/observability/trace_utils.py	slime.observability.trace_utils	277	277	22	31	bind_trace_carrier	instance_candidate	candidates	get	unresolved_receiver_candidate	trace.get	"            sample_id=trace.get(""sample_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L277	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""trace"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000870	slime/observability/trace_utils.py	slime.observability.trace_utils	278	278	21	30	bind_trace_carrier	instance_candidate	candidates	get	unresolved_receiver_candidate	trace.get	"            group_id=trace.get(""group_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L278	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""trace"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000871	slime/observability/trace_utils.py	slime.observability.trace_utils	279	279	24	33	bind_trace_carrier	instance_candidate	candidates	get	unresolved_receiver_candidate	trace.get	"            attempt=int(trace.get(""attempt"", 0)),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L279	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""trace"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000872	slime/observability/trace_utils.py	slime.observability.trace_utils	315	315	21	32	import_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            trace_id=payload.get(""trace_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L315	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000873	slime/observability/trace_utils.py	slime.observability.trace_utils	316	316	22	33	import_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            sample_id=payload.get(""sample_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L316	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000874	slime/observability/trace_utils.py	slime.observability.trace_utils	317	317	21	32	import_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            group_id=payload.get(""group_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L317	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000875	slime/observability/trace_utils.py	slime.observability.trace_utils	318	318	24	35	import_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            attempt=int(payload.get(""attempt"", 0)),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L318	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000876	slime/observability/trace_utils.py	slime.observability.trace_utils	319	319	27	38	import_trace	instance_candidate	candidates	get	unresolved_receiver_candidate	payload.get	"            parent_span_id=payload.get(""parent_span_id""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L319	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""payload"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000877	slime/observability/trace_utils.py	slime.observability.trace_utils	363	363	19	35	trace_span	instance_candidate	candidates	get	inferred_receiver_candidate	_TRACE_STACK.get	    stack_before = _TRACE_STACK.get()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L363	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_stack\"",\n    default=(),\n)"", ""line"": 47, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000878	slime/observability/trace_utils.py	slime.observability.trace_utils	364	364	26	49	trace_span	instance_candidate	candidates	get	inferred_receiver_candidate	_TRACE_HANDLE_STACK.get	    handle_stack_before = _TRACE_HANDLE_STACK.get()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L364	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_HANDLE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_handle_stack\"",\n    default=(),\n)"", ""line"": 51, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000879	slime/observability/trace_utils.py	slime.observability.trace_utils	383	383	16	32	trace_span	instance_candidate	candidates	set	inferred_receiver_candidate	_TRACE_STACK.set	        token = _TRACE_STACK.set(stack_before + tuple(new_entries))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L383	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_stack\"",\n    default=(),\n)"", ""line"": 47, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000880	slime/observability/trace_utils.py	slime.observability.trace_utils	384	384	23	46	trace_span	instance_candidate	candidates	set	inferred_receiver_candidate	_TRACE_HANDLE_STACK.set	        handle_token = _TRACE_HANDLE_STACK.set(handle_stack_before + (tuple(handles),))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L384	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_HANDLE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_handle_stack\"",\n    default=(),\n)"", ""line"": 51, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000881	slime/observability/trace_utils.py	slime.observability.trace_utils	419	419	12	30	trace_span	instance_candidate	candidates	reset	inferred_receiver_candidate	_TRACE_STACK.reset	            _TRACE_STACK.reset(token)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L419	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_stack\"",\n    default=(),\n)"", ""line"": 47, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000882	slime/observability/trace_utils.py	slime.observability.trace_utils	423	423	12	37	trace_span	instance_candidate	candidates	reset	inferred_receiver_candidate	_TRACE_HANDLE_STACK.reset	            _TRACE_HANDLE_STACK.reset(handle_token)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L423	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_HANDLE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_handle_stack\"",\n    default=(),\n)"", ""line"": 51, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000883	slime/observability/trace_utils.py	slime.observability.trace_utils	436	436	31	49	trace_next_attempt	instance_candidate	candidates	get	unresolved_receiver_candidate	handle.carrier.get	"            next_attempt = int(handle.carrier.get(""attempt"", 0)) + 1"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L436	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""handle.carrier"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000884	slime/observability/trace_utils.py	slime.observability.trace_utils	460	460	11	38	trace_function.decorator	api_call	inspect-async	inspect.iscoroutinefunction	lexical_import_resolution	inspect.iscoroutinefunction	        if inspect.iscoroutinefunction(fn):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L460	source_snapshot/slime/observability/trace_utils.py.txt	"{""access"": ""load""}"
occ-000885	slime/observability/trace_utils.py	slime.observability.trace_utils	463	475	12	52	trace_function.decorator	async_def	syntax	async_wrapper	python_ast	            async def async_wrapper(*args, **kwargs):	            async def async_wrapper(*args, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L463-L475	source_snapshot/slime/observability/trace_utils.py.txt	"{""async_protocol"": false}"
occ-000886	slime/observability/trace_utils.py	slime.observability.trace_utils	472	472	27	52	trace_function.decorator.async_wrapper	await	syntax	await	python_ast	await fn(*args, **kwargs)	                    return await fn(*args, **kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L472	source_snapshot/slime/observability/trace_utils.py.txt	{}
occ-000887	slime/observability/trace_utils.py	slime.observability.trace_utils	475	475	27	52	trace_function.decorator.async_wrapper	await	syntax	await	python_ast	await fn(*args, **kwargs)	                    return await fn(*args, **kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L475	source_snapshot/slime/observability/trace_utils.py.txt	{}
occ-000888	slime/observability/trace_utils.py	slime.observability.trace_utils	535	535	21	30	_append_trace_children	instance_candidate	candidates	get	unresolved_receiver_candidate	child.get	"        child_type = child.get(""type"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L535	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000889	slime/observability/trace_utils.py	slime.observability.trace_utils	536	536	21	30	_append_trace_children	instance_candidate	candidates	get	unresolved_receiver_candidate	child.get	"        child_name = child.get(""name"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L536	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000890	slime/observability/trace_utils.py	slime.observability.trace_utils	541	541	16	25	_append_trace_children	instance_candidate	candidates	get	unresolved_receiver_candidate	child.get	"        attrs = child.get(""attrs"") if isinstance(child.get(""attrs""), dict) else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L541	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000891	slime/observability/trace_utils.py	slime.observability.trace_utils	541	541	49	58	_append_trace_children	instance_candidate	candidates	get	unresolved_receiver_candidate	child.get	"        attrs = child.get(""attrs"") if isinstance(child.get(""attrs""), dict) else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L541	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000892	slime/observability/trace_utils.py	slime.observability.trace_utils	573	573	12	21	_append_trace_children	instance_candidate	candidates	get	unresolved_receiver_candidate	child.get	"            child.get(""children""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L573	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000893	slime/observability/trace_utils.py	slime.observability.trace_utils	604	604	23	41	_append_event	instance_candidate	candidates	get	unresolved_receiver_candidate	handle.carrier.get	"        ""attempt"": int(handle.carrier.get(""attempt"", handle.attempt)),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L604	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""handle.carrier"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000894	slime/observability/trace_utils.py	slime.observability.trace_utils	635	635	12	28	_get_current_parent_span_id	instance_candidate	candidates	get	inferred_receiver_candidate	_TRACE_STACK.get	    stack = _TRACE_STACK.get() if stack is None else stack	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L635	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_stack\"",\n    default=(),\n)"", ""line"": 47, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000895	slime/observability/trace_utils.py	slime.observability.trace_utils	664	664	43	62	_resolve_trace_function_target	instance_candidate	candidates	get	unresolved_receiver_candidate	bound.arguments.get	        resolved = _normalize_trace_target(bound.arguments.get(target))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L664	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""bound.arguments"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000896	slime/observability/trace_utils.py	slime.observability.trace_utils	755	755	19	42	_get_current_trace_target	instance_candidate	candidates	get	inferred_receiver_candidate	_TRACE_HANDLE_STACK.get	    handle_stack = _TRACE_HANDLE_STACK.get()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/observability/trace_utils.py#L755	source_snapshot/slime/observability/trace_utils.py.txt	"{""receiver"": ""_TRACE_HANDLE_STACK"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""contextvars.ContextVar(\n    \""slime_trace_handle_stack\"",\n    default=(),\n)"", ""line"": 51, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-000897	slime/ray/actor_group.py	slime.ray.actor_group	4	4	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/actor_group.py#L4	source_snapshot/slime/ray/actor_group.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 4}"
occ-000898	slime/ray/actor_group.py	slime.ray.actor_group	189	189	12	24	RayTrainGroup.update_weights	instance_candidate	candidates	release	unresolved_receiver_candidate	self.release	            self.release()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/actor_group.py#L189	source_snapshot/slime/ray/actor_group.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000899	slime/ray/actor_group.py	slime.ray.actor_group	203	203	12	22	RayTrainGroup.release	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/actor_group.py#L203	source_snapshot/slime/ray/actor_group.py.txt	"{""access"": ""load""}"
occ-000900	slime/ray/actor_group.py	slime.ray.actor_group	291	291	54	63	RayTrainGroup._reload_rollout_weights_from_disk	instance_candidate	candidates	join	unresolved_receiver_candidate	""", "".join"	"                    f""Expected: {weight_version}; "" + "", "".join(mismatches)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/actor_group.py#L291	source_snapshot/slime/ray/actor_group.py.txt	"{""receiver"": ""\"", \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000901	slime/ray/serving.py	slime.ray.serving	10	10	7	22	<module>	import	multiprocessing	multiprocessing	explicit_import	import multiprocessing	import multiprocessing	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L10	source_snapshot/slime/ray/serving.py.txt	"{""local_binding"": ""multiprocessing"", ""selective_module_import"": false, ""statement_line"": 10}"
occ-000902	slime/ray/serving.py	slime.ray.serving	57	57	56	87	ServingCluster.__init__	api_call	multiprocessing	multiprocessing.active_children	lexical_import_resolution	multiprocessing.active_children	        existing_children = {process.pid for process in multiprocessing.active_children()}	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L57	source_snapshot/slime/ray/serving.py.txt	"{""access"": ""load""}"
occ-000903	slime/ray/serving.py	slime.ray.serving	68	68	43	74	ServingCluster.__init__	api_call	multiprocessing	multiprocessing.active_children	lexical_import_resolution	multiprocessing.active_children	                    process for process in multiprocessing.active_children() if process.pid not in existing_children	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L68	source_snapshot/slime/ray/serving.py.txt	"{""access"": ""load""}"
occ-000904	slime/ray/serving.py	slime.ray.serving	76	76	16	53	ServingCluster.__init__	instance_candidate	candidates	exception	unresolved_receiver_candidate	logging.getLogger(__name__).exception	"                logging.getLogger(__name__).exception(""Failed to dispose partial serving deployment"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L76	source_snapshot/slime/ray/serving.py.txt	"{""receiver"": ""logging.getLogger(__name__)"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000905	slime/ray/serving.py	slime.ray.serving	115	115	99	108	ServingCluster.validate_attachment	instance_candidate	candidates	join	unresolved_receiver_candidate	""", "".join"	"            raise ValueError(""Retained serving requires unchanged rollout/model configuration: "" + "", "".join(changed))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L115	source_snapshot/slime/ray/serving.py.txt	"{""receiver"": ""\"", \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000906	slime/ray/serving.py	slime.ray.serving	168	168	12	24	ServingCluster.attach_training	instance_candidate	candidates	stop	unresolved_receiver_candidate	monitor.stop	            monitor.stop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L168	source_snapshot/slime/ray/serving.py.txt	"{""receiver"": ""monitor"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000907	slime/ray/serving.py	slime.ray.serving	173	173	16	29	ServingCluster.attach_training	instance_candidate	candidates	start	unresolved_receiver_candidate	monitor.start	                monitor.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L173	source_snapshot/slime/ray/serving.py.txt	"{""receiver"": ""monitor"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000908	slime/ray/serving.py	slime.ray.serving	318	318	19	34	ServingCluster.dispose	instance_candidate	candidates	is_alive	unresolved_receiver_candidate	router.is_alive	                if router.is_alive():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L318	source_snapshot/slime/ray/serving.py.txt	"{""receiver"": ""router"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000909	slime/ray/serving.py	slime.ray.serving	321	321	23	38	ServingCluster.dispose	instance_candidate	candidates	is_alive	unresolved_receiver_candidate	router.is_alive	                    if router.is_alive():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/ray/serving.py#L321	source_snapshot/slime/ray/serving.py.txt	"{""receiver"": ""router"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000910	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	3	3	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L3	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-000911	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	6	6	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L6	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-000912	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	60	60	25	44	RolloutScheduler.__init__	api_call	threading	threading.Condition	lexical_import_resolution	threading.Condition	        self.condition = threading.Condition()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L60	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000913	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	91	91	8	33	RolloutScheduler._retire_worker	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	        self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L91	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000914	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	108	108	73	91	RolloutScheduler._run	instance_candidate	candidates	get	unresolved_receiver_candidate	configurations.get	                        if not self.capacities[i] or i in configuring or configurations.get(i) == desired:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L108	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""configurations"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000915	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	126	126	24	49	RolloutScheduler._run	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                        self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L126	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000916	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	127	127	24	43	RolloutScheduler._run	instance_candidate	candidates	wait	inferred_receiver_candidate	self.condition.wait	                        self.condition.wait(timeout=0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L127	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000917	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	147	147	20	45	RolloutScheduler._run	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                    self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L147	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000918	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	151	151	16	41	RolloutScheduler._run	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L151	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000919	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	156	156	16	35	RolloutScheduler._run	instance_candidate	candidates	clear	unresolved_receiver_candidate	self.controls.clear	                self.controls.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L156	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.controls"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000920	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	157	157	16	34	RolloutScheduler._run	instance_candidate	candidates	clear	unresolved_receiver_candidate	self.pending.clear	                self.pending.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L157	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.pending"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000921	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	158	158	16	42	RolloutScheduler._run	instance_candidate	candidates	clear	unresolved_receiver_candidate	self.running_workers.clear	                self.running_workers.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L158	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.running_workers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000922	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	159	159	16	41	RolloutScheduler._run	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L159	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000923	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	171	171	12	33	RolloutScheduler.generate	instance_candidate	candidates	clear	unresolved_receiver_candidate	self.collecting.clear	            self.collecting.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L171	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.collecting"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000924	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	177	177	30	46	RolloutScheduler.generate	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	"                self.thread = threading.Thread(target=self._run, name=""rollout-collect"", daemon=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L177	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000925	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	178	178	16	33	RolloutScheduler.generate	instance_candidate	candidates	start	inferred_receiver_candidate	self.thread.start	                self.thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L178	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._run, name=\""rollout-collect\"", daemon=True)"", ""line"": 177, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000926	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	179	179	12	37	RolloutScheduler.generate	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	            self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L179	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000927	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	184	184	20	39	RolloutScheduler.generate	instance_candidate	candidates	wait	inferred_receiver_candidate	self.condition.wait	                    self.condition.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L184	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000928	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	198	198	16	41	RolloutScheduler.generate	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L198	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000929	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	211	211	12	37	RolloutScheduler.pause	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	            self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L211	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000930	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	214	214	20	43	RolloutScheduler.pause.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	self.configurations.get	                    self.configurations.get(worker) != (True, self.rollout_id) for worker in self.running_workers	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L214	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.configurations"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000931	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	220	220	16	35	RolloutScheduler.pause	instance_candidate	candidates	wait	inferred_receiver_candidate	self.condition.wait	                self.condition.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L220	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000932	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	228	228	12	37	RolloutScheduler.resume	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	            self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L228	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000933	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	248	248	12	37	RolloutScheduler.close	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	            self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L248	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 60, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-000934	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	250	250	12	28	RolloutScheduler.close	instance_candidate	candidates	join	inferred_receiver_candidate	self.thread.join	            self.thread.join()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L250	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._run, name=\""rollout-collect\"", daemon=True)"", ""line"": 177, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-000935	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	279	281	4	41	_GenerationActor	async_def	syntax	start	python_ast	    async def start(self, rollout_id):	    async def start(self, rollout_id):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L279-L281	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000936	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	280	280	17	49	_GenerationActor.start	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	        future = asyncio.run_coroutine_threadsafe(self._start(rollout_id), get_async_loop().loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L280	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000937	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	281	281	8	41	_GenerationActor.start	await	syntax	await	python_ast	await asyncio.wrap_future(future)	        await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L281	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000938	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	281	281	14	33	_GenerationActor.start	api_call	asyncio	asyncio.wrap_future	lexical_import_resolution	asyncio.wrap_future	        await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L281	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000939	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	283	292	4	64	_GenerationActor	async_def	syntax	_start	python_ast	    async def _start(self, rollout_id):	    async def _start(self, rollout_id):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L283-L292	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000940	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	286	286	36	54	_GenerationActor._start	instance_candidate	candidates	done	unresolved_receiver_candidate	self.producer.done	        if self.producer is None or self.producer.done():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L286	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.producer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000941	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	288	288	16	36	_GenerationActor._start	instance_candidate	candidates	result	unresolved_receiver_candidate	self.producer.result	                self.producer.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L288	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.producer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000942	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	291	291	27	40	_GenerationActor._start	api_call	asyncio	asyncio.Queue	lexical_import_resolution	asyncio.Queue	            self.outputs = asyncio.Queue(maxsize=1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L291	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000943	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	292	292	28	47	_GenerationActor._start	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	            self.producer = asyncio.create_task(self._produce())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L292	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000944	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	294	296	4	41	_GenerationActor	async_def	syntax	pause	python_ast	    async def pause(self):	    async def pause(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L294-L296	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000945	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	295	295	17	49	_GenerationActor.pause	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	        future = asyncio.run_coroutine_threadsafe(self._pause(), get_async_loop().loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L295	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000946	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	296	296	8	41	_GenerationActor.pause	await	syntax	await	python_ast	await asyncio.wrap_future(future)	        await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L296	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000947	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	296	296	14	33	_GenerationActor.pause	api_call	asyncio	asyncio.wrap_future	lexical_import_resolution	asyncio.wrap_future	        await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L296	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000948	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	298	299	4	28	_GenerationActor	async_def	syntax	_pause	python_ast	    async def _pause(self):	    async def _pause(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L298-L299	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000949	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	301	303	4	48	_GenerationActor	async_def	syntax	next	python_ast	    async def next(self):	    async def next(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L301-L303	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000950	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	302	302	17	49	_GenerationActor.next	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	        future = asyncio.run_coroutine_threadsafe(self._next(), get_async_loop().loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L302	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000951	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	303	303	15	48	_GenerationActor.next	await	syntax	await	python_ast	await asyncio.wrap_future(future)	        return await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L303	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000952	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	303	303	21	40	_GenerationActor.next	api_call	asyncio	asyncio.wrap_future	lexical_import_resolution	asyncio.wrap_future	        return await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L303	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000953	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	305	317	4	62	_GenerationActor	async_def	syntax	_next	python_ast	    async def _next(self):	    async def _next(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L305-L317	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000954	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	306	306	15	34	_GenerationActor._next	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        take = asyncio.create_task(self.outputs.get())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L306	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000955	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	306	306	35	51	_GenerationActor._next	instance_candidate	candidates	get	inferred_receiver_candidate	self.outputs.get	        take = asyncio.create_task(self.outputs.get())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L306	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.outputs"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Queue(maxsize=1)"", ""line"": 291, ""type"": ""asyncio.Queue""}, ""resolved_non_native_name"": null}"
occ-000956	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	308	308	12	90	_GenerationActor._next	await	syntax	await	python_ast	await asyncio.wait((take, self.producer), return_when=asyncio.FIRST_COMPLETED)	            await asyncio.wait((take, self.producer), return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L308	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000957	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	308	308	18	30	_GenerationActor._next	api_call	asyncio	asyncio.wait	lexical_import_resolution	asyncio.wait	            await asyncio.wait((take, self.producer), return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L308	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000958	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	308	308	66	89	_GenerationActor._next	api_reference	asyncio	asyncio.FIRST_COMPLETED	lexical_import_resolution	asyncio.FIRST_COMPLETED	            await asyncio.wait((take, self.producer), return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L308	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000959	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	309	309	15	24	_GenerationActor._next	instance_candidate	candidates	done	inferred_receiver_candidate	take.done	            if take.done():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L309	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""take"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(self.outputs.get())"", ""line"": 306, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-000960	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	310	310	23	34	_GenerationActor._next	instance_candidate	candidates	result	inferred_receiver_candidate	take.result	                return take.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L310	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""take"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(self.outputs.get())"", ""line"": 306, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-000961	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	311	311	12	32	_GenerationActor._next	instance_candidate	candidates	result	inferred_receiver_candidate	self.producer.result	            self.producer.result()  # Propagate custom generation errors.	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L311	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.producer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(self._produce())"", ""line"": 292, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-000962	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	312	312	19	37	_GenerationActor._next	instance_candidate	candidates	empty	inferred_receiver_candidate	self.outputs.empty	            if not self.outputs.empty():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L312	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.outputs"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Queue(maxsize=1)"", ""line"": 291, ""type"": ""asyncio.Queue""}, ""resolved_non_native_name"": null}"
occ-000963	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	313	313	23	33	_GenerationActor._next	await	syntax	await	python_ast	await take	                return await take	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L313	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000964	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	316	316	12	23	_GenerationActor._next	instance_candidate	candidates	cancel	inferred_receiver_candidate	take.cancel	            take.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L316	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""take"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(self.outputs.get())"", ""line"": 306, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-000965	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	317	317	12	62	_GenerationActor._next	await	syntax	await	python_ast	await asyncio.gather(take, return_exceptions=True)	            await asyncio.gather(take, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L317	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000966	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	317	317	18	32	_GenerationActor._next	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(take, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L317	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000967	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	319	342	4	64	_GenerationActor	async_def	syntax	_produce	python_ast	    async def _produce(self):	    async def _produce(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L319-L342	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000968	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	320	326	8	26	_GenerationActor._produce	async_def	syntax	generate_slot	python_ast	        async def generate_slot(group):	        async def generate_slot(group):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L320-L326	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000969	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	322	322	25	75	_GenerationActor._produce.generate_slot	await	syntax	await	python_ast	await self._generate_group(self.rollout_id, group)	                output = await self._generate_group(self.rollout_id, group)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L322	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000970	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	325	325	20	50	_GenerationActor._produce.generate_slot	await	syntax	await	python_ast	await self.outputs.put(output)	                    await self.outputs.put(output)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L325	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000971	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	325	325	26	42	_GenerationActor._produce.generate_slot	instance_candidate	candidates	put	inferred_receiver_candidate	self.outputs.put	                    await self.outputs.put(output)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L325	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.outputs"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Queue(maxsize=1)"", ""line"": 291, ""type"": ""asyncio.Queue""}, ""resolved_non_native_name"": null}"
occ-000972	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	333	333	25	98	_GenerationActor._produce	await	syntax	await	python_ast	await self.data_source.get_samples_async(min(64, self.capacity - offset))	                groups = await self.data_source.get_samples_async(min(64, self.capacity - offset))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L333	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000973	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	334	334	29	48	_GenerationActor._produce.<comprehension>	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	                tasks.extend(asyncio.create_task(generate_slot(group)) for group in groups)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L334	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000974	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	337	337	16	42	_GenerationActor._produce	await	syntax	await	python_ast	await asyncio.sleep(0.001)	                await asyncio.sleep(0.001)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L337	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000975	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	337	337	22	35	_GenerationActor._produce	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                await asyncio.sleep(0.001)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L337	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000976	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	338	338	12	40	_GenerationActor._produce	await	syntax	await	python_ast	await asyncio.gather(*tasks)	            await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L338	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000977	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	338	338	18	32	_GenerationActor._produce	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L338	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000978	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	341	341	16	27	_GenerationActor._produce	instance_candidate	candidates	cancel	unresolved_receiver_candidate	task.cancel	                task.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L341	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-000979	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	342	342	12	64	_GenerationActor._produce	await	syntax	await	python_ast	await asyncio.gather(*tasks, return_exceptions=True)	            await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L342	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000980	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	342	342	18	32	_GenerationActor._produce	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L342	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000981	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	344	395	4	29	_GenerationActor	async_def	syntax	_generate_group	python_ast	    async def _generate_group(self, rollout_id, group=None):	    async def _generate_group(self, rollout_id, group=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L344-L395	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000982	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	348	348	21	64	_GenerationActor._generate_group	await	syntax	await	python_ast	await self.data_source.get_samples_async(1)	            group = (await self.data_source.get_samples_async(1))[0]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L348	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000983	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	352	352	12	39	_GenerationActor._generate_group	await	syntax	await	python_ast	await self._rebuffer(group)	            await self._rebuffer(group)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L352	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000984	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	360	360	24	104	_GenerationActor._generate_group	await	syntax	await	python_ast	await generate_and_rm_group(self.args, group, self.state.sampling_params.copy())	                group = await generate_and_rm_group(self.args, group, self.state.sampling_params.copy())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L360	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000985	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	364	364	12	39	_GenerationActor._generate_group	await	syntax	await	python_ast	await self._rebuffer(group)	            await self._rebuffer(group)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L364	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000986	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	373	379	12	13	_GenerationActor._generate_group	await	syntax	await	python_ast	"await asyncio.to_thread(
                discard_rollout_group,
                group,
                self.args,
                verdict.reason or ""dynamic_filter"",
                controller=self.data_source.controller,
            )"	            await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L373-L379	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000987	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	373	373	18	35	_GenerationActor._generate_group	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	            await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L373	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000988	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	382	384	20	13	_GenerationActor._generate_group	await	syntax	await	python_ast	"await publish_rollout_async(
                group, self.args, rollout_id, group=True, controller=self.data_source.controller
            )"	            group = await publish_rollout_async(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L382-L384	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000989	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	387	389	27	17	_GenerationActor._generate_group	await	syntax	await	python_ast	"await publish_rollout_async(
                    group, self.args, rollout_id, group=True, controller=self.data_source.controller
                )"	                accepted = await publish_rollout_async(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L387-L389	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000990	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	394	394	20	88	_GenerationActor._generate_group	await	syntax	await	python_ast	await asyncio.to_thread(self.data_source.materialize_samples, group)	            group = await asyncio.to_thread(self.data_source.materialize_samples, group)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L394	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000991	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	394	394	26	43	_GenerationActor._generate_group	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	            group = await asyncio.to_thread(self.data_source.materialize_samples, group)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L394	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000992	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	397	405	4	36	_GenerationActor	async_def	syntax	_rebuffer	python_ast	    async def _rebuffer(self, group):	    async def _rebuffer(self, group):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L397-L405	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000993	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	401	401	17	41	_GenerationActor._rebuffer	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	        future = asyncio.get_running_loop().create_future()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L401	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000994	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	401	401	17	57	_GenerationActor._rebuffer	instance_candidate	candidates	create_future	inferred_receiver_candidate	asyncio.get_running_loop().create_future	        future = asyncio.get_running_loop().create_future()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L401	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""asyncio.get_running_loop()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 401, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-000995	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	404	404	34	53	_GenerationActor._rebuffer	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	            self._rebuffer_task = asyncio.create_task(self._flush_rebuffers())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L404	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000996	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	405	405	8	36	_GenerationActor._rebuffer	await	syntax	await	python_ast	await asyncio.shield(future)	        await asyncio.shield(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L405	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-000997	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	405	405	14	28	_GenerationActor._rebuffer	api_call	asyncio	asyncio.shield	lexical_import_resolution	asyncio.shield	        await asyncio.shield(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L405	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-000998	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	407	422	4	38	_GenerationActor	async_def	syntax	_flush_rebuffers	python_ast	    async def _flush_rebuffers(self):	    async def _flush_rebuffers(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L407-L422	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-000999	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	409	409	12	37	_GenerationActor._flush_rebuffers	await	syntax	await	python_ast	await asyncio.sleep(0.01)	            await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L409	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-001000	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	409	409	18	31	_GenerationActor._flush_rebuffers	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L409	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-001001	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	413	413	20	104	_GenerationActor._flush_rebuffers	await	syntax	await	python_ast	await asyncio.to_thread(self.data_source.add_samples, [group for group, _ in batch])	                    await asyncio.to_thread(self.data_source.add_samples, [group for group, _ in batch])	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L413	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-001002	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	413	413	26	43	_GenerationActor._flush_rebuffers	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	                    await asyncio.to_thread(self.data_source.add_samples, [group for group, _ in batch])	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L413	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-001003	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	416	416	24	44	_GenerationActor._flush_rebuffers	instance_candidate	candidates	set_exception	unresolved_receiver_candidate	future.set_exception	                        future.set_exception(error)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L416	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001004	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	417	417	20	49	_GenerationActor._flush_rebuffers	instance_candidate	candidates	clear	unresolved_receiver_candidate	self._pending_rebuffers.clear	                    self._pending_rebuffers.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L417	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self._pending_rebuffers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001005	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	420	420	20	37	_GenerationActor._flush_rebuffers	instance_candidate	candidates	set_result	unresolved_receiver_candidate	future.set_result	                    future.set_result(None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L420	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001006	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	429	429	39	48	_GenerationActor.load_state_dict	instance_candidate	candidates	get	unresolved_receiver_candidate	state.get	"        if isinstance(state, dict) and state.get(""worker_state"") == 1:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L429	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""state"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001007	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	434	436	4	41	_GenerationActor	async_def	syntax	close	python_ast	    async def close(self):	    async def close(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L434-L436	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-001008	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	435	435	17	49	_GenerationActor.close	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	        future = asyncio.run_coroutine_threadsafe(self._close(), get_async_loop().loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L435	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-001009	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	436	436	8	41	_GenerationActor.close	await	syntax	await	python_ast	await asyncio.wrap_future(future)	        await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L436	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-001010	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	436	436	14	33	_GenerationActor.close	api_call	asyncio	asyncio.wrap_future	lexical_import_resolution	asyncio.wrap_future	        await asyncio.wrap_future(future)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L436	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-001011	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	438	451	4	37	_GenerationActor	async_def	syntax	_close	python_ast	    async def _close(self):	    async def _close(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L438-L451	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""async_protocol"": false}"
occ-001012	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	441	441	12	32	_GenerationActor._close	instance_candidate	candidates	cancel	inferred_receiver_candidate	self.producer.cancel	            self.producer.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L441	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.producer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(self._produce())"", ""line"": 292, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-001013	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	442	442	12	71	_GenerationActor._close	await	syntax	await	python_ast	await asyncio.gather(self.producer, return_exceptions=True)	            await asyncio.gather(self.producer, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L442	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-001014	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	442	442	18	32	_GenerationActor._close	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(self.producer, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L442	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-001015	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	444	444	12	37	_GenerationActor._close	await	syntax	await	python_ast	await self._rebuffer_task	            await self._rebuffer_task	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L444	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-001016	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	447	447	8	68	_GenerationActor._close	await	syntax	await	python_ast	await asyncio.get_running_loop().shutdown_default_executor()	        await asyncio.get_running_loop().shutdown_default_executor()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L447	source_snapshot/slime/rollout/fully_async_distributed.py.txt	{}
occ-001017	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	447	447	14	38	_GenerationActor._close	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	        await asyncio.get_running_loop().shutdown_default_executor()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L447	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""access"": ""load""}"
occ-001018	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	447	447	14	66	_GenerationActor._close	instance_candidate	candidates	shutdown_default_executor	inferred_receiver_candidate	asyncio.get_running_loop().shutdown_default_executor	        await asyncio.get_running_loop().shutdown_default_executor()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L447	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""asyncio.get_running_loop()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 447, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-001019	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	448	448	8	30	_GenerationActor._close	instance_candidate	candidates	close	unresolved_receiver_candidate	self.data_source.close	        self.data_source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L448	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""self.data_source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001020	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	502	502	63	84	DistributedRollout.__init__.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"node[""Resources""].get"	"            (node for node in ray.nodes() if node[""Alive""] and node[""Resources""].get(""CPU"", 0) >= 1),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L502	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""node[\""Resources\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001021	slime/rollout/fully_async_distributed.py	slime.rollout.fully_async_distributed	576	576	8	21	DistributedRollout.close	instance_candidate	candidates	close	unresolved_receiver_candidate	super().close	        super().close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_distributed.py#L576	source_snapshot/slime/rollout/fully_async_distributed.py.txt	"{""receiver"": ""super()"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001022	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	31	31	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L31	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 31}"
occ-001023	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	33	33	7	12	<module>	import	queue	queue	explicit_import	import queue	import queue	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L33	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""local_binding"": ""queue"", ""selective_module_import"": false, ""statement_line"": 33}"
occ-001024	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	34	34	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L34	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 34}"
occ-001025	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	59	59	13	38	_get_worker	instance_candidate	candidates	get	unresolved_receiver_candidate	data_buffer.consumers.get	"    worker = data_buffer.consumers.get(""fully_async"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L59	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""data_buffer.consumers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001026	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	74	74	12	24	_get_worker	instance_candidate	candidates	start	unresolved_receiver_candidate	worker.start	            worker.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L74	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""worker"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001027	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	88	88	25	44	AsyncRolloutWorker.__init__	api_call	threading	threading.Condition	lexical_import_resolution	threading.Condition	        self.condition = threading.Condition()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L88	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001028	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	97	97	27	38	AsyncRolloutWorker.__init__	api_reference	queue	queue.Queue	lexical_import_resolution	queue.Queue	        self.output_queue: queue.Queue[tuple[int, list[Sample]]] = queue.Queue()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L97	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001029	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	97	97	67	78	AsyncRolloutWorker.__init__	api_call	queue	queue.Queue	lexical_import_resolution	queue.Queue	        self.output_queue: queue.Queue[tuple[int, list[Sample]]] = queue.Queue()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L97	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001030	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	99	99	28	44	AsyncRolloutWorker.__init__	api_reference	threading	threading.Thread	lexical_import_resolution	threading.Thread	        self.worker_thread: threading.Thread | None = None	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L99	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001031	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	105	105	45	72	AsyncRolloutWorker.start	instance_candidate	candidates	is_alive	unresolved_receiver_candidate	self.worker_thread.is_alive	        if self.worker_thread is None or not self.worker_thread.is_alive():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L105	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.worker_thread"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001032	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	106	106	33	49	AsyncRolloutWorker.start	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	"            self.worker_thread = threading.Thread(target=self._thread_main, name=""fully-async-rollout"", daemon=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L106	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001033	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	107	107	12	36	AsyncRolloutWorker.start	instance_candidate	candidates	start	inferred_receiver_candidate	self.worker_thread.start	            self.worker_thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L107	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.worker_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._thread_main, name=\""fully-async-rollout\"", daemon=True)"", ""line"": 106, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001034	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	114	114	16	35	AsyncRolloutWorker.pause	instance_candidate	candidates	wait	inferred_receiver_candidate	self.condition.wait	                self.condition.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L114	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 88, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001035	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	133	133	12	33	AsyncRolloutWorker.load_state_dict	instance_candidate	candidates	put	inferred_receiver_candidate	self.output_queue.put	            self.output_queue.put(result)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L133	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.output_queue"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 97, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-001036	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	138	138	12	35	AsyncRolloutWorker.close	instance_candidate	candidates	join	inferred_receiver_candidate	self.worker_thread.join	            self.worker_thread.join(timeout=35)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L138	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.worker_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._thread_main, name=\""fully-async-rollout\"", daemon=True)"", ""line"": 106, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001037	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	139	139	15	42	AsyncRolloutWorker.close	instance_candidate	candidates	is_alive	inferred_receiver_candidate	self.worker_thread.is_alive	            if self.worker_thread.is_alive():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L139	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.worker_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._thread_main, name=\""fully-async-rollout\"", daemon=True)"", ""line"": 106, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001038	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	153	153	33	61	AsyncRolloutWorker.get_completed_groups	instance_candidate	candidates	get_nowait	inferred_receiver_candidate	self.output_queue.get_nowait	                completed.append(self.output_queue.get_nowait())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L153	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.output_queue"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 97, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-001039	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	154	154	19	30	AsyncRolloutWorker.get_completed_groups	api_reference	queue	queue.Empty	lexical_import_resolution	queue.Empty	            except queue.Empty:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L154	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001040	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	159	159	15	38	AsyncRolloutWorker.queue_size	instance_candidate	candidates	qsize	inferred_receiver_candidate	self.output_queue.qsize	        return self.output_queue.qsize()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L159	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.output_queue"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 97, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-001041	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	165	165	12	23	AsyncRolloutWorker._thread_main	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	            asyncio.run(self._loop())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L165	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001042	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	171	171	16	41	AsyncRolloutWorker._thread_main	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L171	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 88, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001043	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	173	239	4	20	AsyncRolloutWorker	async_def	syntax	_loop	python_ast	    async def _loop(self) -> None:	    async def _loop(self) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L173-L239	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""async_protocol"": false}"
occ-001044	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	174	174	26	38	AsyncRolloutWorker._loop	api_reference	asyncio	asyncio.Task	lexical_import_resolution	asyncio.Task	        active_tasks: set[asyncio.Task] = set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L174	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001045	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	182	182	55	61	AsyncRolloutWorker._loop.<comprehension>	instance_candidate	candidates	done	unresolved_receiver_candidate	t.done	                    done = {t for t in active_tasks if t.done()}	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L182	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001046	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	185	185	28	36	AsyncRolloutWorker._loop	instance_candidate	candidates	result	unresolved_receiver_candidate	t.result	                            t.result()  # results already handled in callback	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L185	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""t"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001047	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	192	192	24	46	AsyncRolloutWorker._loop	await	syntax	await	python_ast	await asyncio.sleep(0)	                        await asyncio.sleep(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L192	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001048	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	192	192	30	43	AsyncRolloutWorker._loop	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                        await asyncio.sleep(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L192	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001049	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	199	199	24	47	AsyncRolloutWorker._loop	instance_candidate	candidates	qsize	inferred_receiver_candidate	self.output_queue.qsize	                    and self.output_queue.qsize() < max_concurrent	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L199	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.output_queue"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 97, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-001050	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	209	209	31	50	AsyncRolloutWorker._loop	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	                        task = asyncio.create_task(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L209	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001051	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	217	217	24	46	AsyncRolloutWorker._loop	instance_candidate	candidates	add_done_callback	inferred_receiver_candidate	task.add_done_callback	                        task.add_done_callback(self._make_done_cb(gid))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L217	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(\n                            generate_and_rm_group(\n                                self.args,\n                                group,\n                                sampling_params=self.state.sampling_params.copy(),\n                                evaluation=False,\n                            )\n                        )"", ""line"": 209, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-001052	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	223	223	20	45	AsyncRolloutWorker._loop	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                    self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L223	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 88, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001053	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	226	226	16	55	AsyncRolloutWorker._loop	await	syntax	await	python_ast	await asyncio.sleep(self.poll_interval)	                await asyncio.sleep(self.poll_interval)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L226	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001054	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	226	226	22	35	AsyncRolloutWorker._loop	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                await asyncio.sleep(self.poll_interval)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L226	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001055	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	237	237	16	60	AsyncRolloutWorker._loop	await	syntax	await	python_ast	await asyncio.wait(active_tasks, timeout=30)	                await asyncio.wait(active_tasks, timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L237	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001056	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	237	237	22	34	AsyncRolloutWorker._loop	api_call	asyncio	asyncio.wait	lexical_import_resolution	asyncio.wait	                await asyncio.wait(active_tasks, timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L237	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001057	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	242	242	27	39	AsyncRolloutWorker._make_done_cb	api_reference	asyncio	asyncio.Task	lexical_import_resolution	asyncio.Task	        def _cb(done_task: asyncio.Task) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L242	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001058	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	244	244	25	41	AsyncRolloutWorker._make_done_cb._cb	instance_candidate	candidates	result	unresolved_receiver_candidate	done_task.result	                result = done_task.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L244	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""done_task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001059	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	245	245	19	41	AsyncRolloutWorker._make_done_cb._cb	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	            except asyncio.CancelledError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L245	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001060	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	261	261	20	36	AsyncRolloutWorker._make_done_cb._cb	instance_candidate	candidates	exception	unresolved_receiver_candidate	logger.exception	"                    logger.exception(""fully-async: failed to requeue aborted group"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L261	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""logger"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001061	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	263	263	12	33	AsyncRolloutWorker._make_done_cb._cb	instance_candidate	candidates	put	inferred_receiver_candidate	self.output_queue.put	            self.output_queue.put((gid, result))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L263	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""self.output_queue"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""queue.Queue()"", ""line"": 97, ""type"": ""queue.Queue""}, ""resolved_non_native_name"": null}"
occ-001062	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	268	365	0	98	<module>	async_def	syntax	_generate_rollout_async	python_ast	async def _generate_rollout_async(args, rollout_id: int, data_buffer) -> RolloutFnTrainOutput | list[list[Sample]]:	async def _generate_rollout_async(args, rollout_id: int, data_buffer) -> RolloutFnTrainOutput | list[list[Sample]]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L268-L365	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""async_protocol"": false}"
occ-001063	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	306	308	28	21	_generate_rollout_async	await	syntax	await	python_ast	"await publish_rollout_async(
                        group, args, rollout_id, group=True, controller=getattr(data_buffer, ""controller"", None)
                    )"	                    group = await publish_rollout_async(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L306-L308	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001064	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	312	318	12	13	_generate_rollout_async	await	syntax	await	python_ast	"await asyncio.to_thread(
                discard_rollout_group,
                group,
                args,
                verdict.reason or ""dynamic_filter"",
                controller=getattr(data_buffer, ""controller"", None),
            )"	            await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L312-L318	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001065	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	312	312	18	35	_generate_rollout_async	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	            await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L312	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001066	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	321	321	35	51	_generate_rollout_async	instance_candidate	candidates	get	unresolved_receiver_candidate	drop_reasons.get	            drop_reasons[reason] = drop_reasons.get(reason, 0) + 1	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L321	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""receiver"": ""drop_reasons"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001067	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	324	324	12	37	_generate_rollout_async	await	syntax	await	python_ast	await asyncio.sleep(0.05)	            await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L324	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001068	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	324	324	18	31	_generate_rollout_async	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L324	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001069	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	357	364	17	9	_generate_rollout_async	await	syntax	await	python_ast	"await asyncio.to_thread(
            finalize_rollout_groups,
            args,
            rollout_id,
            collected,
            metrics if filters_enabled else None,
            controller=getattr(data_buffer, ""controller"", None),
        )"	        output = await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L357-L364	source_snapshot/slime/rollout/fully_async_rollout.py.txt	{}
occ-001070	slime/rollout/fully_async_rollout.py	slime.rollout.fully_async_rollout	357	357	23	40	_generate_rollout_async	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	        output = await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/fully_async_rollout.py#L357	source_snapshot/slime/rollout/fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001071	slime/rollout/on_policy_distillation.py	slime.rollout.on_policy_distillation	8	29	0	36	<module>	async_def	syntax	reward_func	python_ast	async def reward_func(args, sample, **kwargs):	async def reward_func(args, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/on_policy_distillation.py#L8-L29	source_snapshot/slime/rollout/on_policy_distillation.py.txt	"{""async_protocol"": false}"
occ-001072	slime/rollout/on_policy_distillation.py	slime.rollout.on_policy_distillation	21	21	36	64	reward_func	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.multimodal_inputs.get	"    if sample.multimodal_inputs and sample.multimodal_inputs.get(""images""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/on_policy_distillation.py#L21	source_snapshot/slime/rollout/on_policy_distillation.py.txt	"{""receiver"": ""sample.multimodal_inputs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001073	slime/rollout/on_policy_distillation.py	slime.rollout.on_policy_distillation	26	29	4	36	reward_func	async_with	syntax	async with	python_ast	    async with aiohttp.ClientSession(**session_kwargs) as session:	    async with aiohttp.ClientSession(**session_kwargs) as session:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/on_policy_distillation.py#L26-L29	source_snapshot/slime/rollout/on_policy_distillation.py.txt	"{""items"": 1}"
occ-001074	slime/rollout/on_policy_distillation.py	slime.rollout.on_policy_distillation	27	29	8	36	reward_func	async_with	syntax	async with	python_ast	        async with session.post(args.rm_url, json=payload) as resp:	        async with session.post(args.rm_url, json=payload) as resp:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/on_policy_distillation.py#L27-L29	source_snapshot/slime/rollout/on_policy_distillation.py.txt	"{""items"": 1}"
occ-001075	slime/rollout/on_policy_distillation.py	slime.rollout.on_policy_distillation	29	29	19	36	reward_func	await	syntax	await	python_ast	await resp.json()	            return await resp.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/on_policy_distillation.py#L29	source_snapshot/slime/rollout/on_policy_distillation.py.txt	{}
occ-001076	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L1	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001077	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	34	52	0	40	<module>	async_def	syntax	remote_rm	python_ast	async def remote_rm(args, sample: Sample, max_retries: int = 10):	async def remote_rm(args, sample: Sample, max_retries: int = 10):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L34-L52	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""async_protocol"": false}"
occ-001078	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	43	45	12	40	remote_rm	async_with	syntax	async with	python_ast	            async with session.post(args.rm_url, json=payload) as resp:	            async with session.post(args.rm_url, json=payload) as resp:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L43-L45	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""items"": 1}"
occ-001079	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	45	45	23	40	remote_rm	await	syntax	await	python_ast	await resp.json()	                return await resp.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L45	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001080	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	52	52	12	40	remote_rm	await	syntax	await	python_ast	await asyncio.sleep(backoff)	            await asyncio.sleep(backoff)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L52	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001081	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	52	52	18	31	remote_rm	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(backoff)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L52	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""access"": ""load""}"
occ-001082	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	55	96	0	73	<module>	async_def	syntax	async_rm	python_ast	async def async_rm(args, sample: Sample, **kwargs):	async def async_rm(args, sample: Sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L55-L96	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""async_protocol"": false}"
occ-001083	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	59	59	15	56	async_rm	await	syntax	await	python_ast	await rm_function(args, sample, **kwargs)	        return await rm_function(args, sample, **kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L59	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001084	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	63	63	15	56	async_rm	await	syntax	await	python_ast	await rm_function(args, sample, **kwargs)	        return await rm_function(args, sample, **kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L63	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001085	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	66	66	15	27	async_rm	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"    rm_type = (metadata.get(""rm_type"") or args.rm_type or """").strip()"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L66	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001086	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	76	76	15	44	async_rm	await	syntax	await	python_ast	await remote_rm(args, sample)	        return await remote_rm(args, sample)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L76	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001087	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	99	110	0	18	<module>	async_def	syntax	batched_async_rm	python_ast	async def batched_async_rm(	async def batched_async_rm(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L99-L110	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""async_protocol"": false}"
occ-001088	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	107	107	15	57	batched_async_rm	await	syntax	await	python_ast	await rm_function(args, samples, **kwargs)	        return await rm_function(args, samples, **kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L107	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001089	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	109	109	14	42	batched_async_rm	await	syntax	await	python_ast	await asyncio.gather(*tasks)	    rewards = await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L109	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	{}
occ-001090	slime/rollout/rm_hub/__init__.py	slime.rollout.rm_hub.__init__	109	109	20	34	batched_async_rm	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    rewards = await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/__init__.py#L109	source_snapshot/slime/rollout/rm_hub/__init__.py.txt	"{""access"": ""load""}"
occ-001091	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	6	6	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L6	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-001092	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	27	27	12	26	_ensure_ifbench_repo	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	            subprocess.run(clone_cmd, check=True, capture_output=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L27	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""access"": ""load""}"
occ-001093	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	62	62	8	22	_ensure_ifbench_dependencies	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	        subprocess.run(install_cmd, check=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L62	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""access"": ""load""}"
occ-001094	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	132	132	49	61	_build_input_example	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"    instruction_ids = _normalize_instruction_ids(metadata.get(""instruction_id_list"") or [])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L132	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001095	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	137	137	18	30	_build_input_example	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"    prompt_text = metadata.get(""prompt_text"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L137	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001096	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	143	143	17	29	_build_input_example	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"    raw_kwargs = metadata.get(""kwargs"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L143	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001097	slime/rollout/rm_hub/ifbench.py	slime.rollout.rm_hub.ifbench	147	147	16	28	_build_input_example	instance_candidate	candidates	get	unresolved_receiver_candidate	metadata.get	"        key=int(metadata.get(""record_id"") or 0),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/ifbench.py#L147	source_snapshot/slime/rollout/rm_hub/ifbench.py.txt	"{""receiver"": ""metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001098	slime/rollout/rm_hub/math_dapo_utils.py	slime.rollout.rm_hub.math_dapo_utils	17	17	7	13	<module>	import	signal	signal	explicit_import	import signal	import signal	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/math_dapo_utils.py#L17	source_snapshot/slime/rollout/rm_hub/math_dapo_utils.py.txt	"{""local_binding"": ""signal"", ""selective_module_import"": false, ""statement_line"": 17}"
occ-001099	slime/rollout/rm_hub/math_dapo_utils.py	slime.rollout.rm_hub.math_dapo_utils	75	75	8	21	timeout.__enter__	api_call	signal	signal.signal	lexical_import_resolution	signal.signal	        signal.signal(signal.SIGALRM, self.handle_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/math_dapo_utils.py#L75	source_snapshot/slime/rollout/rm_hub/math_dapo_utils.py.txt	"{""access"": ""load""}"
occ-001100	slime/rollout/rm_hub/math_dapo_utils.py	slime.rollout.rm_hub.math_dapo_utils	75	75	22	36	timeout.__enter__	api_reference	signal	signal.SIGALRM	lexical_import_resolution	signal.SIGALRM	        signal.signal(signal.SIGALRM, self.handle_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/math_dapo_utils.py#L75	source_snapshot/slime/rollout/rm_hub/math_dapo_utils.py.txt	"{""access"": ""load""}"
occ-001101	slime/rollout/rm_hub/math_dapo_utils.py	slime.rollout.rm_hub.math_dapo_utils	76	76	8	20	timeout.__enter__	api_call	signal	signal.alarm	lexical_import_resolution	signal.alarm	        signal.alarm(self.seconds)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/math_dapo_utils.py#L76	source_snapshot/slime/rollout/rm_hub/math_dapo_utils.py.txt	"{""access"": ""load""}"
occ-001102	slime/rollout/rm_hub/math_dapo_utils.py	slime.rollout.rm_hub.math_dapo_utils	79	79	8	20	timeout.__exit__	api_call	signal	signal.alarm	lexical_import_resolution	signal.alarm	        signal.alarm(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/rm_hub/math_dapo_utils.py#L79	source_snapshot/slime/rollout/rm_hub/math_dapo_utils.py.txt	"{""access"": ""load""}"
occ-001103	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	3	3	7	14	<module>	import	inspect-async	inspect	explicit_import	import inspect	import inspect	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L3	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""local_binding"": ""inspect"", ""selective_module_import"": true, ""statement_line"": 3}"
occ-001104	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	5	5	24	34	<module>	import	contextvars	contextvars.ContextVar	explicit_import	from contextvars import ContextVar	from contextvars import ContextVar	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L5	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""local_binding"": ""ContextVar"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-001105	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	12	12	19	29	<module>	api_call	contextvars	contextvars.ContextVar	lexical_import_resolution	ContextVar	"_task_rollout_id = ContextVar(""rollout_sample_hook_id"", default=None)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L12	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""access"": ""load""}"
occ-001106	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	23	23	12	32	rollout_context	instance_candidate	candidates	set	inferred_receiver_candidate	_task_rollout_id.set	    token = _task_rollout_id.set(rollout_id)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L23	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""receiver"": ""_task_rollout_id"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ContextVar(\""rollout_sample_hook_id\"", default=None)"", ""line"": 12, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-001107	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	27	27	8	30	rollout_context	instance_candidate	candidates	reset	inferred_receiver_candidate	_task_rollout_id.reset	        _task_rollout_id.reset(token)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L27	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""receiver"": ""_task_rollout_id"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ContextVar(\""rollout_sample_hook_id\"", default=None)"", ""line"": 12, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-001108	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	37	49	0	17	<module>	async_def	syntax	_apply_to_sample	python_ast	async def _apply_to_sample(args, sample: Sample, paths: list[str], **kwargs) -> Sample:	async def _apply_to_sample(args, sample: Sample, paths: list[str], **kwargs) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L37-L49	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""async_protocol"": false}"
occ-001109	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	41	41	11	30	_apply_to_sample	api_call	inspect-async	inspect.isawaitable	lexical_import_resolution	inspect.isawaitable	        if inspect.isawaitable(result):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L41	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""access"": ""load""}"
occ-001110	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	42	42	21	33	_apply_to_sample	await	syntax	await	python_ast	await result	            result = await result	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L42	source_snapshot/slime/rollout/sample_hooks.py.txt	{}
occ-001111	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	52	64	0	97	<module>	async_def	syntax	apply_rollout_sample_hooks	python_ast	async def apply_rollout_sample_hooks(args, value, **kwargs):	async def apply_rollout_sample_hooks(args, value, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L52-L64	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""async_protocol"": false}"
occ-001112	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	58	58	17	37	apply_rollout_sample_hooks	instance_candidate	candidates	get	inferred_receiver_candidate	_task_rollout_id.get	    rollout_id = _task_rollout_id.get()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L58	source_snapshot/slime/rollout/sample_hooks.py.txt	"{""receiver"": ""_task_rollout_id"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ContextVar(\""rollout_sample_hook_id\"", default=None)"", ""line"": 12, ""type"": ""contextvars.ContextVar""}, ""resolved_non_native_name"": null}"
occ-001113	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	61	61	15	67	apply_rollout_sample_hooks	await	syntax	await	python_ast	await _apply_to_sample(args, value, paths, **kwargs)	        return await _apply_to_sample(args, value, paths, **kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L61	source_snapshot/slime/rollout/sample_hooks.py.txt	{}
occ-001114	slime/rollout/sample_hooks.py	slime.rollout.sample_hooks	63	63	16	70	apply_rollout_sample_hooks.<comprehension>	await	syntax	await	python_ast	await apply_rollout_sample_hooks(args, item, **kwargs)	        return [await apply_rollout_sample_hooks(args, item, **kwargs) for item in value]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sample_hooks.py#L63	source_snapshot/slime/rollout/sample_hooks.py.txt	{}
occ-001115	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L1	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001116	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	8	8	28	37	<module>	import	async-typing	collections.abc.Awaitable	explicit_import	from collections.abc import Awaitable, Callable	from collections.abc import Awaitable, Callable	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L8	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""local_binding"": ""Awaitable"", ""selective_module_import"": false, ""statement_line"": 8}"
occ-001117	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	95	95	25	42	GenerateState.__init__	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	        self.semaphore = asyncio.Semaphore(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L95	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001118	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	121	121	8	18	GenerateState.__init__	instance_candidate	candidates	reset	unresolved_receiver_candidate	self.reset	        self.reset()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L121	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001119	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	145	145	16	35	GenerateState.submit_generate_tasks	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	                asyncio.create_task(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L145	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001120	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	158	255	0	17	<module>	async_def	syntax	generate	python_ast	async def generate(args: Namespace, sample: Sample, sampling_params: dict[str, Any]) -> Sample:	async def generate(args: Namespace, sample: Sample, sampling_params: dict[str, Any]) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L158-L255	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001121	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	201	201	13	41	generate	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.multimodal_inputs.get	"    images = sample.multimodal_inputs.get(""images"") if sample.multimodal_inputs else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L201	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""sample.multimodal_inputs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001122	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	220	229	17	9	generate	await	syntax	await	python_ast	"await post(
            url,
            payload,
            headers=headers,
            score_centering_top_k=(
                (0 if args.rollout_top_p < 1 else args.score_centering_top_k)
                if getattr(args, ""use_score_centering"", False)
                else None
            ),
        )"	        output = await post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L220-L229	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001123	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	258	274	0	45	<module>	async_def	syntax	_run_request_abortable_generate	python_ast	async def _run_request_abortable_generate(	async def _run_request_abortable_generate(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L258-L274	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001124	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	261	261	19	28	<module>	api_reference	async-typing	collections.abc.Awaitable	lexical_import_resolution	Awaitable	    generate_call: Awaitable[Sample | list[Sample]],	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L261	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001125	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	263	263	11	31	_run_request_abortable_generate	api_call	asyncio	asyncio.current_task	lexical_import_resolution	asyncio.current_task	    task = asyncio.current_task()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L263	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001126	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	267	267	15	34	_run_request_abortable_generate	await	syntax	await	python_ast	await generate_call	        return await generate_call	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L267	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001127	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	268	268	11	33	_run_request_abortable_generate	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	    except asyncio.CancelledError:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L268	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001128	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	277	285	0	44	<module>	async_def	syntax	_run_server_abort_generate	python_ast	async def _run_server_abort_generate(	async def _run_server_abort_generate(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L277-L285	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001129	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	279	279	19	28	<module>	api_reference	async-typing	collections.abc.Awaitable	lexical_import_resolution	Awaitable	    generate_call: Awaitable[Sample | list[Sample]],	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L279	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001130	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	283	283	15	34	_run_server_abort_generate	await	syntax	await	python_ast	await generate_call	        return await generate_call	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L283	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001131	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	289	376	0	17	<module>	async_def	syntax	generate_and_rm	python_ast	async def generate_and_rm(	async def generate_and_rm(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L289-L376	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001132	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	329	347	4	79	generate_and_rm	async_with	syntax	async with	python_ast	    async with state.semaphore:	    async with state.semaphore:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L329-L347	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""items"": 1}"
occ-001133	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	330	330	8	43	generate_and_rm	await	syntax	await	python_ast	await state.generation_pacer.wait()	        await state.generation_pacer.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L330	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001134	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	330	330	14	41	generate_and_rm	instance_candidate	candidates	wait	unresolved_receiver_candidate	state.generation_pacer.wait	        await state.generation_pacer.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L330	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""state.generation_pacer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001135	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	345	345	25	92	generate_and_rm	await	syntax	await	python_ast	await _run_request_abortable_generate(state, sample, generate_call)	                sample = await _run_request_abortable_generate(state, sample, generate_call)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L345	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001136	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	347	347	25	79	generate_and_rm	await	syntax	await	python_ast	await _run_server_abort_generate(state, generate_call)	                sample = await _run_server_abort_generate(state, generate_call)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L347	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001137	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	350	350	13	82	generate_and_rm	await	syntax	await	python_ast	await apply_rollout_sample_hooks(args, sample, evaluation=evaluation)	    sample = await apply_rollout_sample_hooks(args, sample, evaluation=evaluation)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L350	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001138	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	364	364	22	71	generate_and_rm	await	syntax	await	python_ast	await batched_async_rm(args, samples_need_reward)	            rewards = await batched_async_rm(args, samples_need_reward)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L364	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001139	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	374	374	32	60	generate_and_rm	await	syntax	await	python_ast	await async_rm(args, sample)	                sample.reward = await async_rm(args, sample)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L374	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001140	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	384	423	0	16	<module>	async_def	syntax	generate_and_rm_group	python_ast	async def generate_and_rm_group(	async def generate_and_rm_group(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L384-L423	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001141	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	411	411	12	31	generate_and_rm_group	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	            asyncio.create_task(generate_and_rm(args, sample, current_sampling_params, evaluation=evaluation))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L411	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001142	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	414	414	12	40	generate_and_rm_group	await	syntax	await	python_ast	await asyncio.gather(*tasks)	    group = await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L414	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001143	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	414	414	18	32	generate_and_rm_group	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    group = await asyncio.gather(*tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L414	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001144	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	419	419	22	57	generate_and_rm_group	await	syntax	await	python_ast	await batched_async_rm(args, group)	            rewards = await batched_async_rm(args, group)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L419	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001145	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	426	473	0	26	<module>	async_def	syntax	abort	python_ast	async def abort(args: Namespace, rollout_id: int) -> list[list[Sample]]:	async def abort(args: Namespace, rollout_id: int) -> list[list[Sample]]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L426-L473	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001146	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	436	436	8	19	abort	instance_candidate	candidates	cancel	unresolved_receiver_candidate	task.cancel	        task.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L436	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001147	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	441	441	23	57	abort	await	syntax	await	python_ast	"await get(f""{router_url}/workers"")"	"            workers = (await get(f""{router_url}/workers""))[""workers""]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L441	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001148	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	445	445	22	106	abort	await	syntax	await	python_ast	await get_live_router_workers(router_url, timeout=args.rollout_health_check_timeout)	            workers = await get_live_router_workers(router_url, timeout=args.rollout_health_check_timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L445	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001149	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	447	447	8	44	abort	await	syntax	await	python_ast	await abort_servers_until_idle(urls)	        await abort_servers_until_idle(urls)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L447	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001150	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	449	449	4	68	abort	await	syntax	await	python_ast	await asyncio.gather(*cancellable_tasks, return_exceptions=True)	    await asyncio.gather(*cancellable_tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L449	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001151	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	449	449	10	24	abort	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    await asyncio.gather(*cancellable_tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L449	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001152	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	454	454	31	102	abort	await	syntax	await	python_ast	await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	        done, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L454	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001153	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	454	454	37	49	abort	api_call	asyncio	asyncio.wait	lexical_import_resolution	asyncio.wait	        done, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L454	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001154	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	454	454	78	101	abort	api_reference	asyncio	asyncio.FIRST_COMPLETED	lexical_import_resolution	asyncio.FIRST_COMPLETED	        done, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L454	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001155	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	461	461	20	31	abort	instance_candidate	candidates	result	unresolved_receiver_candidate	task.result	            group = task.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L461	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001156	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	476	597	0	34	<module>	async_def	syntax	generate_rollout_async	python_ast	async def generate_rollout_async(	async def generate_rollout_async(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L476-L597	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001157	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	517	517	26	87	generate_rollout_async	await	syntax	await	python_ast	await reader.get_samples_async(args.over_sampling_batch_size)	                samples = await reader.get_samples_async(args.over_sampling_batch_size)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L517	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001158	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	523	523	31	102	generate_rollout_async	await	syntax	await	python_ast	await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	        done, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L523	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001159	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	523	523	37	49	generate_rollout_async	api_call	asyncio	asyncio.wait	lexical_import_resolution	asyncio.wait	        done, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L523	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001160	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	523	523	78	101	generate_rollout_async	api_reference	asyncio	asyncio.FIRST_COMPLETED	lexical_import_resolution	asyncio.FIRST_COMPLETED	        done, state.pendings = await asyncio.wait(state.pendings, return_when=asyncio.FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L523	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001161	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	525	525	34	45	generate_rollout_async	instance_candidate	candidates	result	unresolved_receiver_candidate	task.result	            group: list[Sample] = task.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L525	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001162	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	545	551	20	21	generate_rollout_async	await	syntax	await	python_ast	"await asyncio.to_thread(
                        discard_rollout_group,
                        group,
                        args,
                        dynamic_filter_output.reason or ""dynamic_filter"",
                        controller=controller,
                    )"	                    await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L545-L551	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001163	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	545	545	26	43	generate_rollout_async	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	                    await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L545	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001164	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	561	561	28	115	generate_rollout_async	await	syntax	await	python_ast	await publish_rollout_async(group, args, rollout_id, group=True, controller=controller)	                    group = await publish_rollout_async(group, args, rollout_id, group=True, controller=controller)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L561	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001165	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	565	565	4	14	generate_rollout_async	instance_candidate	candidates	close	unresolved_receiver_candidate	pbar.close	    pbar.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L565	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""pbar"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001166	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	571	571	22	51	generate_rollout_async	await	syntax	await	python_ast	await abort(args, rollout_id)	    aborted_samples = await abort(args, rollout_id)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L571	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001167	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	575	575	4	15	generate_rollout_async	instance_candidate	candidates	reset	unresolved_receiver_candidate	state.reset	    state.reset()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L575	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""state"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001168	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	585	585	16	103	generate_rollout_async.<comprehension>	await	syntax	await	python_ast	await publish_rollout_async(group, args, rollout_id, group=True, controller=controller)	                await publish_rollout_async(group, args, rollout_id, group=True, controller=controller)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L585	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001169	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	588	588	19	70	generate_rollout_async	await	syntax	await	python_ast	await publish_rollout_async(data, args, rollout_id)	            data = await publish_rollout_async(data, args, rollout_id)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L588	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001170	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	594	596	17	9	generate_rollout_async	await	syntax	await	python_ast	"await asyncio.to_thread(
            finalize_rollout_groups, args, rollout_id, data, metric_gatherer.collect(), controller=controller
        )"	        output = await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L594-L596	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001171	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	594	594	23	40	generate_rollout_async	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	        output = await asyncio.to_thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L594	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001172	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	603	613	0	48	<module>	async_def	syntax	eval_rollout	python_ast	async def eval_rollout(args: Namespace, rollout_id: int) -> tuple[dict[str, dict[str, list[Any]]], list[list[Sample]]]:	async def eval_rollout(args: Namespace, rollout_id: int) -> tuple[dict[str, dict[str, list[Any]]], list[list[Sample]]]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L603-L613	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001173	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	609	609	19	47	eval_rollout	await	syntax	await	python_ast	await asyncio.gather(*coros)	    results_list = await asyncio.gather(*coros)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L609	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001174	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	609	609	25	39	eval_rollout	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	    results_list = await asyncio.gather(*coros)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L609	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001175	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	616	751	0	5	<module>	async_def	syntax	eval_rollout_single_dataset	python_ast	async def eval_rollout_single_dataset(	async def eval_rollout_single_dataset(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L616-L751	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""async_protocol"": false}"
occ-001176	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	712	712	16	35	eval_rollout_single_dataset	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	                asyncio.create_task(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L712	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001177	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	725	725	16	36	eval_rollout_single_dataset	api_call	asyncio	asyncio.as_completed	lexical_import_resolution	asyncio.as_completed	    for coro in asyncio.as_completed(tasks):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L725	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""access"": ""load""}"
occ-001178	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	726	726	17	27	eval_rollout_single_dataset	await	syntax	await	python_ast	await coro	        sample = await coro	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L726	source_snapshot/slime/rollout/sglang_rollout.py.txt	{}
occ-001179	slime/rollout/sglang_rollout.py	slime.rollout.sglang_rollout	740	740	4	14	eval_rollout_single_dataset	instance_candidate	candidates	close	unresolved_receiver_candidate	pbar.close	    pbar.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_rollout.py#L740	source_snapshot/slime/rollout/sglang_rollout.py.txt	"{""receiver"": ""pbar"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001180	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	48	180	0	17	<module>	async_def	syntax	generate_streaming	python_ast	async def generate_streaming(args: Namespace, sample: Sample, sampling_params: dict[str, Any]) -> Sample:	async def generate_streaming(args: Namespace, sample: Sample, sampling_params: dict[str, Any]) -> Sample:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L48-L180	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-001181	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	87	87	13	41	generate_streaming	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.multimodal_inputs.get	"    images = sample.multimodal_inputs.get(""images"") if sample.multimodal_inputs else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L87	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""receiver"": ""sample.multimodal_inputs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001182	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	125	163	12	29	generate_streaming	async_with	syntax	async with	python_ast	"            async with client.stream(""POST"", url, json=payload, headers=headers) as response:"	"            async with client.stream(""POST"", url, json=payload, headers=headers) as response:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L125-L163	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""items"": 1}"
occ-001183	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	127	163	16	29	generate_streaming	async_for	syntax	async for	python_ast	                async for raw_line in response.aiter_lines():	                async for raw_line in response.aiter_lines():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L127-L163	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	{}
occ-001184	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	159	159	50	68	generate_streaming	instance_candidate	candidates	get	unresolved_receiver_candidate	last_meta_info.get	"                        update_terminal_info=bool(last_meta_info.get(""finish_reason"")),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L159	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""receiver"": ""last_meta_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001185	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	165	165	15	33	generate_streaming	instance_candidate	candidates	get	unresolved_receiver_candidate	last_meta_info.get	"            if last_meta_info.get(""finish_reason""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L165	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""receiver"": ""last_meta_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001186	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	171	171	36	55	generate_streaming.<lambda>	instance_candidate	candidates	get	unresolved_receiver_candidate	sampling_params.get	"                skip_special_tokens=sampling_params.get(""skip_special_tokens"", True),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L171	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""receiver"": ""sampling_params"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001187	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	175	175	29	47	generate_streaming	instance_candidate	candidates	get	unresolved_receiver_candidate	last_meta_info.get	"    if state.aborted and not last_meta_info.get(""finish_reason""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L175	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""receiver"": ""last_meta_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001188	slime/rollout/sglang_streaming_rollout.py	slime.rollout.sglang_streaming_rollout	177	177	13	31	generate_streaming	instance_candidate	candidates	get	unresolved_receiver_candidate	last_meta_info.get	"    elif not last_meta_info.get(""finish_reason""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sglang_streaming_rollout.py#L177	source_snapshot/slime/rollout/sglang_streaming_rollout.py.txt	"{""receiver"": ""last_meta_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001189	slime/rollout/sleep_rollout.py	slime.rollout.sleep_rollout	2	2	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sleep_rollout.py#L2	source_snapshot/slime/rollout/sleep_rollout.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 2}"
occ-001190	slime/rollout/sleep_rollout.py	slime.rollout.sleep_rollout	10	10	8	18	sleep	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(3600)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/rollout/sleep_rollout.py#L10	source_snapshot/slime/rollout/sleep_rollout.py.txt	"{""access"": ""load""}"
occ-001191	slime/utils/accelerator/__init__.py	slime.utils.accelerator.__init__	14	14	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/accelerator/__init__.py#L14	source_snapshot/slime/utils/accelerator/__init__.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 14}"
occ-001192	slime/utils/accelerator/__init__.py	slime.utils.accelerator.__init__	39	39	18	33	<module>	api_call	threading	threading.RLock	lexical_import_resolution	threading.RLock	_SELECTION_LOCK = threading.RLock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/accelerator/__init__.py#L39	source_snapshot/slime/utils/accelerator/__init__.py.txt	"{""access"": ""load""}"
occ-001193	slime/utils/accelerator/__init__.py	slime.utils.accelerator.__init__	276	276	12	25	_make_selected	instance_candidate	candidates	get	unresolved_receiver_candidate	_REGISTRY.get	    entry = _REGISTRY.get(name)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/accelerator/__init__.py#L276	source_snapshot/slime/utils/accelerator/__init__.py.txt	"{""receiver"": ""_REGISTRY"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001194	slime/utils/accelerator/__init__.py	slime.utils.accelerator.__init__	278	278	20	29	_make_selected	instance_candidate	candidates	join	unresolved_receiver_candidate	""", "".join"	"        available = "", "".join(sorted(_REGISTRY))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/accelerator/__init__.py#L278	source_snapshot/slime/utils/accelerator/__init__.py.txt	"{""receiver"": ""\"", \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001195	slime/utils/accelerator/__init__.py	slime.utils.accelerator.__init__	332	332	21	30	get_accelerator	instance_candidate	candidates	join	unresolved_receiver_candidate	""", "".join"	"        registered = "", "".join(sorted(_REGISTRY))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/accelerator/__init__.py#L332	source_snapshot/slime/utils/accelerator/__init__.py.txt	"{""receiver"": ""\"", \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001196	slime/utils/async_utils.py	slime.utils.async_utils	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L1	source_snapshot/slime/utils/async_utils.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001197	slime/utils/async_utils.py	slime.utils.async_utils	2	2	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L2	source_snapshot/slime/utils/async_utils.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 2}"
occ-001198	slime/utils/async_utils.py	slime.utils.async_utils	24	31	4	20	AsyncPacer	async_def	syntax	wait	python_ast	    async def wait(self):	    async def wait(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L24-L31	source_snapshot/slime/utils/async_utils.py.txt	"{""async_protocol"": false}"
occ-001199	slime/utils/async_utils.py	slime.utils.async_utils	25	25	15	39	AsyncPacer.wait	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	        loop = asyncio.get_running_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L25	source_snapshot/slime/utils/async_utils.py.txt	"{""access"": ""load""}"
occ-001200	slime/utils/async_utils.py	slime.utils.async_utils	26	26	17	35	AsyncPacer.wait	instance_candidate	candidates	create_future	inferred_receiver_candidate	loop.create_future	        future = loop.create_future()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L26	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 25, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-001201	slime/utils/async_utils.py	slime.utils.async_utils	30	30	12	26	AsyncPacer.wait	instance_candidate	candidates	call_soon	inferred_receiver_candidate	loop.call_soon	            loop.call_soon(self._release)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L30	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 25, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-001202	slime/utils/async_utils.py	slime.utils.async_utils	31	31	8	20	AsyncPacer.wait	await	syntax	await	python_ast	await future	        await future	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L31	source_snapshot/slime/utils/async_utils.py.txt	{}
occ-001203	slime/utils/async_utils.py	slime.utils.async_utils	36	36	19	30	AsyncPacer._release	instance_candidate	candidates	done	unresolved_receiver_candidate	future.done	            if not future.done():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L36	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001204	slime/utils/async_utils.py	slime.utils.async_utils	37	37	16	33	AsyncPacer._release	instance_candidate	candidates	set_result	unresolved_receiver_candidate	future.set_result	                future.set_result(None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L37	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001205	slime/utils/async_utils.py	slime.utils.async_utils	40	40	12	36	AsyncPacer._release	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	            asyncio.get_running_loop().call_later(0.001, self._release)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L40	source_snapshot/slime/utils/async_utils.py.txt	"{""access"": ""load""}"
occ-001206	slime/utils/async_utils.py	slime.utils.async_utils	40	40	12	49	AsyncPacer._release	instance_candidate	candidates	call_later	inferred_receiver_candidate	asyncio.get_running_loop().call_later	            asyncio.get_running_loop().call_later(0.001, self._release)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L40	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""asyncio.get_running_loop()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 40, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-001207	slime/utils/async_utils.py	slime.utils.async_utils	48	48	20	42	AsyncLoopThread.__init__	api_call	asyncio	asyncio.new_event_loop	lexical_import_resolution	asyncio.new_event_loop	        self.loop = asyncio.new_event_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L48	source_snapshot/slime/utils/async_utils.py.txt	"{""access"": ""load""}"
occ-001208	slime/utils/async_utils.py	slime.utils.async_utils	49	49	23	39	AsyncLoopThread.__init__	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	        self._thread = threading.Thread(target=self._start_loop, daemon=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L49	source_snapshot/slime/utils/async_utils.py.txt	"{""access"": ""load""}"
occ-001209	slime/utils/async_utils.py	slime.utils.async_utils	50	50	8	26	AsyncLoopThread.__init__	instance_candidate	candidates	start	inferred_receiver_candidate	self._thread.start	        self._thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L50	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""self._thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self._start_loop, daemon=True)"", ""line"": 49, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001210	slime/utils/async_utils.py	slime.utils.async_utils	53	53	8	30	AsyncLoopThread._start_loop	api_call	asyncio	asyncio.set_event_loop	lexical_import_resolution	asyncio.set_event_loop	        asyncio.set_event_loop(self.loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L53	source_snapshot/slime/utils/async_utils.py.txt	"{""access"": ""load""}"
occ-001211	slime/utils/async_utils.py	slime.utils.async_utils	54	54	8	29	AsyncLoopThread._start_loop	instance_candidate	candidates	run_forever	inferred_receiver_candidate	self.loop.run_forever	        self.loop.run_forever()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L54	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""self.loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.new_event_loop()"", ""line"": 48, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-001212	slime/utils/async_utils.py	slime.utils.async_utils	58	58	15	47	AsyncLoopThread.run	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	        return asyncio.run_coroutine_threadsafe(coro, self.loop).result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L58	source_snapshot/slime/utils/async_utils.py.txt	"{""access"": ""load""}"
occ-001213	slime/utils/async_utils.py	slime.utils.async_utils	58	58	15	71	AsyncLoopThread.run	instance_candidate	candidates	result	inferred_receiver_candidate	asyncio.run_coroutine_threadsafe(coro, self.loop).result	        return asyncio.run_coroutine_threadsafe(coro, self.loop).result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/async_utils.py#L58	source_snapshot/slime/utils/async_utils.py.txt	"{""receiver"": ""asyncio.run_coroutine_threadsafe(coro, self.loop)"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.run_coroutine_threadsafe(coro, self.loop)"", ""line"": 58, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001214	slime/utils/external_utils/command_utils.py	slime.utils.external_utils.command_utils	9	9	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/external_utils/command_utils.py#L9	source_snapshot/slime/utils/external_utils/command_utils.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 9}"
occ-001215	slime/utils/external_utils/command_utils.py	slime.utils.external_utils.command_utils	117	117	12	26	execute_train	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	            subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/external_utils/command_utils.py#L117	source_snapshot/slime/utils/external_utils/command_utils.py.txt	"{""access"": ""load""}"
occ-001216	slime/utils/external_utils/command_utils.py	slime.utils.external_utils.command_utils	118	118	42	60	execute_train	api_reference	subprocess	subprocess.DEVNULL	lexical_import_resolution	subprocess.DEVNULL	"                [""ray"", ""status""], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, timeout=30"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/external_utils/command_utils.py#L118	source_snapshot/slime/utils/external_utils/command_utils.py.txt	"{""access"": ""load""}"
occ-001217	slime/utils/external_utils/command_utils.py	slime.utils.external_utils.command_utils	118	118	69	87	execute_train	api_reference	subprocess	subprocess.DEVNULL	lexical_import_resolution	subprocess.DEVNULL	"                [""ray"", ""status""], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, timeout=30"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/external_utils/command_utils.py#L118	source_snapshot/slime/utils/external_utils/command_utils.py.txt	"{""access"": ""load""}"
occ-001218	slime/utils/health_monitor.py	slime.utils.health_monitor	2	2	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L2	source_snapshot/slime/utils/health_monitor.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 2}"
occ-001219	slime/utils/health_monitor.py	slime.utils.health_monitor	27	27	27	42	RolloutHealthMonitor.__init__	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	        self._stop_event = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L27	source_snapshot/slime/utils/health_monitor.py.txt	"{""access"": ""load""}"
occ-001220	slime/utils/health_monitor.py	slime.utils.health_monitor	28	28	28	43	RolloutHealthMonitor.__init__	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	        self._pause_event = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L28	source_snapshot/slime/utils/health_monitor.py.txt	"{""access"": ""load""}"
occ-001221	slime/utils/health_monitor.py	slime.utils.health_monitor	29	29	8	29	RolloutHealthMonitor.__init__	instance_candidate	candidates	set	inferred_receiver_candidate	self._pause_event.set	        self._pause_event.set()  # Engines may be offloaded before the first rollout.	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L29	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001222	slime/utils/health_monitor.py	slime.utils.health_monitor	34	34	27	41	RolloutHealthMonitor.__init__	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	        self._check_lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L34	source_snapshot/slime/utils/health_monitor.py.txt	"{""access"": ""load""}"
occ-001223	slime/utils/health_monitor.py	slime.utils.health_monitor	50	50	8	30	RolloutHealthMonitor.start	instance_candidate	candidates	clear	inferred_receiver_candidate	self._stop_event.clear	        self._stop_event.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L50	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001224	slime/utils/health_monitor.py	slime.utils.health_monitor	51	51	8	29	RolloutHealthMonitor.start	instance_candidate	candidates	set	inferred_receiver_candidate	self._pause_event.set	        self._pause_event.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L51	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001225	slime/utils/health_monitor.py	slime.utils.health_monitor	53	53	23	39	RolloutHealthMonitor.start	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	        self._thread = threading.Thread(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L53	source_snapshot/slime/utils/health_monitor.py.txt	"{""access"": ""load""}"
occ-001226	slime/utils/health_monitor.py	slime.utils.health_monitor	58	58	8	26	RolloutHealthMonitor.start	instance_candidate	candidates	start	inferred_receiver_candidate	self._thread.start	        self._thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L58	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(\n            target=self._health_monitor_loop,\n            name=\""RolloutHealthMonitor\"",\n            daemon=True,\n        )"", ""line"": 53, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001227	slime/utils/health_monitor.py	slime.utils.health_monitor	68	68	8	28	RolloutHealthMonitor.stop	instance_candidate	candidates	set	inferred_receiver_candidate	self._stop_event.set	        self._stop_event.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L68	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001228	slime/utils/health_monitor.py	slime.utils.health_monitor	71	71	8	25	RolloutHealthMonitor.stop	instance_candidate	candidates	join	inferred_receiver_candidate	self._thread.join	        self._thread.join(timeout=timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L71	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(\n            target=self._health_monitor_loop,\n            name=\""RolloutHealthMonitor\"",\n            daemon=True,\n        )"", ""line"": 53, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001229	slime/utils/health_monitor.py	slime.utils.health_monitor	72	72	11	32	RolloutHealthMonitor.stop	instance_candidate	candidates	is_alive	inferred_receiver_candidate	self._thread.is_alive	        if self._thread.is_alive():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L72	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(\n            target=self._health_monitor_loop,\n            name=\""RolloutHealthMonitor\"",\n            daemon=True,\n        )"", ""line"": 53, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001230	slime/utils/health_monitor.py	slime.utils.health_monitor	82	82	8	29	RolloutHealthMonitor.pause	instance_candidate	candidates	set	inferred_receiver_candidate	self._pause_event.set	        self._pause_event.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L82	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001231	slime/utils/health_monitor.py	slime.utils.health_monitor	84	84	15	39	RolloutHealthMonitor.pause	instance_candidate	candidates	acquire	inferred_receiver_candidate	self._check_lock.acquire	        if not self._check_lock.acquire(timeout=self._check_timeout if timeout is None else timeout):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L84	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._check_lock"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Lock()"", ""line"": 34, ""type"": ""threading.Lock""}, ""resolved_non_native_name"": null}"
occ-001232	slime/utils/health_monitor.py	slime.utils.health_monitor	86	86	8	32	RolloutHealthMonitor.pause	instance_candidate	candidates	release	inferred_receiver_candidate	self._check_lock.release	        self._check_lock.release()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L86	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._check_lock"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Lock()"", ""line"": 34, ""type"": ""threading.Lock""}, ""resolved_non_native_name"": null}"
occ-001233	slime/utils/health_monitor.py	slime.utils.health_monitor	92	92	8	31	RolloutHealthMonitor.resume	instance_candidate	candidates	clear	inferred_receiver_candidate	self._pause_event.clear	        self._pause_event.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L92	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001234	slime/utils/health_monitor.py	slime.utils.health_monitor	95	95	18	41	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._stop_event.is_set	        while not self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L95	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001235	slime/utils/health_monitor.py	slime.utils.health_monitor	97	97	18	42	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._pause_event.is_set	            while self._pause_event.is_set() and not self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L97	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001236	slime/utils/health_monitor.py	slime.utils.health_monitor	97	97	53	76	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._stop_event.is_set	            while self._pause_event.is_set() and not self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L97	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001237	slime/utils/health_monitor.py	slime.utils.health_monitor	98	98	16	37	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	wait	inferred_receiver_candidate	self._stop_event.wait	                self._stop_event.wait(timeout=0.5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L98	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001238	slime/utils/health_monitor.py	slime.utils.health_monitor	100	100	15	38	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._stop_event.is_set	            if self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L100	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001239	slime/utils/health_monitor.py	slime.utils.health_monitor	106	106	19	40	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	wait	inferred_receiver_candidate	self._stop_event.wait	                if self._stop_event.wait(self._check_first_wait):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L106	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001240	slime/utils/health_monitor.py	slime.utils.health_monitor	109	109	19	43	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._pause_event.is_set	                if self._pause_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L109	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001241	slime/utils/health_monitor.py	slime.utils.health_monitor	116	116	19	43	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._pause_event.is_set	            if not self._pause_event.is_set() and not self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L116	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001242	slime/utils/health_monitor.py	slime.utils.health_monitor	116	116	54	77	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._stop_event.is_set	            if not self._pause_event.is_set() and not self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L116	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001243	slime/utils/health_monitor.py	slime.utils.health_monitor	120	120	20	36	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	exception	unresolved_receiver_candidate	logger.exception	"                    logger.exception(""Failed to unregister an unhealthy worker; retaining it for the next check"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L120	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""logger"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001244	slime/utils/health_monitor.py	slime.utils.health_monitor	123	123	15	36	RolloutHealthMonitor._health_monitor_loop	instance_candidate	candidates	wait	inferred_receiver_candidate	self._stop_event.wait	            if self._stop_event.wait(self._check_interval):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L123	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001245	slime/utils/health_monitor.py	slime.utils.health_monitor	134	134	15	38	RolloutHealthMonitor._run_health_checks	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._stop_event.is_set	            if self._stop_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L134	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._stop_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 27, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001246	slime/utils/health_monitor.py	slime.utils.health_monitor	136	136	29	53	RolloutHealthMonitor._run_health_checks	instance_candidate	candidates	is_set	inferred_receiver_candidate	self._pause_event.is_set	            if not force and self._pause_event.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/health_monitor.py#L136	source_snapshot/slime/utils/health_monitor.py.txt	"{""receiver"": ""self._pause_event"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 28, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001247	slime/utils/http_utils.py	slime.utils.http_utils	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L1	source_snapshot/slime/utils/http_utils.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001248	slime/utils/http_utils.py	slime.utils.http_utils	180	183	4	60	_ShardedHTTPTransport	async_def	syntax	handle_async_request	python_ast	    async def handle_async_request(self, request):	    async def handle_async_request(self, request):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L180-L183	source_snapshot/slime/utils/http_utils.py.txt	"{""async_protocol"": false}"
occ-001249	slime/utils/http_utils.py	slime.utils.http_utils	183	183	15	60	_ShardedHTTPTransport.handle_async_request	await	syntax	await	python_ast	await transport.handle_async_request(request)	        return await transport.handle_async_request(request)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L183	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001250	slime/utils/http_utils.py	slime.utils.http_utils	185	186	4	85	_ShardedHTTPTransport	async_def	syntax	aclose	python_ast	    async def aclose(self):	    async def aclose(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L185-L186	source_snapshot/slime/utils/http_utils.py.txt	"{""async_protocol"": false}"
occ-001251	slime/utils/http_utils.py	slime.utils.http_utils	186	186	8	85	_ShardedHTTPTransport.aclose	await	syntax	await	python_ast	await asyncio.gather(*(transport.aclose() for transport in self._transports))	        await asyncio.gather(*(transport.aclose() for transport in self._transports))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L186	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001252	slime/utils/http_utils.py	slime.utils.http_utils	186	186	14	28	_ShardedHTTPTransport.aclose	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        await asyncio.gather(*(transport.aclose() for transport in self._transports))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L186	source_snapshot/slime/utils/http_utils.py.txt	"{""access"": ""load""}"
occ-001253	slime/utils/http_utils.py	slime.utils.http_utils	189	230	0	17	<module>	async_def	syntax	_post	python_ast	async def _post(client, url, payload, max_retries=60, headers=None, timeout=None, score_centering_top_k=None):	async def _post(client, url, payload, max_retries=60, headers=None, timeout=None, score_centering_top_k=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L189-L230	source_snapshot/slime/utils/http_utils.py.txt	"{""async_protocol"": false}"
occ-001254	slime/utils/http_utils.py	slime.utils.http_utils	197	197	23	63	_post	await	syntax	await	python_ast	await client.post(url, **request_kwargs)	            response = await client.post(url, **request_kwargs)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L197	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001255	slime/utils/http_utils.py	slime.utils.http_utils	199	199	22	44	_post	await	syntax	await	python_ast	await response.aread()	            content = await response.aread()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L199	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001256	slime/utils/http_utils.py	slime.utils.http_utils	204	204	29	117	_post	await	syntax	await	python_ast	await asyncio.to_thread(decode_score_centering_response, content, score_centering_top_k)	                    output = await asyncio.to_thread(decode_score_centering_response, content, score_centering_top_k)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L204	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001257	slime/utils/http_utils.py	slime.utils.http_utils	204	204	35	52	_post	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	                    output = await asyncio.to_thread(decode_score_centering_response, content, score_centering_top_k)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L204	source_snapshot/slime/utils/http_utils.py.txt	"{""access"": ""load""}"
occ-001258	slime/utils/http_utils.py	slime.utils.http_utils	223	223	12	34	_post	await	syntax	await	python_ast	await asyncio.sleep(1)	            await asyncio.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L223	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001259	slime/utils/http_utils.py	slime.utils.http_utils	223	223	18	31	_post	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L223	source_snapshot/slime/utils/http_utils.py.txt	"{""access"": ""load""}"
occ-001260	slime/utils/http_utils.py	slime.utils.http_utils	227	227	16	39	_post	await	syntax	await	python_ast	await response.aclose()	                await response.aclose()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L227	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001261	slime/utils/http_utils.py	slime.utils.http_utils	282	282	39	44	_init_ray_distributed_post.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	n.get	"    nodes = [n for n in ray.nodes() if n.get(""Alive"")]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L282	source_snapshot/slime/utils/http_utils.py.txt	"{""receiver"": ""n"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001262	slime/utils/http_utils.py	slime.utils.http_utils	297	306	8	13	_init_ray_distributed_post._HttpPosterActor	async_def	syntax	do_post	python_ast	        async def do_post(self, url, payload, max_retries=60, headers=None, timeout=None, score_centering_top_k=None):	        async def do_post(self, url, payload, max_retries=60, headers=None, timeout=None, score_centering_top_k=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L297-L306	source_snapshot/slime/utils/http_utils.py.txt	"{""async_protocol"": false}"
occ-001263	slime/utils/http_utils.py	slime.utils.http_utils	298	306	19	13	_init_ray_distributed_post._HttpPosterActor.do_post	await	syntax	await	python_ast	"await _post(
                self._client,
                url,
                payload,
                max_retries,
                headers=headers,
                timeout=timeout,
                score_centering_top_k=score_centering_top_k,
            )"	            return await _post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L298-L306	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001264	slime/utils/http_utils.py	slime.utils.http_utils	331	364	0	5	<module>	async_def	syntax	post	python_ast	async def post(url, payload, max_retries=60, headers=None, timeout=None, score_centering_top_k=None):	async def post(url, payload, max_retries=60, headers=None, timeout=None, score_centering_top_k=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L331-L364	source_snapshot/slime/utils/http_utils.py.txt	"{""async_protocol"": false}"
occ-001265	slime/utils/http_utils.py	slime.utils.http_utils	351	351	23	36	post	await	syntax	await	python_ast	await obj_ref	                return await obj_ref	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L351	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001266	slime/utils/http_utils.py	slime.utils.http_utils	356	364	11	5	post	await	syntax	await	python_ast	"await _post(
        _http_client,
        url,
        payload,
        max_retries,
        headers=headers,
        timeout=timeout,
        score_centering_top_k=score_centering_top_k,
    )"	    return await _post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L356-L364	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001267	slime/utils/http_utils.py	slime.utils.http_utils	367	374	0	31	<module>	async_def	syntax	get	python_ast	async def get(url, *, timeout=None):	async def get(url, *, timeout=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L367-L374	source_snapshot/slime/utils/http_utils.py.txt	"{""async_protocol"": false}"
occ-001268	slime/utils/http_utils.py	slime.utils.http_utils	368	368	15	59	get	await	syntax	await	python_ast	await _http_client.get(url, timeout=timeout)	    response = await _http_client.get(url, timeout=timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L368	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001269	slime/utils/http_utils.py	slime.utils.http_utils	368	368	21	37	get	instance_candidate	candidates	get	unresolved_receiver_candidate	_http_client.get	    response = await _http_client.get(url, timeout=timeout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L368	source_snapshot/slime/utils/http_utils.py.txt	"{""receiver"": ""_http_client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001270	slime/utils/http_utils.py	slime.utils.http_utils	371	371	18	40	get	await	syntax	await	python_ast	await response.aread()	        content = await response.aread()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L371	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001271	slime/utils/http_utils.py	slime.utils.http_utils	374	374	8	31	get	await	syntax	await	python_ast	await response.aclose()	        await response.aclose()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/http_utils.py#L374	source_snapshot/slime/utils/http_utils.py.txt	{}
occ-001272	slime/utils/misc.py	slime.utils.misc	2	2	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/misc.py#L2	source_snapshot/slime/utils/misc.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 2}"
occ-001273	slime/utils/misc.py	slime.utils.misc	83	83	17	31	exec_command	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	        result = subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/misc.py#L83	source_snapshot/slime/utils/misc.py.txt	"{""access"": ""load""}"
occ-001274	slime/utils/misc.py	slime.utils.misc	90	90	11	40	exec_command	api_reference	subprocess	subprocess.CalledProcessError	lexical_import_resolution	subprocess.CalledProcessError	    except subprocess.CalledProcessError as e:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/misc.py#L90	source_snapshot/slime/utils/misc.py.txt	"{""access"": ""load""}"
occ-001275	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	2	2	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L2	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 2}"
occ-001276	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	44	44	10	19	register_default_process_group	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    pid = os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L44	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001277	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	79	79	12	44	_destroy_default_accelerator_process_group	instance_candidate	candidates	get	unresolved_receiver_candidate	default_process_group_states.get	    state = default_process_group_states.get(os.getpid())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L79	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""default_process_group_states"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001278	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	79	79	45	54	_destroy_default_accelerator_process_group	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    state = default_process_group_states.get(os.getpid())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L79	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001279	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	109	109	12	44	_reload_default_process_group	instance_candidate	candidates	get	unresolved_receiver_candidate	default_process_group_states.get	    state = default_process_group_states.get(os.getpid())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L109	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""default_process_group_states"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001280	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	109	109	45	54	_reload_default_process_group	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    state = default_process_group_states.get(os.getpid())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L109	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001281	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	146	146	10	19	monkey_patch_torch_dist	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    pid = os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L146	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001282	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	158	158	58	68	monkey_patch_torch_dist.new_group	instance_candidate	candidates	get	unresolved_receiver_candidate	kwargs.get	"        explicit_backend = args[2] if len(args) >= 3 else kwargs.get(""backend"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L158	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""kwargs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001283	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	300	300	14	23	ReloadableProcessGroup.__init__	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        pid = os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L300	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001284	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	310	310	14	23	ReloadableProcessGroup.destroy_process_groups	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        pid = os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L310	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001285	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	311	311	32	65	ReloadableProcessGroup.destroy_process_groups	instance_candidate	candidates	get	unresolved_receiver_candidate	ReloadableProcessGroup.GROUPS.get	        for reloadable_group in ReloadableProcessGroup.GROUPS.get(pid, []):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L311	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""ReloadableProcessGroup.GROUPS"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001286	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	328	328	14	23	ReloadableProcessGroup.invalidate_process_groups	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        pid = os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L328	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001287	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	329	329	32	65	ReloadableProcessGroup.invalidate_process_groups	instance_candidate	candidates	get	unresolved_receiver_candidate	ReloadableProcessGroup.GROUPS.get	        for reloadable_group in ReloadableProcessGroup.GROUPS.get(pid, []):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L329	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""ReloadableProcessGroup.GROUPS"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001288	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	334	334	14	23	ReloadableProcessGroup.reload_process_groups	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        pid = os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L334	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001289	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	335	335	28	61	ReloadableProcessGroup.reload_process_groups	instance_candidate	candidates	get	unresolved_receiver_candidate	ReloadableProcessGroup.GROUPS.get	        reloadable_groups = ReloadableProcessGroup.GROUPS.get(pid, [])	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L335	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""ReloadableProcessGroup.GROUPS"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001290	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	339	339	38	56	ReloadableProcessGroup.reload_process_groups	instance_candidate	candidates	get	unresolved_receiver_candidate	backend_counts.get	            backend_counts[backend] = backend_counts.get(backend, 0) + 1	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L339	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""backend_counts"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001291	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	346	346	24	46	ReloadableProcessGroup.reload_process_groups	instance_candidate	candidates	get	unresolved_receiver_candidate	old_new_group_dict.get	        old_new_group = old_new_group_dict.get(pid)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L346	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""old_new_group_dict"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001292	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	367	367	12	31	ReloadableProcessGroup.shutdown	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	self.group.shutdown	            self.group.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L367	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""self.group"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001293	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	371	371	12	28	ReloadableProcessGroup.abort	instance_candidate	candidates	abort	unresolved_receiver_candidate	self.group.abort	            self.group.abort()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L371	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""self.group"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001294	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	470	470	12	44	destroy_process_groups	instance_candidate	candidates	get	unresolved_receiver_candidate	default_process_group_states.get	    state = default_process_group_states.get(os.getpid())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L470	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""receiver"": ""default_process_group_states"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001295	slime/utils/reloadable_process_group.py	slime.utils.reloadable_process_group	470	470	45	54	destroy_process_groups	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	    state = default_process_group_states.get(os.getpid())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/reloadable_process_group.py#L470	source_snapshot/slime/utils/reloadable_process_group.py.txt	"{""access"": ""load""}"
occ-001296	slime/utils/routed_experts.py	slime.utils.routed_experts	4	4	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L4	source_snapshot/slime/utils/routed_experts.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 4}"
occ-001297	slime/utils/routed_experts.py	slime.utils.routed_experts	5	5	31	37	<module>	import	executors	concurrent.futures.Future	explicit_import	from concurrent.futures import Future, ThreadPoolExecutor	from concurrent.futures import Future, ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L5	source_snapshot/slime/utils/routed_experts.py.txt	"{""local_binding"": ""Future"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-001298	slime/utils/routed_experts.py	slime.utils.routed_experts	5	5	39	57	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import Future, ThreadPoolExecutor	from concurrent.futures import Future, ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L5	source_snapshot/slime/utils/routed_experts.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-001299	slime/utils/routed_experts.py	slime.utils.routed_experts	149	149	12	30	RoutedExpertsMicrobatchPrefetcher.__init__	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	            ThreadPoolExecutor(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L149	source_snapshot/slime/utils/routed_experts.py.txt	"{""access"": ""load""}"
occ-001300	slime/utils/routed_experts.py	slime.utils.routed_experts	174	174	8	18	RoutedExpertsMicrobatchPrefetcher.begin_pass	instance_candidate	candidates	start	unresolved_receiver_candidate	self.start	        self.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L174	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001301	slime/utils/routed_experts.py	slime.utils.routed_experts	181	181	26	44	RoutedExpertsMicrobatchPrefetcher	api_reference	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    def executor(self) -> ThreadPoolExecutor | None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L181	source_snapshot/slime/utils/routed_experts.py.txt	"{""access"": ""load""}"
occ-001302	slime/utils/routed_experts.py	slime.utils.routed_experts	189	189	12	35	RoutedExpertsMicrobatchPrefetcher.close	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	self._executor.shutdown	            self._executor.shutdown(wait=True, cancel_futures=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L189	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""self._executor"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001303	slime/utils/routed_experts.py	slime.utils.routed_experts	191	191	12	26	RoutedExpertsMicrobatchPrefetcher.close	instance_candidate	candidates	release	unresolved_receiver_candidate	source.release	            source.release()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L191	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001304	slime/utils/routed_experts.py	slime.utils.routed_experts	211	211	22	28	RoutedExpertsMicrobatch.__init__	api_reference	executors	concurrent.futures.Future	lexical_import_resolution	Future	        self._future: Future | None = None	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L211	source_snapshot/slime/utils/routed_experts.py.txt	"{""access"": ""load""}"
occ-001305	slime/utils/routed_experts.py	slime.utils.routed_experts	213	213	21	35	RoutedExpertsMicrobatch.__init__	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	        self._lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L213	source_snapshot/slime/utils/routed_experts.py.txt	"{""access"": ""load""}"
occ-001306	slime/utils/routed_experts.py	slime.utils.routed_experts	235	235	31	46	RoutedExpertsMicrobatch.prefetch	instance_candidate	candidates	submit	unresolved_receiver_candidate	executor.submit	                self._future = executor.submit(self._load_and_prepare)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L235	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""executor"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001307	slime/utils/routed_experts.py	slime.utils.routed_experts	242	242	21	34	RoutedExpertsMicrobatch._get_cpu_tensor	instance_candidate	candidates	result	unresolved_receiver_candidate	future.result	            tensor = future.result() if future is not None else self._load_and_prepare()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L242	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001308	slime/utils/routed_experts.py	slime.utils.routed_experts	262	262	16	28	RoutedExpertsMicrobatch.layer_to_cuda	instance_candidate	candidates	release	unresolved_receiver_candidate	self.release	                self.release()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L262	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001309	slime/utils/routed_experts.py	slime.utils.routed_experts	270	270	38	49	RoutedExpertsMicrobatch.release	instance_candidate	candidates	done	unresolved_receiver_candidate	future.done	        if future is not None and not future.done():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L270	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001310	slime/utils/routed_experts.py	slime.utils.routed_experts	271	271	12	25	RoutedExpertsMicrobatch.release	instance_candidate	candidates	cancel	unresolved_receiver_candidate	future.cancel	            future.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime/utils/routed_experts.py#L271	source_snapshot/slime/utils/routed_experts.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001311	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	6	6	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L6	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-001312	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	113	116	0	19	<module>	async_def	syntax	set_body_size	python_ast	async def set_body_size(request: Request, call_next):	async def set_body_size(request: Request, call_next):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L113-L116	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""async_protocol"": false}"
occ-001313	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	115	115	15	39	set_body_size	await	syntax	await	python_ast	await call_next(request)	    response = await call_next(request)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L115	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	{}
occ-001314	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	232	232	20	35	RolloutBuffer.__init__	api_call	threading	threading.RLock	lexical_import_resolution	threading.RLock	        self.lock = threading.RLock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L232	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""access"": ""load""}"
occ-001315	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	233	233	25	44	RolloutBuffer.__init__	api_call	threading	threading.Condition	lexical_import_resolution	threading.Condition	        self.not_empty = threading.Condition(self.lock)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L233	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""access"": ""load""}"
occ-001316	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	242	242	12	37	RolloutBuffer.write	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.not_empty.notify_all	            self.not_empty.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L242	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""self.not_empty"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition(self.lock)"", ""line"": 233, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001317	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	251	251	21	36	RolloutBuffer.read	instance_candidate	candidates	get	unresolved_receiver_candidate	self.buffer.get	            result = self.buffer.get()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L251	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""self.buffer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001318	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	260	274	0	85	<module>	async_def	syntax	write_to_buffer	python_ast	async def write_to_buffer(request: Request):	async def write_to_buffer(request: Request):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L260-L274	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""async_protocol"": false}"
occ-001319	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	262	262	15	35	write_to_buffer	await	syntax	await	python_ast	await request.json()	        data = await request.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L262	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	{}
occ-001320	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	263	263	15	27	write_to_buffer	instance_candidate	candidates	write	unresolved_receiver_candidate	buffer.write	        item = buffer.write(data)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L263	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""buffer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001321	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	278	295	0	5	<module>	async_def	syntax	get_rollout_data	python_ast	async def get_rollout_data(request: Request):	async def get_rollout_data(request: Request):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L278-L295	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""async_protocol"": false}"
occ-001322	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	279	279	12	23	get_rollout_data	instance_candidate	candidates	read	unresolved_receiver_candidate	buffer.read	    items = buffer.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L279	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""buffer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001323	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	315	315	29	47	run_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	generator_info.get	"        transform_group_func=generator_info.get(""transform_group"", None),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L315	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""generator_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001324	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	316	316	28	46	run_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	generator_info.get	"        is_valid_group_func=generator_info.get(""is_valid_group""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L316	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""generator_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001325	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	317	317	38	56	run_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	generator_info.get	"        get_group_data_meta_info_func=generator_info.get(""get_group_data_meta_info""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L317	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""receiver"": ""generator_info"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001326	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	326	329	0	41	<module>	async_def	syntax	start_rollout	python_ast	async def start_rollout(request: Request, background: BackgroundTasks):	async def start_rollout(request: Request, background: BackgroundTasks):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L326-L329	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	"{""async_protocol"": false}"
occ-001327	slime_plugins/rollout_buffer/buffer.py	slime_plugins.rollout_buffer.buffer	327	327	14	34	start_rollout	await	syntax	await	python_ast	await request.json()	    payload = await request.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/buffer.py#L327	source_snapshot/slime_plugins/rollout_buffer/buffer.py.txt	{}
occ-001328	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	4	4	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L4	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 4}"
occ-001329	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	7	7	28	35	<module>	import	multiprocessing	multiprocessing.Process	explicit_import	from multiprocessing import Process, Queue	from multiprocessing import Process, Queue	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L7	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""local_binding"": ""Process"", ""selective_module_import"": false, ""statement_line"": 7}"
occ-001330	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	7	7	37	42	<module>	import	multiprocessing	multiprocessing.Queue	explicit_import	from multiprocessing import Process, Queue	from multiprocessing import Process, Queue	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L7	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""local_binding"": ""Queue"", ""selective_module_import"": false, ""statement_line"": 7}"
occ-001331	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	8	8	17	22	<module>	import	time-sleep	time.sleep	explicit_import	from time import sleep	from time import sleep	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L8	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""local_binding"": ""sleep"", ""selective_module_import"": false, ""statement_line"": 8}"
occ-001332	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	86	86	20	25	query_single_turn	api_call	time-sleep	time.sleep	lexical_import_resolution	sleep	                    sleep(10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L86	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001333	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	138	138	8	22	worker_process	instance_candidate	candidates	put	unresolved_receiver_candidate	done_queue.put	        done_queue.put(output_item)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L138	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""done_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001334	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	140	140	4	18	worker_process	instance_candidate	candidates	put	unresolved_receiver_candidate	done_queue.put	"    done_queue.put(""COMPLETE"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L140	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""done_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001335	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	193	193	33	38	BaseGenerator.run	api_call	multiprocessing	multiprocessing.Queue	lexical_import_resolution	Queue	        task_queue, done_queue = Queue(maxsize=self.queue_size), Queue(maxsize=self.queue_size)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L193	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001336	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	193	193	65	70	BaseGenerator.run	api_call	multiprocessing	multiprocessing.Queue	lexical_import_resolution	Queue	        task_queue, done_queue = Queue(maxsize=self.queue_size), Queue(maxsize=self.queue_size)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L193	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001337	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	224	224	24	38	BaseGenerator.run.read_data_into_queue	instance_candidate	candidates	put	unresolved_receiver_candidate	task_queue.put	                        task_queue.put(item_repeat)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L224	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""task_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001338	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	226	226	16	26	BaseGenerator.run.read_data_into_queue	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(300)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L226	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001339	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	235	235	16	30	BaseGenerator.run.read_data_into_queue	instance_candidate	candidates	put	unresolved_receiver_candidate	task_queue.put	"                task_queue.put(""STOP"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L235	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""task_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001340	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	241	241	22	29	BaseGenerator.run	api_call	multiprocessing	multiprocessing.Process	lexical_import_resolution	Process	            process = Process(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L241	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001341	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	245	245	12	25	BaseGenerator.run	instance_candidate	candidates	start	inferred_receiver_candidate	process.start	            process.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L245	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""Process(\n                target=partial(worker_process, client=self.client, sampling_params=SAMPLING_PARAMS),\n                args=(task_queue, done_queue, rollout_func, reward_func),\n            )"", ""line"": 241, ""type"": ""multiprocessing.Process""}, ""resolved_non_native_name"": null}"
occ-001342	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	248	248	18	25	BaseGenerator.run	api_call	multiprocessing	multiprocessing.Process	lexical_import_resolution	Process	        process = Process(target=read_data_into_queue)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L248	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001343	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	249	249	8	21	BaseGenerator.run	instance_candidate	candidates	start	inferred_receiver_candidate	process.start	        process.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L249	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""Process(target=read_data_into_queue)"", ""line"": 248, ""type"": ""multiprocessing.Process""}, ""resolved_non_native_name"": null}"
occ-001344	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	254	254	19	33	BaseGenerator.run	instance_candidate	candidates	get	unresolved_receiver_candidate	done_queue.get	            item = done_queue.get()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L254	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""done_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001345	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	263	263	8	26	BaseGenerator.run	instance_candidate	candidates	close	unresolved_receiver_candidate	progress_bar.close	        progress_bar.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L263	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""progress_bar"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001346	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	280	280	4	14	run_rollout	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	    time.sleep(10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L280	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""access"": ""load""}"
occ-001347	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	292	292	24	32	run_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	data.get	"        num_process=int(data.get(""num_process"", 100)),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L292	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001348	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	294	294	26	34	run_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	data.get	"        skip_instance_ids=data.get(""skip_instance_ids"", None),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L294	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001349	slime_plugins/rollout_buffer/generator/base_generator.py	slime_plugins.rollout_buffer.generator.base_generator	297	297	71	79	run_rollout	instance_candidate	candidates	get	unresolved_receiver_candidate	data.get	"    generator.entry(data[""input_file""], rollout_func, reward_func, int(data.get(""num_epoch"", 1)))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/generator/base_generator.py#L297	source_snapshot/slime_plugins/rollout_buffer/generator/base_generator.py.txt	"{""receiver"": ""data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001350	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L1	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001351	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	2	2	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L2	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 2}"
occ-001352	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	138	170	0	30	<module>	async_def	syntax	get_rollout_data	python_ast	async def get_rollout_data(api_base_url: str) -> tuple[list[dict[str, Any]], dict[str, Any]]:	async def get_rollout_data(api_base_url: str) -> tuple[list[dict[str, Any]], dict[str, Any]]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L138-L170	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""async_protocol"": false}"
occ-001353	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	140	170	4	30	get_rollout_data	async_with	syntax	async with	python_ast	    async with aiohttp.ClientSession() as session:	    async with aiohttp.ClientSession() as session:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L140-L170	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""items"": 1}"
occ-001354	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	142	148	12	25	get_rollout_data	async_with	syntax	async with	python_ast	            async with session.post(	            async with session.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L142-L148	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""items"": 1}"
occ-001355	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	146	146	28	49	get_rollout_data	await	syntax	await	python_ast	await response.json()	                resp_json = await response.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L146	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	{}
occ-001356	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	149	149	12	34	get_rollout_data	await	syntax	await	python_ast	await asyncio.sleep(3)	            await asyncio.sleep(3)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L149	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	{}
occ-001357	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	149	149	18	31	get_rollout_data	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(3)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L149	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""access"": ""load""}"
occ-001358	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	207	302	0	31	<module>	async_def	syntax	generate_rollout_async	python_ast	async def generate_rollout_async(args, rollout_id: int, data_buffer, evaluation: bool = False) -> dict[str, Any]:	async def generate_rollout_async(args, rollout_id: int, data_buffer, evaluation: bool = False) -> dict[str, Any]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L207-L302	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""async_protocol"": false}"
occ-001359	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	243	243	16	26	generate_rollout_async	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L243	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	"{""access"": ""load""}"
occ-001360	slime_plugins/rollout_buffer/rollout_buffer_example.py	slime_plugins.rollout_buffer.rollout_buffer_example	244	244	34	79	generate_rollout_async	await	syntax	await	python_ast	await get_rollout_data(api_base_url=base_url)	                data, meta_info = await get_rollout_data(api_base_url=base_url)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/slime_plugins/rollout_buffer/rollout_buffer_example.py#L244	source_snapshot/slime_plugins/rollout_buffer/rollout_buffer_example.py.txt	{}
occ-001361	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	3	3	7	12	<module>	import	fcntl	fcntl	explicit_import	import fcntl	import fcntl	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L3	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""local_binding"": ""fcntl"", ""selective_module_import"": true, ""statement_line"": 3}"
occ-001362	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	4	4	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L4	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 4}"
occ-001363	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	6	6	7	13	<module>	import	signal	signal	explicit_import	import signal	import signal	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L6	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""local_binding"": ""signal"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-001364	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	7	7	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L7	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 7}"
occ-001365	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	9	9	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L9	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 9}"
occ-001366	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	26	26	15	23	main	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    dev_list = "","".join(str(x.gpu_id) for x in fd_locks)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L26	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001367	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	34	34	12	25	main	instance_candidate	candidates	close	unresolved_receiver_candidate	fd_lock.close	            fd_lock.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L34	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""fd_lock"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001368	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	43	43	12	28	_run_command	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	    child = subprocess.Popen(cmd, start_new_session=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L43	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001369	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	46	46	11	21	_run_command.terminate_child	instance_candidate	candidates	poll	inferred_receiver_candidate	child.poll	        if child.poll() is None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L46	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, start_new_session=True)"", ""line"": 43, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001370	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	47	47	12	27	_run_command.terminate_child	instance_candidate	candidates	terminate	inferred_receiver_candidate	child.terminate	            child.terminate()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L47	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, start_new_session=True)"", ""line"": 43, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001371	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	49	49	16	26	_run_command.terminate_child	instance_candidate	candidates	wait	inferred_receiver_candidate	child.wait	                child.wait(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L49	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, start_new_session=True)"", ""line"": 43, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001372	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	51	51	19	44	_run_command.terminate_child	api_reference	subprocess	subprocess.TimeoutExpired	lexical_import_resolution	subprocess.TimeoutExpired	            except subprocess.TimeoutExpired:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L51	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001373	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	55	55	16	25	_run_command.terminate_child	api_call	os-process	os.killpg	lexical_import_resolution	os.killpg	                os.killpg(child.pid, signum)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L55	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001374	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	59	59	16	26	_run_command.terminate_child	instance_candidate	candidates	wait	inferred_receiver_candidate	child.wait	                child.wait(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L59	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, start_new_session=True)"", ""line"": 43, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001375	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	60	60	19	44	_run_command.terminate_child	api_reference	subprocess	subprocess.TimeoutExpired	lexical_import_resolution	subprocess.TimeoutExpired	            except subprocess.TimeoutExpired:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L60	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001376	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	62	62	20	29	_run_command.terminate_child	api_call	os-process	os.killpg	lexical_import_resolution	os.killpg	                    os.killpg(child.pid, signal.SIGKILL)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L62	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001377	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	62	62	41	55	_run_command.terminate_child	api_reference	signal	signal.SIGKILL	lexical_import_resolution	signal.SIGKILL	                    os.killpg(child.pid, signal.SIGKILL)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L62	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001378	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	65	65	16	26	_run_command.terminate_child	instance_candidate	candidates	wait	inferred_receiver_candidate	child.wait	                child.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L65	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, start_new_session=True)"", ""line"": 43, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001379	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	69	69	19	32	_run_command	api_reference	signal	signal.SIGINT	lexical_import_resolution	signal.SIGINT	    for signum in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L69	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001380	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	69	69	34	48	_run_command	api_reference	signal	signal.SIGTERM	lexical_import_resolution	signal.SIGTERM	    for signum in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L69	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001381	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	69	69	50	63	_run_command	api_reference	signal	signal.SIGHUP	lexical_import_resolution	signal.SIGHUP	    for signum in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L69	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001382	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	70	70	36	52	_run_command	api_call	signal	signal.getsignal	lexical_import_resolution	signal.getsignal	        previous_handlers[signum] = signal.getsignal(signum)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L70	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001383	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	71	71	8	21	_run_command	api_call	signal	signal.signal	lexical_import_resolution	signal.signal	        signal.signal(signum, terminate_child)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L71	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001384	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	75	75	25	35	_run_command	instance_candidate	candidates	poll	inferred_receiver_candidate	child.poll	            returncode = child.poll()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L75	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, start_new_session=True)"", ""line"": 43, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001385	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	78	78	12	22	_run_command	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L78	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001386	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	81	81	12	25	_run_command	api_call	signal	signal.signal	lexical_import_resolution	signal.signal	            signal.signal(signum, handler)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L81	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001387	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	127	127	16	27	_execute_print_only	api_call	fcntl	fcntl.flock	lexical_import_resolution	fcntl.flock	                fcntl.flock(fd_lock.fd, fcntl.LOCK_UN)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L127	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001388	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	127	127	40	53	_execute_print_only	api_reference	fcntl	fcntl.LOCK_UN	lexical_import_resolution	fcntl.LOCK_UN	                fcntl.flock(fd_lock.fd, fcntl.LOCK_UN)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L127	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001389	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	131	131	12	25	_execute_print_only	instance_candidate	candidates	close	unresolved_receiver_candidate	fd_lock.close	            fd_lock.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L131	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""fd_lock"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001390	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	135	135	24	32	_execute_print_only	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    print(""Free GPUs:"", "","".join(str(x) for x in free), flush=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L135	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001391	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	161	161	20	30	_try_acquire_specific	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                    time.sleep(SLEEP_BACKOFF * random.random())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L161	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001392	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	167	167	12	25	_try_acquire_specific	instance_candidate	candidates	close	unresolved_receiver_candidate	fd_lock.close	            fd_lock.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L167	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""fd_lock"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001393	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	182	182	16	29	_try_acquire_count	instance_candidate	candidates	close	unresolved_receiver_candidate	fd_lock.close	                fd_lock.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L182	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""fd_lock"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001394	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	191	191	12	25	_try_acquire_count	instance_candidate	candidates	close	unresolved_receiver_candidate	fd_lock.close	            fd_lock.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L191	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""fd_lock"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001395	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	198	198	8	18	_try_acquire_count	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(SLEEP_BACKOFF * random.random())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L198	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001396	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	213	213	8	19	FdLock.lock	api_call	fcntl	fcntl.flock	lexical_import_resolution	fcntl.flock	        fcntl.flock(self.fd, fcntl.LOCK_EX | fcntl.LOCK_NB)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L213	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001397	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	213	213	29	42	FdLock.lock	api_reference	fcntl	fcntl.LOCK_EX	lexical_import_resolution	fcntl.LOCK_EX	        fcntl.flock(self.fd, fcntl.LOCK_EX | fcntl.LOCK_NB)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L213	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001398	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	213	213	45	58	FdLock.lock	api_reference	fcntl	fcntl.LOCK_NB	lexical_import_resolution	fcntl.LOCK_NB	        fcntl.flock(self.fd, fcntl.LOCK_EX | fcntl.LOCK_NB)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L213	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""access"": ""load""}"
occ-001399	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	218	218	12	25	FdLock.close	instance_candidate	candidates	close	unresolved_receiver_candidate	self.fd.close	            self.fd.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L218	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""self.fd"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001400	tests/ci/gpu_lock_exec.py	tests.ci.gpu_lock_exec	231	231	12	30	_ensure_lock_files	instance_candidate	candidates	close	unresolved_receiver_candidate	"open(p, ""a"").close"	"            open(p, ""a"").close()"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/ci/gpu_lock_exec.py#L231	source_snapshot/tests/ci/gpu_lock_exec.py.txt	"{""receiver"": ""open(p, \""a\"")"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001401	tests/fanout_test_helpers.py	tests.fanout_test_helpers	39	70	0	19	<module>	async_def	syntax	compact_generate	python_ast	async def compact_generate(args, sample, sampling_params):	async def compact_generate(args, sample, sampling_params):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/fanout_test_helpers.py#L39-L70	source_snapshot/tests/fanout_test_helpers.py.txt	"{""async_protocol"": false}"
occ-001402	tests/fanout_test_helpers.py	tests.fanout_test_helpers	52	52	16	23	compact_generate	instance_candidate	candidates	write	unresolved_receiver_candidate	f.write	"                f.write(f""{sample.index}\n"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/fanout_test_helpers.py#L52	source_snapshot/tests/fanout_test_helpers.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001403	tests/fanout_test_helpers.py	tests.fanout_test_helpers	57	57	18	63	compact_generate	await	syntax	await	python_ast	await generate(args, sample, sampling_params)	    base_sample = await generate(args, sample, sampling_params)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/fanout_test_helpers.py#L57	source_snapshot/tests/fanout_test_helpers.py.txt	{}
occ-001404	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	5	5	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L5	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-001405	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	8	8	31	49	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import ThreadPoolExecutor	from concurrent.futures import ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L8	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 8}"
occ-001406	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	21	38	0	58	<module>	async_def	syntax	reward	python_ast	async def reward(args, sample, **kwargs):	async def reward(args, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L21-L38	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""async_protocol"": false}"
occ-001407	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	46	46	25	44	GenerationProbe.__init__	api_call	threading	threading.Condition	lexical_import_resolution	threading.Condition	        self.condition = threading.Condition()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L46	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""access"": ""load""}"
occ-001408	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	49	49	22	38	GenerationProbe.__init__	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	        self.thread = threading.Thread(target=self.run, daemon=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L49	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""access"": ""load""}"
occ-001409	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	76	76	49	57	GenerationProbe.run	instance_candidate	candidates	get	unresolved_receiver_candidate	meta.get	"                                ""finish_reason"": meta.get(""finish_reason""),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L76	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""meta"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001410	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	80	80	24	49	GenerationProbe.run	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                        self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L80	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 46, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001411	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	86	86	16	41	GenerationProbe.run	instance_candidate	candidates	notify_all	inferred_receiver_candidate	self.condition.notify_all	                self.condition.notify_all()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L86	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 46, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001412	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	90	90	20	43	GenerationProbe.wait	instance_candidate	candidates	wait_for	inferred_receiver_candidate	self.condition.wait_for	            ready = self.condition.wait_for(lambda: self.error or self.done or predicate(self.events), timeout=180)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L90	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.condition"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Condition()"", ""line"": 46, ""type"": ""threading.Condition""}, ""resolved_non_native_name"": null}"
occ-001413	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	97	97	8	17	GenerationProbe.verify	instance_candidate	candidates	wait	unresolved_receiver_candidate	self.wait	        self.wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L97	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001414	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	110	110	8	24	GenerationProbe.verify	instance_candidate	candidates	join	inferred_receiver_candidate	self.thread.join	        self.thread.join(timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L110	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self.run, daemon=True)"", ""line"": 49, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001415	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	111	111	19	39	GenerationProbe.verify	instance_candidate	candidates	is_alive	inferred_receiver_candidate	self.thread.is_alive	        assert not self.thread.is_alive()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L111	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self.run, daemon=True)"", ""line"": 49, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001416	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	115	115	8	17	GenerationProbe.verify_flush	instance_candidate	candidates	wait	unresolved_receiver_candidate	self.wait	"        self.wait(lambda events: bool(events) and events[-1][""finish_reason""] is not None)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L115	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001417	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	116	116	8	24	GenerationProbe.verify_flush	instance_candidate	candidates	join	inferred_receiver_candidate	self.thread.join	        self.thread.join(timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L116	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self.run, daemon=True)"", ""line"": 49, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001418	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	117	117	19	39	GenerationProbe.verify_flush	instance_candidate	candidates	is_alive	inferred_receiver_candidate	self.thread.is_alive	        assert not self.thread.is_alive()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L117	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""self.thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=self.run, daemon=True)"", ""line"": 49, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001419	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	132	132	4	17	start_probes	instance_candidate	candidates	clear	unresolved_receiver_candidate	_probes.clear	    _probes.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L132	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""_probes"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001420	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	136	136	8	26	start_probes	instance_candidate	candidates	start	unresolved_receiver_candidate	probe.thread.start	        probe.thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L136	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""probe.thread"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001421	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	138	138	8	18	start_probes	instance_candidate	candidates	wait	unresolved_receiver_candidate	probe.wait	"        probe.wait(lambda events: bool(events) and events[-1][""tokens""] >= 16)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L138	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""probe"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001422	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	159	159	13	31	before_train_step	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	        with ThreadPoolExecutor(max_workers=len(_probes)) as pool:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L159	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""access"": ""load""}"
occ-001423	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	160	160	42	50	before_train_step	instance_candidate	candidates	map	inferred_receiver_candidate	pool.map	"            _records[""continuous""] = list(pool.map(lambda probe: probe.verify(), _probes))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L160	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""pool"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=len(_probes))"", ""line"": 159, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001424	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	164	164	13	31	before_train_step	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	        with ThreadPoolExecutor(max_workers=len(_probes)) as pool:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L164	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""access"": ""load""}"
occ-001425	tests/pipeline_rl_test_helpers.py	tests.pipeline_rl_test_helpers	166	166	16	24	before_train_step	instance_candidate	candidates	map	inferred_receiver_candidate	pool.map	                pool.map(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/pipeline_rl_test_helpers.py#L166	source_snapshot/tests/pipeline_rl_test_helpers.py.txt	"{""receiver"": ""pool"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=len(_probes))"", ""line"": 164, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001426	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	3	3	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L3	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001427	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	75	81	0	17	<module>	async_def	syntax	custom_generate	python_ast	async def custom_generate(args, sample: Sample, sampling_params: dict):	async def custom_generate(args, sample: Sample, sampling_params: dict):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L75-L81	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""async_protocol"": false}"
occ-001428	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	84	91	0	17	<module>	async_def	syntax	custom_generate_with_evaluation	python_ast	async def custom_generate_with_evaluation(args, sample: Sample, sampling_params: dict, evaluation: bool = False):	async def custom_generate_with_evaluation(args, sample: Sample, sampling_params: dict, evaluation: bool = False):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L84-L91	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""async_protocol"": false}"
occ-001429	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	108	109	4	19	_DummySemaphore	async_def	syntax	__aenter__	python_ast	    async def __aenter__(self):	    async def __aenter__(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L108-L109	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""async_protocol"": true}"
occ-001430	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	111	112	4	20	_DummySemaphore	async_def	syntax	__aexit__	python_ast	    async def __aexit__(self, exc_type, exc, tb):	    async def __aexit__(self, exc_type, exc, tb):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L111-L112	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""async_protocol"": true}"
occ-001431	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	133	139	4	21	test_generate_and_rm_default_generate_branch_is_stable	async_def	syntax	official_default_generate	python_ast	    async def official_default_generate(args, sample: Sample, sampling_params: dict):	    async def official_default_generate(args, sample: Sample, sampling_params: dict):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L133-L139	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""async_protocol"": false}"
occ-001432	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	143	143	13	24	test_generate_and_rm_default_generate_branch_is_stable	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L143	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""access"": ""load""}"
occ-001433	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	158	158	13	24	test_generate_and_rm_prefers_per_sample_generate_function	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    result = asyncio.run(generate_and_rm(args, sample, sampling_params={""temperature"": 0.3}, evaluation=True))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L158	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""access"": ""load""}"
occ-001434	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	169	169	13	24	test_custom_generate_function_path_supports_user_override	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L169	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""access"": ""load""}"
occ-001435	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	183	186	4	32	test_generate_and_rm_group_rm_accepts_list_result_from_custom_generate	async_def	syntax	custom_generate_list	python_ast	    async def custom_generate_list(args, sample: Sample, sampling_params: dict):	    async def custom_generate_list(args, sample: Sample, sampling_params: dict):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L183-L186	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""async_protocol"": false}"
occ-001436	tests/plugin_contracts/test_plugin_generate_contracts.py	tests.plugin_contracts.test_plugin_generate_contracts	190	190	13	24	test_generate_and_rm_group_rm_accepts_list_result_from_custom_generate	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_generate_contracts.py#L190	source_snapshot/tests/plugin_contracts/test_plugin_generate_contracts.py.txt	"{""access"": ""load""}"
occ-001437	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	3	3	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L3	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001438	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	123	123	19	38	reference_dynamic_filter.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.metadata.get	"    keep = not any(sample.metadata.get(""drop"") for sample in samples)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L123	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""receiver"": ""sample.metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001439	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	143	144	0	41	<module>	async_def	syntax	reference_single_rm	python_ast	async def reference_single_rm(args, sample: Sample, **kwargs):	async def reference_single_rm(args, sample: Sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L143-L144	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""async_protocol"": false}"
occ-001440	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	147	148	0	65	<module>	async_def	syntax	reference_batched_rm	python_ast	async def reference_batched_rm(args, samples: list[Sample], **kwargs):	async def reference_batched_rm(args, samples: list[Sample], **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L147-L148	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""async_protocol"": false}"
occ-001441	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	334	334	13	24	test_custom_rm_default_behavior_is_stable	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    reward = asyncio.run(async_rm(make_args(rm_type=""random""), make_sample(4)))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L334	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""access"": ""load""}"
occ-001442	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	335	335	14	25	test_custom_rm_default_behavior_is_stable	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    rewards = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L335	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""access"": ""load""}"
occ-001443	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	347	347	18	29	test_custom_rm_path_aligns_with_expected_format	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        rewards = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L347	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""access"": ""load""}"
occ-001444	tests/plugin_contracts/test_plugin_path_loading_contracts.py	tests.plugin_contracts.test_plugin_path_loading_contracts	360	360	17	28	test_custom_rm_path_aligns_with_expected_format	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        reward = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/plugin_contracts/test_plugin_path_loading_contracts.py#L360	source_snapshot/tests/plugin_contracts/test_plugin_path_loading_contracts.py.txt	"{""access"": ""load""}"
occ-001445	tests/rollout_health_test_helpers.py	tests.rollout_health_test_helpers	15	16	0	58	<module>	async_def	syntax	reward	python_ast	async def reward(args, sample, **kwargs):	async def reward(args, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/rollout_health_test_helpers.py#L15-L16	source_snapshot/tests/rollout_health_test_helpers.py.txt	"{""async_protocol"": false}"
occ-001446	tests/rollout_health_test_helpers.py	tests.rollout_health_test_helpers	36	56	4	21	generate_rollout	async_def	syntax	crash_then_abort	python_ast	    async def crash_then_abort(config, current_rollout):	    async def crash_then_abort(config, current_rollout):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/rollout_health_test_helpers.py#L36-L56	source_snapshot/tests/rollout_health_test_helpers.py.txt	"{""async_protocol"": false}"
occ-001447	tests/rollout_health_test_helpers.py	tests.rollout_health_test_helpers	48	48	17	62	generate_rollout.crash_then_abort	await	syntax	await	python_ast	await original_abort(config, current_rollout)	        result = await original_abort(config, current_rollout)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/rollout_health_test_helpers.py#L48	source_snapshot/tests/rollout_health_test_helpers.py.txt	{}
occ-001448	tests/test_agent/_fakes.py	tests.test_agent._fakes	29	29	28	37	<module>	import	async-typing	collections.abc.Awaitable	explicit_import	from collections.abc import Awaitable, Callable	from collections.abc import Awaitable, Callable	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L29	source_snapshot/tests/test_agent/_fakes.py.txt	"{""local_binding"": ""Awaitable"", ""selective_module_import"": false, ""statement_line"": 29}"
occ-001449	tests/test_agent/_fakes.py	tests.test_agent._fakes	82	82	15	23	FakeTokenizer.decode	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"        return "" "".join(self._inv[i] for i in ids if i in self._inv and i not in _SPECIAL_IDS)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L82	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001450	tests/test_agent/_fakes.py	tests.test_agent._fakes	86	86	12	23	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	message.get	"        c = message.get(""content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L86	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""message"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001451	tests/test_agent/_fakes.py	tests.test_agent._fakes	88	88	20	31	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	message.get	"        reasoning = message.get(""reasoning_content"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L88	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""message"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001452	tests/test_agent/_fakes.py	tests.test_agent._fakes	95	95	43	48	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                if isinstance(b, dict) and b.get(""type"") == ""text"":"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L95	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001453	tests/test_agent/_fakes.py	tests.test_agent._fakes	96	96	37	42	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"                    parts.append(str(b.get(""text"", """")))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L96	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001454	tests/test_agent/_fakes.py	tests.test_agent._fakes	97	97	20	31	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	message.get	"        for call in message.get(""tool_calls"") or []:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L97	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""message"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001455	tests/test_agent/_fakes.py	tests.test_agent._fakes	98	98	17	25	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	call.get	"            fn = call.get(""function"") or {}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L98	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""call"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001456	tests/test_agent/_fakes.py	tests.test_agent._fakes	99	99	37	43	FakeTokenizer._content_text	instance_candidate	candidates	get	unresolved_receiver_candidate	fn.get	"            parts.append(f""toolcall:{fn.get('name', '')}"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L99	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""fn"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001457	tests/test_agent/_fakes.py	tests.test_agent._fakes	100	100	15	23	FakeTokenizer._content_text	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"        return "" "".join(p for p in parts if p)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L100	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001458	tests/test_agent/_fakes.py	tests.test_agent._fakes	106	106	19	24	FakeTokenizer.apply_chat_template	instance_candidate	candidates	get	unresolved_receiver_candidate	m.get	"            role = m.get(""role"", ""user"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L106	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""m"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001459	tests/test_agent/_fakes.py	tests.test_agent._fakes	107	107	23	38	FakeTokenizer.apply_chat_template	instance_candidate	candidates	get	unresolved_receiver_candidate	_ROLE_BEGIN.get	"            out.append(_ROLE_BEGIN.get(role, _ROLE_BEGIN[""user""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L107	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""_ROLE_BEGIN"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001460	tests/test_agent/_fakes.py	tests.test_agent._fakes	132	132	15	31	ScriptedTokenizer.decode	instance_candidate	candidates	get	unresolved_receiver_candidate	self.outputs.get	"        return self.outputs.get(tuple(ids), """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L132	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""self.outputs"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001461	tests/test_agent/_fakes.py	tests.test_agent._fakes	157	169	4	9	FakeSGLangServer	async_def	syntax	_handle	python_ast	    async def _handle(self, request: web.Request) -> web.Response:	    async def _handle(self, request: web.Request) -> web.Response:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L157-L169	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": false}"
occ-001462	tests/test_agent/_fakes.py	tests.test_agent._fakes	158	158	33	52	FakeSGLangServer._handle	instance_candidate	candidates	get	unresolved_receiver_candidate	request.headers.get	"        self.routing_keys.append(request.headers.get(""X-SMG-Routing-Key""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L158	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""request.headers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001463	tests/test_agent/_fakes.py	tests.test_agent._fakes	159	159	29	49	FakeSGLangServer._handle	await	syntax	await	python_ast	await request.json()	        self.requests.append(await request.json())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L159	source_snapshot/tests/test_agent/_fakes.py.txt	{}
occ-001464	tests/test_agent/_fakes.py	tests.test_agent._fakes	171	179	4	19	FakeSGLangServer	async_def	syntax	__aenter__	python_ast	    async def __aenter__(self) -> FakeSGLangServer:	    async def __aenter__(self) -> FakeSGLangServer:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L171-L179	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": true}"
occ-001465	tests/test_agent/_fakes.py	tests.test_agent._fakes	177	177	8	41	FakeSGLangServer.__aenter__	await	syntax	await	python_ast	await self._server.start_server()	        await self._server.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L177	source_snapshot/tests/test_agent/_fakes.py.txt	{}
occ-001466	tests/test_agent/_fakes.py	tests.test_agent._fakes	181	183	4	38	FakeSGLangServer	async_def	syntax	__aexit__	python_ast	    async def __aexit__(self, *exc) -> None:	    async def __aexit__(self, *exc) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L181-L183	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": true}"
occ-001467	tests/test_agent/_fakes.py	tests.test_agent._fakes	183	183	12	38	FakeSGLangServer.__aexit__	await	syntax	await	python_ast	await self._server.close()	            await self._server.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L183	source_snapshot/tests/test_agent/_fakes.py.txt	{}
occ-001468	tests/test_agent/_fakes.py	tests.test_agent._fakes	183	183	18	36	FakeSGLangServer.__aexit__	instance_candidate	candidates	close	unresolved_receiver_candidate	self._server.close	            await self._server.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L183	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""self._server"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001469	tests/test_agent/_fakes.py	tests.test_agent._fakes	197	208	4	9	fake_call_sglang_generate	async_def	syntax	_fake	python_ast	    async def _fake(prompt_ids, session, body, *, adapter, session_id=None) -> TurnRecord:	    async def _fake(prompt_ids, session, body, *, adapter, session_id=None) -> TurnRecord:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L197-L208	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": false}"
occ-001470	tests/test_agent/_fakes.py	tests.test_agent._fakes	240	240	36	45	FakeSandbox	api_reference	async-typing	collections.abc.Awaitable	lexical_import_resolution	Awaitable	        on_launch: Callable[[dict], Awaitable[int]] | None = None,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L240	source_snapshot/tests/test_agent/_fakes.py.txt	"{""access"": ""load""}"
occ-001471	tests/test_agent/_fakes.py	tests.test_agent._fakes	260	261	4	19	FakeSandbox	async_def	syntax	__aenter__	python_ast	    async def __aenter__(self) -> FakeSandbox:	    async def __aenter__(self) -> FakeSandbox:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L260-L261	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": true}"
occ-001472	tests/test_agent/_fakes.py	tests.test_agent._fakes	263	264	4	19	FakeSandbox	async_def	syntax	__aexit__	python_ast	    async def __aexit__(self, *exc) -> None:	    async def __aexit__(self, *exc) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L263-L264	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": true}"
occ-001473	tests/test_agent/_fakes.py	tests.test_agent._fakes	266	288	4	24	FakeSandbox	async_def	syntax	exec	python_ast	"    async def exec(self, cmd, *, user=""root"", env=None, timeout=120, check=False, idempotent=True):"	"    async def exec(self, cmd, *, user=""root"", env=None, timeout=120, check=False, idempotent=True):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L266-L288	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": false}"
occ-001474	tests/test_agent/_fakes.py	tests.test_agent._fakes	271	271	19	50	FakeSandbox.exec	await	syntax	await	python_ast	await self.on_launch(env or {})	            code = await self.on_launch(env or {})	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L271	source_snapshot/tests/test_agent/_fakes.py.txt	{}
occ-001475	tests/test_agent/_fakes.py	tests.test_agent._fakes	290	291	4	42	FakeSandbox	async_def	syntax	write_file	python_ast	"    async def write_file(self, sandbox_path, content, *, user=""root"") -> None:"	"    async def write_file(self, sandbox_path, content, *, user=""root"") -> None:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L290-L291	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": false}"
occ-001476	tests/test_agent/_fakes.py	tests.test_agent._fakes	293	294	4	56	FakeSandbox	async_def	syntax	read_file	python_ast	"    async def read_file(self, sandbox_path, *, user=""root"") -> str:"	"    async def read_file(self, sandbox_path, *, user=""root"") -> str:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L293-L294	source_snapshot/tests/test_agent/_fakes.py.txt	"{""async_protocol"": false}"
occ-001477	tests/test_agent/_fakes.py	tests.test_agent._fakes	294	294	23	37	FakeSandbox.read_file	instance_candidate	candidates	get	unresolved_receiver_candidate	self.files.get	"        return _as_str(self.files.get(sandbox_path, """"))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/_fakes.py#L294	source_snapshot/tests/test_agent/_fakes.py.txt	"{""receiver"": ""self.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001478	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	16	16	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L16	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 16}"
occ-001479	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	57	57	19	28	_parse_sse.flush	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"            data = ""\n"".join(data_lines)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L57	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001480	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	73	74	0	96	<module>	async_def	syntax	_drain	python_ast	async def _drain(adapter, sid) -> list[Sample]:	async def _drain(adapter, sid) -> list[Sample]:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L73-L74	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001481	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	74	74	11	96	_drain	await	syntax	await	python_ast	"await adapter.finish_session(sid, base_sample=Sample(index=0, prompt=""""), reward=1.0)"	"    return await adapter.finish_session(sid, base_sample=Sample(index=0, prompt=""""), reward=1.0)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L74	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001482	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	169	199	4	39	test_anthropic_messages_nonstream_records_token_segments	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L169-L199	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001483	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	170	185	8	52	test_anthropic_messages_nonstream_records_token_segments.run_case	async_with	syntax	async with	python_ast	        async with FakeSGLangServer([[(-0.1, 101), (-0.2, 102)]]) as sglang:	        async with FakeSGLangServer([[(-0.1, 101), (-0.2, 102)]]) as sglang:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L170-L185	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""items"": 1}"
occ-001484	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	175	175	12	39	test_anthropic_messages_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	await client.start_server()	            await client.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L175	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001485	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	177	181	23	17	test_anthropic_messages_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	"await client.post(
                    ""/v1/messages"",
                    headers={""Authorization"": ""Bearer sid-a""},
                    json={""model"": ""m"", ""max_tokens"": 7, ""messages"": [{""role"": ""user"", ""content"": ""hi""}]},
                )"	                resp = await client.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L177-L181	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001486	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	182	182	23	40	test_anthropic_messages_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	await resp.json()	                data = await resp.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L182	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001487	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	184	184	16	36	test_anthropic_messages_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	await client.close()	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L184	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001488	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	184	184	22	34	test_anthropic_messages_nonstream_records_token_segments.run_case	instance_candidate	candidates	close	unresolved_receiver_candidate	client.close	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L184	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001489	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	185	185	22	52	test_anthropic_messages_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	"await _drain(adapter, ""sid-a"")"	"            samples = await _drain(adapter, ""sid-a"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L185	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001490	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	201	201	4	15	test_anthropic_messages_nonstream_records_token_segments	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L201	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""access"": ""load""}"
occ-001491	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	205	228	4	99	test_openai_chat_completions_nonstream_records_token_segments	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L205-L228	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001492	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	206	221	8	52	test_openai_chat_completions_nonstream_records_token_segments.run_case	async_with	syntax	async with	python_ast	        async with FakeSGLangServer([[(-0.3, 201)]]) as sglang:	        async with FakeSGLangServer([[(-0.3, 201)]]) as sglang:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L206-L221	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""items"": 1}"
occ-001493	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	211	211	12	39	test_openai_chat_completions_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	await client.start_server()	            await client.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L211	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001494	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	213	217	23	17	test_openai_chat_completions_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	"await client.post(
                    ""/v1/chat/completions"",
                    headers={""Authorization"": ""Bearer sid-o""},
                    json={""model"": ""m"", ""max_tokens"": 4, ""messages"": [{""role"": ""user"", ""content"": ""hi?""}]},
                )"	                resp = await client.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L213-L217	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001495	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	218	218	23	40	test_openai_chat_completions_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	await resp.json()	                data = await resp.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L218	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001496	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	220	220	16	36	test_openai_chat_completions_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	await client.close()	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L220	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001497	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	220	220	22	34	test_openai_chat_completions_nonstream_records_token_segments.run_case	instance_candidate	candidates	close	unresolved_receiver_candidate	client.close	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L220	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001498	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	221	221	22	52	test_openai_chat_completions_nonstream_records_token_segments.run_case	await	syntax	await	python_ast	"await _drain(adapter, ""sid-o"")"	"            samples = await _drain(adapter, ""sid-o"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L221	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001499	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	230	230	4	15	test_openai_chat_completions_nonstream_records_token_segments	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L230	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""access"": ""load""}"
occ-001500	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	239	267	4	72	test_anthropic_messages_streams_blocks	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L239-L267	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001501	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	240	260	8	43	test_anthropic_messages_streams_blocks.run_case	async_with	syntax	async with	python_ast	        async with FakeSGLangServer([[(-0.1, 301)]]) as sglang:	        async with FakeSGLangServer([[(-0.1, 301)]]) as sglang:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L240-L260	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""items"": 1}"
occ-001502	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	245	245	12	39	test_anthropic_messages_streams_blocks.run_case	await	syntax	await	python_ast	await client.start_server()	            await client.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L245	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001503	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	247	256	23	17	test_anthropic_messages_streams_blocks.run_case	await	syntax	await	python_ast	"await client.post(
                    ""/v1/messages"",
                    headers={""Authorization"": ""Bearer sid-as"", ""Accept"": ""text/event-stream""},
                    json={
                        ""model"": ""m"",
                        ""stream"": True,
                        ""max_tokens"": 8,
                        ""messages"": [{""role"": ""user"", ""content"": ""x""}],
                    },
                )"	                resp = await client.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L247-L256	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001504	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	257	257	22	39	test_anthropic_messages_streams_blocks.run_case	await	syntax	await	python_ast	await resp.text()	                raw = await resp.text()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L257	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001505	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	259	259	16	36	test_anthropic_messages_streams_blocks.run_case	await	syntax	await	python_ast	await client.close()	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L259	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001506	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	259	259	22	34	test_anthropic_messages_streams_blocks.run_case	instance_candidate	candidates	close	unresolved_receiver_candidate	client.close	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L259	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001507	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	260	260	12	43	test_anthropic_messages_streams_blocks.run_case	await	syntax	await	python_ast	"await _drain(adapter, ""sid-as"")"	"            await _drain(adapter, ""sid-as"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L260	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001508	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	267	267	19	33	test_anthropic_messages_streams_blocks.run_case.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"d[""delta""].get"	"        assert any(d[""delta""].get(""text"") == ""streamed"" for d in deltas)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L267	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""d[\""delta\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001509	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	269	269	4	15	test_anthropic_messages_streams_blocks	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L269	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""access"": ""load""}"
occ-001510	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	273	295	4	50	test_openai_chat_completions_streams_chunks_until_done	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L273-L295	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001511	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	274	289	8	43	test_openai_chat_completions_streams_chunks_until_done.run_case	async_with	syntax	async with	python_ast	        async with FakeSGLangServer([[(-0.1, 401)]]) as sglang:	        async with FakeSGLangServer([[(-0.1, 401)]]) as sglang:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L274-L289	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""items"": 1}"
occ-001512	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	279	279	12	39	test_openai_chat_completions_streams_chunks_until_done.run_case	await	syntax	await	python_ast	await client.start_server()	            await client.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L279	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001513	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	281	285	23	17	test_openai_chat_completions_streams_chunks_until_done.run_case	await	syntax	await	python_ast	"await client.post(
                    ""/v1/chat/completions"",
                    headers={""Authorization"": ""Bearer sid-os""},
                    json={""model"": ""m"", ""stream"": True, ""messages"": [{""role"": ""user"", ""content"": ""x""}]},
                )"	                resp = await client.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L281-L285	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001514	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	286	286	22	39	test_openai_chat_completions_streams_chunks_until_done.run_case	await	syntax	await	python_ast	await resp.text()	                raw = await resp.text()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L286	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001515	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	288	288	16	36	test_openai_chat_completions_streams_chunks_until_done.run_case	await	syntax	await	python_ast	await client.close()	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L288	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001516	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	288	288	22	34	test_openai_chat_completions_streams_chunks_until_done.run_case	instance_candidate	candidates	close	unresolved_receiver_candidate	client.close	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L288	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001517	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	289	289	12	43	test_openai_chat_completions_streams_chunks_until_done.run_case	await	syntax	await	python_ast	"await _drain(adapter, ""sid-os"")"	"            await _drain(adapter, ""sid-os"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L289	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001518	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	297	297	4	15	test_openai_chat_completions_streams_chunks_until_done	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L297	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""access"": ""load""}"
occ-001519	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	313	373	4	39	test_anthropic_multiturn_wire_roundtrip_and_token_capture	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L313-L373	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001520	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	315	359	8	53	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	async_with	syntax	async with	python_ast	        async with FakeSGLangServer([[(-0.5, 700), (-0.5, 701)], [(-0.4, 800)]]) as sglang:	        async with FakeSGLangServer([[(-0.5, 700), (-0.5, 701)], [(-0.4, 800)]]) as sglang:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L315-L359	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""items"": 1}"
occ-001521	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	320	320	12	39	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	await client.start_server()	            await client.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L320	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001522	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	325	334	24	17	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	"await client.post(
                    ""/v1/messages"",
                    headers={""Authorization"": ""Bearer sid-mt""},
                    json={
                        ""model"": ""m"",
                        ""max_tokens"": 5,
                        ""tools"": tools,
                        ""messages"": [{""role"": ""user"", ""content"": [{""type"": ""text"", ""text"": ""find slime""}]}],
                    },
                )"	                first = await client.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L325-L334	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001523	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	335	335	24	42	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	await first.json()	                fdata = await first.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L335	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001524	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	337	355	25	17	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	"await client.post(
                    ""/v1/messages"",
                    headers={""Authorization"": ""Bearer sid-mt""},
                    json={
                        ""model"": ""m"",
                        ""max_tokens"": 7,
                        ""tools"": tools,
                        ""messages"": [
                            {""role"": ""user"", ""content"": [{""type"": ""text"", ""text"": ""find slime""}]},
                            {""role"": ""assistant"", ""content"": fdata[""content""]},
                            {
                                ""role"": ""user"",
                                ""content"": [
                                    {""type"": ""tool_result"", ""tool_use_id"": tool_use[""id""], ""content"": ""found""}
                                ],
                            },
                        ],
                    },
                )"	                second = await client.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L337-L355	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001525	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	356	356	16	35	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	await second.json()	                await second.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L356	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001526	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	358	358	16	36	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	await client.close()	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L358	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001527	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	358	358	22	34	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	instance_candidate	candidates	close	unresolved_receiver_candidate	client.close	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L358	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001528	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	359	359	22	53	test_anthropic_multiturn_wire_roundtrip_and_token_capture.run_case	await	syntax	await	python_ast	"await _drain(adapter, ""sid-mt"")"	"            samples = await _drain(adapter, ""sid-mt"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L359	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001529	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	375	375	4	15	test_anthropic_multiturn_wire_roundtrip_and_token_capture	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L375	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""access"": ""load""}"
occ-001530	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	384	400	4	35	test_max_turns_per_sid_returns_429	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L384-L400	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""async_protocol"": false}"
occ-001531	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	385	398	8	44	test_max_turns_per_sid_returns_429.run_case	async_with	syntax	async with	python_ast	        async with FakeSGLangServer([[(-0.1, 501)], [(-0.1, 502)]]) as sglang:	        async with FakeSGLangServer([[(-0.1, 501)], [(-0.1, 502)]]) as sglang:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L385-L398	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""items"": 1}"
occ-001532	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	390	390	12	39	test_max_turns_per_sid_returns_429.run_case	await	syntax	await	python_ast	await client.start_server()	            await client.start_server()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L390	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001533	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	394	394	24	79	test_max_turns_per_sid_returns_429.run_case	await	syntax	await	python_ast	"await client.post(""/v1/messages"", headers=h, json=body)"	"                first = await client.post(""/v1/messages"", headers=h, json=body)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L394	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001534	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	395	395	25	80	test_max_turns_per_sid_returns_429.run_case	await	syntax	await	python_ast	"await client.post(""/v1/messages"", headers=h, json=body)"	"                second = await client.post(""/v1/messages"", headers=h, json=body)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L395	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001535	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	397	397	16	36	test_max_turns_per_sid_returns_429.run_case	await	syntax	await	python_ast	await client.close()	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L397	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001536	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	397	397	22	34	test_max_turns_per_sid_returns_429.run_case	instance_candidate	candidates	close	unresolved_receiver_candidate	client.close	                await client.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L397	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""client"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001537	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	398	398	12	44	test_max_turns_per_sid_returns_429.run_case	await	syntax	await	python_ast	"await _drain(adapter, ""sid-cap"")"	"            await _drain(adapter, ""sid-cap"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L398	source_snapshot/tests/test_agent/test_adapters.py.txt	{}
occ-001538	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	402	402	4	15	test_max_turns_per_sid_returns_429	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L402	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""access"": ""load""}"
occ-001539	tests/test_agent/test_adapters.py	tests.test_agent.test_adapters	418	418	15	20	test_mid_list_system_folds_into_user.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	b.get	"    assert any(b.get(""text"", """").startswith(""<system-reminder>"") for b in folded)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_adapters.py#L418	source_snapshot/tests/test_agent/test_adapters.py.txt	"{""receiver"": ""b"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001540	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	26	26	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L26	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 26}"
occ-001541	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	27	27	7	17	<module>	import	contextlib-async	contextlib	explicit_import	import contextlib	import contextlib	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L27	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""local_binding"": ""contextlib"", ""selective_module_import"": true, ""statement_line"": 27}"
occ-001542	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	56	56	15	22	<module>	api_reference	asyncio	asyncio	lexical_import_resolution	asyncio	"if not hasattr(asyncio, ""timeout""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L56	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001543	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	58	58	5	35	<module>	api_reference	contextlib-async	contextlib.asynccontextmanager	lexical_import_resolution	contextlib.asynccontextmanager	    @contextlib.asynccontextmanager	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L58	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001544	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	59	60	4	13	<module>	async_generator_def	syntax	_timeout_shim	python_ast	    async def _timeout_shim(_delay):	    async def _timeout_shim(_delay):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L59-L60	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001545	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	60	60	8	13	_timeout_shim	async_yield	syntax	yield in async generator	python_ast	yield	        yield	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L60	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001546	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	62	62	4	19	<module>	api_reference	asyncio	asyncio.timeout	lexical_import_resolution	asyncio.timeout	    asyncio.timeout = _timeout_shim	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L62	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""store""}"
occ-001547	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	78	78	14	27	<module>	api_reference	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	_REAL_SLEEP = asyncio.sleep	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L78	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001548	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	81	82	0	24	<module>	async_def	syntax	_fast_sleep	python_ast	async def _fast_sleep(_secs):  # collapse run_command's 5s poll loop	async def _fast_sleep(_secs):  # collapse run_command's 5s poll loop	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L81-L82	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001549	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	82	82	4	24	_fast_sleep	await	syntax	await	python_ast	await _REAL_SLEEP(0)	    await _REAL_SLEEP(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L82	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001550	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	108	124	0	12	<module>	async_def	syntax	_anthropic_agent	python_ast	async def _anthropic_agent(env: dict, *, n_turns: int = 2) -> int:	async def _anthropic_agent(env: dict, *, n_turns: int = 2) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L108-L124	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001551	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	114	123	4	95	_anthropic_agent	async_with	syntax	async with	python_ast	    async with aiohttp.ClientSession(trust_env=False) as sess:	    async with aiohttp.ClientSession(trust_env=False) as sess:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L114-L123	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""items"": 1}"
occ-001552	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	116	121	12	37	_anthropic_agent	async_with	syntax	async with	python_ast	            async with sess.post(	            async with sess.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L116-L121	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""items"": 1}"
occ-001553	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	121	121	23	37	_anthropic_agent	await	syntax	await	python_ast	await r.json()	                data = await r.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L121	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001554	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	157	158	0	15	<module>	async_def	syntax	_noop_install	python_ast	async def _noop_install(self, sb) -> None:	async def _noop_install(self, sb) -> None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L157-L158	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001555	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	176	191	4	63	test_generate_produces_trained_samples	async_def	syntax	run_case	python_ast	    async def run_case(monkeypatch):	    async def run_case(monkeypatch):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L176-L191	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001556	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	181	181	18	101	test_generate_produces_trained_samples.run_case	await	syntax	await	python_ast	"await gen.generate(_args(), _base_sample(), sampling_params={""max_new_tokens"": 32})"	"        samples = await gen.generate(_args(), _base_sample(), sampling_params={""max_new_tokens"": 32})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L181	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001557	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	188	188	19	33	test_generate_produces_trained_samples.run_case	instance_candidate	candidates	get	unresolved_receiver_candidate	s.metadata.get	"            assert s.metadata.get(""agent_exit_code"") == 0"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L188	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""receiver"": ""s.metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001558	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	194	194	8	19	test_generate_produces_trained_samples	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(run_case(mp))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L194	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001559	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	201	202	4	16	test_generate_aborts_on_empty_trajectory	async_def	syntax	silent_agent	python_ast	    async def silent_agent(_env) -> int:	    async def silent_agent(_env) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L201-L202	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001560	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	204	213	4	81	test_generate_aborts_on_empty_trajectory	async_def	syntax	run_case	python_ast	    async def run_case(monkeypatch):	    async def run_case(monkeypatch):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L204-L213	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001561	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	209	209	18	81	test_generate_aborts_on_empty_trajectory.run_case	await	syntax	await	python_ast	await gen.generate(_args(), _base_sample(), sampling_params={})	        samples = await gen.generate(_args(), _base_sample(), sampling_params={})	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L209	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001562	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	213	213	15	38	test_generate_aborts_on_empty_trajectory.run_case	instance_candidate	candidates	get	unresolved_receiver_candidate	samples[0].metadata.get	"        assert samples[0].metadata.get(""abort_reason"") == ""adapter_session_empty"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L213	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""receiver"": ""samples[0].metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001563	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	216	216	8	19	test_generate_aborts_on_empty_trajectory	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(run_case(mp))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L216	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001564	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	220	227	4	84	test_generate_aborts_on_missing_image	async_def	syntax	run_case	python_ast	    async def run_case(monkeypatch):	    async def run_case(monkeypatch):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L220-L227	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001565	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	224	224	18	89	test_generate_aborts_on_missing_image.run_case	await	syntax	await	python_ast	"await gen.generate(_args(), _base_sample(image=""""), sampling_params={})"	"        samples = await gen.generate(_args(), _base_sample(image=""""), sampling_params={})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L224	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001566	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	227	227	15	38	test_generate_aborts_on_missing_image.run_case	instance_candidate	candidates	get	unresolved_receiver_candidate	samples[0].metadata.get	"        assert samples[0].metadata.get(""abort_reason"") == ""missing_image_or_workdir"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L227	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""receiver"": ""samples[0].metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001567	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	230	230	8	19	test_generate_aborts_on_missing_image	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(run_case(mp))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L230	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001568	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	238	253	0	12	<module>	async_def	syntax	_codex_agent	python_ast	async def _codex_agent(env: dict, *, n_turns: int = 2) -> int:	async def _codex_agent(env: dict, *, n_turns: int = 2) -> int:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L238-L253	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001569	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	242	252	4	67	_codex_agent	async_with	syntax	async with	python_ast	    async with aiohttp.ClientSession(trust_env=False) as sess:	    async with aiohttp.ClientSession(trust_env=False) as sess:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L242-L252	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""items"": 1}"
occ-001570	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	244	249	12	37	_codex_agent	async_with	syntax	async with	python_ast	            async with sess.post(	            async with sess.post(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L244-L249	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""items"": 1}"
occ-001571	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	249	249	23	37	_codex_agent	await	syntax	await	python_ast	await r.json()	                data = await r.json()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L249	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001572	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	251	251	60	67	_codex_agent	instance_candidate	candidates	get	unresolved_receiver_candidate	msg.get	"            history.append({""role"": ""assistant"", ""content"": msg.get(""content"") or """"})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L251	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""receiver"": ""msg"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001573	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	260	290	4	39	test_codex_openai_rollout_closes_loop	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L260-L290	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""async_protocol"": false}"
occ-001574	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	274	281	17	13	test_codex_openai_rollout_closes_loop.run_case	await	syntax	await	python_ast	"await CodexHarness().run(
                sb,
                workdir=""/workspace/repo"",
                session_id=sid,
                adapter_url=adapter_url,
                time_budget_sec=30,
                prompt=""fix it"",
            )"	            rc = await CodexHarness().run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L274-L281	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001575	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	282	282	22	107	test_codex_openai_rollout_closes_loop.run_case	await	syntax	await	python_ast	"await adapter.finish_session(sid, base_sample=Sample(index=0, prompt=""""), reward=1.0)"	"            samples = await adapter.finish_session(sid, base_sample=Sample(index=0, prompt=""""), reward=1.0)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L282	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	{}
occ-001576	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	284	284	12	23	test_codex_openai_rollout_closes_loop.run_case	instance_candidate	candidates	stop	unresolved_receiver_candidate	handle.stop	            handle.stop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L284	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""receiver"": ""handle"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001577	tests/test_agent/test_agent_rollout_cpu.py	tests.test_agent.test_agent_rollout_cpu	292	292	4	15	test_codex_openai_rollout_closes_loop	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_agent_rollout_cpu.py#L292	source_snapshot/tests/test_agent/test_agent_rollout_cpu.py.txt	"{""access"": ""load""}"
occ-001578	tests/test_agent/test_harness.py	tests.test_agent.test_harness	14	14	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L14	source_snapshot/tests/test_agent/test_harness.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 14}"
occ-001579	tests/test_agent/test_harness.py	tests.test_agent.test_harness	35	35	14	27	<module>	api_reference	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	_REAL_SLEEP = asyncio.sleep	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L35	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001580	tests/test_agent/test_harness.py	tests.test_agent.test_harness	38	39	0	24	<module>	async_def	syntax	_fast_sleep	python_ast	async def _fast_sleep(_secs):	async def _fast_sleep(_secs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L38-L39	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001581	tests/test_agent/test_harness.py	tests.test_agent.test_harness	39	39	4	24	_fast_sleep	await	syntax	await	python_ast	await _REAL_SLEEP(0)	    await _REAL_SLEEP(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L39	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001582	tests/test_agent/test_harness.py	tests.test_agent.test_harness	56	73	4	61	test_run_agent_returns_marker_exit_code	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L56-L73	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001583	tests/test_agent/test_harness.py	tests.test_agent.test_harness	59	61	8	20	test_run_agent_returns_marker_exit_code.run_case	async_def	syntax	fake_agent	python_ast	        async def fake_agent(env):	        async def fake_agent(env):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L59-L61	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001584	tests/test_agent/test_harness.py	tests.test_agent.test_harness	65	67	17	13	test_run_agent_returns_marker_exit_code.run_case	await	syntax	await	python_ast	"await hc.run_agent(
                sb, workdir=""/workspace/repo"", start_cmd=""claude -p hi"", env={""A"": ""1""}, time_budget_sec=30
            )"	            rc = await hc.run_agent(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L65-L67	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001585	tests/test_agent/test_harness.py	tests.test_agent.test_harness	75	75	4	15	test_run_agent_returns_marker_exit_code	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L75	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001586	tests/test_agent/test_harness.py	tests.test_agent.test_harness	79	86	4	22	test_run_agent_propagates_nonzero_exit	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L79-L86	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001587	tests/test_agent/test_harness.py	tests.test_agent.test_harness	80	81	8	20	test_run_agent_propagates_nonzero_exit.run_case	async_def	syntax	fail_agent	python_ast	        async def fail_agent(_env):	        async def fail_agent(_env):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L80-L81	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001588	tests/test_agent/test_harness.py	tests.test_agent.test_harness	85	85	17	96	test_run_agent_propagates_nonzero_exit.run_case	await	syntax	await	python_ast	"await hc.run_agent(sb, workdir=""/w"", start_cmd=""x"", env={}, time_budget_sec=30)"	"            rc = await hc.run_agent(sb, workdir=""/w"", start_cmd=""x"", env={}, time_budget_sec=30)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L85	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001589	tests/test_agent/test_harness.py	tests.test_agent.test_harness	88	88	4	15	test_run_agent_propagates_nonzero_exit	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L88	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001590	tests/test_agent/test_harness.py	tests.test_agent.test_harness	92	96	4	58	test_run_agent_times_out_when_marker_never_appears	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L92-L96	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001591	tests/test_agent/test_harness.py	tests.test_agent.test_harness	95	95	17	95	test_run_agent_times_out_when_marker_never_appears.run_case	await	syntax	await	python_ast	"await hc.run_agent(sb, workdir=""/w"", start_cmd=""x"", env={}, time_budget_sec=0)"	"            rc = await hc.run_agent(sb, workdir=""/w"", start_cmd=""x"", env={}, time_budget_sec=0)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L95	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001592	tests/test_agent/test_harness.py	tests.test_agent.test_harness	98	98	4	15	test_run_agent_times_out_when_marker_never_appears	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L98	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001593	tests/test_agent/test_harness.py	tests.test_agent.test_harness	107	113	4	49	test_claude_code_write_config_preacks_bypass_permissions	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L107-L113	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001594	tests/test_agent/test_harness.py	tests.test_agent.test_harness	109	109	8	58	test_claude_code_write_config_preacks_bypass_permissions.run_case	await	syntax	await	python_ast	await ClaudeCodeHarness().write_config(sb, _ctx())	        await ClaudeCodeHarness().write_config(sb, _ctx())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L109	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001595	tests/test_agent/test_harness.py	tests.test_agent.test_harness	110	110	17	25	test_claude_code_write_config_preacks_bypass_permissions.run_case	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"        joined = "" "".join(cmd for cmd, _ in sb.exec_log)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L110	source_snapshot/tests/test_agent/test_harness.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001596	tests/test_agent/test_harness.py	tests.test_agent.test_harness	115	115	4	15	test_claude_code_write_config_preacks_bypass_permissions	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L115	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001597	tests/test_agent/test_harness.py	tests.test_agent.test_harness	119	141	4	59	test_claude_code_launch_command_and_env	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L119-L141	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001598	tests/test_agent/test_harness.py	tests.test_agent.test_harness	122	124	8	20	test_claude_code_launch_command_and_env.run_case	async_def	syntax	agent	python_ast	        async def agent(env):	        async def agent(env):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L122-L124	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001599	tests/test_agent/test_harness.py	tests.test_agent.test_harness	128	130	17	13	test_claude_code_launch_command_and_env.run_case	await	syntax	await	python_ast	"await ClaudeCodeHarness().launch_and_wait(
                capturing, _ctx(sid=""sess-cc"", url=""http://host:18001""), prompt=""solve it"", time_budget_sec=30
            )"	            rc = await ClaudeCodeHarness().launch_and_wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L128-L130	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001600	tests/test_agent/test_harness.py	tests.test_agent.test_harness	143	143	4	15	test_claude_code_launch_command_and_env	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L143	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001601	tests/test_agent/test_harness.py	tests.test_agent.test_harness	152	161	4	49	test_codex_write_config_base64_roundtrips_inline_base_url	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L152-L161	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001602	tests/test_agent/test_harness.py	tests.test_agent.test_harness	154	154	8	76	test_codex_write_config_base64_roundtrips_inline_base_url.run_case	await	syntax	await	python_ast	"await CodexHarness().write_config(sb, _ctx(url=""http://host:18001""))"	"        await CodexHarness().write_config(sb, _ctx(url=""http://host:18001""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L154	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001603	tests/test_agent/test_harness.py	tests.test_agent.test_harness	163	163	4	15	test_codex_write_config_base64_roundtrips_inline_base_url	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L163	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001604	tests/test_agent/test_harness.py	tests.test_agent.test_harness	167	184	4	63	test_codex_launch_command_and_env	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L167-L184	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001605	tests/test_agent/test_harness.py	tests.test_agent.test_harness	170	172	8	20	test_codex_launch_command_and_env.run_case	async_def	syntax	agent	python_ast	        async def agent(env):	        async def agent(env):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L170-L172	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001606	tests/test_agent/test_harness.py	tests.test_agent.test_harness	176	178	17	13	test_codex_launch_command_and_env.run_case	await	syntax	await	python_ast	"await CodexHarness().launch_and_wait(
                sb, _ctx(sid=""sess-cx"", url=""http://host:18001""), prompt=""do work"", time_budget_sec=30
            )"	            rc = await CodexHarness().launch_and_wait(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L176-L178	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001607	tests/test_agent/test_harness.py	tests.test_agent.test_harness	186	186	4	15	test_codex_launch_command_and_env	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L186	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001608	tests/test_agent/test_harness.py	tests.test_agent.test_harness	195	201	4	68	test_ensure_agent_user_provisions_user_and_git_safe_dir	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L195-L201	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001609	tests/test_agent/test_harness.py	tests.test_agent.test_harness	197	197	8	66	test_ensure_agent_user_provisions_user_and_git_safe_dir.run_case	await	syntax	await	python_ast	"await sandbox_mod.ensure_agent_user(sb, ""/workspace/repo"")"	"        await sandbox_mod.ensure_agent_user(sb, ""/workspace/repo"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L197	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001610	tests/test_agent/test_harness.py	tests.test_agent.test_harness	203	203	4	15	test_ensure_agent_user_provisions_user_and_git_safe_dir	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L203	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001611	tests/test_agent/test_harness.py	tests.test_agent.test_harness	212	230	4	62	test_base_harness_run_calls_steps_in_order	async_def	syntax	run_case	python_ast	    async def run_case():	    async def run_case():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L212-L230	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001612	tests/test_agent/test_harness.py	tests.test_agent.test_harness	213	214	8	20	test_base_harness_run_calls_steps_in_order.run_case	async_def	syntax	agent	python_ast	        async def agent(_env):	        async def agent(_env):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L213-L214	source_snapshot/tests/test_agent/test_harness.py.txt	"{""async_protocol"": false}"
occ-001613	tests/test_agent/test_harness.py	tests.test_agent.test_harness	218	225	17	13	test_base_harness_run_calls_steps_in_order.run_case	await	syntax	await	python_ast	"await ClaudeCodeHarness().run(
                sb,
                workdir=""/workspace/repo"",
                session_id=""sess-run"",
                adapter_url=""http://host:18001"",
                time_budget_sec=30,
                prompt=""go"",
            )"	            rc = await ClaudeCodeHarness().run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L218-L225	source_snapshot/tests/test_agent/test_harness.py.txt	{}
occ-001614	tests/test_agent/test_harness.py	tests.test_agent.test_harness	227	227	17	25	test_base_harness_run_calls_steps_in_order.run_case	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"        joined = "" "".join(c for c, _ in sb.exec_log)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L227	source_snapshot/tests/test_agent/test_harness.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001615	tests/test_agent/test_harness.py	tests.test_agent.test_harness	232	232	4	15	test_base_harness_run_calls_steps_in_order	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run_case())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_harness.py#L232	source_snapshot/tests/test_agent/test_harness.py.txt	"{""access"": ""load""}"
occ-001616	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	23	23	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L23	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 23}"
occ-001617	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	59	60	4	19	ShellFakeSandbox	async_def	syntax	__aenter__	python_ast	    async def __aenter__(self):	    async def __aenter__(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L59-L60	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": true}"
occ-001618	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	62	63	4	19	ShellFakeSandbox	async_def	syntax	__aexit__	python_ast	    async def __aexit__(self, *exc):	    async def __aexit__(self, *exc):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L62-L63	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": true}"
occ-001619	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	65	66	4	34	ShellFakeSandbox	async_def	syntax	write_file	python_ast	"    async def write_file(self, path, content, *, user=""root""):"	"    async def write_file(self, path, content, *, user=""root""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L65-L66	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": false}"
occ-001620	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	68	69	4	39	ShellFakeSandbox	async_def	syntax	read_file	python_ast	"    async def read_file(self, path, *, user=""root""):"	"    async def read_file(self, path, *, user=""root""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L68-L69	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": false}"
occ-001621	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	69	69	15	29	ShellFakeSandbox.read_file	instance_candidate	candidates	get	unresolved_receiver_candidate	self.files.get	"        return self.files.get(path, """")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L69	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""receiver"": ""self.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001622	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	71	96	4	24	ShellFakeSandbox	async_def	syntax	exec	python_ast	"    async def exec(self, cmd, *, user=""root"", env=None, timeout=120, check=False, idempotent=True):"	"    async def exec(self, cmd, *, user=""root"", env=None, timeout=120, check=False, idempotent=True):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L71-L96	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": false}"
occ-001623	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	83	83	22	36	ShellFakeSandbox.exec	instance_candidate	candidates	get	unresolved_receiver_candidate	self.files.get	"            return 0, self.files.get(tail.group(1), """")[-512:], """""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L83	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""receiver"": ""self.files"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001624	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	121	122	4	19	fast_marker_polls	async_def	syntax	_instant	python_ast	    async def _instant(_seconds):	    async def _instant(_seconds):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L121-L122	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": false}"
occ-001625	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	134	137	4	28	test_same_tag_reinvocation_actually_reruns	async_def	syntax	_two_attempts	python_ast	    async def _two_attempts():	    async def _two_attempts():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L134-L137	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""async_protocol"": false}"
occ-001626	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	135	135	16	107	test_same_tag_reinvocation_actually_reruns._two_attempts	await	syntax	await	python_ast	"await exec_and_wait(sb, cmd=""npm install"", time_budget_sec=60, tag=""npm"", want_output=True)"	"        first = await exec_and_wait(sb, cmd=""npm install"", time_budget_sec=60, tag=""npm"", want_output=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L135	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	{}
occ-001627	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	136	136	17	108	test_same_tag_reinvocation_actually_reruns._two_attempts	await	syntax	await	python_ast	"await exec_and_wait(sb, cmd=""npm install"", time_budget_sec=60, tag=""npm"", want_output=True)"	"        second = await exec_and_wait(sb, cmd=""npm install"", time_budget_sec=60, tag=""npm"", want_output=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L136	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	{}
occ-001628	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	139	139	57	68	test_same_tag_reinvocation_actually_reruns	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    (first_code, first_out), (second_code, second_out) = asyncio.run(_two_attempts())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L139	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""access"": ""load""}"
occ-001629	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	152	152	4	15	test_transport_retry_of_the_spawn_stays_deduped	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    asyncio.run(exec_and_wait(sb, cmd=""true"", time_budget_sec=60, tag=""job""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L152	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""access"": ""load""}"
occ-001630	tests/test_agent/test_sandbox_exec_and_wait.py	tests.test_agent.test_sandbox_exec_and_wait	158	158	4	15	test_transport_retry_of_the_spawn_stays_deduped	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(sb.exec(spawn_cmds[0]))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_agent/test_sandbox_exec_and_wait.py#L158	source_snapshot/tests/test_agent/test_sandbox_exec_and_wait.py.txt	"{""access"": ""load""}"
occ-001631	tests/test_distributed_rollout.py	tests.test_distributed_rollout	3	3	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L3	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001632	tests/test_distributed_rollout.py	tests.test_distributed_rollout	9	9	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L9	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 9}"
occ-001633	tests/test_distributed_rollout.py	tests.test_distributed_rollout	10	10	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L10	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 10}"
occ-001634	tests/test_distributed_rollout.py	tests.test_distributed_rollout	12	12	31	46	<module>	import	executors	concurrent.futures.FIRST_COMPLETED	explicit_import	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L12	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""FIRST_COMPLETED"", ""selective_module_import"": false, ""statement_line"": 12}"
occ-001635	tests/test_distributed_rollout.py	tests.test_distributed_rollout	12	12	48	54	<module>	import	executors	concurrent.futures.Future	explicit_import	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L12	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""Future"", ""selective_module_import"": false, ""statement_line"": 12}"
occ-001636	tests/test_distributed_rollout.py	tests.test_distributed_rollout	12	12	56	74	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L12	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 12}"
occ-001637	tests/test_distributed_rollout.py	tests.test_distributed_rollout	12	12	76	80	<module>	import	executors	concurrent.futures.wait	explicit_import	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	from concurrent.futures import FIRST_COMPLETED, Future, ThreadPoolExecutor, wait	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L12	source_snapshot/tests/test_distributed_rollout.py.txt	"{""local_binding"": ""wait"", ""selective_module_import"": false, ""statement_line"": 12}"
occ-001638	tests/test_distributed_rollout.py	tests.test_distributed_rollout	88	88	8	20	source_factory	instance_candidate	candidates	close	unresolved_receiver_candidate	source.close	        source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L88	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001639	tests/test_distributed_rollout.py	tests.test_distributed_rollout	89	89	4	20	source_factory	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	    controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L89	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001640	tests/test_distributed_rollout.py	tests.test_distributed_rollout	115	115	4	20	test_task_claims_and_producer_cursor_survive_recovery	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	    controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L115	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001641	tests/test_distributed_rollout.py	tests.test_distributed_rollout	127	127	8	22	test_task_claims_and_producer_cursor_survive_recovery	instance_candidate	candidates	close	unresolved_receiver_candidate	restored.close	        restored.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L127	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""restored"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001642	tests/test_distributed_rollout.py	tests.test_distributed_rollout	148	148	4	16	test_whole_job_recovery_replays_accepted_results_and_durable_continuations	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	    reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L148	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001643	tests/test_distributed_rollout.py	tests.test_distributed_rollout	150	150	4	20	test_whole_job_recovery_replays_accepted_results_and_durable_continuations	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	    controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L150	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001644	tests/test_distributed_rollout.py	tests.test_distributed_rollout	157	157	21	43	test_whole_job_recovery_replays_accepted_results_and_durable_continuations	instance_candidate	candidates	acquire	unresolved_receiver_candidate	restored.queue.acquire	"        assignment = restored.queue.acquire(""new-reader"", 1, task_ids=[task_id]).assignments[0]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L157	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""restored.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001645	tests/test_distributed_rollout.py	tests.test_distributed_rollout	170	170	8	22	test_whole_job_recovery_replays_accepted_results_and_durable_continuations	instance_candidate	candidates	close	unresolved_receiver_candidate	restored.close	        restored.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L170	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""restored"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001646	tests/test_distributed_rollout.py	tests.test_distributed_rollout	235	235	17	41	test_generation_workers_cannot_claim_manager_collection_tasks	instance_candidate	candidates	acquire	unresolved_receiver_candidate	controller.queue.acquire	"    collection = controller.queue.acquire(""manager"", 1, task_ids=[task_id])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L235	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller.queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001647	tests/test_distributed_rollout.py	tests.test_distributed_rollout	264	264	4	16	test_manager_replacement_fences_readers_and_recovers_only_unused_results	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	    reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L264	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001648	tests/test_distributed_rollout.py	tests.test_distributed_rollout	265	265	4	13	test_manager_replacement_fences_readers_and_recovers_only_unused_results	instance_candidate	candidates	close	unresolved_receiver_candidate	old.close	    old.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L265	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""old"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001649	tests/test_distributed_rollout.py	tests.test_distributed_rollout	266	266	4	17	test_manager_replacement_fences_readers_and_recovers_only_unused_results	instance_candidate	candidates	close	unresolved_receiver_candidate	rebuilt.close	    rebuilt.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L266	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""rebuilt"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001650	tests/test_distributed_rollout.py	tests.test_distributed_rollout	404	404	4	16	test_lost_return_reply_preserves_one_pending_task	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	    reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L404	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001651	tests/test_distributed_rollout.py	tests.test_distributed_rollout	505	505	4	16	test_legacy_rollout_return_completes_borrowed_inputs	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	    reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L505	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001652	tests/test_distributed_rollout.py	tests.test_distributed_rollout	523	523	4	16	test_checkpoint_buffer_and_latest_continuation_survive_reader_release	instance_candidate	candidates	close	unresolved_receiver_candidate	source.close	    source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L523	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001653	tests/test_distributed_rollout.py	tests.test_distributed_rollout	558	558	71	91	test_buffer_checkpoint_reuses_durable_groups_and_protects_them_from_gc.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	"task[""metadata""].get"	"    tasks = [task for task in checkpoint[""pending""].load()[""tasks""] if task[""metadata""].get(""returned"")]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L558	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""task[\""metadata\""]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001654	tests/test_distributed_rollout.py	tests.test_distributed_rollout	566	566	4	16	test_buffer_checkpoint_reuses_durable_groups_and_protects_them_from_gc	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	    reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L566	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001655	tests/test_distributed_rollout.py	tests.test_distributed_rollout	580	580	4	16	test_pending_checkpoint_reuses_inputs_without_reserving_leases	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	    reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L580	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001656	tests/test_distributed_rollout.py	tests.test_distributed_rollout	602	602	23	38	test_slow_task_acquire_does_not_block_async_generation	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	    entered, release = threading.Event(), threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L602	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001657	tests/test_distributed_rollout.py	tests.test_distributed_rollout	602	602	42	57	test_slow_task_acquire_does_not_block_async_generation	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	    entered, release = threading.Event(), threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L602	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001658	tests/test_distributed_rollout.py	tests.test_distributed_rollout	605	605	8	19	test_slow_task_acquire_does_not_block_async_generation.take	instance_candidate	candidates	set	unresolved_receiver_candidate	entered.set	        entered.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L605	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001659	tests/test_distributed_rollout.py	tests.test_distributed_rollout	606	606	15	27	test_slow_task_acquire_does_not_block_async_generation.take	instance_candidate	candidates	wait	unresolved_receiver_candidate	release.wait	        if not release.wait(10):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L606	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001660	tests/test_distributed_rollout.py	tests.test_distributed_rollout	612	623	4	35	test_slow_task_acquire_does_not_block_async_generation	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L612-L623	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001661	tests/test_distributed_rollout.py	tests.test_distributed_rollout	613	613	15	34	test_slow_task_acquire_does_not_block_async_generation.exercise	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        task = asyncio.create_task(source.get_samples_async(1))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L613	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001662	tests/test_distributed_rollout.py	tests.test_distributed_rollout	616	616	19	33	test_slow_task_acquire_does_not_block_async_generation.exercise	instance_candidate	candidates	is_set	unresolved_receiver_candidate	entered.is_set	                if entered.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L616	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001663	tests/test_distributed_rollout.py	tests.test_distributed_rollout	618	618	16	41	test_slow_task_acquire_does_not_block_async_generation.exercise	await	syntax	await	python_ast	await asyncio.sleep(0.01)	                await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L618	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001664	tests/test_distributed_rollout.py	tests.test_distributed_rollout	618	618	22	35	test_slow_task_acquire_does_not_block_async_generation.exercise	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L618	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001665	tests/test_distributed_rollout.py	tests.test_distributed_rollout	619	619	19	33	test_slow_task_acquire_does_not_block_async_generation.exercise	instance_candidate	candidates	is_set	unresolved_receiver_candidate	entered.is_set	            assert entered.is_set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L619	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001666	tests/test_distributed_rollout.py	tests.test_distributed_rollout	620	620	23	32	test_slow_task_acquire_does_not_block_async_generation.exercise	instance_candidate	candidates	done	inferred_receiver_candidate	task.done	            assert not task.done()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L620	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(source.get_samples_async(1))"", ""line"": 613, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-001667	tests/test_distributed_rollout.py	tests.test_distributed_rollout	622	622	12	23	test_slow_task_acquire_does_not_block_async_generation.exercise	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	            release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L622	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001668	tests/test_distributed_rollout.py	tests.test_distributed_rollout	623	623	19	29	test_slow_task_acquire_does_not_block_async_generation.exercise	await	syntax	await	python_ast	await task	        assert len(await task) == 1	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L623	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001669	tests/test_distributed_rollout.py	tests.test_distributed_rollout	625	625	4	15	test_slow_task_acquire_does_not_block_async_generation	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L625	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001670	tests/test_distributed_rollout.py	tests.test_distributed_rollout	647	647	52	84	scheduler_factory.remote.<lambda>	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	        return SimpleNamespace(remote=lambda *args: asyncio.run_coroutine_threadsafe(method(*args), loop))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L647	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001671	tests/test_distributed_rollout.py	tests.test_distributed_rollout	650	650	24	28	scheduler_factory.ray_wait	api_call	executors	concurrent.futures.wait	lexical_import_resolution	wait	        done, pending = wait(refs, timeout=timeout, return_when=FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L650	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001672	tests/test_distributed_rollout.py	tests.test_distributed_rollout	650	650	64	79	scheduler_factory.ray_wait	api_reference	executors	concurrent.futures.FIRST_COMPLETED	lexical_import_resolution	FIRST_COMPLETED	        done, pending = wait(refs, timeout=timeout, return_when=FIRST_COMPLETED)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L650	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001673	tests/test_distributed_rollout.py	tests.test_distributed_rollout	655	655	12	37	scheduler_factory.kill	instance_candidate	candidates	call_soon_threadsafe	unresolved_receiver_candidate	loop.call_soon_threadsafe	            loop.call_soon_threadsafe(worker.actor.producer.cancel)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L655	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001674	tests/test_distributed_rollout.py	tests.test_distributed_rollout	658	658	48	58	scheduler_factory.<lambda>	instance_candidate	candidates	result	unresolved_receiver_candidate	ref.result	"    monkeypatch.setattr(ray, ""get"", lambda ref: ref.result())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L658	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""ref"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001675	tests/test_distributed_rollout.py	tests.test_distributed_rollout	659	659	51	61	scheduler_factory.<lambda>	instance_candidate	candidates	cancel	unresolved_receiver_candidate	ref.cancel	"    monkeypatch.setattr(ray, ""cancel"", lambda ref: ref.cancel())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L659	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""ref"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001676	tests/test_distributed_rollout.py	tests.test_distributed_rollout	672	672	18	33	scheduler_factory.create	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	        release = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L672	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001677	tests/test_distributed_rollout.py	tests.test_distributed_rollout	683	698	12	17	scheduler_factory.create.make_generator	async_def	syntax	execute	python_ast	            async def execute(rollout_id, group=None):	            async def execute(rollout_id, group=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L683-L698	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001678	tests/test_distributed_rollout.py	tests.test_distributed_rollout	687	687	30	44	scheduler_factory.create.make_generator.execute	instance_candidate	candidates	is_set	inferred_receiver_candidate	release.is_set	                    while not release.is_set():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L687	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 672, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001679	tests/test_distributed_rollout.py	tests.test_distributed_rollout	688	688	24	49	scheduler_factory.create.make_generator.execute	await	syntax	await	python_ast	await asyncio.sleep(0.01)	                        await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L688	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001680	tests/test_distributed_rollout.py	tests.test_distributed_rollout	688	688	30	43	scheduler_factory.create.make_generator.execute	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                        await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L688	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001681	tests/test_distributed_rollout.py	tests.test_distributed_rollout	702	703	8	49	scheduler_factory.create	async_def	syntax	initial_groups	python_ast	        async def initial_groups(count):	        async def initial_groups(count):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L702-L703	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001682	tests/test_distributed_rollout.py	tests.test_distributed_rollout	727	727	8	19	scheduler_factory	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	        release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L727	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001683	tests/test_distributed_rollout.py	tests.test_distributed_rollout	729	729	8	23	scheduler_factory	instance_candidate	candidates	close	unresolved_receiver_candidate	scheduler.close	        scheduler.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L729	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""scheduler"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001684	tests/test_distributed_rollout.py	tests.test_distributed_rollout	731	735	4	64	scheduler_factory	async_def	syntax	cleanup	python_ast	    async def cleanup():	    async def cleanup():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L731-L735	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001685	tests/test_distributed_rollout.py	tests.test_distributed_rollout	734	734	12	27	scheduler_factory.cleanup	instance_candidate	candidates	cancel	unresolved_receiver_candidate	producer.cancel	            producer.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L734	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""producer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001686	tests/test_distributed_rollout.py	tests.test_distributed_rollout	735	735	8	64	scheduler_factory.cleanup	await	syntax	await	python_ast	await asyncio.gather(*producers, return_exceptions=True)	        await asyncio.gather(*producers, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L735	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001687	tests/test_distributed_rollout.py	tests.test_distributed_rollout	735	735	14	28	scheduler_factory.cleanup	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        await asyncio.gather(*producers, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L735	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001688	tests/test_distributed_rollout.py	tests.test_distributed_rollout	737	737	4	36	scheduler_factory	api_call	asyncio	asyncio.run_coroutine_threadsafe	lexical_import_resolution	asyncio.run_coroutine_threadsafe	    asyncio.run_coroutine_threadsafe(cleanup(), loop).result(timeout=10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L737	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001689	tests/test_distributed_rollout.py	tests.test_distributed_rollout	737	737	4	60	scheduler_factory	instance_candidate	candidates	result	inferred_receiver_candidate	asyncio.run_coroutine_threadsafe(cleanup(), loop).result	    asyncio.run_coroutine_threadsafe(cleanup(), loop).result(timeout=10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L737	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""asyncio.run_coroutine_threadsafe(cleanup(), loop)"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.run_coroutine_threadsafe(cleanup(), loop)"", ""line"": 737, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001690	tests/test_distributed_rollout.py	tests.test_distributed_rollout	745	745	4	14	test_scheduler_replaces_rejected_groups_and_bounds_prefetch	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	    time.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L745	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001691	tests/test_distributed_rollout.py	tests.test_distributed_rollout	793	793	9	27	test_async_scheduler_fast_worker_fills_batch_without_waiting_for_slow_worker	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(1) as consumer:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L793	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001692	tests/test_distributed_rollout.py	tests.test_distributed_rollout	794	794	17	32	test_async_scheduler_fast_worker_fills_batch_without_waiting_for_slow_worker	instance_candidate	candidates	submit	inferred_receiver_candidate	consumer.submit	        future = consumer.submit(scheduler.generate, 0, prefetch=2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L794	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""consumer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(1)"", ""line"": 793, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001693	tests/test_distributed_rollout.py	tests.test_distributed_rollout	796	796	21	34	test_async_scheduler_fast_worker_fills_batch_without_waiting_for_slow_worker	instance_candidate	candidates	result	inferred_receiver_candidate	future.result	            result = future.result(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L796	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""consumer.submit(scheduler.generate, 0, prefetch=2)"", ""line"": 794, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001694	tests/test_distributed_rollout.py	tests.test_distributed_rollout	799	799	12	22	test_async_scheduler_fast_worker_fills_batch_without_waiting_for_slow_worker	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L799	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001695	tests/test_distributed_rollout.py	tests.test_distributed_rollout	804	804	12	23	test_async_scheduler_fast_worker_fills_batch_without_waiting_for_slow_worker	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	            release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L804	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001696	tests/test_distributed_rollout.py	tests.test_distributed_rollout	810	810	14	20	test_slow_worker_control_does_not_block_collection_or_close	api_call	executors	concurrent.futures.Future	lexical_import_resolution	Future	    stalled = Future()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L810	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001697	tests/test_distributed_rollout.py	tests.test_distributed_rollout	811	811	14	29	test_slow_worker_control_does_not_block_collection_or_close	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	    entered = threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L811	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001698	tests/test_distributed_rollout.py	tests.test_distributed_rollout	815	815	8	19	test_slow_worker_control_does_not_block_collection_or_close.stall	instance_candidate	candidates	set	inferred_receiver_candidate	entered.set	        entered.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L815	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 811, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001699	tests/test_distributed_rollout.py	tests.test_distributed_rollout	821	821	9	27	test_slow_worker_control_does_not_block_collection_or_close	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(2) as callers:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L821	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001700	tests/test_distributed_rollout.py	tests.test_distributed_rollout	823	823	12	26	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	submit	inferred_receiver_candidate	callers.submit	            callers.submit(scheduler.generate, 0, prefetch=2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L823	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""callers"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(2)"", ""line"": 821, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001701	tests/test_distributed_rollout.py	tests.test_distributed_rollout	825	825	17	31	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	submit	inferred_receiver_candidate	callers.submit	            else callers.submit(scheduler.pause)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L825	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""callers"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(2)"", ""line"": 821, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001702	tests/test_distributed_rollout.py	tests.test_distributed_rollout	829	829	19	31	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	wait	inferred_receiver_candidate	entered.wait	            assert entered.wait(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L829	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 811, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-001703	tests/test_distributed_rollout.py	tests.test_distributed_rollout	831	831	25	39	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	result	unresolved_receiver_candidate	request.result	                result = request.result(timeout=2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L831	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""request"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001704	tests/test_distributed_rollout.py	tests.test_distributed_rollout	833	833	22	36	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	submit	inferred_receiver_candidate	callers.submit	            closing = callers.submit(scheduler.close)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L833	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""callers"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(2)"", ""line"": 821, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001705	tests/test_distributed_rollout.py	tests.test_distributed_rollout	834	834	12	26	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	result	inferred_receiver_candidate	closing.result	            closing.result(timeout=2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L834	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""closing"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""callers.submit(scheduler.close)"", ""line"": 833, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001706	tests/test_distributed_rollout.py	tests.test_distributed_rollout	837	837	20	34	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	result	unresolved_receiver_candidate	request.result	                    request.result(timeout=2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L837	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""request"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001707	tests/test_distributed_rollout.py	tests.test_distributed_rollout	840	840	19	31	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	done	inferred_receiver_candidate	stalled.done	            if not stalled.done():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L840	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""stalled"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""Future()"", ""line"": 810, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001708	tests/test_distributed_rollout.py	tests.test_distributed_rollout	841	841	16	34	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	set_result	inferred_receiver_candidate	stalled.set_result	                stalled.set_result(None)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L841	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""stalled"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""Future()"", ""line"": 810, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001709	tests/test_distributed_rollout.py	tests.test_distributed_rollout	843	843	12	27	test_slow_worker_control_does_not_block_collection_or_close	instance_candidate	candidates	close	unresolved_receiver_candidate	scheduler.close	            scheduler.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L843	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""scheduler"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001710	tests/test_distributed_rollout.py	tests.test_distributed_rollout	884	884	9	27	test_scheduler_close_unblocks_waiting_consumer	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(1) as consumer:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L884	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001711	tests/test_distributed_rollout.py	tests.test_distributed_rollout	885	885	17	32	test_scheduler_close_unblocks_waiting_consumer	instance_candidate	candidates	submit	inferred_receiver_candidate	consumer.submit	        future = consumer.submit(scheduler.generate, 0, prefetch=1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L885	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""consumer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(1)"", ""line"": 884, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001712	tests/test_distributed_rollout.py	tests.test_distributed_rollout	891	891	20	44	test_scheduler_close_unblocks_waiting_consumer	instance_candidate	candidates	wait	unresolved_receiver_candidate	scheduler.condition.wait	                    scheduler.condition.wait(timeout=0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L891	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""scheduler.condition"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001713	tests/test_distributed_rollout.py	tests.test_distributed_rollout	892	892	12	27	test_scheduler_close_unblocks_waiting_consumer	instance_candidate	candidates	close	unresolved_receiver_candidate	scheduler.close	            scheduler.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L892	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""scheduler"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001714	tests/test_distributed_rollout.py	tests.test_distributed_rollout	894	894	16	29	test_scheduler_close_unblocks_waiting_consumer	instance_candidate	candidates	result	inferred_receiver_candidate	future.result	                future.result(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L894	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""consumer.submit(scheduler.generate, 0, prefetch=1)"", ""line"": 885, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001715	tests/test_distributed_rollout.py	tests.test_distributed_rollout	898	898	12	23	test_scheduler_close_unblocks_waiting_consumer	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	            release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L898	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001716	tests/test_distributed_rollout.py	tests.test_distributed_rollout	940	942	4	22	test_distributed_completed_groups_keep_rewards_and_masks	async_def	syntax	get_samples	python_ast	    async def get_samples(count):	    async def get_samples(count):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L940-L942	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001717	tests/test_distributed_rollout.py	tests.test_distributed_rollout	944	945	4	88	test_distributed_completed_groups_keep_rewards_and_masks	async_def	syntax	unexpected_generation	python_ast	    async def unexpected_generation(*args):	    async def unexpected_generation(*args):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L944-L945	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001718	tests/test_distributed_rollout.py	tests.test_distributed_rollout	947	948	4	44	test_distributed_completed_groups_keep_rewards_and_masks	async_def	syntax	republish_buffered	python_ast	    async def republish_buffered(*args, **kwargs):	    async def republish_buffered(*args, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L947-L948	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001719	tests/test_distributed_rollout.py	tests.test_distributed_rollout	963	963	16	27	test_distributed_completed_groups_keep_rewards_and_masks	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result, _ = asyncio.run(worker._generate_group(3))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L963	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001720	tests/test_distributed_rollout.py	tests.test_distributed_rollout	977	977	14	27	test_worker_refills_locally_and_slow_group_does_not_block_results	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	    release = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L977	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001721	tests/test_distributed_rollout.py	tests.test_distributed_rollout	982	995	4	26	test_worker_refills_locally_and_slow_group_does_not_block_results	async_def	syntax	generate_group	python_ast	    async def generate_group(rollout_id, group=None):	    async def generate_group(rollout_id, group=None):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L982-L995	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001722	tests/test_distributed_rollout.py	tests.test_distributed_rollout	990	990	16	36	test_worker_refills_locally_and_slow_group_does_not_block_results.generate_group	await	syntax	await	python_ast	await release.wait()	                await release.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L990	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001723	tests/test_distributed_rollout.py	tests.test_distributed_rollout	990	990	22	34	test_worker_refills_locally_and_slow_group_does_not_block_results.generate_group	instance_candidate	candidates	wait	inferred_receiver_candidate	release.wait	                await release.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L990	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 977, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-001724	tests/test_distributed_rollout.py	tests.test_distributed_rollout	992	992	16	38	test_worker_refills_locally_and_slow_group_does_not_block_results.generate_group	await	syntax	await	python_ast	await asyncio.sleep(0)	                await asyncio.sleep(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L992	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001725	tests/test_distributed_rollout.py	tests.test_distributed_rollout	992	992	22	35	test_worker_refills_locally_and_slow_group_does_not_block_results.generate_group	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                await asyncio.sleep(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L992	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001726	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1000	1002	4	45	test_worker_refills_locally_and_slow_group_does_not_block_results	async_def	syntax	initial_groups	python_ast	    async def initial_groups(count):	    async def initial_groups(count):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1000-L1002	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001727	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1006	1037	4	73	test_worker_refills_locally_and_slow_group_does_not_block_results	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1006-L1037	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001728	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1007	1007	8	30	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await worker._start(0)	        await worker._start(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1007	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001729	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1009	1009	20	69	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.wait_for(worker._next(), timeout=5)	            first = await asyncio.wait_for(worker._next(), timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1009	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001730	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1009	1009	26	42	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	            first = await asyncio.wait_for(worker._next(), timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1009	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001731	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1010	1010	21	70	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.wait_for(worker._next(), timeout=5)	            second = await asyncio.wait_for(worker._next(), timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1010	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001732	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1010	1010	27	43	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	            second = await asyncio.wait_for(worker._next(), timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1010	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001733	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1013	1013	23	37	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	instance_candidate	candidates	is_set	inferred_receiver_candidate	release.is_set	            assert not release.is_set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1013	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 977, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-001734	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1017	1017	25	74	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.wait_for(worker._next(), timeout=5)	                output = await asyncio.wait_for(worker._next(), timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1017	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001735	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1017	1017	31	47	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	                output = await asyncio.wait_for(worker._next(), timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1017	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001736	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1020	1020	12	37	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.sleep(0.02)	            await asyncio.sleep(0.02)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1020	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001737	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1020	1020	18	31	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0.02)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1020	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001738	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1022	1022	12	37	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.sleep(0.02)	            await asyncio.sleep(0.02)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1022	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001739	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1022	1022	18	31	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0.02)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1022	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001740	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1026	1026	12	33	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await worker._pause()	            await worker._pause()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1026	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001741	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1027	1027	12	23	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	instance_candidate	candidates	set	inferred_receiver_candidate	release.set	            release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1027	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 977, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-001742	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1029	1029	29	78	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.wait_for(worker._next(), timeout=5)	            while (output := await asyncio.wait_for(worker._next(), timeout=5)) is not None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1029	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001743	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1029	1029	35	51	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	            while (output := await asyncio.wait_for(worker._next(), timeout=5)) is not None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1029	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001744	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1032	1032	19	39	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	instance_candidate	candidates	done	unresolved_receiver_candidate	worker.producer.done	            assert worker.producer.done()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1032	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""worker.producer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001745	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1036	1036	12	34	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	instance_candidate	candidates	cancel	unresolved_receiver_candidate	worker.producer.cancel	            worker.producer.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1036	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""worker.producer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001746	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1037	1037	12	73	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	await	syntax	await	python_ast	await asyncio.gather(worker.producer, return_exceptions=True)	            await asyncio.gather(worker.producer, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1037	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001747	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1037	1037	18	32	test_worker_refills_locally_and_slow_group_does_not_block_results.exercise	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(worker.producer, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1037	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001748	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1039	1039	4	15	test_worker_refills_locally_and_slow_group_does_not_block_results	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1039	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001749	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1052	1084	0	17	<module>	async_def	syntax	_generate_locally	python_ast	async def _generate_locally(args, sample, sampling_params):	async def _generate_locally(args, sample, sampling_params):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1052-L1084	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001750	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1054	1054	8	33	_generate_locally	await	syntax	await	python_ast	await asyncio.sleep(0.01)	        await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1054	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001751	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1054	1054	14	27	_generate_locally	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	        await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1054	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001752	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1055	1055	4	56	_generate_locally	await	syntax	await	python_ast	await asyncio.sleep(0.01 * (sample.group_index % 3))	    await asyncio.sleep(0.01 * (sample.group_index % 3))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1055	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001753	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1055	1055	10	23	_generate_locally	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	    await asyncio.sleep(0.01 * (sample.group_index % 3))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1055	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001754	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1087	1091	0	58	<module>	async_def	syntax	_score_fanout	python_ast	async def _score_fanout(args, samples):	async def _score_fanout(args, samples):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1087-L1091	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001755	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1094	1100	0	58	<module>	async_def	syntax	_score_group	python_ast	async def _score_group(args, samples):	async def _score_group(args, samples):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1094-L1100	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001756	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1154	1154	23	32	_rollout_args	instance_candidate	candidates	join	unresolved_receiver_candidate	"""\n"".join"	"    dataset.write_text(""\n"".join(json.dumps({""text"": f""hello {i}""}) for i in range(7)))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1154	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""\""\\n\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001757	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1438	1438	8	20	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	close	unresolved_receiver_candidate	source.close	        source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1438	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001758	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1467	1467	8	27	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	clear	unresolved_receiver_candidate	runtime.ready.clear	        runtime.ready.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1467	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""runtime.ready"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001759	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1471	1471	13	31	test_two_ray_nodes_generate_transfer_and_restore	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	        with ThreadPoolExecutor(1) as consumer:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1471	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001760	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1472	1472	21	36	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	submit	inferred_receiver_candidate	consumer.submit	            future = consumer.submit(fetch, 2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1472	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""consumer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(1)"", ""line"": 1471, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001761	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1478	1478	24	46	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	wait	unresolved_receiver_candidate	runtime.condition.wait	                        runtime.condition.wait(timeout=0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1478	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""runtime.condition"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001762	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1494	1494	24	46	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	wait	unresolved_receiver_candidate	runtime.condition.wait	                        runtime.condition.wait(timeout=0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1494	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""runtime.condition"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001763	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1498	1498	28	41	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	result	inferred_receiver_candidate	future.result	            after_failure = future.result(timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1498	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""consumer.submit(fetch, 2)"", ""line"": 1472, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001764	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1511	1511	12	24	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	close	unresolved_receiver_candidate	source.close	            source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1511	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001765	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1521	1521	12	31	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	clear	unresolved_receiver_candidate	runtime.ready.clear	            runtime.ready.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1521	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""runtime.ready"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001766	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1532	1532	20	42	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	wait	unresolved_receiver_candidate	runtime.condition.wait	                    runtime.condition.wait(timeout=0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1532	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""runtime.condition"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001767	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1538	1538	12	24	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	close	unresolved_receiver_candidate	source.close	            source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1538	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001768	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1540	1540	8	24	test_two_ray_nodes_generate_transfer_and_restore	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	cluster.shutdown	        cluster.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1540	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""cluster"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001769	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1659	1659	4	17	test_restore_source_handoff_releases_obsolete_snapshot_graphs	instance_candidate	candidates	release	unresolved_receiver_candidate	store.release	"    store.release(""checkpoint:old"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1659	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001770	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1720	1720	4	17	test_restore_source_handoff_preserves_lazy_consumers_and_failed_save	instance_candidate	candidates	release	unresolved_receiver_candidate	store.release	"    store.release(""checkpoint:old"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1720	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001771	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1730	1730	4	17	test_restore_source_handoff_preserves_lazy_consumers_and_failed_save	instance_candidate	candidates	release	unresolved_receiver_candidate	store.release	"    store.release(saved[""storage_owner""])"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1730	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001772	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1776	1776	4	28	test_restore_source_handoff_preserves_prefix_before_later_accepted_result	instance_candidate	candidates	release	unresolved_receiver_candidate	controller.store.release	"    controller.store.release(""checkpoint:old"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1776	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller.store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001773	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1830	1837	4	34	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1830-L1837	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001774	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1831	1831	19	38	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise.<comprehension>	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        waiters = [asyncio.create_task(actor._rebuffer(i)) for i in range(130)]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1831	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001775	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1832	1832	8	34	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise	await	syntax	await	python_ast	await asyncio.sleep(0.001)	        await asyncio.sleep(0.001)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1832	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001776	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1832	1832	14	27	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	        await asyncio.sleep(0.001)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1832	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001777	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1833	1833	8	25	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise	instance_candidate	candidates	cancel	unresolved_receiver_candidate	waiters[0].cancel	        waiters[0].cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1833	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""waiters[0]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001778	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1834	1834	8	62	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise	await	syntax	await	python_ast	await asyncio.gather(*waiters, return_exceptions=True)	        await asyncio.gather(*waiters, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1834	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001779	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1834	1834	14	28	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation.exercise	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        await asyncio.gather(*waiters, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1834	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001780	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1839	1839	4	15	test_cancelled_rebuffer_waiter_does_not_drop_its_continuation	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1839	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001781	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1891	1891	12	27	test_shutdown_allows_large_buffers_and_propagates_deadline_failure	instance_candidate	candidates	close	unresolved_receiver_candidate	scheduler.close	            scheduler.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1891	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""scheduler"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001782	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1893	1893	8	23	test_shutdown_allows_large_buffers_and_propagates_deadline_failure	instance_candidate	candidates	close	unresolved_receiver_candidate	scheduler.close	        scheduler.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1893	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""scheduler"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001783	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1934	1934	4	28	test_online_gc_waits_for_training_completion_and_checkpoint_release	instance_candidate	candidates	release	unresolved_receiver_candidate	controller.store.release	"    controller.store.release(""checkpoint:test"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1934	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller.store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001784	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1981	1981	19	49	test_joint_restore_starts_gc_only_after_consumer_state_is_durable	instance_candidate	candidates	is_alive	unresolved_receiver_candidate	controller._gc_thread.is_alive	            assert controller._gc_thread.is_alive()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1981	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller._gc_thread"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001785	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1986	1986	8	24	test_joint_restore_starts_gc_only_after_consumer_state_is_durable	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1986	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001786	tests/test_distributed_rollout.py	tests.test_distributed_rollout	1998	1998	12	25	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	acquire	unresolved_receiver_candidate	queue.acquire	"    lease = queue.acquire(""reader"").assignments[0].lease"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L1998	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001787	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2010	2010	28	44	test_background_gc_failure_stops_queue_work_and_fails_close	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	    controller._gc_thread = threading.Thread(target=controller._gc_loop)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2010	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001788	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2011	2011	4	31	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	start	inferred_receiver_candidate	controller._gc_thread.start	    controller._gc_thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2011	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller._gc_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=controller._gc_loop)"", ""line"": 2010, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001789	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2012	2012	4	30	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	join	inferred_receiver_candidate	controller._gc_thread.join	    controller._gc_thread.join(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2012	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller._gc_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=controller._gc_loop)"", ""line"": 2010, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001790	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2013	2013	15	45	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	is_alive	inferred_receiver_candidate	controller._gc_thread.is_alive	    assert not controller._gc_thread.is_alive()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2013	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller._gc_thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=controller._gc_loop)"", ""line"": 2010, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001791	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2014	2014	11	37	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	is_set	unresolved_receiver_candidate	controller._gc_stop.is_set	"    assert controller._gc_stop.is_set() and calls == [""collect""]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2014	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller._gc_stop"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001792	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2039	2039	8	24	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2039	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001793	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2041	2041	16	37	test_background_gc_failure_stops_queue_work_and_fails_close	instance_candidate	candidates	read	unresolved_receiver_candidate	controller.store.read	"    assert next(controller.store.read(ref)).payload == b""still protected"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2041	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller.store"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001794	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2049	2049	9	27	test_admission_pause_acknowledges_workers_without_waiting_for_responses	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(1) as pool:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2049	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001795	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2050	2050	17	28	test_admission_pause_acknowledges_workers_without_waiting_for_responses	instance_candidate	candidates	submit	inferred_receiver_candidate	pool.submit	        paused = pool.submit(scheduler.pause, drain=False)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2050	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""pool"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(1)"", ""line"": 2049, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-001796	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2052	2052	19	32	test_admission_pause_acknowledges_workers_without_waiting_for_responses	instance_candidate	candidates	result	inferred_receiver_candidate	paused.result	            assert paused.result(timeout=3) is False	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2052	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""paused"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""pool.submit(scheduler.pause, drain=False)"", ""line"": 2050, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-001797	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2053	2053	23	37	test_admission_pause_acknowledges_workers_without_waiting_for_responses	instance_candidate	candidates	is_set	unresolved_receiver_candidate	release.is_set	            assert not release.is_set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2053	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001798	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2057	2057	12	23	test_admission_pause_acknowledges_workers_without_waiting_for_responses	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	            release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2057	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001799	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2071	2101	4	38	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation	async_def	syntax	run	python_ast	    async def run():	    async def run():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2071-L2101	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001800	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2072	2072	27	40	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        entered, release = asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2072	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001801	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2072	2072	44	57	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        entered, release = asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2072	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001802	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2078	2081	8	26	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	async_def	syntax	fetch	python_ast	        async def fetch(count):	        async def fetch(count):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2078-L2081	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001803	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2079	2079	12	23	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run.fetch	instance_candidate	candidates	set	unresolved_receiver_candidate	entered.set	            entered.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2079	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001804	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2080	2080	12	32	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run.fetch	await	syntax	await	python_ast	await release.wait()	            await release.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2080	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001805	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2080	2080	18	30	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run.fetch	instance_candidate	candidates	wait	unresolved_receiver_candidate	release.wait	            await release.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2080	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001806	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2083	2084	8	34	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	async_def	syntax	rebuffer	python_ast	        async def rebuffer(value):	        async def rebuffer(value):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2083-L2084	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001807	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2086	2087	8	79	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	async_def	syntax	unexpected	python_ast	        async def unexpected(*args):	        async def unexpected(*args):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2086-L2087	source_snapshot/tests/test_distributed_rollout.py.txt	"{""async_protocol"": false}"
occ-001808	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2094	2094	15	34	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        task = asyncio.create_task(worker._generate_group(0))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2094	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001809	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2095	2095	8	28	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	await	syntax	await	python_ast	await entered.wait()	        await entered.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2095	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001810	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2095	2095	14	26	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	instance_candidate	candidates	wait	unresolved_receiver_candidate	entered.wait	        await entered.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2095	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001811	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2096	2096	8	29	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	await	syntax	await	python_ast	await worker._pause()	        await worker._pause()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2096	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001812	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2097	2097	8	19	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	        release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2097	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001813	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2098	2098	15	25	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation.run	await	syntax	await	python_ast	await task	        assert await task is None	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2098	source_snapshot/tests/test_distributed_rollout.py.txt	{}
occ-001814	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2103	2103	4	15	test_queue_fetch_finishing_after_pause_preserves_group_without_new_generation	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2103	source_snapshot/tests/test_distributed_rollout.py.txt	"{""access"": ""load""}"
occ-001815	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2180	2180	12	22	test_checkpoint_fork_restores_partial_ready_and_producer_without_parent_mutation	instance_candidate	candidates	close	unresolved_receiver_candidate	fork.close	            fork.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2180	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""fork"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001816	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2203	2203	8	20	test_checkpoint_fork_restores_partial_ready_and_producer_without_parent_mutation	instance_candidate	candidates	release	unresolved_receiver_candidate	fork.release	        fork.release([assignment.lease])	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2203	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""fork"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001817	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2205	2205	8	18	test_checkpoint_fork_restores_partial_ready_and_producer_without_parent_mutation	instance_candidate	candidates	close	unresolved_receiver_candidate	fork.close	        fork.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2205	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""fork"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001818	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2236	2236	8	21	test_checkpoint_fork_restores_partial_ready_and_producer_without_parent_mutation	instance_candidate	candidates	close	unresolved_receiver_candidate	resumed.close	        resumed.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2236	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""resumed"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001819	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2274	2274	8	24	test_automatic_empty_restore_reads_the_saved_dataset_offset	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2274	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001820	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2308	2308	8	20	test_automatic_restart_before_first_checkpoint_recovers_the_same_queue	instance_candidate	candidates	close	unresolved_receiver_candidate	reader.close	        reader.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2308	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001821	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2309	2309	8	24	test_automatic_restart_before_first_checkpoint_recovers_the_same_queue	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2309	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001822	tests/test_distributed_rollout.py	tests.test_distributed_rollout	2323	2323	8	24	test_automatic_restart_before_first_checkpoint_recovers_the_same_queue	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_distributed_rollout.py#L2323	source_snapshot/tests/test_distributed_rollout.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001823	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	21	21	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L21	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 21}"
occ-001824	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	23	23	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L23	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 23}"
occ-001825	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	24	24	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L24	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 24}"
occ-001826	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	63	66	4	23	test_custom_data_source_keeps_original_entrypoint	async_def	syntax	generate	python_ast	    async def generate(received_args, rollout_id, received_source):	    async def generate(received_args, rollout_id, received_source):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L63-L66	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""async_protocol"": false}"
occ-001827	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	70	70	35	46	test_custom_data_source_keeps_original_entrypoint	api_reference	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    monkeypatch.setattr(fa, ""run"", asyncio.run)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L70	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001828	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	112	112	8	31	test_rollout_takes_target_groups_and_leaves_surplus_queued	instance_candidate	candidates	put	unresolved_receiver_candidate	worker.output_queue.put	        worker.output_queue.put((gid, _make_group(gid)))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L112	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""worker.output_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001829	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	118	118	10	21	test_rollout_takes_target_groups_and_leaves_surplus_queued	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    out = asyncio.run(fa._generate_rollout_async(args, rollout_id=0, data_buffer=None))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L118	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001830	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	132	132	8	31	test_get_completed_groups_limit	instance_candidate	candidates	put	unresolved_receiver_candidate	worker.output_queue.put	        worker.output_queue.put((gid, _make_group(gid)))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L132	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""worker.output_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001831	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	153	153	8	31	test_dynamic_filter_drops_groups_and_refills	instance_candidate	candidates	put	unresolved_receiver_candidate	worker.output_queue.put	        worker.output_queue.put((gid, group))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L153	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""worker.output_queue"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001832	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	166	166	13	24	test_dynamic_filter_drops_groups_and_refills	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(fa._generate_rollout_async(args, rollout_id=7, data_buffer=None))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L166	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001833	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	218	218	13	29	test_done_callback_never_blocks_event_loop_thread	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	    pusher = threading.Thread(target=_push_all, daemon=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L218	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001834	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	219	219	4	16	test_done_callback_never_blocks_event_loop_thread	instance_candidate	candidates	start	inferred_receiver_candidate	pusher.start	    pusher.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L219	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""pusher"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=_push_all, daemon=True)"", ""line"": 218, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001835	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	220	220	4	15	test_done_callback_never_blocks_event_loop_thread	instance_candidate	candidates	join	inferred_receiver_candidate	pusher.join	    pusher.join(timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L220	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""pusher"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=_push_all, daemon=True)"", ""line"": 218, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001836	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	222	222	15	30	test_done_callback_never_blocks_event_loop_thread	instance_candidate	candidates	is_alive	inferred_receiver_candidate	pusher.is_alive	"    assert not pusher.is_alive(), ""done-callback blocked on a full output queue"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L222	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""pusher"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=_push_all, daemon=True)"", ""line"": 218, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-001837	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	234	235	4	20	test_loop_backpressure_stops_topping_up_when_queue_is_full	async_def	syntax	_instant_generate	python_ast	    async def _instant_generate(args, group, sampling_params, evaluation):	    async def _instant_generate(args, group, sampling_params, evaluation):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L234-L235	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""async_protocol"": false}"
occ-001838	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	241	241	4	16	test_loop_backpressure_stops_topping_up_when_queue_is_full	instance_candidate	candidates	start	unresolved_receiver_candidate	worker.start	    worker.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L241	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""worker"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001839	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	250	250	12	22	test_loop_backpressure_stops_topping_up_when_queue_is_full	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(0.02)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L250	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001840	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	252	252	8	20	test_loop_backpressure_stops_topping_up_when_queue_is_full	instance_candidate	candidates	close	unresolved_receiver_candidate	worker.close	        worker.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L252	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""worker"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001841	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	266	268	4	20	test_local_worker_lifecycle_is_scoped_to_source	async_def	syntax	generate	python_ast	    async def generate(args, group, sampling_params, evaluation):	    async def generate(args, group, sampling_params, evaluation):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L266-L268	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""async_protocol"": false}"
occ-001842	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	267	267	8	33	test_local_worker_lifecycle_is_scoped_to_source.generate	await	syntax	await	python_ast	await asyncio.sleep(0.01)	        await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L267	source_snapshot/tests/test_fully_async_rollout.py.txt	{}
occ-001843	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	267	267	14	27	test_local_worker_lifecycle_is_scoped_to_source.generate	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	        await asyncio.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L267	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001844	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	279	279	12	22	test_local_worker_lifecycle_is_scoped_to_source	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L279	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001845	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	284	284	12	22	test_local_worker_lifecycle_is_scoped_to_source	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(0.03)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L284	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""access"": ""load""}"
occ-001846	tests/test_fully_async_rollout.py	tests.test_fully_async_rollout	292	292	19	48	test_local_worker_lifecycle_is_scoped_to_source.<comprehension>	instance_candidate	candidates	is_alive	unresolved_receiver_candidate	worker.worker_thread.is_alive	    assert all(not worker.worker_thread.is_alive() for worker in workers)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_fully_async_rollout.py#L292	source_snapshot/tests/test_fully_async_rollout.py.txt	"{""receiver"": ""worker.worker_thread"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001847	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	31	31	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L31	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 31}"
occ-001848	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	72	72	10	24	_iface_ipv4	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	"    out = subprocess.run([""ip"", ""-o"", ""-4"", ""addr"", ""show"", ifname], capture_output=True, text=True).stdout.split()"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L72	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001849	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	124	124	14	28	_skip_reason	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	    visible = subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L124	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001850	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	132	132	12	26	_skip_reason	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	"    probe = subprocess.run([sys.executable, ""-c"", _PREREQ_PROBE], capture_output=True, text=True, env=probe_env)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L132	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001851	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	153	153	4	18	_download_ci_asset	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	    subprocess.run(command, check=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L153	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001852	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	264	264	11	19	_train_args	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"    return "" "".join(groups)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L264	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001853	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	398	398	12	26	_run	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	        r = subprocess.run(cmd, env=env, cwd=cwd, capture_output=True, text=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L398	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001854	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	402	402	11	27	_run	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	    proc = subprocess.Popen(cmd, env=env, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L402	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001855	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	402	402	58	73	_run	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	    proc = subprocess.Popen(cmd, env=env, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L402	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001856	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	402	402	82	99	_run	api_reference	subprocess	subprocess.STDOUT	lexical_import_resolution	subprocess.STDOUT	    proc = subprocess.Popen(cmd, env=env, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L402	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""access"": ""load""}"
occ-001857	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	408	408	4	13	_run	instance_candidate	candidates	wait	inferred_receiver_candidate	proc.wait	    proc.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L408	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""receiver"": ""proc"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, env=env, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)"", ""line"": 402, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001858	tests/test_glm52_6layer_deterministic_e2e.py	tests.test_glm52_6layer_deterministic_e2e	409	409	28	35	_run	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"    return proc.returncode, """".join(lines)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_glm52_6layer_deterministic_e2e.py#L409	source_snapshot/tests/test_glm52_6layer_deterministic_e2e.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001859	tests/test_optional_straw.py	tests.test_optional_straw	4	4	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_optional_straw.py#L4	source_snapshot/tests/test_optional_straw.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 4}"
occ-001860	tests/test_optional_straw.py	tests.test_optional_straw	85	86	4	21	_run_default_without_straw	async_def	syntax	generate	python_ast	    async def generate(*values):	    async def generate(*values):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_optional_straw.py#L85-L86	source_snapshot/tests/test_optional_straw.py.txt	"{""async_protocol"": false}"
occ-001861	tests/test_optional_straw.py	tests.test_optional_straw	144	144	4	18	test_default_rollout_and_training_work_without_straw	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	    subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_optional_straw.py#L144	source_snapshot/tests/test_optional_straw.py.txt	"{""access"": ""load""}"
occ-001862	tests/test_published_payload_retry.py	tests.test_published_payload_retry	3	3	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L3	source_snapshot/tests/test_published_payload_retry.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001863	tests/test_published_payload_retry.py	tests.test_published_payload_retry	5	5	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L5	source_snapshot/tests/test_published_payload_retry.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 5}"
occ-001864	tests/test_published_payload_retry.py	tests.test_published_payload_retry	23	23	17	23	test_result_and_shelve_payloads_recover_at_the_storage_layer	instance_candidate	candidates	read	unresolved_receiver_candidate	f.read	        header = f.read(12)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L23	source_snapshot/tests/test_published_payload_retry.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001865	tests/test_published_payload_retry.py	tests.test_published_payload_retry	25	25	8	15	test_result_and_shelve_payloads_recover_at_the_storage_layer	instance_candidate	candidates	write	unresolved_receiver_candidate	f.write	        f.write(bytes(12))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L25	source_snapshot/tests/test_published_payload_retry.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001866	tests/test_published_payload_retry.py	tests.test_published_payload_retry	32	32	12	19	test_result_and_shelve_payloads_recover_at_the_storage_layer.restore	instance_candidate	candidates	write	unresolved_receiver_candidate	f.write	            f.write(header)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L32	source_snapshot/tests/test_published_payload_retry.py.txt	"{""receiver"": ""f"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001867	tests/test_published_payload_retry.py	tests.test_published_payload_retry	36	36	12	27	test_result_and_shelve_payloads_recover_at_the_storage_layer	api_call	threading	threading.Timer	lexical_import_resolution	threading.Timer	    timer = threading.Timer(0.05, restore)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L36	source_snapshot/tests/test_published_payload_retry.py.txt	"{""access"": ""load""}"
occ-001868	tests/test_published_payload_retry.py	tests.test_published_payload_retry	37	37	4	15	test_result_and_shelve_payloads_recover_at_the_storage_layer	instance_candidate	candidates	start	inferred_receiver_candidate	timer.start	    timer.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L37	source_snapshot/tests/test_published_payload_retry.py.txt	"{""receiver"": ""timer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Timer(0.05, restore)"", ""line"": 36, ""type"": ""threading.Timer""}, ""resolved_non_native_name"": null}"
occ-001869	tests/test_published_payload_retry.py	tests.test_published_payload_retry	42	42	21	32	test_result_and_shelve_payloads_recover_at_the_storage_layer	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	            result = asyncio.run(transport.unpack_published_payload(ref))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L42	source_snapshot/tests/test_published_payload_retry.py.txt	"{""access"": ""load""}"
occ-001870	tests/test_published_payload_retry.py	tests.test_published_payload_retry	47	47	8	18	test_result_and_shelve_payloads_recover_at_the_storage_layer	instance_candidate	candidates	join	inferred_receiver_candidate	timer.join	        timer.join()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L47	source_snapshot/tests/test_published_payload_retry.py.txt	"{""receiver"": ""timer"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Timer(0.05, restore)"", ""line"": 36, ""type"": ""threading.Timer""}, ""resolved_non_native_name"": null}"
occ-001871	tests/test_published_payload_retry.py	tests.test_published_payload_retry	64	64	8	19	test_native_failure_is_not_retried_again_by_slime	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(transport.unpack_published_payload(ref))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_published_payload_retry.py#L64	source_snapshot/tests/test_published_payload_retry.py.txt	"{""access"": ""load""}"
occ-001872	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	2	2	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L2	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 2}"
occ-001873	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	3	3	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L3	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 3}"
occ-001874	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	25	25	54	62	_get_gpu_split	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    all_gpus = os.environ.get(""CUDA_VISIBLE_DEVICES"", "","".join(str(i) for i in range(NUM_GPUS))).split("","")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L25	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001875	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	39	39	14	30	_launch_teacher_server	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	    process = subprocess.Popen(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L39	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""access"": ""load""}"
occ-001876	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	57	57	15	32	_launch_teacher_server	api_reference	subprocess	subprocess.STDOUT	lexical_import_resolution	subprocess.STDOUT	        stderr=subprocess.STDOUT,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L57	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""access"": ""load""}"
occ-001877	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	64	64	11	23	_launch_teacher_server	instance_candidate	candidates	poll	inferred_receiver_candidate	process.poll	        if process.poll() is not None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L64	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n        [\n            \""python3\"",\n            \""-m\"",\n            \""sglang.launch_server\"",\n            \""--model-path\"",\n            f\""/root/models/{MODEL_NAME}\"",\n            \""--host\"",\n            \""0.0.0.0\"",\n            \""--port\"",\n            str(TEACHER_PORT),\n            \""--tp\"",\n            \""1\"",\n            \""--mem-fraction-static\"",\n            \""0.6\"",\n        ],\n        env=env,\n        stdout=log_file,\n        stderr=subprocess.STDOUT,\n    )"", ""line"": 39, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001878	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	73	73	8	18	_launch_teacher_server	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L73	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""access"": ""load""}"
occ-001879	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	75	75	4	16	_launch_teacher_server	instance_candidate	candidates	kill	inferred_receiver_candidate	process.kill	    process.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L75	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n        [\n            \""python3\"",\n            \""-m\"",\n            \""sglang.launch_server\"",\n            \""--model-path\"",\n            f\""/root/models/{MODEL_NAME}\"",\n            \""--host\"",\n            \""0.0.0.0\"",\n            \""--port\"",\n            str(TEACHER_PORT),\n            \""--tp\"",\n            \""1\"",\n            \""--mem-fraction-static\"",\n            \""0.6\"",\n        ],\n        env=env,\n        stdout=log_file,\n        stderr=subprocess.STDOUT,\n    )"", ""line"": 39, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001880	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	84	84	41	49	execute	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    os.environ[""CUDA_VISIBLE_DEVICES""] = "","".join(train_gpus)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L84	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001881	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	197	197	12	32	execute	instance_candidate	candidates	kill	unresolved_receiver_candidate	teacher_process.kill	            teacher_process.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L197	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""receiver"": ""teacher_process"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001882	tests/test_qwen2.5_0.5B_opd_sglang.py	tests.test_qwen2.5_0.5B_opd_sglang	198	198	12	32	execute	instance_candidate	candidates	wait	unresolved_receiver_candidate	teacher_process.wait	            teacher_process.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_opd_sglang.py#L198	source_snapshot/tests/test_qwen2.5_0.5B_opd_sglang.py.txt	"{""receiver"": ""teacher_process"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001883	tests/test_qwen2.5_0.5B_rollout_health.py	tests.test_qwen2.5_0.5B_rollout_health	7	7	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_rollout_health.py#L7	source_snapshot/tests/test_qwen2.5_0.5B_rollout_health.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 7}"
occ-001884	tests/test_qwen2.5_0.5B_rollout_health.py	tests.test_qwen2.5_0.5B_rollout_health	82	82	12	26	execute	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	"            subprocess.run([""ray"", ""stop"", ""--force""], check=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_rollout_health.py#L82	source_snapshot/tests/test_qwen2.5_0.5B_rollout_health.py.txt	"{""access"": ""load""}"
occ-001885	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	5	5	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L5	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 5}"
occ-001886	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	7	7	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L7	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 7}"
occ-001887	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	9	9	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L9	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 9}"
occ-001888	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	75	75	8	18	wait_job	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(10)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L75	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001889	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	169	169	8	22	execute	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	        subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L169	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001890	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	333	333	47	56	execute.block	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	                        started.write_text(str(os.getpid()))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L333	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001891	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	334	334	24	34	execute.block	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                        time.sleep(300)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L334	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001892	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	340	340	24	34	execute	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                        time.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L340	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001893	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	352	352	32	40	execute	instance_candidate	candidates	get	unresolved_receiver_candidate	http.get	"                                http.get(engine[""url""] + ""/health"", timeout=2)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L352	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""receiver"": ""http"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001894	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	356	356	28	38	execute	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                            time.sleep(1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L356	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001895	tests/test_qwen2.5_0.5B_training_recovery.py	tests.test_qwen2.5_0.5B_training_recovery	374	374	12	26	execute	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	"            subprocess.run([""ray"", ""stop"", ""--force""], check=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen2.5_0.5B_training_recovery.py#L374	source_snapshot/tests/test_qwen2.5_0.5B_training_recovery.py.txt	"{""access"": ""load""}"
occ-001896	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	21	21	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L21	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 21}"
occ-001897	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	23	23	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L23	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 23}"
occ-001898	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	54	54	21	44	_get_bond_ipv4	api_call	subprocess	subprocess.check_output	lexical_import_resolution	subprocess.check_output	"            output = subprocess.check_output([""ip"", ""-o"", ""-4"", ""addr"", ""show"", ""dev"", iface], text=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L54	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001899	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	55	55	25	54	_get_bond_ipv4	api_reference	subprocess	subprocess.CalledProcessError	lexical_import_resolution	subprocess.CalledProcessError	        except (OSError, subprocess.CalledProcessError):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L55	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001900	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	120	120	11	19	_get_disaggregation_ib_device	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    return "","".join(devices) if devices else None"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L120	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001901	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	137	137	54	62	_get_gpu_split	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    all_gpus = os.environ.get(""CUDA_VISIBLE_DEVICES"", "","".join(str(i) for i in range(NUM_GPUS))).split("","")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L137	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001902	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	157	157	5	21	<module>	api_reference	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	) -> subprocess.Popen:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L157	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001903	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	159	159	34	42	_launch_sglang_server	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    env[""CUDA_VISIBLE_DEVICES""] = "","".join(gpus)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L159	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001904	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	190	190	14	30	_launch_sglang_server	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	    process = subprocess.Popen(cmd, env=env, stdout=log_file, stderr=subprocess.STDOUT)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L190	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001905	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	190	190	69	86	_launch_sglang_server	api_reference	subprocess	subprocess.STDOUT	lexical_import_resolution	subprocess.STDOUT	    process = subprocess.Popen(cmd, env=env, stdout=log_file, stderr=subprocess.STDOUT)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L190	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001906	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	201	201	11	23	_launch_sglang_server	instance_candidate	candidates	poll	inferred_receiver_candidate	process.poll	        if process.poll() is not None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L201	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, env=env, stdout=log_file, stderr=subprocess.STDOUT)"", ""line"": 190, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001907	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	210	210	8	18	_launch_sglang_server	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L210	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001908	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	212	212	4	16	_launch_sglang_server	instance_candidate	candidates	kill	inferred_receiver_candidate	process.kill	    process.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L212	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(cmd, env=env, stdout=log_file, stderr=subprocess.STDOUT)"", ""line"": 190, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001909	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	222	222	20	36	execute	api_reference	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	    processes: list[subprocess.Popen] = []	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L222	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""access"": ""load""}"
occ-001910	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	226	226	41	49	execute	instance_candidate	candidates	join	unresolved_receiver_candidate	""","".join"	"    os.environ[""CUDA_VISIBLE_DEVICES""] = "","".join(train_gpus)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L226	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""\"",\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001911	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	319	319	61	69	execute	instance_candidate	candidates	join	unresolved_receiver_candidate	""" "".join"	"        external_args = ""--rollout-external-engine-addrs "" + "" "".join(all_addrs) + "" """	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L319	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""\"" \"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001912	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	374	374	15	21	execute	instance_candidate	candidates	poll	unresolved_receiver_candidate	p.poll	            if p.poll() is None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L374	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""p"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001913	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	375	375	16	22	execute	instance_candidate	candidates	kill	unresolved_receiver_candidate	p.kill	                p.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L375	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""p"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001914	tests/test_qwen3_4B_external_pd.py	tests.test_qwen3_4B_external_pd	376	376	16	22	execute	instance_candidate	candidates	wait	unresolved_receiver_candidate	p.wait	                p.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_qwen3_4B_external_pd.py#L376	source_snapshot/tests/test_qwen3_4B_external_pd.py.txt	"{""receiver"": ""p"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001915	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	9	9	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L9	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 9}"
occ-001916	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	10	10	7	13	<module>	import	signal	signal	explicit_import	import signal	import signal	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L10	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""signal"", ""selective_module_import"": false, ""statement_line"": 10}"
occ-001917	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	51	51	15	24	_ServingFixture.identity	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        return os.getpid(), self.controller._actor_id.hex()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L51	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001918	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	85	85	31	40	_install_crash.crash	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"                ""manager_pid"": os.getpid(),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L85	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001919	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	93	93	8	15	_install_crash.crash	api_call	os-process	os.kill	lexical_import_resolution	os.kill	        os.kill(os.getpid(), signal.SIGKILL)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L93	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001920	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	93	93	16	25	_install_crash.crash	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        os.kill(os.getpid(), signal.SIGKILL)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L93	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001921	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	93	93	29	43	_install_crash.crash	api_reference	signal	signal.SIGKILL	lexical_import_resolution	signal.SIGKILL	        os.kill(os.getpid(), signal.SIGKILL)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L93	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001922	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	162	162	8	24	cluster	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	cluster.shutdown	        cluster.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L162	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""receiver"": ""cluster"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001923	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	220	220	61	70	test_manager_failure_replays_accepted_batch_with_new_dp.<lambda>	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"            ray.get(manager.__ray_call__.remote(lambda self: os.getpid()), timeout=30) == before[""manager_pid""]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L220	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001924	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	244	244	15	24	_ResetPeer.pid	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        return os.getpid()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L244	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001925	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	248	248	19	23	_ResetPeer.reset_weights_update_groups	import	time-sleep	time	explicit_import	import time	            import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L248	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 248}"
occ-001926	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	250	250	12	22	_ResetPeer.reset_weights_update_groups	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(300)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L250	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001927	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	257	257	11	15	test_serving_reset_retires_blocked_actor_and_keeps_healthy_peer	import	time-sleep	time	explicit_import	import time	    import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L257	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 257}"
occ-001928	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	299	299	19	23	_AttemptManager.detach_training	import	time-sleep	time	explicit_import	import time	            import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L299	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 299}"
occ-001929	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	301	301	12	22	_AttemptManager.detach_training	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(300)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L301	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001930	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	325	325	15	19	_PDResetPeer.reset_weights_update_groups	import	time-sleep	time	explicit_import	import time	        import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L325	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 325}"
occ-001931	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	329	329	12	22	_PDResetPeer.reset_weights_update_groups	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	            time.sleep(0.01)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L329	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001932	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	368	368	15	24	_AttemptServing.state	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	        return os.getpid(), self.driver_job_id, self.training_actors	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L368	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""access"": ""load""}"
occ-001933	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	373	373	11	15	test_driver_detach_releases_real_trainer_when_manager_cannot_pause	import	time-sleep	time	explicit_import	import time	    import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L373	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 373}"
occ-001934	tests/test_rollout_manager_recovery.py	tests.test_rollout_manager_recovery	387	387	8	21	test_driver_detach_releases_real_trainer_when_manager_cannot_pause	instance_candidate	candidates	close	unresolved_receiver_candidate	startup.close	        startup.close(failed=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_manager_recovery.py#L387	source_snapshot/tests/test_rollout_manager_recovery.py.txt	"{""receiver"": ""startup"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001935	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L1	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001936	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	16	18	0	17	<module>	async_def	syntax	async_hook	python_ast	async def async_hook(args, sample, *, evaluation=False):	async def async_hook(args, sample, *, evaluation=False):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L16-L18	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""async_protocol"": false}"
occ-001937	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	34	34	13	24	test_rollout_sample_hooks_preserve_nested_shape_and_filter_kwargs	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    result = asyncio.run(apply_rollout_sample_hooks(args, samples, evaluation=True, ignored=""value""))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L34	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""access"": ""load""}"
occ-001938	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	47	47	8	19	test_rollout_sample_hook_rejects_invalid_return_type	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(apply_rollout_sample_hooks(args, Sample(index=0)))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L47	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""access"": ""load""}"
occ-001939	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	55	55	11	22	test_rollout_sample_hooks_are_noop_when_unconfigured	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    assert asyncio.run(apply_rollout_sample_hooks(args, sample)) is sample	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L55	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""access"": ""load""}"
occ-001940	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	61	65	4	47	test_concurrent_groups_keep_their_own_rollout_hook_context	async_def	syntax	generate	python_ast	    async def generate(rollout_id):	    async def generate(rollout_id):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L61-L65	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""async_protocol"": false}"
occ-001941	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	63	63	12	34	test_concurrent_groups_keep_their_own_rollout_hook_context.generate	await	syntax	await	python_ast	await asyncio.sleep(0)	            await asyncio.sleep(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L63	source_snapshot/tests/test_rollout_sample_hooks.py.txt	{}
occ-001942	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	63	63	18	31	test_concurrent_groups_keep_their_own_rollout_hook_context.generate	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L63	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""access"": ""load""}"
occ-001943	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	64	64	21	85	test_concurrent_groups_keep_their_own_rollout_hook_context.generate	await	syntax	await	python_ast	await apply_rollout_sample_hooks(args, Sample(index=rollout_id))	            sample = await apply_rollout_sample_hooks(args, Sample(index=rollout_id))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L64	source_snapshot/tests/test_rollout_sample_hooks.py.txt	{}
occ-001944	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	67	68	4	95	test_concurrent_groups_keep_their_own_rollout_hook_context	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L67-L68	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""async_protocol"": false}"
occ-001945	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	68	68	15	63	test_concurrent_groups_keep_their_own_rollout_hook_context.exercise	await	syntax	await	python_ast	await asyncio.gather(generate(10), generate(11))	"        assert await asyncio.gather(generate(10), generate(11)) == [(""seen"", 10), (""seen"", 11)]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L68	source_snapshot/tests/test_rollout_sample_hooks.py.txt	{}
occ-001946	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	68	68	21	35	test_concurrent_groups_keep_their_own_rollout_hook_context.exercise	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	"        assert await asyncio.gather(generate(10), generate(11)) == [(""seen"", 10), (""seen"", 11)]"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L68	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""access"": ""load""}"
occ-001947	tests/test_rollout_sample_hooks.py	tests.test_rollout_sample_hooks	70	70	4	15	test_concurrent_groups_keep_their_own_rollout_hook_context	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_sample_hooks.py#L70	source_snapshot/tests/test_rollout_sample_hooks.py.txt	"{""access"": ""load""}"
occ-001948	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	3	3	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L3	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001949	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	102	102	4	18	test_cpu_rollout_imports_do_not_require_sglang	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	    subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L102	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001950	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	261	261	4	18	test_payload_reference_is_small_and_readable_by_independent_process	api_call	subprocess	subprocess.run	lexical_import_resolution	subprocess.run	    subprocess.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L261	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001951	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	329	329	11	18	test_fully_async_stores_groups_while_collecting_the_batch	import	asyncio	asyncio	explicit_import	import asyncio	    import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L329	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 329}"
occ-001952	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	354	354	13	24	test_fully_async_stores_groups_while_collecting_the_batch	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    output = asyncio.run(fa._generate_rollout_async(args, 0, None))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L354	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001953	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	362	362	11	18	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook	import	asyncio	asyncio	explicit_import	import asyncio	    import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L362	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 362}"
occ-001954	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	375	409	4	115	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L375-L409	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""async_protocol"": false}"
occ-001955	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	376	376	17	30	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        second = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L376	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001956	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	377	377	15	39	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	        loop = asyncio.get_running_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L377	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001957	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	379	383	8	80	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise	async_def	syntax	generate	python_ast	        async def generate(index):	        async def generate(index):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L379-L383	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""async_protocol"": false}"
occ-001958	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	381	381	16	35	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise.generate	await	syntax	await	python_ast	await second.wait()	                await second.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L381	source_snapshot/tests/test_rollout_straw_transport.py.txt	{}
occ-001959	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	381	381	22	33	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise.generate	instance_candidate	candidates	wait	inferred_receiver_candidate	second.wait	                await second.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L381	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""second"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 376, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-001960	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	387	387	34	53	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise.submit.<comprehension>	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	            state.pendings.update(asyncio.create_task(generate(index)) for index in (2, 1))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L387	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001961	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	392	392	12	37	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise.pack	instance_candidate	candidates	call_soon_threadsafe	inferred_receiver_candidate	loop.call_soon_threadsafe	            loop.call_soon_threadsafe(second.set)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L392	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""loop"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.get_running_loop()"", ""line"": 377, ""type"": ""asyncio.AbstractEventLoop""}, ""resolved_non_native_name"": null}"
occ-001962	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	395	396	8	21	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise	async_def	syntax	abort	python_ast	        async def abort(*a):	        async def abort(*a):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L395-L396	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""async_protocol"": false}"
occ-001963	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	409	409	15	115	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise	await	syntax	await	python_ast	await asyncio.wait_for(sr.generate_rollout_async(args, 0, lambda count: [None] * count), timeout=20)	        return await asyncio.wait_for(sr.generate_rollout_async(args, 0, lambda count: [None] * count), timeout=20)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L409	source_snapshot/tests/test_rollout_straw_transport.py.txt	{}
occ-001964	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	409	409	21	37	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	        return await asyncio.wait_for(sr.generate_rollout_async(args, 0, lambda count: [None] * count), timeout=20)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L409	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001965	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	411	411	22	33	test_synchronous_rollout_stores_during_generation_and_preserves_legacy_hook	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    output, aborted = asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L411	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001966	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	465	465	8	24	test_manager_adapts_legacy_samples_and_validates_accepted_refs	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L465	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001967	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	597	597	8	24	test_durable_batch_replays_one_plan_and_rejects_mixed_ranks	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	        controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L597	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001968	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	709	709	8	23	test_straw_debug_archive_keys_lazy_tensors_gc_and_legacy_export	instance_candidate	candidates	release	unresolved_receiver_candidate	archive.release	        archive.release()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L709	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""archive"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001969	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1058	1058	50	77	test_disk_weight_updates_do_not_require_actor_return_values.<lambda>	instance_candidate	candidates	clear	unresolved_receiver_candidate	group._actor_handlers.clear	"    monkeypatch.setattr(group, ""release"", lambda: group._actor_handlers.clear())"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1058	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""group._actor_handlers"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001970	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1405	1405	12	28	test_checkpoint_lock_covers_cleanup_and_releases_on_seal_failure	instance_candidate	candidates	close	unresolved_receiver_candidate	controller.close	            controller.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1405	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""controller"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001971	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1411	1411	11	17	test_checkpoint_lock_released_when_controller_process_is_killed	import	select	select	explicit_import	import select	    import select	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1411	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""local_binding"": ""select"", ""selective_module_import"": false, ""statement_line"": 1411}"
occ-001972	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1418	1418	14	30	test_checkpoint_lock_released_when_controller_process_is_killed	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	    process = subprocess.Popen(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1418	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001973	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1432	1432	14	29	test_checkpoint_lock_released_when_controller_process_is_killed	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	        stdin=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1432	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001974	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1433	1433	15	30	test_checkpoint_lock_released_when_controller_process_is_killed	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	        stdout=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1433	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001975	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1434	1434	15	30	test_checkpoint_lock_released_when_controller_process_is_killed	api_reference	subprocess	subprocess.PIPE	lexical_import_resolution	subprocess.PIPE	        stderr=subprocess.PIPE,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1434	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001976	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1439	1439	15	28	test_checkpoint_lock_released_when_controller_process_is_killed	api_call	select	select.select	lexical_import_resolution	select.select	"        assert select.select([process.stdout], [], [], 60)[0], ""Controller did not start"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1439	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""access"": ""load""}"
occ-001977	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1440	1440	15	38	test_checkpoint_lock_released_when_controller_process_is_killed	instance_candidate	candidates	readline	unresolved_receiver_candidate	process.stdout.readline	"        assert process.stdout.readline() == b""ready\n"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1440	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""process.stdout"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001978	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1446	1446	8	20	test_checkpoint_lock_released_when_controller_process_is_killed	instance_candidate	candidates	kill	inferred_receiver_candidate	process.kill	        process.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1446	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n        [\n            sys.executable,\n            \""-c\"",\n            \""\""\""\nimport pickle, sys\nfrom slime.data.queue_data_source import RolloutQueueController\n\nargs, plan_args = pickle.load(sys.stdin.buffer)\ncontroller = RolloutQueueController(args, restore_plan=plan_args)\nprint(\""ready\"", flush=True)\nsys.stdin.buffer.read(1)\n\""\""\"",\n        ],\n        stdin=subprocess.PIPE,\n        stdout=subprocess.PIPE,\n        stderr=subprocess.PIPE,\n    )"", ""line"": 1418, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001979	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1447	1447	8	20	test_checkpoint_lock_released_when_controller_process_is_killed	instance_candidate	candidates	wait	inferred_receiver_candidate	process.wait	        process.wait(timeout=30)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1447	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n        [\n            sys.executable,\n            \""-c\"",\n            \""\""\""\nimport pickle, sys\nfrom slime.data.queue_data_source import RolloutQueueController\n\nargs, plan_args = pickle.load(sys.stdin.buffer)\ncontroller = RolloutQueueController(args, restore_plan=plan_args)\nprint(\""ready\"", flush=True)\nsys.stdin.buffer.read(1)\n\""\""\"",\n        ],\n        stdin=subprocess.PIPE,\n        stdout=subprocess.PIPE,\n        stderr=subprocess.PIPE,\n    )"", ""line"": 1418, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-001980	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1448	1448	8	27	test_checkpoint_lock_released_when_controller_process_is_killed	instance_candidate	candidates	close	unresolved_receiver_candidate	process.stdin.close	        process.stdin.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1448	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""process.stdin"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001981	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1449	1449	8	28	test_checkpoint_lock_released_when_controller_process_is_killed	instance_candidate	candidates	close	unresolved_receiver_candidate	process.stdout.close	        process.stdout.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1449	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""process.stdout"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001982	tests/test_rollout_straw_transport.py	tests.test_rollout_straw_transport	1450	1450	8	28	test_checkpoint_lock_released_when_controller_process_is_killed	instance_candidate	candidates	close	unresolved_receiver_candidate	process.stderr.close	        process.stderr.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_rollout_straw_transport.py#L1450	source_snapshot/tests/test_rollout_straw_transport.py.txt	"{""receiver"": ""process.stderr"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-001983	tests/test_score_centering_binary.py	tests.test_score_centering_binary	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L1	source_snapshot/tests/test_score_centering_binary.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-001984	tests/test_score_centering_binary.py	tests.test_score_centering_binary	3	3	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L3	source_snapshot/tests/test_score_centering_binary.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001985	tests/test_score_centering_binary.py	tests.test_score_centering_binary	96	96	18	37	test_http_worker_decodes_off_event_loop	api_call	threading	threading.get_ident	lexical_import_resolution	threading.get_ident	    main_thread = threading.get_ident()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L96	source_snapshot/tests/test_score_centering_binary.py.txt	"{""access"": ""load""}"
occ-001986	tests/test_score_centering_binary.py	tests.test_score_centering_binary	101	101	21	40	test_http_worker_decodes_off_event_loop.decode	api_call	threading	threading.get_ident	lexical_import_resolution	threading.get_ident	        calls.append(threading.get_ident())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L101	source_snapshot/tests/test_score_centering_binary.py.txt	"{""access"": ""load""}"
occ-001987	tests/test_score_centering_binary.py	tests.test_score_centering_binary	111	112	8	26	test_http_worker_decodes_off_event_loop.Response	async_def	syntax	aread	python_ast	        async def aread(self):	        async def aread(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L111-L112	source_snapshot/tests/test_score_centering_binary.py.txt	"{""async_protocol"": false}"
occ-001988	tests/test_score_centering_binary.py	tests.test_score_centering_binary	114	115	8	16	test_http_worker_decodes_off_event_loop.Response	async_def	syntax	aclose	python_ast	        async def aclose(self):	        async def aclose(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L114-L115	source_snapshot/tests/test_score_centering_binary.py.txt	"{""async_protocol"": false}"
occ-001989	tests/test_score_centering_binary.py	tests.test_score_centering_binary	118	119	8	29	test_http_worker_decodes_off_event_loop.Client	async_def	syntax	post	python_ast	        async def post(self, *args, **kwargs):	        async def post(self, *args, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L118-L119	source_snapshot/tests/test_score_centering_binary.py.txt	"{""async_protocol"": false}"
occ-001990	tests/test_score_centering_binary.py	tests.test_score_centering_binary	121	121	13	24	test_http_worker_decodes_off_event_loop	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_binary.py#L121	source_snapshot/tests/test_score_centering_binary.py.txt	"{""access"": ""load""}"
occ-001991	tests/test_score_centering_transport.py	tests.test_score_centering_transport	3	3	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L3	source_snapshot/tests/test_score_centering_transport.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-001992	tests/test_score_centering_transport.py	tests.test_score_centering_transport	85	90	4	47	test_generate_requests_sampler_topk	async_def	syntax	post	python_ast	    async def post(url, payload, **kwargs):	    async def post(url, payload, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L85-L90	source_snapshot/tests/test_score_centering_transport.py.txt	"{""async_protocol"": false}"
occ-001993	tests/test_score_centering_transport.py	tests.test_score_centering_transport	93	93	13	24	test_generate_requests_sampler_topk	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    sample = asyncio.run(rollout.generate(a, Sample(prompt=""test""), {""max_new_tokens"": 8}))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L93	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-001994	tests/test_score_centering_transport.py	tests.test_score_centering_transport	127	140	4	47	test_r3_resume_appends_routes_without_replacing_the_persisted_prefix	async_def	syntax	post	python_ast	    async def post(url, payload, **kwargs):	    async def post(url, payload, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L127-L140	source_snapshot/tests/test_score_centering_transport.py.txt	"{""async_protocol"": false}"
occ-001995	tests/test_score_centering_transport.py	tests.test_score_centering_transport	145	145	12	23	test_r3_resume_appends_routes_without_replacing_the_persisted_prefix	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"            asyncio.run(rollout.generate(a, sample, {""max_new_tokens"": 8}))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L145	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-001996	tests/test_score_centering_transport.py	tests.test_score_centering_transport	148	148	13	24	test_r3_resume_appends_routes_without_replacing_the_persisted_prefix	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    actual = asyncio.run(rollout.generate(a, sample, {""max_new_tokens"": 8}))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L148	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-001997	tests/test_score_centering_transport.py	tests.test_score_centering_transport	159	159	8	19	test_streaming_score_centering_rejected	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(generate_streaming(args(), Sample(), {}))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L159	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-001998	tests/test_score_centering_transport.py	tests.test_score_centering_transport	191	191	18	35	test_evaluation_preserves_training_score_centering	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	        semaphore=asyncio.Semaphore(1),	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L191	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-001999	tests/test_score_centering_transport.py	tests.test_score_centering_transport	204	206	4	21	test_evaluation_preserves_training_score_centering	async_def	syntax	generate	python_ast	    async def generate(received, sample, params):	    async def generate(received, sample, params):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L204-L206	source_snapshot/tests/test_score_centering_transport.py.txt	"{""async_protocol"": false}"
occ-002000	tests/test_score_centering_transport.py	tests.test_score_centering_transport	208	209	4	21	test_evaluation_preserves_training_score_centering	async_def	syntax	hooks	python_ast	    async def hooks(received, sample, **kwargs):	    async def hooks(received, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L208-L209	source_snapshot/tests/test_score_centering_transport.py.txt	"{""async_protocol"": false}"
occ-002001	tests/test_score_centering_transport.py	tests.test_score_centering_transport	215	217	4	72	test_evaluation_preserves_training_score_centering	async_def	syntax	run	python_ast	    async def run():	    async def run():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L215-L217	source_snapshot/tests/test_score_centering_transport.py.txt	"{""async_protocol"": false}"
occ-002002	tests/test_score_centering_transport.py	tests.test_score_centering_transport	216	216	8	87	test_evaluation_preserves_training_score_centering.run	await	syntax	await	python_ast	"await rollout.generate_and_rm(a, Sample(), {""temperature"": 0}, evaluation=True)"	"        await rollout.generate_and_rm(a, Sample(), {""temperature"": 0}, evaluation=True)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L216	source_snapshot/tests/test_score_centering_transport.py.txt	{}
occ-002003	tests/test_score_centering_transport.py	tests.test_score_centering_transport	217	217	8	72	test_evaluation_preserves_training_score_centering.run	await	syntax	await	python_ast	"await rollout.generate_and_rm(a, Sample(), {""temperature"": 0.8})"	"        await rollout.generate_and_rm(a, Sample(), {""temperature"": 0.8})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L217	source_snapshot/tests/test_score_centering_transport.py.txt	{}
occ-002004	tests/test_score_centering_transport.py	tests.test_score_centering_transport	219	219	4	15	test_evaluation_preserves_training_score_centering	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L219	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-002005	tests/test_score_centering_transport.py	tests.test_score_centering_transport	552	558	4	47	test_generate_requests_complete_top_p_probabilities	async_def	syntax	post	python_ast	    async def post(url, payload, **kwargs):	    async def post(url, payload, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L552-L558	source_snapshot/tests/test_score_centering_transport.py.txt	"{""async_protocol"": false}"
occ-002006	tests/test_score_centering_transport.py	tests.test_score_centering_transport	561	561	13	24	test_generate_requests_complete_top_p_probabilities	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    sample = asyncio.run(rollout.generate(a, Sample(prompt=""test""), {""max_new_tokens"": 8}))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_score_centering_transport.py#L561	source_snapshot/tests/test_score_centering_transport.py.txt	"{""access"": ""load""}"
occ-002007	tests/test_server_control.py	tests.test_server_control	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L1	source_snapshot/tests/test_server_control.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-002008	tests/test_server_control.py	tests.test_server_control	19	33	4	34	test_rollout_boundary_prunes_failed_router_workers	async_def	syntax	respond	python_ast	    async def respond(request):	    async def respond(request):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L19-L33	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002009	tests/test_server_control.py	tests.test_server_control	37	37	14	25	test_rollout_boundary_prunes_failed_router_workers	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    workers = asyncio.run(server_control.get_live_router_workers(""http://router"", timeout=0.1))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L37	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002010	tests/test_server_control.py	tests.test_server_control	94	94	4	17	test_boundary_health_check_bypasses_grace_and_cleans_dead_actor	instance_candidate	candidates	start	unresolved_receiver_candidate	monitor.start	    monitor.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L94	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""monitor"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002011	tests/test_server_control.py	tests.test_server_control	100	100	8	20	test_boundary_health_check_bypasses_grace_and_cleans_dead_actor	instance_candidate	candidates	stop	unresolved_receiver_candidate	monitor.stop	        monitor.stop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L100	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""monitor"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002012	tests/test_server_control.py	tests.test_server_control	108	112	4	24	test_abort_uses_supported_load_sections_and_waits_for_pd_transfers	async_def	syntax	post	python_ast	    async def post(url, payload, **kwargs):	    async def post(url, payload, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L108-L112	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002013	tests/test_server_control.py	tests.test_server_control	114	134	4	9	test_abort_uses_supported_load_sections_and_waits_for_pd_transfers	async_def	syntax	get	python_ast	    async def get(url, **kwargs):	    async def get(url, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L114-L134	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002014	tests/test_server_control.py	tests.test_server_control	139	139	4	15	test_abort_uses_supported_load_sections_and_waits_for_pd_transfers	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    asyncio.run(server_control.abort_server_until_idle(""http://engine"", retry_interval=0, timeout=0.1))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L139	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002015	tests/test_server_control.py	tests.test_server_control	168	169	4	19	test_abort_retries_load_failure_until_idle	async_def	syntax	abort_once	python_ast	    async def abort_once(url, request_timeout):	    async def abort_once(url, request_timeout):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L168-L169	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002016	tests/test_server_control.py	tests.test_server_control	171	176	4	61	test_abort_retries_load_failure_until_idle	async_def	syntax	get_load	python_ast	    async def get_load(url, request_timeout):	    async def get_load(url, request_timeout):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L171-L176	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002017	tests/test_server_control.py	tests.test_server_control	181	181	4	15	test_abort_retries_load_failure_until_idle	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    asyncio.run(server_control.abort_server_until_idle(""http://engine"", retry_interval=0, timeout=1))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L181	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002018	tests/test_server_control.py	tests.test_server_control	187	189	4	42	test_abort_servers_surfaces_partial_failure	async_def	syntax	abort	python_ast	    async def abort(url, **kwargs):	    async def abort(url, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L187-L189	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002019	tests/test_server_control.py	tests.test_server_control	193	193	8	19	test_abort_servers_surfaces_partial_failure	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"        asyncio.run(server_control.abort_servers_until_idle([""http://good"", ""http://bad""]))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L193	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002020	tests/test_server_control.py	tests.test_server_control	205	206	8	52	test_http_post_forwards_timeout_and_closes_response.Response	async_def	syntax	aread	python_ast	        async def aread(self):	        async def aread(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L205-L206	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002021	tests/test_server_control.py	tests.test_server_control	208	209	8	30	test_http_post_forwards_timeout_and_closes_response.Response	async_def	syntax	aclose	python_ast	        async def aclose(self):	        async def aclose(self):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L208-L209	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002022	tests/test_server_control.py	tests.test_server_control	214	216	8	27	test_http_post_forwards_timeout_and_closes_response.Client	async_def	syntax	post	python_ast	        async def post(self, url, **kwargs):	        async def post(self, url, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L214-L216	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002023	tests/test_server_control.py	tests.test_server_control	218	218	11	22	test_http_post_forwards_timeout_and_closes_response	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	"    assert asyncio.run(http_utils._post(Client(), ""http://engine"", {}, max_retries=1, timeout=2.5)) == {""ok"": True}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L218	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002024	tests/test_server_control.py	tests.test_server_control	226	282	4	26	test_http_transport_preserves_streams_timeouts_and_connection_budget	async_def	syntax	check	python_ast	    async def check():	    async def check():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L226-L282	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002025	tests/test_server_control.py	tests.test_server_control	230	259	8	35	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	async_def	syntax	serve	python_ast	        async def serve(reader, writer):	        async def serve(reader, writer):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L230-L259	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002026	tests/test_server_control.py	tests.test_server_control	232	232	19	39	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	api_call	asyncio	asyncio.current_task	lexical_import_resolution	asyncio.current_task	            task = asyncio.current_task()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L232	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002027	tests/test_server_control.py	tests.test_server_control	239	239	30	65	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	await	syntax	await	python_ast	"await reader.readuntil(b""\r\n\r\n"")"	"                    headers = await reader.readuntil(b""\r\n\r\n"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L239	source_snapshot/tests/test_server_control.py.txt	{}
occ-002028	tests/test_server_control.py	tests.test_server_control	239	239	36	52	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	instance_candidate	candidates	readuntil	unresolved_receiver_candidate	reader.readuntil	"                    headers = await reader.readuntil(b""\r\n\r\n"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L239	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002029	tests/test_server_control.py	tests.test_server_control	248	248	27	59	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	await	syntax	await	python_ast	await reader.readexactly(length)	                    body = await reader.readexactly(length)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L248	source_snapshot/tests/test_server_control.py.txt	{}
occ-002030	tests/test_server_control.py	tests.test_server_control	248	248	33	51	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	instance_candidate	candidates	readexactly	unresolved_receiver_candidate	reader.readexactly	                    body = await reader.readexactly(length)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L248	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""reader"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002031	tests/test_server_control.py	tests.test_server_control	250	250	24	48	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	await	syntax	await	python_ast	await asyncio.sleep(0.1)	                        await asyncio.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L250	source_snapshot/tests/test_server_control.py.txt	{}
occ-002032	tests/test_server_control.py	tests.test_server_control	250	250	30	43	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                        await asyncio.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L250	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002033	tests/test_server_control.py	tests.test_server_control	251	251	20	32	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	instance_candidate	candidates	write	unresolved_receiver_candidate	writer.write	"                    writer.write(b""HTTP/1.1 200 OK\r\nContent-Length: "" + str(len(body)).encode() + b""\r\n\r\n"" + body)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L251	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""writer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002034	tests/test_server_control.py	tests.test_server_control	252	252	20	40	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	await	syntax	await	python_ast	await writer.drain()	                    await writer.drain()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L252	source_snapshot/tests/test_server_control.py.txt	{}
occ-002035	tests/test_server_control.py	tests.test_server_control	252	252	26	38	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	instance_candidate	candidates	drain	unresolved_receiver_candidate	writer.drain	                    await writer.drain()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L252	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""writer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002036	tests/test_server_control.py	tests.test_server_control	253	253	20	47	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	api_reference	asyncio	asyncio.IncompleteReadError	lexical_import_resolution	asyncio.IncompleteReadError	            except (asyncio.IncompleteReadError, ConnectionError):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L253	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002037	tests/test_server_control.py	tests.test_server_control	257	257	16	28	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	instance_candidate	candidates	close	unresolved_receiver_candidate	writer.close	                writer.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L257	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""writer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002038	tests/test_server_control.py	tests.test_server_control	258	258	16	42	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	await	syntax	await	python_ast	await writer.wait_closed()	                await writer.wait_closed()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L258	source_snapshot/tests/test_server_control.py.txt	{}
occ-002039	tests/test_server_control.py	tests.test_server_control	258	258	22	40	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.serve	instance_candidate	candidates	wait_closed	unresolved_receiver_candidate	writer.wait_closed	                await writer.wait_closed()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L258	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""writer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002040	tests/test_server_control.py	tests.test_server_control	261	261	17	91	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	await	syntax	await	python_ast	"await asyncio.start_server(serve, ""127.0.0.1"", 0, backlog=2 * concurrency)"	"        server = await asyncio.start_server(serve, ""127.0.0.1"", 0, backlog=2 * concurrency)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L261	source_snapshot/tests/test_server_control.py.txt	{}
occ-002041	tests/test_server_control.py	tests.test_server_control	261	261	23	43	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	api_call	asyncio	asyncio.start_server	lexical_import_resolution	asyncio.start_server	"        server = await asyncio.start_server(serve, ""127.0.0.1"", 0, backlog=2 * concurrency)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L261	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002042	tests/test_server_control.py	tests.test_server_control	264	277	12	101	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	async_with	syntax	async with	python_ast	            async with httpx.AsyncClient(transport=http_utils._ShardedHTTPTransport(concurrency)) as client:	            async with httpx.AsyncClient(transport=http_utils._ShardedHTTPTransport(concurrency)) as client:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L264-L277	source_snapshot/tests/test_server_control.py.txt	"{""items"": 1}"
occ-002043	tests/test_server_control.py	tests.test_server_control	266	269	16	61	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	async_def	syntax	request	python_ast	                async def request(i):	                async def request(i):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L266-L269	source_snapshot/tests/test_server_control.py.txt	"{""async_protocol"": false}"
occ-002044	tests/test_server_control.py	tests.test_server_control	268	269	20	61	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.request	async_with	syntax	async with	python_ast	"                    async with client.stream(""POST"", url, content=body) as response:"	"                    async with client.stream(""POST"", url, content=body) as response:"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L268-L269	source_snapshot/tests/test_server_control.py.txt	"{""items"": 1}"
occ-002045	tests/test_server_control.py	tests.test_server_control	269	269	31	53	test_http_transport_preserves_streams_timeouts_and_connection_budget.check.request	await	syntax	await	python_ast	await response.aread()	                        assert await response.aread() == body	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L269	source_snapshot/tests/test_server_control.py.txt	{}
occ-002046	tests/test_server_control.py	tests.test_server_control	272	272	20	87	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	await	syntax	await	python_ast	await asyncio.gather(*(request(i) for i in range(concurrency + 3)))	                    await asyncio.gather(*(request(i) for i in range(concurrency + 3)))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L272	source_snapshot/tests/test_server_control.py.txt	{}
occ-002047	tests/test_server_control.py	tests.test_server_control	272	272	26	40	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	                    await asyncio.gather(*(request(i) for i in range(concurrency + 3)))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L272	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002048	tests/test_server_control.py	tests.test_server_control	276	276	20	80	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	await	syntax	await	python_ast	"await client.post(url + ""/slow"", content=b""x"", timeout=0.01)"	"                    await client.post(url + ""/slow"", content=b""x"", timeout=0.01)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L276	source_snapshot/tests/test_server_control.py.txt	{}
occ-002049	tests/test_server_control.py	tests.test_server_control	277	277	24	72	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	await	syntax	await	python_ast	"await client.post(url, content=b""after-timeout"")"	"                assert (await client.post(url, content=b""after-timeout"")).content == b""after-timeout"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L277	source_snapshot/tests/test_server_control.py.txt	{}
occ-002050	tests/test_server_control.py	tests.test_server_control	279	279	12	24	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	instance_candidate	candidates	close	unresolved_receiver_candidate	server.close	            server.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L279	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""server"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002051	tests/test_server_control.py	tests.test_server_control	280	280	12	38	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	await	syntax	await	python_ast	await server.wait_closed()	            await server.wait_closed()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L280	source_snapshot/tests/test_server_control.py.txt	{}
occ-002052	tests/test_server_control.py	tests.test_server_control	280	280	18	36	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	instance_candidate	candidates	wait_closed	unresolved_receiver_candidate	server.wait_closed	            await server.wait_closed()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L280	source_snapshot/tests/test_server_control.py.txt	"{""receiver"": ""server"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002053	tests/test_server_control.py	tests.test_server_control	281	281	12	64	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	await	syntax	await	python_ast	await asyncio.gather(*tasks, return_exceptions=True)	            await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L281	source_snapshot/tests/test_server_control.py.txt	{}
occ-002054	tests/test_server_control.py	tests.test_server_control	281	281	18	32	test_http_transport_preserves_streams_timeouts_and_connection_budget.check	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L281	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002055	tests/test_server_control.py	tests.test_server_control	284	284	4	15	test_http_transport_preserves_streams_timeouts_and_connection_budget	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(check())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_server_control.py#L284	source_snapshot/tests/test_server_control.py.txt	"{""access"": ""load""}"
occ-002056	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	9	9	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L9	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 9}"
occ-002057	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	11	11	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L11	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 11}"
occ-002058	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	12	12	7	13	<module>	import	signal	signal	explicit_import	import signal	import signal	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L12	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""local_binding"": ""signal"", ""selective_module_import"": false, ""statement_line"": 12}"
occ-002059	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	13	13	7	17	<module>	import	subprocess	subprocess	explicit_import	import subprocess	import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L13	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 13}"
occ-002060	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	15	15	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L15	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 15}"
occ-002061	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	16	16	7	11	<module>	import	time-sleep	time	explicit_import	import time	import time	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L16	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""local_binding"": ""time"", ""selective_module_import"": true, ""statement_line"": 16}"
occ-002062	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	45	83	0	17	<module>	async_def	syntax	_generate_with_interrupt	python_ast	async def _generate_with_interrupt(args, sample, sampling_params):	async def _generate_with_interrupt(args, sample, sampling_params):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L45-L83	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""async_protocol"": false}"
occ-002063	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	49	49	8	36	_generate_with_interrupt	await	syntax	await	python_ast	await asyncio.Event().wait()	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L49	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	{}
occ-002064	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	49	49	14	27	_generate_with_interrupt	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L49	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002065	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	49	49	14	34	_generate_with_interrupt	instance_candidate	candidates	wait	inferred_receiver_candidate	asyncio.Event().wait	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L49	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""asyncio.Event()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 49, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002066	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	52	52	12	40	_generate_with_interrupt	await	syntax	await	python_ast	await asyncio.Event().wait()	            await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L52	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	{}
occ-002067	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	52	52	18	31	_generate_with_interrupt	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	            await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L52	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002068	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	52	52	18	38	_generate_with_interrupt	instance_candidate	candidates	wait	inferred_receiver_candidate	asyncio.Event().wait	            await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L52	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""asyncio.Event()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 52, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002069	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	53	53	17	71	_generate_with_interrupt	await	syntax	await	python_ast	await _generate_locally(args, sample, sampling_params)	        sample = await _generate_locally(args, sample, sampling_params)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L53	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	{}
occ-002070	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	54	54	44	53	_generate_with_interrupt	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"        sample.metadata[""generation_pid""] = os.getpid()"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L54	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002071	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	86	89	0	34	<module>	async_def	syntax	_reward_once	python_ast	async def _reward_once(args, sample):	async def _reward_once(args, sample):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L86-L89	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""async_protocol"": false}"
occ-002072	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	87	87	11	30	_reward_once	instance_candidate	candidates	get	unresolved_receiver_candidate	sample.metadata.get	"    assert sample.metadata.get(""reward_calls"", 0) == 0, ""A completed sample was scored twice"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L87	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""sample.metadata"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002073	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	132	132	21	37	_run_job	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	            thread = threading.Thread(target=generate, daemon=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L132	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002074	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	133	133	12	24	_run_job	instance_candidate	candidates	start	inferred_receiver_candidate	thread.start	            thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L133	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=generate, daemon=True)"", ""line"": 132, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-002075	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	158	158	24	39	_run_job	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	                        threading.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L158	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002076	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	158	158	24	46	_run_job	instance_candidate	candidates	wait	inferred_receiver_candidate	threading.Event().wait	                        threading.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L158	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""threading.Event()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Event()"", ""line"": 158, ""type"": ""threading.Event""}, ""resolved_non_native_name"": null}"
occ-002077	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	159	159	16	26	_run_job	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                time.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L159	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002078	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	197	197	12	24	_run_job	instance_candidate	candidates	close	unresolved_receiver_candidate	source.close	            source.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L197	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""source"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002079	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	199	199	8	24	_run_job	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	cluster.shutdown	        cluster.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L199	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""cluster"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002080	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	204	204	7	19	_kill_job	instance_candidate	candidates	poll	unresolved_receiver_candidate	process.poll	    if process.poll() is not None:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L204	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002081	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	225	225	12	22	_kill_job	instance_candidate	candidates	kill	unresolved_receiver_candidate	child.kill	            child.kill()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L225	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002082	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	228	228	4	16	_kill_job	instance_candidate	candidates	wait	unresolved_receiver_candidate	process.wait	    process.wait(timeout=20)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L228	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002083	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	234	234	19	35	_kill_job	instance_candidate	candidates	is_running	unresolved_receiver_candidate	child.is_running	                if child.is_running() and child.status() != psutil.STATUS_ZOMBIE:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L234	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""child"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002084	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	241	241	8	18	_kill_job	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	        time.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L241	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002085	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	257	257	22	38	test_fully_async_sigkill_and_restart_preserves_results_and_prefixes	api_call	subprocess	subprocess.Popen	lexical_import_resolution	subprocess.Popen	            process = subprocess.Popen(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L257	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002086	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	261	261	23	40	test_fully_async_sigkill_and_restart_preserves_results_and_prefixes	api_reference	subprocess	subprocess.STDOUT	lexical_import_resolution	subprocess.STDOUT	                stderr=subprocess.STDOUT,	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L261	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002087	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	268	268	31	43	test_fully_async_sigkill_and_restart_preserves_results_and_prefixes	instance_candidate	candidates	poll	inferred_receiver_candidate	process.poll	                        assert process.poll() is None, log_path.read_text()[-12000:]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L268	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                [sys.executable, \""-u\"", \""-c\"", code, str(tmp_path), phase, str(online_gc)],\n                env=env,\n                stdout=log,\n                stderr=subprocess.STDOUT,\n                start_new_session=True,\n            )"", ""line"": 257, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-002088	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	270	270	24	34	test_fully_async_sigkill_and_restart_preserves_results_and_prefixes	api_call	time-sleep	time.sleep	lexical_import_resolution	time.sleep	                        time.sleep(0.1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L270	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002089	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	276	276	50	64	test_fully_async_sigkill_and_restart_preserves_results_and_prefixes	api_reference	signal	signal.SIGKILL	lexical_import_resolution	signal.SIGKILL	                    assert process.returncode == -signal.SIGKILL	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L276	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""access"": ""load""}"
occ-002090	tests/test_straw_fully_async_recovery.py	tests.test_straw_fully_async_recovery	278	278	27	39	test_fully_async_sigkill_and_restart_preserves_results_and_prefixes	instance_candidate	candidates	wait	inferred_receiver_candidate	process.wait	                    assert process.wait(timeout=180) == 0, log_path.read_text()[-12000:]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_fully_async_recovery.py#L278	source_snapshot/tests/test_straw_fully_async_recovery.py.txt	"{""receiver"": ""process"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""subprocess.Popen(\n                [sys.executable, \""-u\"", \""-c\"", code, str(tmp_path), phase, str(online_gc)],\n                env=env,\n                stdout=log,\n                stderr=subprocess.STDOUT,\n                start_new_session=True,\n            )"", ""line"": 257, ""type"": ""subprocess.Popen""}, ""resolved_non_native_name"": null}"
occ-002091	tests/test_straw_r3.py	tests.test_straw_r3	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L1	source_snapshot/tests/test_straw_r3.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-002092	tests/test_straw_r3.py	tests.test_straw_r3	2	2	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L2	source_snapshot/tests/test_straw_r3.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 2}"
occ-002093	tests/test_straw_r3.py	tests.test_straw_r3	61	61	13	24	test_straw_publishes_replay_tensors_with_the_group_without_hook_or_spill_directory	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(apply_rollout_sample_hooks(args, nested, rollout_id=3))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L61	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002094	tests/test_straw_r3.py	tests.test_straw_r3	105	105	11	22	test_hooks_leave_ray_evaluation_and_aborted_samples_resident	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    assert asyncio.run(apply_rollout_sample_hooks(args, sample, evaluation=evaluation)) is sample	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L105	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002095	tests/test_straw_r3.py	tests.test_straw_r3	143	143	23	38	test_cancelled_straw_publication_drains_before_releasing_capacity	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	    entered, release = threading.Event(), threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L143	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002096	tests/test_straw_r3.py	tests.test_straw_r3	143	143	42	57	test_cancelled_straw_publication_drains_before_releasing_capacity	api_call	threading	threading.Event	lexical_import_resolution	threading.Event	    entered, release = threading.Event(), threading.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L143	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002097	tests/test_straw_r3.py	tests.test_straw_r3	150	150	8	19	test_cancelled_straw_publication_drains_before_releasing_capacity.delayed_write	instance_candidate	candidates	set	unresolved_receiver_candidate	entered.set	        entered.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L150	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""entered"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002098	tests/test_straw_r3.py	tests.test_straw_r3	151	151	15	27	test_cancelled_straw_publication_drains_before_releasing_capacity.delayed_write	instance_candidate	candidates	wait	unresolved_receiver_candidate	release.wait	        if not release.wait(5):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L151	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002099	tests/test_straw_r3.py	tests.test_straw_r3	159	177	4	30	test_cancelled_straw_publication_drains_before_releasing_capacity	async_def	syntax	run	python_ast	    async def run():	    async def run():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L159-L177	source_snapshot/tests/test_straw_r3.py.txt	"{""async_protocol"": false}"
occ-002100	tests/test_straw_r3.py	tests.test_straw_r3	160	160	16	35	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        first = asyncio.create_task(rollout_transport.publish_rollout_async(samples[0], args, 0))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L160	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002101	tests/test_straw_r3.py	tests.test_straw_r3	163	163	19	59	test_cancelled_straw_publication_drains_before_releasing_capacity.run	await	syntax	await	python_ast	await asyncio.to_thread(entered.wait, 5)	            assert await asyncio.to_thread(entered.wait, 5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L163	source_snapshot/tests/test_straw_r3.py.txt	{}
occ-002102	tests/test_straw_r3.py	tests.test_straw_r3	163	163	25	42	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_call	asyncio	asyncio.to_thread	lexical_import_resolution	asyncio.to_thread	            assert await asyncio.to_thread(entered.wait, 5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L163	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002103	tests/test_straw_r3.py	tests.test_straw_r3	164	164	12	24	test_cancelled_straw_publication_drains_before_releasing_capacity.run	instance_candidate	candidates	cancel	inferred_receiver_candidate	first.cancel	            first.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L164	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""first"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(rollout_transport.publish_rollout_async(samples[0], args, 0))"", ""line"": 160, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-002104	tests/test_straw_r3.py	tests.test_straw_r3	165	165	21	40	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	            second = asyncio.create_task(rollout_transport.publish_rollout_async(samples[1], args, 0))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L165	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002105	tests/test_straw_r3.py	tests.test_straw_r3	167	167	12	37	test_cancelled_straw_publication_drains_before_releasing_capacity.run	await	syntax	await	python_ast	await asyncio.sleep(0.05)	            await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L167	source_snapshot/tests/test_straw_r3.py.txt	{}
occ-002106	tests/test_straw_r3.py	tests.test_straw_r3	167	167	18	31	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L167	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002107	tests/test_straw_r3.py	tests.test_straw_r3	168	168	12	24	test_cancelled_straw_publication_drains_before_releasing_capacity.run	instance_candidate	candidates	cancel	inferred_receiver_candidate	first.cancel	            first.cancel()  # A second shutdown signal must not release the writer early.	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L168	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""first"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(rollout_transport.publish_rollout_async(samples[0], args, 0))"", ""line"": 160, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-002108	tests/test_straw_r3.py	tests.test_straw_r3	169	169	12	37	test_cancelled_straw_publication_drains_before_releasing_capacity.run	await	syntax	await	python_ast	await asyncio.sleep(0.05)	            await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L169	source_snapshot/tests/test_straw_r3.py.txt	{}
occ-002109	tests/test_straw_r3.py	tests.test_straw_r3	169	169	18	31	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	            await asyncio.sleep(0.05)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L169	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002110	tests/test_straw_r3.py	tests.test_straw_r3	170	170	23	33	test_cancelled_straw_publication_drains_before_releasing_capacity.run	instance_candidate	candidates	done	inferred_receiver_candidate	first.done	            assert not first.done()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L170	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""first"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(rollout_transport.publish_rollout_async(samples[0], args, 0))"", ""line"": 160, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-002111	tests/test_straw_r3.py	tests.test_straw_r3	173	173	12	23	test_cancelled_straw_publication_drains_before_releasing_capacity.run	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	            release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L173	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002112	tests/test_straw_r3.py	tests.test_straw_r3	174	174	22	74	test_cancelled_straw_publication_drains_before_releasing_capacity.run	await	syntax	await	python_ast	await asyncio.gather(*tasks, return_exceptions=True)	            results = await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L174	source_snapshot/tests/test_straw_r3.py.txt	{}
occ-002113	tests/test_straw_r3.py	tests.test_straw_r3	174	174	28	42	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	            results = await asyncio.gather(*tasks, return_exceptions=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L174	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002114	tests/test_straw_r3.py	tests.test_straw_r3	175	175	38	60	test_cancelled_straw_publication_drains_before_releasing_capacity.run	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	        assert isinstance(results[0], asyncio.CancelledError)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L175	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002115	tests/test_straw_r3.py	tests.test_straw_r3	179	179	4	15	test_cancelled_straw_publication_drains_before_releasing_capacity	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(run())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L179	source_snapshot/tests/test_straw_r3.py.txt	"{""access"": ""load""}"
occ-002116	tests/test_straw_r3.py	tests.test_straw_r3	216	216	4	20	test_lazy_prefetch_reloads_between_forward_and_backward	instance_candidate	candidates	close	unresolved_receiver_candidate	prefetcher.close	    prefetcher.close()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_straw_r3.py#L216	source_snapshot/tests/test_straw_r3.py.txt	"{""receiver"": ""prefetcher"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002117	tests/test_streaming_rollout.py	tests.test_streaming_rollout	1	1	7	14	<module>	import	asyncio	asyncio	explicit_import	import asyncio	import asyncio	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L1	source_snapshot/tests/test_streaming_rollout.py.txt	"{""local_binding"": ""asyncio"", ""selective_module_import"": false, ""statement_line"": 1}"
occ-002118	tests/test_streaming_rollout.py	tests.test_streaming_rollout	6	6	23	42	<module>	import	contextlib-async	contextlib.asynccontextmanager	explicit_import	from contextlib import asynccontextmanager, nullcontext	from contextlib import asynccontextmanager, nullcontext	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L6	source_snapshot/tests/test_streaming_rollout.py.txt	"{""local_binding"": ""asynccontextmanager"", ""selective_module_import"": false, ""statement_line"": 6}"
occ-002119	tests/test_streaming_rollout.py	tests.test_streaming_rollout	100	100	15	22	test_merge_stream_chunks.decode	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"        return """".join(f""<{token_id}>"" for token_id in token_ids)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L100	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002120	tests/test_streaming_rollout.py	tests.test_streaming_rollout	122	122	64	71	_generation_state.<lambda>	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"            decode=lambda token_ids, skip_special_tokens=False: """".join(f""<{token_id}>"" for token_id in token_ids)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L122	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002121	tests/test_streaming_rollout.py	tests.test_streaming_rollout	129	129	18	35	_generation_state	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	        semaphore=asyncio.Semaphore(8),	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L129	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002122	tests/test_streaming_rollout.py	tests.test_streaming_rollout	170	172	4	46	_http_stream	async_generator_def	syntax	chunk_lines	python_ast	    async def chunk_lines():	    async def chunk_lines():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L170-L172	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002123	tests/test_streaming_rollout.py	tests.test_streaming_rollout	172	172	12	46	_http_stream.chunk_lines	async_yield	syntax	yield in async generator	python_ast	"yield ""data: "" + json.dumps(chunk)"	"            yield ""data: "" + json.dumps(chunk)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L172	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002124	tests/test_streaming_rollout.py	tests.test_streaming_rollout	176	176	5	24	_http_stream	api_reference	contextlib-async	contextlib.asynccontextmanager	lexical_import_resolution	asynccontextmanager	    @asynccontextmanager	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L176	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002125	tests/test_streaming_rollout.py	tests.test_streaming_rollout	177	185	4	26	_http_stream	async_generator_def	syntax	stream	python_ast	    async def stream(method, url, json, headers):	    async def stream(method, url, json, headers):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L177-L185	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002126	tests/test_streaming_rollout.py	tests.test_streaming_rollout	182	182	12	26	_http_stream.stream	async_yield	syntax	yield in async generator	python_ast	yield response	            yield response	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L182	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002127	tests/test_streaming_rollout.py	tests.test_streaming_rollout	242	242	16	23	test_generate_streaming_preserves_metadata_across_stream_intervals	instance_candidate	candidates	join	unresolved_receiver_candidate	""""".join"	"                """".join(f""<{token_id}>"" for token_id in token_slice),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L242	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""\""\"""", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002128	tests/test_streaming_rollout.py	tests.test_streaming_rollout	258	258	13	24	test_generate_streaming_preserves_metadata_across_stream_intervals	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L258	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002129	tests/test_streaming_rollout.py	tests.test_streaming_rollout	299	299	13	24	test_generate_streaming_handles_encoded_terminal_metadata	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L299	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002130	tests/test_streaming_rollout.py	tests.test_streaming_rollout	320	320	8	19	test_streaming_generator_fails_closed_on_unexpected_eof	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	        asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L320	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002131	tests/test_streaming_rollout.py	tests.test_streaming_rollout	332	335	4	95	test_server_abort_keeps_last_observed_prefix	async_generator_def	syntax	lines	python_ast	    async def lines():	    async def lines():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L332-L335	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002132	tests/test_streaming_rollout.py	tests.test_streaming_rollout	334	334	8	71	test_server_abort_keeps_last_observed_prefix.lines	async_yield	syntax	yield in async generator	python_ast	"yield ""data: "" + json.dumps(_chunk(""a"", [[-0.1, 11, None]], 1))"	"        yield ""data: "" + json.dumps(_chunk(""a"", [[-0.1, 11, None]], 1))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L334	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002133	tests/test_streaming_rollout.py	tests.test_streaming_rollout	338	338	13	24	test_server_abort_keeps_last_observed_prefix	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result = asyncio.run(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L338	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002134	tests/test_streaming_rollout.py	tests.test_streaming_rollout	352	352	23	36	test_stream_cancellation_closes_request_and_keeps_prefix	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	    first_chunk_seen = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L352	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002135	tests/test_streaming_rollout.py	tests.test_streaming_rollout	353	353	21	34	test_stream_cancellation_closes_request_and_keeps_prefix	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	    request_closed = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L353	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002136	tests/test_streaming_rollout.py	tests.test_streaming_rollout	354	354	21	34	test_stream_cancellation_closes_request_and_keeps_prefix	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	    server_started = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L354	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002137	tests/test_streaming_rollout.py	tests.test_streaming_rollout	355	355	22	35	test_stream_cancellation_closes_request_and_keeps_prefix	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	    server_released = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L355	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002138	tests/test_streaming_rollout.py	tests.test_streaming_rollout	358	369	4	36	test_stream_cancellation_closes_request_and_keeps_prefix	async_generator_def	syntax	lines	python_ast	    async def lines():	    async def lines():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L358-L369	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002139	tests/test_streaming_rollout.py	tests.test_streaming_rollout	359	367	8	9	test_stream_cancellation_closes_request_and_keeps_prefix.lines	async_yield	syntax	yield in async generator	python_ast	"yield ""data: "" + json.dumps(
            {
                ""text"": None,
                ""meta_info"": {
                    ""output_token_logprobs"": [[-0.1, 11, None]],
                    ""output_token_logprobs_length"": 1,
                },
            }
        )"	"        yield ""data: "" + json.dumps("	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L359-L367	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002140	tests/test_streaming_rollout.py	tests.test_streaming_rollout	368	368	8	28	test_stream_cancellation_closes_request_and_keeps_prefix.lines	instance_candidate	candidates	set	inferred_receiver_candidate	first_chunk_seen.set	        first_chunk_seen.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L368	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""first_chunk_seen"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 352, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002141	tests/test_streaming_rollout.py	tests.test_streaming_rollout	369	369	8	36	test_stream_cancellation_closes_request_and_keeps_prefix.lines	await	syntax	await	python_ast	await asyncio.Event().wait()	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L369	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002142	tests/test_streaming_rollout.py	tests.test_streaming_rollout	369	369	14	27	test_stream_cancellation_closes_request_and_keeps_prefix.lines	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L369	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002143	tests/test_streaming_rollout.py	tests.test_streaming_rollout	369	369	14	34	test_stream_cancellation_closes_request_and_keeps_prefix.lines	instance_candidate	candidates	wait	inferred_receiver_candidate	asyncio.Event().wait	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L369	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""asyncio.Event()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 369, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002144	tests/test_streaming_rollout.py	tests.test_streaming_rollout	375	379	4	21	test_stream_cancellation_closes_request_and_keeps_prefix	async_def	syntax	server_generate	python_ast	    async def server_generate(args, sample, sampling_params):	    async def server_generate(args, sample, sampling_params):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L375-L379	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002145	tests/test_streaming_rollout.py	tests.test_streaming_rollout	376	376	8	26	test_stream_cancellation_closes_request_and_keeps_prefix.server_generate	instance_candidate	candidates	set	inferred_receiver_candidate	server_started.set	        server_started.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L376	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""server_started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 354, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002146	tests/test_streaming_rollout.py	tests.test_streaming_rollout	377	377	8	36	test_stream_cancellation_closes_request_and_keeps_prefix.server_generate	await	syntax	await	python_ast	await server_released.wait()	        await server_released.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L377	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002147	tests/test_streaming_rollout.py	tests.test_streaming_rollout	377	377	14	34	test_stream_cancellation_closes_request_and_keeps_prefix.server_generate	instance_candidate	candidates	wait	inferred_receiver_candidate	server_released.wait	        await server_released.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L377	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""server_released"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 355, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002148	tests/test_streaming_rollout.py	tests.test_streaming_rollout	381	382	4	47	test_stream_cancellation_closes_request_and_keeps_prefix	async_def	syntax	get_workers	python_ast	    async def get_workers(_url, *, timeout):	    async def get_workers(_url, *, timeout):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L381-L382	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002149	tests/test_streaming_rollout.py	tests.test_streaming_rollout	384	386	4	29	test_stream_cancellation_closes_request_and_keeps_prefix	async_def	syntax	abort_servers	python_ast	    async def abort_servers(urls):	    async def abort_servers(urls):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L384-L386	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002150	tests/test_streaming_rollout.py	tests.test_streaming_rollout	386	386	8	27	test_stream_cancellation_closes_request_and_keeps_prefix.abort_servers	instance_candidate	candidates	set	inferred_receiver_candidate	server_released.set	        server_released.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L386	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""server_released"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 355, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002151	tests/test_streaming_rollout.py	tests.test_streaming_rollout	392	403	4	62	test_stream_cancellation_closes_request_and_keeps_prefix	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L392-L403	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002152	tests/test_streaming_rollout.py	tests.test_streaming_rollout	393	393	23	42	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        request_task = asyncio.create_task(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L393	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002153	tests/test_streaming_rollout.py	tests.test_streaming_rollout	400	400	22	41	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        server_task = asyncio.create_task(sglang_rollout.generate_and_rm(args, Sample(), {}))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L400	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002154	tests/test_streaming_rollout.py	tests.test_streaming_rollout	401	401	8	76	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	await	syntax	await	python_ast	await asyncio.gather(first_chunk_seen.wait(), server_started.wait())	        await asyncio.gather(first_chunk_seen.wait(), server_started.wait())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L401	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002155	tests/test_streaming_rollout.py	tests.test_streaming_rollout	401	401	14	28	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        await asyncio.gather(first_chunk_seen.wait(), server_started.wait())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L401	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002156	tests/test_streaming_rollout.py	tests.test_streaming_rollout	401	401	29	50	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	instance_candidate	candidates	wait	inferred_receiver_candidate	first_chunk_seen.wait	        await asyncio.gather(first_chunk_seen.wait(), server_started.wait())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L401	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""first_chunk_seen"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 352, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002157	tests/test_streaming_rollout.py	tests.test_streaming_rollout	401	401	54	73	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	instance_candidate	candidates	wait	inferred_receiver_candidate	server_started.wait	        await asyncio.gather(first_chunk_seen.wait(), server_started.wait())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L401	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""server_started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 354, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002158	tests/test_streaming_rollout.py	tests.test_streaming_rollout	402	402	8	54	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	await	syntax	await	python_ast	await sglang_rollout.abort(args, rollout_id=0)	        await sglang_rollout.abort(args, rollout_id=0)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L402	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002159	tests/test_streaming_rollout.py	tests.test_streaming_rollout	403	403	15	62	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	await	syntax	await	python_ast	await asyncio.gather(request_task, server_task)	        return await asyncio.gather(request_task, server_task)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L403	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002160	tests/test_streaming_rollout.py	tests.test_streaming_rollout	403	403	21	35	test_stream_cancellation_closes_request_and_keeps_prefix.exercise	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        return await asyncio.gather(request_task, server_task)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L403	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002161	tests/test_streaming_rollout.py	tests.test_streaming_rollout	405	405	28	39	test_stream_cancellation_closes_request_and_keeps_prefix	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    result, server_result = asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L405	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002162	tests/test_streaming_rollout.py	tests.test_streaming_rollout	410	410	11	32	test_stream_cancellation_closes_request_and_keeps_prefix	instance_candidate	candidates	is_set	inferred_receiver_candidate	request_closed.is_set	    assert request_closed.is_set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L410	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""request_closed"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 353, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002163	tests/test_streaming_rollout.py	tests.test_streaming_rollout	416	416	22	35	test_unrelated_stream_cancellation_propagates	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	    request_started = asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L416	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002164	tests/test_streaming_rollout.py	tests.test_streaming_rollout	419	422	4	27	test_unrelated_stream_cancellation_propagates	async_generator_def	syntax	lines	python_ast	    async def lines():	    async def lines():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L419-L422	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002165	tests/test_streaming_rollout.py	tests.test_streaming_rollout	420	420	8	27	test_unrelated_stream_cancellation_propagates.lines	instance_candidate	candidates	set	inferred_receiver_candidate	request_started.set	        request_started.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L420	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""request_started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 416, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002166	tests/test_streaming_rollout.py	tests.test_streaming_rollout	421	421	8	36	test_unrelated_stream_cancellation_propagates.lines	await	syntax	await	python_ast	await asyncio.Event().wait()	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L421	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002167	tests/test_streaming_rollout.py	tests.test_streaming_rollout	421	421	14	27	test_unrelated_stream_cancellation_propagates.lines	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L421	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002168	tests/test_streaming_rollout.py	tests.test_streaming_rollout	421	421	14	34	test_unrelated_stream_cancellation_propagates.lines	instance_candidate	candidates	wait	inferred_receiver_candidate	asyncio.Event().wait	        await asyncio.Event().wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L421	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""asyncio.Event()"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 421, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002169	tests/test_streaming_rollout.py	tests.test_streaming_rollout	422	422	8	27	test_unrelated_stream_cancellation_propagates.lines	async_yield	syntax	yield in async generator	python_ast	"yield ""unreachable"""	"        yield ""unreachable"""	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L422	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002170	tests/test_streaming_rollout.py	tests.test_streaming_rollout	427	439	4	22	test_unrelated_stream_cancellation_propagates	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L427-L439	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002171	tests/test_streaming_rollout.py	tests.test_streaming_rollout	428	428	15	34	test_unrelated_stream_cancellation_propagates.exercise	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        task = asyncio.create_task(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L428	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002172	tests/test_streaming_rollout.py	tests.test_streaming_rollout	435	435	8	36	test_unrelated_stream_cancellation_propagates.exercise	await	syntax	await	python_ast	await request_started.wait()	        await request_started.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L435	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002173	tests/test_streaming_rollout.py	tests.test_streaming_rollout	435	435	14	34	test_unrelated_stream_cancellation_propagates.exercise	instance_candidate	candidates	wait	inferred_receiver_candidate	request_started.wait	        await request_started.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L435	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""request_started"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.Event()"", ""line"": 416, ""type"": ""asyncio.Event""}, ""resolved_non_native_name"": null}"
occ-002174	tests/test_streaming_rollout.py	tests.test_streaming_rollout	437	437	8	19	test_unrelated_stream_cancellation_propagates.exercise	instance_candidate	candidates	cancel	inferred_receiver_candidate	task.cancel	        task.cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L437	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""asyncio.create_task(\n            sglang_rollout.generate_and_rm(\n                args,\n                Sample(prompt=\""hello\""),\n                {\""max_new_tokens\"": 8},\n            )\n        )"", ""line"": 428, ""type"": ""asyncio.Task""}, ""resolved_non_native_name"": null}"
occ-002175	tests/test_streaming_rollout.py	tests.test_streaming_rollout	438	438	27	49	test_unrelated_stream_cancellation_propagates.exercise	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	        with pytest.raises(asyncio.CancelledError):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L438	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002176	tests/test_streaming_rollout.py	tests.test_streaming_rollout	439	439	12	22	test_unrelated_stream_cancellation_propagates.exercise	await	syntax	await	python_ast	await task	            await task	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L439	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002177	tests/test_streaming_rollout.py	tests.test_streaming_rollout	441	441	4	15	test_unrelated_stream_cancellation_propagates	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L441	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002178	tests/test_streaming_rollout.py	tests.test_streaming_rollout	466	512	4	45	test_partial_abort_buffers_and_resumes_only_aborted_siblings	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L466-L512	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002179	tests/test_streaming_rollout.py	tests.test_streaming_rollout	472	472	16	35	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise.<comprehension>	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	                asyncio.create_task(asyncio.sleep(0, result=group)) for group in (mixed_group, [terminal], [empty])	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L472	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002180	tests/test_streaming_rollout.py	tests.test_streaming_rollout	472	472	36	49	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise.<comprehension>	api_call	asyncio	asyncio.sleep	lexical_import_resolution	asyncio.sleep	                asyncio.create_task(asyncio.sleep(0, result=group)) for group in (mixed_group, [terminal], [empty])	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L472	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002181	tests/test_streaming_rollout.py	tests.test_streaming_rollout	486	486	26	72	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise	await	syntax	await	python_ast	await sglang_rollout.abort(args, rollout_id=7)	        buffered_groups = await sglang_rollout.abort(args, rollout_id=7)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L486	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002182	tests/test_streaming_rollout.py	tests.test_streaming_rollout	489	498	8	25	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise	async_def	syntax	resume_generate	python_ast	        async def resume_generate(args, sample, sampling_params):	        async def resume_generate(args, sample, sampling_params):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L489-L498	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002183	tests/test_streaming_rollout.py	tests.test_streaming_rollout	500	502	8	22	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise	async_def	syntax	reward	python_ast	        async def reward(_args, sample):	        async def reward(_args, sample):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L500-L502	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002184	tests/test_streaming_rollout.py	tests.test_streaming_rollout	507	507	26	43	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	        state.semaphore = asyncio.Semaphore(2)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L507	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002185	tests/test_streaming_rollout.py	tests.test_streaming_rollout	511	511	24	108	test_partial_abort_buffers_and_resumes_only_aborted_siblings.exercise	await	syntax	await	python_ast	"await sglang_rollout.generate_and_rm_group(args, mixed_group, {""max_new_tokens"": 1})"	"        resumed_group = await sglang_rollout.generate_and_rm_group(args, mixed_group, {""max_new_tokens"": 1})"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L511	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002186	tests/test_streaming_rollout.py	tests.test_streaming_rollout	514	514	37	48	test_partial_abort_buffers_and_resumes_only_aborted_siblings	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    buffered_groups, resumed_group = asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L514	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002187	tests/test_streaming_rollout.py	tests.test_streaming_rollout	533	587	4	49	test_generation_pacing_preserves_concurrency_cancellation_and_reuse	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L533-L587	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002188	tests/test_streaming_rollout.py	tests.test_streaming_rollout	535	535	26	43	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.Semaphore	lexical_import_resolution	asyncio.Semaphore	        state.semaphore = asyncio.Semaphore(128)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L535	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002189	tests/test_streaming_rollout.py	tests.test_streaming_rollout	539	539	43	56	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        first_batch, all_started, finish = asyncio.Event(), asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L539	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002190	tests/test_streaming_rollout.py	tests.test_streaming_rollout	539	539	60	73	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        first_batch, all_started, finish = asyncio.Event(), asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L539	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002191	tests/test_streaming_rollout.py	tests.test_streaming_rollout	539	539	77	90	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        first_batch, all_started, finish = asyncio.Event(), asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L539	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002192	tests/test_streaming_rollout.py	tests.test_streaming_rollout	541	541	15	39	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.get_running_loop	lexical_import_resolution	asyncio.get_running_loop	        loop = asyncio.get_running_loop()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L541	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002193	tests/test_streaming_rollout.py	tests.test_streaming_rollout	550	560	8	25	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	async_def	syntax	generate	python_ast	        async def generate(_args, sample, params, evaluation=False):	        async def generate(_args, sample, params, evaluation=False):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L550-L560	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002194	tests/test_streaming_rollout.py	tests.test_streaming_rollout	555	555	16	31	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.generate	instance_candidate	candidates	set	unresolved_receiver_candidate	first_batch.set	                first_batch.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L555	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""first_batch"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002195	tests/test_streaming_rollout.py	tests.test_streaming_rollout	557	557	16	31	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.generate	instance_candidate	candidates	set	unresolved_receiver_candidate	all_started.set	                all_started.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L557	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""all_started"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002196	tests/test_streaming_rollout.py	tests.test_streaming_rollout	558	558	12	31	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.generate	await	syntax	await	python_ast	await finish.wait()	            await finish.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L558	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002197	tests/test_streaming_rollout.py	tests.test_streaming_rollout	558	558	18	29	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.generate	instance_candidate	candidates	wait	unresolved_receiver_candidate	finish.wait	            await finish.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L558	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""finish"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002198	tests/test_streaming_rollout.py	tests.test_streaming_rollout	568	568	19	38	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.start	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	            return asyncio.create_task(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L568	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002199	tests/test_streaming_rollout.py	tests.test_streaming_rollout	573	573	8	53	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	await	syntax	await	python_ast	await asyncio.wait_for(first_batch.wait(), 1)	        await asyncio.wait_for(first_batch.wait(), 1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L573	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002200	tests/test_streaming_rollout.py	tests.test_streaming_rollout	573	573	14	30	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	        await asyncio.wait_for(first_batch.wait(), 1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L573	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002201	tests/test_streaming_rollout.py	tests.test_streaming_rollout	573	573	31	47	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	instance_candidate	candidates	wait	unresolved_receiver_candidate	first_batch.wait	        await asyncio.wait_for(first_batch.wait(), 1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L573	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""first_batch"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002202	tests/test_streaming_rollout.py	tests.test_streaming_rollout	576	576	23	32	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise.<comprehension>	instance_candidate	candidates	done	unresolved_receiver_candidate	task.done	        assert not any(task.done() for task in tasks)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L576	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""task"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002203	tests/test_streaming_rollout.py	tests.test_streaming_rollout	577	577	8	24	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	instance_candidate	candidates	cancel	unresolved_receiver_candidate	tasks[70].cancel	        tasks[70].cancel()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L577	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""tasks[70]"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002204	tests/test_streaming_rollout.py	tests.test_streaming_rollout	578	578	27	49	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_reference	asyncio	asyncio.CancelledError	lexical_import_resolution	asyncio.CancelledError	        with pytest.raises(asyncio.CancelledError):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L578	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002205	tests/test_streaming_rollout.py	tests.test_streaming_rollout	579	579	12	27	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	await	syntax	await	python_ast	await tasks[70]	            await tasks[70]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L579	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002206	tests/test_streaming_rollout.py	tests.test_streaming_rollout	581	581	8	53	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	await	syntax	await	python_ast	await asyncio.wait_for(all_started.wait(), 1)	        await asyncio.wait_for(all_started.wait(), 1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L581	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002207	tests/test_streaming_rollout.py	tests.test_streaming_rollout	581	581	14	30	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.wait_for	lexical_import_resolution	asyncio.wait_for	        await asyncio.wait_for(all_started.wait(), 1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L581	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002208	tests/test_streaming_rollout.py	tests.test_streaming_rollout	581	581	31	47	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	instance_candidate	candidates	wait	unresolved_receiver_candidate	all_started.wait	        await asyncio.wait_for(all_started.wait(), 1)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L581	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""all_started"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002209	tests/test_streaming_rollout.py	tests.test_streaming_rollout	584	584	8	18	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	instance_candidate	candidates	set	unresolved_receiver_candidate	finish.set	        finish.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L584	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""finish"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002210	tests/test_streaming_rollout.py	tests.test_streaming_rollout	585	585	8	80	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	await	syntax	await	python_ast	await asyncio.gather(*(task for i, task in enumerate(tasks) if i != 70))	        await asyncio.gather(*(task for i, task in enumerate(tasks) if i != 70))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L585	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002211	tests/test_streaming_rollout.py	tests.test_streaming_rollout	585	585	14	28	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	api_call	asyncio	asyncio.gather	lexical_import_resolution	asyncio.gather	        await asyncio.gather(*(task for i, task in enumerate(tasks) if i != 70))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L585	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002212	tests/test_streaming_rollout.py	tests.test_streaming_rollout	586	586	16	32	test_generation_pacing_preserves_concurrency_cancellation_and_reuse.exercise	await	syntax	await	python_ast	await start(128)	        assert (await start(128)).status == Sample.Status.COMPLETED	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L586	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002213	tests/test_streaming_rollout.py	tests.test_streaming_rollout	589	589	4	15	test_generation_pacing_preserves_concurrency_cancellation_and_reuse	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L589	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002214	tests/test_streaming_rollout.py	tests.test_streaming_rollout	593	616	4	51	test_abort_while_waiting_for_generation_pacer_does_not_start_request	async_def	syntax	exercise	python_ast	    async def exercise():	    async def exercise():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L593-L616	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002215	tests/test_streaming_rollout.py	tests.test_streaming_rollout	597	597	26	39	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        queued, release = asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L597	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002216	tests/test_streaming_rollout.py	tests.test_streaming_rollout	597	597	43	56	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	api_call	asyncio	asyncio.Event	lexical_import_resolution	asyncio.Event	        queued, release = asyncio.Event(), asyncio.Event()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L597	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002217	tests/test_streaming_rollout.py	tests.test_streaming_rollout	600	603	8	24	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	async_def	syntax	wait_for_release	python_ast	        async def wait_for_release():	        async def wait_for_release():	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L600-L603	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002218	tests/test_streaming_rollout.py	tests.test_streaming_rollout	601	601	12	22	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise.wait_for_release	instance_candidate	candidates	set	unresolved_receiver_candidate	queued.set	            queued.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L601	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""queued"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002219	tests/test_streaming_rollout.py	tests.test_streaming_rollout	602	602	12	32	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise.wait_for_release	await	syntax	await	python_ast	await release.wait()	            await release.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L602	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002220	tests/test_streaming_rollout.py	tests.test_streaming_rollout	602	602	18	30	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise.wait_for_release	instance_candidate	candidates	wait	unresolved_receiver_candidate	release.wait	            await release.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L602	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002221	tests/test_streaming_rollout.py	tests.test_streaming_rollout	603	603	12	24	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise.wait_for_release	await	syntax	await	python_ast	await wait()	            await wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L603	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002222	tests/test_streaming_rollout.py	tests.test_streaming_rollout	605	606	8	86	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	async_def	syntax	unexpected_generate	python_ast	        async def unexpected_generate(*args, **kwargs):	        async def unexpected_generate(*args, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L605-L606	source_snapshot/tests/test_streaming_rollout.py.txt	"{""async_protocol"": false}"
occ-002223	tests/test_streaming_rollout.py	tests.test_streaming_rollout	611	611	15	34	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	api_call	asyncio	asyncio.create_task	lexical_import_resolution	asyncio.create_task	        task = asyncio.create_task(sglang_rollout.generate_and_rm(args, Sample(), {}))	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L611	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002224	tests/test_streaming_rollout.py	tests.test_streaming_rollout	612	612	8	27	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	await	syntax	await	python_ast	await queued.wait()	        await queued.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L612	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002225	tests/test_streaming_rollout.py	tests.test_streaming_rollout	612	612	14	25	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	instance_candidate	candidates	wait	unresolved_receiver_candidate	queued.wait	        await queued.wait()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L612	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""queued"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002226	tests/test_streaming_rollout.py	tests.test_streaming_rollout	614	614	8	19	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	instance_candidate	candidates	set	unresolved_receiver_candidate	release.set	        release.set()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L614	source_snapshot/tests/test_streaming_rollout.py.txt	"{""receiver"": ""release"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002227	tests/test_streaming_rollout.py	tests.test_streaming_rollout	615	615	16	26	test_abort_while_waiting_for_generation_pacer_does_not_start_request.exercise	await	syntax	await	python_ast	await task	        assert (await task).status == Sample.Status.ABORTED	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L615	source_snapshot/tests/test_streaming_rollout.py.txt	{}
occ-002228	tests/test_streaming_rollout.py	tests.test_streaming_rollout	618	618	4	15	test_abort_while_waiting_for_generation_pacer_does_not_start_request	api_call	asyncio	asyncio.run	lexical_import_resolution	asyncio.run	    asyncio.run(exercise())	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_streaming_rollout.py#L618	source_snapshot/tests/test_streaming_rollout.py.txt	"{""access"": ""load""}"
occ-002229	tests/test_training_recovery.py	tests.test_training_recovery	291	291	11	21	test_recovery_e2e_contacts_dashboard_without_proxy	import	subprocess	subprocess	explicit_import	import subprocess	    import subprocess	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L291	source_snapshot/tests/test_training_recovery.py.txt	"{""local_binding"": ""subprocess"", ""selective_module_import"": false, ""statement_line"": 291}"
occ-002230	tests/test_training_recovery.py	tests.test_training_recovery	292	292	11	20	test_recovery_e2e_contacts_dashboard_without_proxy	import	threading	threading	explicit_import	import threading	    import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L292	source_snapshot/tests/test_training_recovery.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 292}"
occ-002231	tests/test_training_recovery.py	tests.test_training_recovery	310	310	12	28	test_recovery_e2e_contacts_dashboard_without_proxy.Dashboard.do_GET	instance_candidate	candidates	write	unresolved_receiver_candidate	self.wfile.write	            self.wfile.write(body)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L310	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""self.wfile"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002232	tests/test_training_recovery.py	tests.test_training_recovery	326	326	24	34	test_recovery_e2e_contacts_dashboard_without_proxy	api_reference	subprocess	subprocess	lexical_import_resolution	subprocess	"    monkeypatch.setattr(subprocess, ""run"", lambda *a, **kw: started.append(dict(os.environ)))"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L326	source_snapshot/tests/test_training_recovery.py.txt	"{""access"": ""load""}"
occ-002233	tests/test_training_recovery.py	tests.test_training_recovery	339	339	17	33	test_recovery_e2e_contacts_dashboard_without_proxy	api_call	threading	threading.Thread	lexical_import_resolution	threading.Thread	        thread = threading.Thread(target=server.serve_forever, daemon=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L339	source_snapshot/tests/test_training_recovery.py.txt	"{""access"": ""load""}"
occ-002234	tests/test_training_recovery.py	tests.test_training_recovery	340	340	8	20	test_recovery_e2e_contacts_dashboard_without_proxy	instance_candidate	candidates	start	inferred_receiver_candidate	thread.start	        thread.start()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L340	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=server.serve_forever, daemon=True)"", ""line"": 339, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-002235	tests/test_training_recovery.py	tests.test_training_recovery	345	345	12	27	test_recovery_e2e_contacts_dashboard_without_proxy	instance_candidate	candidates	shutdown	unresolved_receiver_candidate	server.shutdown	            server.shutdown()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L345	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""server"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002236	tests/test_training_recovery.py	tests.test_training_recovery	346	346	12	23	test_recovery_e2e_contacts_dashboard_without_proxy	instance_candidate	candidates	join	inferred_receiver_candidate	thread.join	            thread.join(timeout=5)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L346	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""thread"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""threading.Thread(target=server.serve_forever, daemon=True)"", ""line"": 339, ""type"": ""threading.Thread""}, ""resolved_non_native_name"": null}"
occ-002237	tests/test_training_recovery.py	tests.test_training_recovery	349	349	19	26	test_recovery_e2e_contacts_dashboard_without_proxy.<comprehension>	instance_candidate	candidates	get	unresolved_receiver_candidate	env.get	    assert all(not env.get(name) for env in started for name in proxies)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L349	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""env"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002238	tests/test_training_recovery.py	tests.test_training_recovery	513	513	4	23	test_source_snapshot_restores_cursor_and_buffer	instance_candidate	candidates	clear	unresolved_receiver_candidate	source.buffer.clear	    source.buffer.clear()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L513	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""source.buffer"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002239	tests/test_training_recovery.py	tests.test_training_recovery	648	648	4	17	test_failed_attempt_releases_trainers_despite_manager_failure	instance_candidate	candidates	close	unresolved_receiver_candidate	startup.close	    startup.close(failed=True)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L648	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""startup"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002240	tests/test_training_recovery.py	tests.test_training_recovery	673	673	8	21	test_successful_attempt_cleans_both_owners_after_dispose_error	instance_candidate	candidates	close	unresolved_receiver_candidate	startup.close	        startup.close(failed=False)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L673	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""startup"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002241	tests/test_training_recovery.py	tests.test_training_recovery	715	715	15	27	test_training_resume_keeps_checkpoint_and_attempt_configuration_separate	instance_candidate	candidates	apply	unresolved_receiver_candidate	resume.apply	    resolved = resume.apply(args)	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/test_training_recovery.py#L715	source_snapshot/tests/test_training_recovery.py.txt	"{""receiver"": ""resume"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002242	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	5	5	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L5	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 5}"
occ-002243	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	15	16	0	58	<module>	async_def	syntax	reward	python_ast	async def reward(args, sample, **kwargs):	async def reward(args, sample, **kwargs):	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L15-L16	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""async_protocol"": false}"
occ-002244	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	20	20	25	34	_engine_identity	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"    return {""actor_pid"": os.getpid(), ""server_pid"": engine.process.pid, ""url"": engine.get_url()}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L20	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""access"": ""load""}"
occ-002245	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	24	24	27	36	_serving_identity	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"    return {""serving_pid"": os.getpid(), ""router_pids"": [process.pid for process in serving.router_processes]}"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L24	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""access"": ""load""}"
occ-002246	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	38	38	18	26	_session_snapshot	instance_candidate	candidates	get	unresolved_receiver_candidate	data.get	"    for routes in data.get(""rollout_routed_experts"", []):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L38	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""receiver"": ""data"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002247	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	47	47	23	32	_session_snapshot	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"        ""manager_pid"": os.getpid(),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L47	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""access"": ""load""}"
occ-002248	tests/training_recovery_test_helpers.py	tests.training_recovery_test_helpers	78	78	19	28	before_train_step	api_call	os-process	os.getpid	lexical_import_resolution	os.getpid	"            ""pid"": os.getpid(),"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tests/training_recovery_test_helpers.py#L78	source_snapshot/tests/training_recovery_test_helpers.py.txt	"{""access"": ""load""}"
occ-002249	tools/convert_hf_to_fp8.py	tools.convert_hf_to_fp8	22	22	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_fp8.py#L22	source_snapshot/tools/convert_hf_to_fp8.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 22}"
occ-002250	tools/convert_hf_to_fp8.py	tools.convert_hf_to_fp8	23	23	31	49	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import ThreadPoolExecutor	from concurrent.futures import ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_fp8.py#L23	source_snapshot/tools/convert_hf_to_fp8.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 23}"
occ-002251	tools/convert_hf_to_fp8.py	tools.convert_hf_to_fp8	105	105	20	34	ConversionResult.__init__	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	        self.lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_fp8.py#L105	source_snapshot/tools/convert_hf_to_fp8.py.txt	"{""access"": ""load""}"
occ-002252	tools/convert_hf_to_fp8.py	tools.convert_hf_to_fp8	178	178	9	27	convert_fp8	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(max_workers=max_workers) as executor:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_fp8.py#L178	source_snapshot/tools/convert_hf_to_fp8.py.txt	"{""access"": ""load""}"
occ-002253	tools/convert_hf_to_fp8.py	tools.convert_hf_to_fp8	181	181	21	36	convert_fp8	instance_candidate	candidates	submit	inferred_receiver_candidate	executor.submit	            future = executor.submit(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_fp8.py#L181	source_snapshot/tools/convert_hf_to_fp8.py.txt	"{""receiver"": ""executor"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=max_workers)"", ""line"": 178, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-002254	tools/convert_hf_to_fp8.py	tools.convert_hf_to_fp8	187	187	12	25	convert_fp8	instance_candidate	candidates	result	inferred_receiver_candidate	future.result	            future.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_fp8.py#L187	source_snapshot/tools/convert_hf_to_fp8.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""executor.submit(\n                process_file, input_path, output_path, filename, strategy, block_size, result_collector\n            )"", ""line"": 181, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-002255	tools/convert_hf_to_int4_direct.py	tools.convert_hf_to_int4_direct	16	16	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_int4_direct.py#L16	source_snapshot/tools/convert_hf_to_int4_direct.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 16}"
occ-002256	tools/convert_hf_to_int4_direct.py	tools.convert_hf_to_int4_direct	17	17	31	49	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import ThreadPoolExecutor	from concurrent.futures import ThreadPoolExecutor	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_int4_direct.py#L17	source_snapshot/tools/convert_hf_to_int4_direct.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 17}"
occ-002257	tools/convert_hf_to_int4_direct.py	tools.convert_hf_to_int4_direct	158	158	20	34	ConversionResult.__init__	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	        self.lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_int4_direct.py#L158	source_snapshot/tools/convert_hf_to_int4_direct.py.txt	"{""access"": ""load""}"
occ-002258	tools/convert_hf_to_int4_direct.py	tools.convert_hf_to_int4_direct	224	224	9	27	convert_int4	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(max_workers=max_workers) as executor:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_int4_direct.py#L224	source_snapshot/tools/convert_hf_to_int4_direct.py.txt	"{""access"": ""load""}"
occ-002259	tools/convert_hf_to_int4_direct.py	tools.convert_hf_to_int4_direct	227	227	21	36	convert_int4	instance_candidate	candidates	submit	inferred_receiver_candidate	executor.submit	            future = executor.submit(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_int4_direct.py#L227	source_snapshot/tools/convert_hf_to_int4_direct.py.txt	"{""receiver"": ""executor"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=max_workers)"", ""line"": 224, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-002260	tools/convert_hf_to_int4_direct.py	tools.convert_hf_to_int4_direct	240	240	12	25	convert_int4	instance_candidate	candidates	result	inferred_receiver_candidate	future.result	            future.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_hf_to_int4_direct.py#L240	source_snapshot/tools/convert_hf_to_int4_direct.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""executor.submit(\n                process_file,\n                input_path,\n                output_path,\n                filename,\n                group_size,\n                is_symmetric,\n                ignore_rules,\n                result_collector,\n            )"", ""line"": 227, ""type"": ""concurrent.futures.Future""}, ""resolved_non_native_name"": null}"
occ-002261	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	3	3	7	22	<module>	import	multiprocessing	multiprocessing	explicit_import	import multiprocessing	import multiprocessing	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L3	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""local_binding"": ""multiprocessing"", ""selective_module_import"": false, ""statement_line"": 3}"
occ-002262	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	8	8	7	16	<module>	import	threading	threading	explicit_import	import threading	import threading	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L8	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""local_binding"": ""threading"", ""selective_module_import"": false, ""statement_line"": 8}"
occ-002263	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	10	10	31	49	<module>	import	executors	concurrent.futures.ThreadPoolExecutor	explicit_import	from concurrent.futures import ThreadPoolExecutor, as_completed	from concurrent.futures import ThreadPoolExecutor, as_completed	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L10	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""local_binding"": ""ThreadPoolExecutor"", ""selective_module_import"": false, ""statement_line"": 10}"
occ-002264	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	10	10	51	63	<module>	import	executors	concurrent.futures.as_completed	explicit_import	from concurrent.futures import ThreadPoolExecutor, as_completed	from concurrent.futures import ThreadPoolExecutor, as_completed	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L10	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""local_binding"": ""as_completed"", ""selective_module_import"": false, ""statement_line"": 10}"
occ-002265	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	43	43	27	41	WrappedStorageReader.__init__	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	        self._cache_lock = threading.Lock() if max_workers and max_workers > 1 else None	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L43	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002266	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	137	137	31	42	WrappedStorageReader._parallel_preload_files.read_file	instance_candidate	candidates	read	unresolved_receiver_candidate	stream.read	                        data = stream.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L137	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""stream"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002267	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	140	140	31	42	WrappedStorageReader._parallel_preload_files.read_file	instance_candidate	candidates	read	unresolved_receiver_candidate	stream.read	                        data = stream.read()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L140	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""stream"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002268	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	147	147	13	31	WrappedStorageReader._parallel_preload_files	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	        with ThreadPoolExecutor(max_workers=self.max_workers) as executor:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L147	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002269	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	149	149	16	31	WrappedStorageReader._parallel_preload_files.<comprehension>	instance_candidate	candidates	submit	inferred_receiver_candidate	executor.submit	                executor.submit(read_file, rel_path, full_path, ops): rel_path	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L149	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""executor"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=self.max_workers)"", ""line"": 147, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-002270	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	154	154	31	43	WrappedStorageReader._parallel_preload_files	api_call	executors	concurrent.futures.as_completed	lexical_import_resolution	as_completed	"            for future in tqdm(as_completed(futures), total=len(futures), desc=""Pre-loading files""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L154	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002271	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	155	155	25	38	WrappedStorageReader._parallel_preload_files	instance_candidate	candidates	result	unresolved_receiver_candidate	future.result	                result = future.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L155	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002272	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	284	284	11	25	save_tensors	api_call	threading	threading.Lock	lexical_import_resolution	threading.Lock	    lock = threading.Lock()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L284	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002273	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	296	296	9	27	save_tensors	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(max_workers=max_workers) as executor:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L296	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002274	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	297	297	19	34	save_tensors.<comprehension>	instance_candidate	candidates	submit	inferred_receiver_candidate	executor.submit	        futures = {executor.submit(process_and_collect, (name, param)): name for name, param in param_list}	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L297	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""executor"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=max_workers)"", ""line"": 296, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-002275	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	298	298	27	39	save_tensors	api_call	executors	concurrent.futures.as_completed	lexical_import_resolution	as_completed	"        for future in tqdm(as_completed(futures), total=len(futures), desc=""Converting parameters""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L298	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002276	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	299	299	24	37	save_tensors	instance_candidate	candidates	result	unresolved_receiver_candidate	future.result	            converted = future.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L299	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002277	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	336	336	9	27	save_tensors	api_call	executors	concurrent.futures.ThreadPoolExecutor	lexical_import_resolution	ThreadPoolExecutor	    with ThreadPoolExecutor(max_workers=min(max_workers, num_files)) as executor:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L336	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002278	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	337	337	19	34	save_tensors.<comprehension>	instance_candidate	candidates	submit	inferred_receiver_candidate	executor.submit	        futures = [executor.submit(save_file, i, tensors) for i, tensors in enumerate(modeltensors)]	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L337	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""executor"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""ThreadPoolExecutor(max_workers=min(max_workers, num_files))"", ""line"": 336, ""type"": ""concurrent.futures.ThreadPoolExecutor""}, ""resolved_non_native_name"": null}"
occ-002279	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	338	338	27	39	save_tensors	api_call	executors	concurrent.futures.as_completed	lexical_import_resolution	as_completed	"        for future in tqdm(as_completed(futures), total=len(futures), desc=""Saving files""):"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L338	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002280	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	339	339	32	45	save_tensors	instance_candidate	candidates	result	unresolved_receiver_candidate	future.result	            filename, elapsed = future.result()	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L339	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""future"", ""receiver_evidence"": null, ""resolved_non_native_name"": null}"
occ-002281	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	511	511	10	37	<module>	api_call	multiprocessing	multiprocessing.get_context	lexical_import_resolution	multiprocessing.get_context	"    ctx = multiprocessing.get_context(""spawn"")"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L511	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""access"": ""load""}"
occ-002282	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	512	512	9	17	<module>	instance_candidate	candidates	Pool	inferred_receiver_candidate	ctx.Pool	    with ctx.Pool(num_workers) as pool:	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L512	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""ctx"", ""receiver_evidence"": {""evidence"": ""constructor_or_known_factory"", ""expression"": ""multiprocessing.get_context(\""spawn\"")"", ""line"": 511, ""type"": ""multiprocessing.context.BaseContext""}, ""resolved_non_native_name"": null}"
occ-002283	tools/convert_torch_dist_to_hf_parallel.py	tools.convert_torch_dist_to_hf_parallel	513	513	18	30	<module>	instance_candidate	candidates	starmap	inferred_receiver_candidate	pool.starmap	        results = pool.starmap(	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/convert_torch_dist_to_hf_parallel.py#L513	source_snapshot/tools/convert_torch_dist_to_hf_parallel.py.txt	"{""receiver"": ""pool"", ""receiver_evidence"": {""evidence"": ""known_factory_on_inferred_receiver"", ""expression"": ""ctx.Pool(num_workers)"", ""line"": 512, ""type"": ""multiprocessing.Pool""}, ""resolved_non_native_name"": null}"
occ-002284	tools/fp8_cast_bf16.py	tools.fp8_cast_bf16	3	3	7	9	<module>	import	os-process	os	explicit_import	import os	import os	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/fp8_cast_bf16.py#L3	source_snapshot/tools/fp8_cast_bf16.py.txt	"{""local_binding"": ""os"", ""selective_module_import"": true, ""statement_line"": 3}"
occ-002285	tools/fp8_cast_bf16.py	tools.fp8_cast_bf16	47	47	4	13	main	api_call	os-process	os.system	lexical_import_resolution	os.system	"    os.system(""cp -rf "" + fp8_path + ""/config.json "" + bf16_path)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/fp8_cast_bf16.py#L47	source_snapshot/tools/fp8_cast_bf16.py.txt	"{""access"": ""load""}"
occ-002286	tools/fp8_cast_bf16.py	tools.fp8_cast_bf16	48	48	4	13	main	api_call	os-process	os.system	lexical_import_resolution	os.system	"    os.system(""cp -rf "" + fp8_path + ""/*.py "" + bf16_path)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/fp8_cast_bf16.py#L48	source_snapshot/tools/fp8_cast_bf16.py.txt	"{""access"": ""load""}"
occ-002287	tools/fp8_cast_bf16.py	tools.fp8_cast_bf16	49	49	4	13	main	api_call	os-process	os.system	lexical_import_resolution	os.system	"    os.system(""cp -rf "" + fp8_path + ""/tokenizer* "" + bf16_path)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/fp8_cast_bf16.py#L49	source_snapshot/tools/fp8_cast_bf16.py.txt	"{""access"": ""load""}"
occ-002288	tools/fp8_cast_bf16.py	tools.fp8_cast_bf16	50	50	4	13	main	api_call	os-process	os.system	lexical_import_resolution	os.system	"    os.system(""cp -rf "" + fp8_path + ""/chat_template* "" + bf16_path)"	https://github.com/THUDM/slime/blob/2f2318653f6f794dddd321eff7c9d4b7b174643f/tools/fp8_cast_bf16.py#L50	source_snapshot/tools/fp8_cast_bf16.py.txt	"{""access"": ""load""}"
