SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.18556 · ICML · 2024

Position: Reinforcement Learning in Dynamic Treatment Regimes Needs Critical Reassessment

Yangchen Pan, Tingting Zhu, Peter Watkinson, Zhiyao Luo

arXiv · PDF · Open in the Atlas

Code that ran

8 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 4 failures 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/2405.18556.json · badge: /api/ran/2405.18556.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.

RepositoryRoleRan
GilesLuo/ReassessDTR canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
get_APACHE2_score Ran
ran; our contract draft was wrong, not the code
GilesLuo/ReassessDTR/DTRGym/icu_scoring.py
pointer only (licence: NONE) · get_code("7e6f27066c11765f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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_NEWS2_score Ran
ran, honoured the contract we drafted
GilesLuo/ReassessDTR/DTRGym/icu_scoring.py
pointer only (licence: NONE) · get_code("1346e0d1af9abcc9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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_common_hparams Ran
ran; our contract draft was wrong, not the code
GilesLuo/ReassessDTR/HD4RL/core/base_hparams.py
pointer only (licence: NONE) · get_code("130230aa11c3c8cb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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_neighbors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GilesLuo/ReassessDTR/DTRGym/utils.py
pointer only (licence: NONE) · get_code("687d05a4f65717ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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_neighbors_indices Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GilesLuo/ReassessDTR/DTRGym/utils.py
pointer only (licence: NONE) · get_code("d3d182a5017557ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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.

in_range Ran
ran, violated the contract we drafted
GilesLuo/ReassessDTR/DTRGym/icu_scoring.py
pointer only (licence: NONE) · get_code("b42cab51e3e9b012")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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.

is_square_number Ran
ran, violated the contract we drafted
GilesLuo/ReassessDTR/DTRGym/utils.py
pointer only (licence: NONE) · get_code("a995b9f7d9efe810")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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.

uniform_random Ran
ran, honoured the contract we drafted
GilesLuo/ReassessDTR/DTRGym/base.py
pointer only (licence: NONE) · get_code("32cdbcca857a4d35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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.

policy_load Not yet run
unverified (harvested, no recorded run)
GilesLuo/ReassessDTR/HD4RL/core/helper_fn.py
pointer only (licence: NONE) · get_code("92c21a9c487dd853")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GilesLuo/ReassessDTR 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.

Also present in other papers' code

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, 0 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 9 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.

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.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In the rapidly changing healthcare landscape, the implementation of offline reinforcement learning (RL) in dynamic treatment regimes (DTRs) presents a mix of unprecedented opportunities and challenges. This position paper offers a critical examination of the current status of offline RL in the context of DTRs. We argue for a reassessment of applying RL in DTRs, citing concerns such as inconsistent and potentially inconclusive evaluation metrics, the absence of naive and supervised learning baselines, and the diverse choice of RL formulation in existing research. Through a case study with more than 17,000 evaluation experiments using a publicly available Sepsis dataset, we demonstrate that the performance of RL algorithms can significantly vary with changes in evaluation metrics and Markov Decision Process (MDP) formulations. Surprisingly, it is observed that in some instances, RL algorithms can be surpassed by random baselines subjected to policy evaluation methods and reward design. This calls for more careful policy evaluation and algorithm development in future DTR works. Additionally, we discussed potential enhancements toward more reliable development of RL-based dynamic treatment regimes and invited further discussion within the community. Code is available at https://github.com/GilesLuo/ReassessDTR.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.18556")
get_code_for_paper("2405.18556")
have("2405.18556")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.18556.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.18556.svg)](https://syntology.ai/paper/2405.18556)

Connect an agent — have() is free.