Zhaoran Wang, Hongyi Guo, Shenao Zhang, Hao Hu, Boyi Liu, Zhihan Liu, Shuqi Ke
2 of 3 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 1 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/2309.17382.json · badge: /api/ran/2309.17382.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 |
|---|---|---|
| agentification/RAFA_code | canonical (classifier label) classifier basis: classifier_2025 |
2 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| MCTS | Ran ran on a synthesized input · constructed an object; no result was computed |
agentification/RAFA_code/BlocksWorld/src/rafa/mcts_agent.py pointer only (licence: NONE) · get_code("31358b2342ed1715") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, agentification/RAFA_code 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. |
| validate_plan | Ran ran; our contract draft was wrong, not the code |
agentification/RAFA_code/BlocksWorld/run_rafa_mcts.py pointer only (licence: NONE) · get_code("3b0f02720507f2f8") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, agentification/RAFA_code 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. |
| ReasoningMCTSNode | Not yet run unverified (harvested, no recorded run) |
agentification/RAFA_code/BlocksWorld/src/rafa/mcts_agent.py pointer only (licence: NONE) · get_code("9c1149cf775b62f6") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, agentification/RAFA_code 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. No invocation recorded. |
Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 2 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 |
|---|---|---|---|
| validate_plan | 1 other paper 1 later |
2402.16181 (2024-02) How Can LLM Guide RL? A Value-Based Approach |
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.
Large language models (LLMs) demonstrate impressive reasoning abilities, but translating reasoning into actions in the real world remains challenging. In particular, it is unclear how to complete a given task provably within a minimum number of interactions with the external environment, e.g., through an internal mechanism of reasoning. To this end, we propose the first framework with provable regret guarantees to orchestrate reasoning and acting, which we call "reason for future, act for now" (RAFA). Specifically, we design a prompt template for reasoning that learns from the memory buffer and plans a future trajectory over a long horizon ("reason for future"). At each step, the LLM agent takes the initial action of the planned trajectory ("act for now"), stores the collected feedback in the memory buffer, and reinvokes the reasoning routine to replan the future trajectory from the new state. The key idea is to cast reasoning in LLMs as learning and planning in Bayesian adaptive Markov decision processes (MDPs). Correspondingly, we prompt LLMs with the memory buffer to estimate the unknown environment (learning) and generate an optimal trajectory for multiple future steps that maximize a value function (planning). The learning and planning subroutines are performed in an "incontext" manner to emulate the actor-critic update for MDPs. Our theoretical analysis establishes a √ T regret, while our experimental validation demonstrates superior empirical performance. Here, T denotes the number of online interactions. Project page: https://agentification.github.io/RAFA.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2309.17382")
get_code_for_paper("2309.17382")
have("2309.17382")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2309.17382.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2309.17382)
Connect an agent — have() is free.