OSCR

The inherent capacity of neurons to learn order relations and support abstract reasoning.

Code ↔ Paper

4 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 4 matches
  1. [1] § Methods › Theoretical analysis of the shape of 2D projections of the firing activity of soft rank selective neurons for items in an order, discussed in section “Explaining curved 2D projections of neu ↔ Figure S10 S11 S12.ipynb, lines 49 to 129 · score 0.64 · Gaussian tuning curves, rank selective neuron, fires, matrix · Report a mismatch
  2. [2] § Results › Explaining curved 2D projections of neural representations of linear orders in the human brain ↔ Figure S10 S11 S12.ipynb, lines 49 to 129 · score 0.61 · Gaussian tuning, rank selective neurons, S10, S12, firing, encode · Report a mismatch
  3. [3] § Results › Rapid reconfiguration of the internal model when separately learned orders are combined on the basis of new information ↔ Figure S7.ipynb, lines 639 to 725 · score 0.56 · boundary pair, train short, train long, lowest, seeds, phase · Report a mismatch
  4. [4] § Methods › Details to combining separately learned orders into one order, discussed in section “Rapid reconfiguration of the internal model when separately learned orders are combined on the basis of n ↔ Figure2+S2+S3.ipynb, lines 1 to 129 · score 0.53 · 0.2–1 %, neurons fire, sparsity, dimension · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Jupyter notebook · 329 lines · 10 KB · MIT · 2 matches

  1. # %%
  2. import numpy as np
  3. import pandas as pd
  4. from sklearn.decomposition import PCA
  5. import matplotlib.pyplot as plt
  6. def generate_data_adjusted(num_objects, num_dimensions, num_encoded_per_dim):
  7. data = np.zeros((num_objects, num_dimensions))
  8. for dim in range(num_dimensions):
  9. for rank in range(num_encoded_per_dim):
  10. obj = dim + 1 - rank
  11. if 1 <= obj <= num_objects:
  12. data[obj - 1, dim] = obj - 3.5
  13. return data
  14. # Example usage
  15. num_objects = 6
  16. num_encoded_per_dim = 6 # Adjust the number of objects to encode per dimension
  17. num_dimensions = num_objects+num_encoded_per_dim-1
  18. # Generate the data
  19. data = generate_data_adjusted(num_objects, num_dimensions, num_encoded_per_dim)
  20. # data = data[:,1:-1]
  21. # Perform PCA to reduce dimensions from 10 to 2
  22. pca = PCA(n_components=2)
  23. data_pca = pca.fit_transform(data)
  24. # Plot the PCA results in 2D
  25. plt.figure(figsize=(4,4))
  26. plot_data = np.zeros((2,len(data_pca)))
  27. for i, (x, y) in enumerate(data_pca):
  28. plt.scatter(x, y, s=300, color='white', edgecolor='tab:blue', linewidths=2,zorder=1) # Large white circles
  29. plt.text(x, y, f'{i + 1}', ha='center', va='center', fontsize=12, fontweight='bold', color='tab:blue', zorder=2) # Bold object index
  30. plot_data[0,i]=x
  31. plot_data[1,i]=y
  32. plt.plot(plot_data[0],plot_data[1],zorder=0,color='tab:blue', lw=2)
  33. # Set titles and labels with consistent font size
  34. # plt.title("2D Visualization of 12 Objects Using PCA", fontsize=12)
  35. plt.xlabel("PC 1", fontsize=12)
  36. plt.ylabel("PC 2", fontsize=12)
  37. plt.axis('equal')
  38. # plt.title()
  39. plt.show()
  40. # %%
  41. import numpy as np
  42. from sklearn.decomposition import PCA
  43. import matplotlib.pyplot as plt
  44. def generate_data_gaussian(num_objects, num_dimensions, sigma=1.0, amplitude=1.0, center_mode="shifted"):
  45. """
  46. Build an (num_objects x num_dimensions) response matrix where each "dimension"
  47. corresponds to a rank-selective neuron with a Gaussian tuning curve over object rank.
  48. - num_objects: number of items/ranks (1..num_objects)
  49. - num_dimensions: number of neurons/dimensions
  50. - sigma: fixed std dev for all Gaussians (same variance)
  51. - amplitude: peak firing rate scaling
  52. - center_mode:
  53. * "shifted": centers sweep over a slightly wider range than [1, num_objects]
  54. (useful if you previously had extra dims for edge effects)
  55. * "within": centers evenly spaced strictly within [1, num_objects]
  56. """
  57. ranks = np.arange(1, num_objects + 1)[:, None] # shape (N, 1)
  58. if center_mode == "within":
  59. centers = np.linspace(1, num_objects, num_dimensions)
  60. elif center_mode == "shifted":
  61. # Spread centers across the wider range that arises when using extra dimensions
  62. # similar spirit to your previous construction with num_dimensions = N + K - 1.
  63. extra = (num_dimensions - num_objects) / 2.0
  64. centers = np.linspace(1 - extra, num_objects + extra, num_dimensions)
  65. else:
  66. raise ValueError("center_mode must be 'shifted' or 'within'")
  67. centers = centers[None, :] # shape (1, M)
  68. # Gaussian tuning: exp(-(r - mu)^2 / (2*sigma^2))
  69. data = amplitude * np.exp(-0.5 * ((ranks - centers) / sigma) ** 2)
  70. # Optional: mean-center each neuron's activity across objects (often helps PCA look like manifolds)
  71. # data = data - data.mean(axis=0, keepdims=True)
  72. return data
  73. # ----------------------------
  74. # Example usage (your settings)
  75. # ----------------------------
  76. num_objects = 6
  77. num_encoded_per_dim = 6
  78. num_dimensions = num_objects + num_encoded_per_dim - 1
  79. # Generate Gaussian-tuned data
  80. sigma = 1.0 # fixed variance across neurons (variance = sigma^2)
  81. amplitude = 1.0
  82. data = generate_data_gaussian(
  83. num_objects=num_objects,
  84. num_dimensions=num_dimensions,
  85. sigma=sigma,
  86. amplitude=amplitude,
  87. center_mode="shifted" # try "within" if you don't want extra edge centers
  88. )
  89. # PCA to 2D
  90. pca = PCA(n_components=2)
  91. data_pca = pca.fit_transform(data)
  92. # Plot
  93. plt.figure(figsize=(4, 4))
  94. plot_data = np.zeros((2, len(data_pca)))
  95. for i, (x, y) in enumerate(data_pca):
  96. plt.scatter(x, y, s=300, color='white', edgecolor='tab:blue', linewidths=2, zorder=1)
  97. plt.text(x, y, f'{i + 1}', ha='center', va='center',
  98. fontsize=12, fontweight='bold', color='tab:blue', zorder=2)
  99. plot_data[0, i] = x
  100. plot_data[1, i] = y
  101. plt.plot(plot_data[0], plot_data[1], zorder=0, color='tab:blue', lw=2)
  102. plt.xlabel("PC 1", fontsize=12)
  103. plt.ylabel("PC 2", fontsize=12)
  104. plt.axis('equal')
  105. plt.show()
  106. # %%
  107. import numpy as np
  108. import matplotlib.pyplot as plt
  109. def generate_data_gaussian(num_objects, num_dimensions, sigma=1.0, amplitude=1.0, center_mode="shifted"):
  110. ranks = np.arange(1, num_objects + 1)[:, None] # (N,1)
  111. if center_mode == "within":
  112. centers = np.linspace(1, num_objects, num_dimensions)
  113. elif center_mode == "shifted":
  114. extra = (num_dimensions - num_objects) / 2.0
  115. centers = np.linspace(1 - extra, num_objects + extra, num_dimensions)
  116. else:
  117. raise ValueError("center_mode must be 'shifted' or 'within'")
  118. centers = centers[None, :] # (1,M)
  119. data = amplitude * np.exp(-0.5 * ((ranks - centers) / sigma) ** 2)
  120. return data, centers.flatten()
  121. # Settings (match your previous example)
  122. num_objects = 6
  123. num_encoded_per_dim = 6
  124. num_dimensions = num_objects + num_encoded_per_dim - 1
  125. sigma = 1.0
  126. amplitude = 1.0
  127. center_mode = "shifted"
  128. # For a continuous-looking plot, sample ranks densely
  129. ranks_dense = np.linspace(1, num_objects, 500)[:, None] # (R,1)
  130. # Create centers
  131. if center_mode == "within":
  132. centers = np.linspace(1, num_objects, num_dimensions)
  133. else:
  134. extra = (num_dimensions - num_objects) / 2.0
  135. centers = np.linspace(1 - extra, num_objects + extra, num_dimensions)
  136. # Compute dense tuning curves
  137. tuning_dense = amplitude * np.exp(-0.5 * ((ranks_dense - centers[None, :]) / sigma) ** 2)
  138. # Plot all tuning curves
  139. plt.figure(figsize=(6, 4))
  140. for j in range(num_dimensions):
  141. plt.plot(ranks_dense[:, 0], tuning_dense[:, j])
  142. plt.xlabel("Rank")
  143. plt.ylabel("Response")
  144. plt.title(f"Gaussian tuning curves (sigma={sigma}, M={num_dimensions}, mode={center_mode})")
  145. plt.xticks(range(1, num_objects + 1))
  146. plt.ylim(-0.05, 1.05)
  147. plt.show()
  148. # %%
  149. import numpy as np
  150. import matplotlib.pyplot as plt
  151. from sklearn.decomposition import PCA
  152. def make_centers_fixed_neurons(num_objects, num_neurons, spacing_scale=1.0):
  153. """
  154. spacing_scale > 1 : sparser
  155. spacing_scale < 1 : denser
  156. """
  157. base = np.linspace(1, num_objects, num_neurons)
  158. center = base.mean()
  159. return center + spacing_scale * (base - center)
  160. def gaussian_tuning(ranks, centers, sigma=1.0, amplitude=1.0):
  161. """
  162. ranks: (R,)
  163. centers: (M,)
  164. returns: (R, M)
  165. """
  166. ranks = ranks[:, None]
  167. centers = centers[None, :]
  168. return amplitude * np.exp(-0.5 * ((ranks - centers) / sigma) ** 2)
  169. def add_noise(tuning, noise_scale=0.0, rng=None):
  170. """
  171. Add i.i.d. Gaussian noise to tuning curves.
  172. """
  173. if noise_scale <= 0:
  174. return tuning
  175. if rng is None:
  176. rng = np.random.default_rng(1)
  177. noisy = tuning + rng.normal(0.0, noise_scale, size=tuning.shape)
  178. return np.clip(noisy, 0.0, None) # firing rates ≥ 0
  179. def plot_tuning_and_pca(
  180. num_objects=6,
  181. num_neurons=11,
  182. sigma=1.0,
  183. amplitude=1.0,
  184. noise_scale=0.0,
  185. center_mode="shifted",
  186. dense_points=600,
  187. seed=0,
  188. connect_points=True,
  189. mean_center_neurons=False,
  190. ):
  191. rng = np.random.default_rng(seed)
  192. # neuron preferred ranks
  193. centers = make_centers_fixed_neurons(num_objects, num_neurons, spacing_scale=1.0)
  194. # ---------- Left: continuous tuning curves ----------
  195. ranks_dense = np.linspace(1, num_objects, dense_points)
  196. tuning_dense = gaussian_tuning(ranks_dense, centers, sigma, amplitude)
  197. tuning_dense = add_noise(tuning_dense, noise_scale, rng)
  198. # ---------- Right: PCA on object representations ----------
  199. ranks_discrete = np.arange(1, num_objects + 1)
  200. data = gaussian_tuning(ranks_discrete, centers, sigma, amplitude)
  201. data = add_noise(data, noise_scale, rng)
  202. if mean_center_neurons:
  203. data = data - data.mean(axis=0, keepdims=True)
  204. pca = PCA(n_components=2)
  205. data_pca = pca.fit_transform(data)
  206. # ---------- Plot ----------
  207. fig, axes = plt.subplots(1, 2, figsize=(6, 2.8))
  208. # Left panel
  209. ax = axes[0]
  210. for j in range(num_neurons):
  211. ax.plot(ranks_dense, tuning_dense[:, j], lw=1)
  212. ax.set_title(f"Tuning curves (σ={sigma_norm}, n={noise_scale})")
  213. ax.set_xlabel("Rank")
  214. ax.set_ylabel("Response")
  215. ax.set_xticks(range(1, num_objects + 1))
  216. ax.set_ylim(-0.05 * amplitude, 1.3 * amplitude)
  217. # Right panel
  218. ax = axes[1]
  219. xs, ys = data_pca[:, 0], data_pca[:, 1]
  220. for i in range(num_objects):
  221. ax.scatter(xs[i], ys[i], s=300, facecolor="white",
  222. edgecolor="tab:blue", linewidth=2, zorder=2)
  223. ax.text(xs[i], ys[i], f"{i+1}",
  224. ha="center", va="center",
  225. fontsize=12, fontweight="bold",
  226. color="tab:blue", zorder=3)
  227. if connect_points:
  228. ax.plot(xs, ys, color="tab:blue", lw=2, zorder=1)
  229. ax.set_title("PCA of object representations")
  230. ax.set_xlabel("PC 1")
  231. ax.set_ylabel("PC 2")
  232. ax.axis("equal")
  233. # Get current limits
  234. x_min, x_max = ax.get_xlim()
  235. y_min, y_max = ax.get_ylim()
  236. # Enlarge by a fraction (e.g. 10%)
  237. pad = 0.1
  238. ax.set_xlim(x_min - pad * (x_max - x_min),
  239. x_max + pad * (x_max - x_min))
  240. ax.set_ylim(y_min - pad * (y_max - y_min),
  241. y_max + pad * (y_max - y_min))
  242. plt.tight_layout()
  243. plt.show()
  244. # --------------------
  245. # Example run
  246. # --------------------
  247. def sigma_from_norm(num_objects, sigma_norm, eps=1e-6):
  248. rank_range = max(num_objects - 1, 1) # N-1 (avoid 0 when N=1)
  249. return max(sigma_norm * rank_range, eps)
  250. num_objects= 6
  251. sigma_norm = 0.3 # in (0,1], fraction of full rank range
  252. sigma = sigma_from_norm(num_objects, sigma_norm)
  253. plot_tuning_and_pca(
  254. num_objects=num_objects,
  255. num_neurons=6, # <-- explicit, meaningful parameter
  256. sigma=sigma,
  257. noise_scale=0.0,
  258. center_mode="shifted",
  259. mean_center_neurons=False,
  260. seed=0
  261. )
  262. # %%
  263. 1/6*0.33
  264. # %%

Figure S10 S11 S12.ipynb at commit 6eef732, under MIT · at the source

Overview

  1. Institute of Machine Learning and Neural Computation, Graz University of Technology, Graz, Austria
Institutions: Graz University of Technology (Austria)
Journal: Nature communications, volume 17, issue 1, article 9436
Dates: received 22 July 2025; accepted 20 July 2026; published online 5 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-76102-5 · PMID 42686686 · PMCID PMC13538631 · OpenAlex W7172506211
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: computational modeling (no new data) (modality), human (organism), cognitive (subfield)
Methods: Smoothing, state filtering, decompositions, Single-unit activity, calcium imaging
Keywords: Network models, Learning algorithms, Electrical and electronic engineering, Decision
MeSH: Brain*, Learning*, Models, Neurological*, Neurons*, Animals, Cognition, Decision Making, Humans, Neuronal Plasticity (* major topic)
Topic: Neural and Behavioral Psychology Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Austrian Science Fund FWF (10.55776/COE12); National Science Foundation (NSF) (EFRI BRAID project 2318152)
Citations: not cited yet (Europe PMC); 54 references in the paper

Abstract

Brains extract relations between objects and concepts and integrate them into cognitive maps for decision-making. But it remains unclear how they achieve that. Here we present a rigorous theory showing that single neurons can already learn to extract ranks of items in a linear order with a simple local rule for synaptic plasticity. The resulting model explains human brain data on the emergence of cognitive maps from linear orders, accounts for the terminal item effect in transitive inference, and enables rapid reconfiguration of internal representations when new evidence appears. We also present a theoretical explanation for the surprising fact that 2D projections of neural representations of linear orders in the brain are curved rather than linear. Since the model requires only local synaptic plasticity in shallow networks, it is suited for relational learning and fast inference on low-energy edge devices. We demonstrate this on the neuromorphic chip Loihi 2.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.

superrrpotato/Relationship-learning

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 6eef732c9ea219209c78ed3f4dadd176afe7cda3, 16 June 2026
Languages: Jupyter (12), Python (1)
Size: 18 files, 13 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (requirements.txt), 12 notebooks
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (13 files), Matplotlib (12 files), scikit-learn (11 files), PyTorch (8 files), SciPy (4 files), pandas (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
15 files

Zenodo 20729243

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (13 files), Matplotlib (12 files), scikit-learn (11 files), PyTorch (8 files), SciPy (4 files), pandas (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
15 files
At the source:

Code availability

Example code implementing the proposed learning rule, together with the code used to generate all figures, is publicly available on GitHub at (https://github.com/superrrpotato/Relationship-learning) and archived on Zenodo53.

Reproduced under the paper's license (CC BY), from the paper cited above.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 26 scripts, each with its path and the digest of its content;
  • 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data Availability Statement

All data used in the experiments were synthetically generated. The code used to generate these data is publicly available on GitHub at (https://github.com/superrrpotato/Relationship-learning) and archived on Zenodo53.

Example code implementing the proposed learning rule, together with the code used to generate all figures, is publicly available on GitHub at (https://github.com/superrrpotato/Relationship-learning) and archived on Zenodo53.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 4 keywords, 9 MeSH terms, 2 funders, 42 references.

Cite

This paper

Yang, Y., & Maass, W. (2026). The inherent capacity of neurons to learn order relations and support abstract reasoning. Nature communications, 17(1), 9436. https://doi.org/10.1038/s41467-026-76102-5

BibTeX

@article{yang2026inherent,
author = {Yang, Yukun and Maass, Wolfgang},
title = {{The inherent capacity of neurons to learn order relations and support abstract reasoning}},
journal = {Nature communications},
year = {2026},
month = aug,
volume = {17},
number = {1},
pages = {9436},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-76102-5},
url = {https://doi.org/10.1038/s41467-026-76102-5},
pmid = {42686686},
pmcid = {PMC13538631}
}

RIS

TY - JOUR
AU - Yang, Yukun
AU - Maass, Wolfgang
TI - The inherent capacity of neurons to learn order relations and support abstract reasoning
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/08/05
VL - 17
IS - 1
SP - 9436
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-76102-5
UR - https://doi.org/10.1038/s41467-026-76102-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-76102-5",
"type": "article-journal",
"title": "The inherent capacity of neurons to learn order relations and support abstract reasoning",
"container-title": "Nature communications",
"author": [
{
"family": "Yang",
"given": "Yukun"
},
{
"family": "Maass",
"given": "Wolfgang"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "9436",
"DOI": "10.1038/s41467-026-76102-5",
"PMID": "42686686",
"PMCID": "PMC13538631",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-76102-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
5
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s42256-026-01254-4 [code]
Neural sampling from cognitive maps enables goal-directed imagination and planning.
Journal: Nature machine intelligence
In common: PyTorch, scikit-learn, Matplotlib, 1 other tool, computational modeling (no new data), cognitive, 6 references, 2 authors
[2] doi:10.1038/s41467-024-46586-0 [code]
Local prediction-learning in high-dimensional spaces enables neural networks to plan.
Journal: Nature communications
In common: PyTorch, scikit-learn, SciPy, 2 other tools, computational modeling (no new data), cognitive, 2 authors
[3] doi:10.1371/journal.pbio.3003756
Human brains construct individualized global rankings from identical few-shot learning input.
Journal: PLoS biology
In common: cognitive, 8 references
[4] doi:10.1371/journal.pcbi.1011954 [code]
Emergent neural dynamics and geometry for generalization in a transitive inference task.
Journal: PLoS computational biology
In common: PyTorch, scikit-learn, pandas, 3 other tools, cognitive, 6 references
[5] doi:10.1038/s41467-024-52240-6 [code]
A geometrical solution underlies general neural principle for serial ordering.
Journal: Nature communications
In common: computational modeling (no new data), 7 references
[6] doi:10.1371/journal.pbio.3003820 [code]
A cortical semantic map integrates fractions and integers in the human brain.
Journal: PLoS biology
In common: scikit-learn, pandas, SciPy, 2 other tools, 5 references
[7] doi:10.7554/elife.79908 [code]
Evolution of neural activity in circuits bridging sensory and abstract knowledge.
Journal: eLife
In common: PyTorch, scikit-learn, SciPy, 2 other tools, 4 references
[8] doi:10.1016/j.neuron.2023.02.014 [code]
Neural knowledge assembly in humans and neural networks.
Journal: Neuron
In common: PyTorch, scikit-learn, SciPy, 2 other tools, 4 references
[9] doi:10.1038/s41467-024-55563-6 [code]
A simple model for Behavioral Time Scale Synaptic Plasticity (BTSP) provides content addressable memory with binary synapses and one-shot learning.
Journal: Nature communications
In common: PyTorch, SciPy, Matplotlib, 1 other tool, computational modeling (no new data), author Wolfgang Maass
[10] doi:10.1038/s42003-025-08395-z [code]
Distinct neural representational geometries of numerosity in early visual and association regions across visual streams.
Journal: Communications biology
In common: scikit-learn, pandas, SciPy, 2 other tools, cognitive, 3 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41467-026-76102-5.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-76102-5)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-76102-5.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-76102-5
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-76102-5"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-76102-5.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.