SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.20832 · 2026

ReLaTS: a Reinforcement Learning-based method for dynamically determining the coupling Time Step in multi-scale simulations of self-gravitating systems

Simon Portegies Zwart, Veronica Saz Ulibarrena

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-23; 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/2606.20832.json · badge: /api/ran/2606.20832.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
veronicasaz/RL_bridgedCluster community
Papers with Code archive
4 ran · 2 no recorded run
FunctionStatusWhere it lives
DQN Ran
ran on a synthesized input
veronicasaz/RL_bridgedCluster/TrainRL.py
pointer only (licence: NONE) · get_code("a2ba14c94d554b58")
How it ran

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

optimize_model Ran
ran, honoured the contract we drafted
veronicasaz/RL_bridgedCluster/TrainRL.py
pointer only (licence: NONE) · get_code("3d307ddf22fb0859")
How it ran

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

select_action Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
veronicasaz/RL_bridgedCluster/TrainRL.py
pointer only (licence: NONE) · get_code("0d01e6f28ed555ed")
How it ran

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

test_network Ran
ran, honoured the contract we drafted
veronicasaz/RL_bridgedCluster/TrainRL.py
pointer only (licence: NONE) · get_code("d3d2e4ac83f573a6")
How it ran

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

ReplayMemory Not yet run
unverified (harvested, no recorded run)
veronicasaz/RL_bridgedCluster/TrainRL.py
pointer only (licence: NONE) · get_code("fa3dff8c2ace4d3a")
How it ran

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

train_net Not yet run
unverified (harvested, no recorded run)
veronicasaz/RL_bridgedCluster/TrainRL.py
pointer only (licence: NONE) · get_code("1a8b954d9dc9dccf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicasaz/RL_bridgedCluster 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 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 6 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

Astrophysical simulations frequently address multi-scale, multi-physics problems through subsystem decomposition, problemtailored integration schemes, and coupling on fixed manually set timescales. Here we introduce ReLaTS, a reinforcement learning framework that dynamically selects the coupling time step to optimize the trade-off between accuracy and computational cost. We validate ReLaTS on star clusters containing a planetary system, and test the method by varying the number of stars 𝑁 ★ in the cluster and the number of planets (𝑁 planet ) orbiting one of them. The method finds the optimal coupling time step that balances speed and accuracy without requiring expert knowledge. In addition, the trained network operates independently of the coupled N-body algorithms, displaying stable performance across a range of setups. We observe that the method is less reliable for cases with infinitesimal masses, as their contribution to the total energy is negligible compared to that of the massive bodies, and the network is not capable of recognizing potential errors generated while integrating them. For long-time integration of large 𝑁 systems, the error accumulates. The reinforcement learning algorithm, however, manages to keep the energy error below a pre-set threshold. This approach substantially reduces energy errors relative to fixed-time step baselines without substantial additional computational overhead. Once trained, ReLaTS requires no expert tuning and generalizes across diverse astrophysical domains, enabling adaptive multi-scale simulations.

For agents

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

get_harvested_code_for_paper("2606.20832")
get_code_for_paper("2606.20832")
have("2606.20832")

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

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

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

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

Connect an agent — have() is free.