Shuang Qiu, Jie Liu, Yiran Guo, Lijie Xu, Dan Ye
7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.23564.json · badge: /api/ran/2505.23564.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| AIFrameResearch/SPO | canonical (classifier label) classifier basis not recorded on the link |
7 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| SavedText | Ran ran; our contract draft was wrong, not the code |
AIFrameResearch/SPO/src/guidance/_grammar.py code served (permissive licence) · get_code("358e91bb94af0ba2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Located. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| add_spaces | Ran ran; our contract draft was wrong, not the code |
AIFrameResearch/SPO/src/guidance/_program.py code served (permissive licence) · get_code("0751f6d65e347f7d") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| assistant | Ran ran on a synthesized input |
AIFrameResearch/SPO/src/guidance/library/_assistant.py code served (permissive licence) · get_code("f0a41b57b2a4951a") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned coroutine. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| await_ | Ran ran on a synthesized input |
AIFrameResearch/SPO/src/guidance/library/_await.py code served (permissive licence) · get_code("5e6a8e3edae86812") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned coroutine. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| callable | Ran ran, violated the contract we drafted |
AIFrameResearch/SPO/src/guidance/library/_callable.py code served (permissive licence) · get_code("94e304b04bca6113") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| find_func_name | Ran ran; our contract draft was wrong, not the code |
AIFrameResearch/SPO/src/guidance/_utils.py code served (permissive licence) · get_code("12a84ce5d8467107") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| load | Ran ran; our contract draft was wrong, not the code |
AIFrameResearch/SPO/src/guidance/_utils.py code served (permissive licence) · get_code("41a6139f3b69cb44") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| chain | Not yet run unverified (harvested, no recorded run) |
AIFrameResearch/SPO/src/guidance/_utils.py code served (permissive licence) · get_code("07024abd2b391cdf") How it ranno invocation recorded. |
| get_logger | Not yet run unverified (harvested, no recorded run) |
AIFrameResearch/SPO/src/treetune/logging_utils.py code served (permissive licence) · get_code("e635b6a7bc9b6a4f") How it ranno invocation recorded. |
Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 1 the same month, 1 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| get_logger | 12 other papers 6 dated earlier, 3 the same month, 3 later |
2004.10964 (2020-04) Don't Stop Pretraining: Adapt Language Models to Domains and Tasks |
2305.01938 (2023-05) Doc2SoarGraph: Discrete Reasoning over Visually-Rich Table-Text Documents via Semantic-Oriented Hierarchical Graphs 2406.05478 (2024-06) Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis and 9 more not named here |
| SavedText | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| add_spaces | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| assistant | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| await_ | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| callable | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| chain | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| find_func_name | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
|
| load | 1 other paper 1 dated earlier |
2410.01679 (2024-10) VinePPO: Refining Credit Assignment in RL Training of LLMs |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Enhancing the reasoning capabilities of large language models effectively using reinforcement learning (RL) remains a crucial challenge. Existing approaches primarily adopt two contrasting advantage estimation granularities: token-level methods (e.g., PPO) aim to provide fine-grained advantage signals but suffer from inaccurate estimation due to difficulties in training an accurate critic model. On the other extreme, trajectory-level methods (e.g., GRPO) solely rely on a coarse-grained advantage signal from the final reward, leading to imprecise credit assignment. To address these limitations, we propose Segment Policy Optimization (SPO), a novel RL framework that leverages segment-level advantage estimation at an intermediate granularity, achieving a better balance by offering more precise credit assignment than trajectory-level methods and requiring fewer estimation points than token-level methods, enabling accurate advantage estimation based on Monte Carlo (MC) without a critic model. SPO features three components with novel strategies: (1) flexible segment partition; (2) accurate segment advantage estimation; and (3) policy optimization using segment advantages, including a novel probability-mask strategy. We further instantiate SPO for two specific scenarios: (1) SPO-chain for short chain-of-thought (CoT), featuring novel cutpoint-based partition and chain-based advantage estimation, achieving 6-12 percentage point improvements in accuracy over PPO and GRPO on GSM8K. (2) SPO-tree for long CoT, featuring novel tree-based advantage estimation, which significantly reduces the cost of MC estimation, achieving 7-11 percentage point improvements over GRPO on MATH500 under 2K and 4K context evaluation. We make our code publicly available at https://github.com/AIFrameResearch/SPO.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2505.23564")
get_code_for_paper("2505.23564")
have("2505.23564")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2505.23564.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2505.23564)
Connect an agent — have() is free.