Ziniu Li, Ruoyu Sun, Zhi-Quan Luo, Ge Zhang, Wenhao Huang, Tian Ding, Congliang Chen, Tianyun Yang
9 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; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 7 failures of our instrument; 0 no recorded run), measured 2026-11-24; 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/openreview_v70fTOqer2.json · badge: /api/ran/openreview_v70fTOqer2.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 |
|---|---|---|
| liziniu/KnapsackRL | canonical (classifier label) classifier basis: census |
9 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| compute_ce_dpo_loss_rm | Ran ran; our contract draft was wrong, not the code |
liziniu/KnapsackRL/recipe/prime/prime_core_algos.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f220595adfc5e83c") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| compute_detach_dpo_loss_rm | Ran ran; our contract draft was wrong, not the code |
liziniu/KnapsackRL/recipe/prime/prime_core_algos.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("4d91e4383716e42c") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| compute_online_dpo_loss | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
liziniu/KnapsackRL/recipe/spin/core_algos.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f19825983a523003") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| compute_onlinedpo_pref | Ran ran; our contract draft was wrong, not the code |
liziniu/KnapsackRL/recipe/spin/core_algos.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("41b6e81dc3ecba79") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| find_available_ports | Ran ran on a synthesized input |
liziniu/KnapsackRL/rllm/utils.py code served (permissive licence) · get_code("151c4e0f70dc5941") 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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| generate_config_from_args | Ran ran; our contract draft was wrong, not the code |
liziniu/KnapsackRL/verl/model_merger/base_model_merger.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("8896f4e2bafe8abc") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_dynamic_pipeline_shards | Ran ran, honoured the contract we drafted |
liziniu/KnapsackRL/verl/model_merger/megatron_model_merger.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("94209884dcb2308e") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_kl_controller | Ran ran; our contract draft was wrong, not the code |
liziniu/KnapsackRL/recipe/spin/core_algos.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("757d109d90121142") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| reward_func | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
liziniu/KnapsackRL/recipe/r1/reward_score.py code served (permissive licence) · get_code("c30b2a96103abd2c") 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 MagicMock. 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.
|
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 (0 with at least one paper dated earlier, 0 the same month, 0 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 |
|---|---|---|---|
| generate_config_from_args | 57 other papers 55 same year, order not determinable, 2 undated |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training |
2509.25787 (2025-09) Self-Evolving Vision-Language Models for Image Quality Assessment via Voting and Ranking 2510.08630 (2025-10) ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection and 54 more not named here |
| get_dynamic_pipeline_shards | 52 other papers 51 same year, order not determinable, 1 undated |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training |
2509.25787 (2025-09) Self-Evolving Vision-Language Models for Image Quality Assessment via Voting and Ranking 2510.08630 (2025-10) ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection and 49 more not named here |
| compute_ce_dpo_loss_rm | 46 other papers 44 same year, order not determinable, 2 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training 2504.16084 (2025-04) TTRL: Test-Time Reinforcement Learning and 43 more not named here |
| compute_detach_dpo_loss_rm | 44 other papers 42 same year, order not determinable, 2 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training 2504.16084 (2025-04) TTRL: Test-Time Reinforcement Learning and 41 more not named here |
| compute_online_dpo_loss | 38 other papers 36 same year, order not determinable, 2 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training 2504.16084 (2025-04) TTRL: Test-Time Reinforcement Learning and 35 more not named here |
| get_kl_controller | 38 other papers 36 same year, order not determinable, 2 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training 2504.16084 (2025-04) TTRL: Test-Time Reinforcement Learning and 35 more not named here |
| compute_onlinedpo_pref | 30 other papers 28 same year, order not determinable, 2 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.02992 (2024-10) Learning to Better Search with Language Models via Guided Reinforced Self-Training 2504.16084 (2025-04) TTRL: Test-Time Reinforcement Learning and 27 more not named here |
| reward_func | 28 other papers 27 same year, order not determinable, 1 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2504.16084 (2025-04) TTRL: Test-Time Reinforcement Learning 2505.14362 (2025-05) DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning and 25 more not named here |
| find_available_ports | 1 other paper 1 same year, order not determinable |
2505.05315 (2025-05) Scalable Chain of Thoughts via Elastic Reasoning |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Reinforcement learning (RL) fine-tuning of Large Language Models (LLMs) is compute-intensive because each prompt requires generating multiple responses, or rollouts. To make the best use of GPU resources, the key question is how to allocate rollout-generation jobs across prompts. Existing methods typically use uniform allocation, assigning every prompt the same rollout budget. This is inefficient and ineffective: easy prompts are oversampled after they are already solved, while hard prompts receive too little exploration. In policy optimization methods such as Group Relative Policy Optimization (GRPO), both cases often yield near-zero gradients and limited learning progress. We address this problem by formulating rollout allocation as a computeconstrained resource allocation task, where each prompt-budget choice has an expected learning value and rollout cost. Based on this view, we propose Knapsack RL, a practical framework that uses knapsack optimization to assign heterogeneous, task-specific rollout budgets. It directs exploration toward prompts that benefit most from additional sampling. Applied to GRPO, Knapsack RL increases the effective-gradient ratio by up to 40%, enables larger budgets for challenging prompts, and improves mathematical reasoning by 2-4 points on average, with peak gains of up to 9 points. Achieving similar performance with uniform allocation requires about 2× more compute, demonstrating a simple and practical path toward scaling RL fine-tuning for LLMs.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("openreview_v70fTOqer2")
get_code_for_paper("openreview_v70fTOqer2")
have("openreview_v70fTOqer2")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/openreview_v70fTOqer2.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/openreview_v70fTOqer2)
Connect an agent — have() is free.