OSCR

Auditory-motor interactions are sensitive to adaptation and learning on multiple timescales

Code ↔ Paper

2 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 2 matches
  1. [1] § Materials and method › EEG acquisition and preprocessing ↔ preprocessing/pp_prepost.py, lines 230 to 282 · score 0.59 · notch filtered, bandpass, MNE, preprocessed, EEG, channels · Report a mismatch
  2. [2] § Results › The effects of musical expertise ↔ ARTICLE_FIGS/[FIGURE_REVISION_S10A]_GSI_scores.ipynb, lines 105 to 198 · score 0.57 · musical sophistication, musical training, active, score, formal, musicians · 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

Python · 394 lines · 15 KB · MIT · 1 match

  1. import mne
  2. import os
  3. import glob
  4. import numpy as np
  5. import pandas as pd
  6. from scipy.io import savemat
  7. import matplotlib.pyplot as plt
  8. import pickle
  9. import sys
  10. sys.path.append('../utils')
  11. from pp_utils import *
  12. #======================================================================================
  13. # SPECIFY SUBJECTS AND WHAT PART OF THE EXPERIMENT
  14. #======================================================================================
  15. subjects_to_process = ['01']
  16. periods = ['post']
  17. bad_chs = [] #put the bad channel names here; process subjects with bad channels separately
  18. #======================================================================================
  19. # PREPROCESSING PARAMETERS
  20. #======================================================================================
  21. plot = False
  22. check_events = True
  23. FS_ORIG = 2048 # Hz
  24. #fs was 1024 for participant 03
  25. # Printing general info
  26. print_info = False
  27. # Notch filtering
  28. notch_applied = True
  29. freq_notch = 50
  30. # Bandpass filtering
  31. bpf_applied = True
  32. freq_low = 1
  33. freq_high = 30
  34. bandpass = str(freq_low) + '-' + str(freq_high)
  35. ftype = 'butter'
  36. order = 3
  37. # Spherical interpolation
  38. int_applied = False
  39. interpolation = 'spline'
  40. # Rereferencing using average of mastoids electrodes
  41. reref_applied = True
  42. reref_type = 'Mastoids' #Mastoids #Average
  43. # Downsampling
  44. down_applied = True
  45. downfreq = 128
  46. if not down_applied:
  47. downfreq = FS_ORIG
  48. downfreq_factor =int(FS_ORIG/downfreq)
  49. #======================================================================================
  50. # INITIALIZE DIRECTORIES
  51. #======================================================================================
  52. root_dir = "/Users/cindyzhang/Documents/M2/Audiomotor_Piano/AM-EEG/data_raw" #where the raw bdf files are
  53. output_base = f'/Users/cindyzhang/Documents/M2/Audiomotor_Piano/AM-EEG/data_preprocessed_{freq_high}Hz' #where all the preprocessed .mat files and other info go
  54. #======================================================================================
  55. # LOOP THROUGH SUBJECTS
  56. #======================================================================================
  57. for subject in subjects_to_process:
  58. for period in periods:
  59. if period == 'pre':
  60. file = f'/Users/cindyzhang/Documents/M2/Audiomotor_Piano/AM-EEG/data_raw/sub_{subject}/sub_{subject}_01.bdf'
  61. elif period == 'post':
  62. file = f'/Users/cindyzhang/Documents/M2/Audiomotor_Piano/AM-EEG/data_raw/sub_{subject}/sub_{subject}_03.bdf'
  63. else: #just pick a random file for a test
  64. file = f'/Users/cindyzhang/Documents/M2/Audiomotor_Piano/AM-EEG/data_raw/sub_{subject}/sub_{subject}_01.bdf'
  65. print('Processing file: ', file)
  66. #======================================================================================
  67. # check events
  68. #======================================================================================
  69. if check_events == True:
  70. #load file
  71. raw = mne.io.read_raw_bdf(file, eog=None, misc=None, stim_channel='Status',
  72. infer_types=False, preload=True, verbose=None)
  73. #mark bad channels
  74. raw.info['bads'] = bad_chs
  75. events = mne.find_events(raw, stim_channel='Status', shortest_event=1)
  76. events_2, events_3, events_4, events_5, events_6, trial_starts = sort_events(events)
  77. #check events
  78. plot_subset = False
  79. start = 0
  80. end = 100
  81. plt.figure(figsize = (20,10))
  82. if plot_subset:
  83. #keystrokes
  84. plt.eventplot(events_2[:,0][start:end], lineoffsets = 0)
  85. plt.eventplot(events_3[:,0][start:end], color = 'green', lineoffsets = -2)
  86. plt.eventplot(events_4[:,0][start:end], color = 'orange', lineoffsets = -3)
  87. plt.eventplot(events_5[:,0][start:end], color = 'red', lineoffsets=-4)
  88. else:
  89. plt.eventplot(events_2[:,0], lineoffsets = 0)
  90. plt.eventplot(events_3[:,0], color = 'green', lineoffsets = -2)
  91. plt.eventplot(events_4[:,0], color = 'orange', lineoffsets = -3)
  92. plt.eventplot(events_5[:,0], color = 'red', lineoffsets=-4)
  93. plt.title(f'Events subject {subject} {period} training')
  94. plt.show()
  95. df_pre = pd.DataFrame()
  96. subject_ID = file.split('/')[-2][-2:]
  97. if subject_ID == '03':
  98. FS_ORIG = 1024
  99. output_dir = os.path.join(output_base, subject_ID)
  100. if not os.path.exists(output_dir):
  101. os.makedirs(output_dir)
  102. #======================================================================================
  103. # READ EEG FILES
  104. #======================================================================================
  105. raw = mne.io.read_raw_bdf(file, eog=['EXG3', 'EXG4'], misc=None, stim_channel='Status',
  106. infer_types=False, preload=True, verbose=None)
  107. # Check metadata
  108. n_time_samps = raw.n_times
  109. time_secs = raw.times
  110. ch_names = raw.ch_names
  111. n_chan = len(ch_names)
  112. if print_info == True:
  113. print('the (cropped) sample data object has {} time samples and {} channels.'
  114. ''.format(n_time_samps, n_chan))
  115. print('The last time sample is at {} seconds.'.format(time_secs[-1]))
  116. print('The first few channel names are {}.'.format(', '.join(ch_names[:3])))
  117. print('bad channels:', raw.info['bads']) # chs marked "bad" during acquisition
  118. print(raw.info['sfreq'], 'Hz') # sampling frequency
  119. print(raw.info['description'], '\n') # miscellaneous acquisition info
  120. print(raw.info)
  121. if plot:
  122. raw.plot(start=100, duration=10)
  123. #======================================================================================
  124. # FIND TRIGGERS FOR SEGMENTING
  125. #======================================================================================
  126. #loading the raw events
  127. #the stim channel is called 'Status'
  128. events = mne.find_events(raw, stim_channel='Status', shortest_event=1) #raises exception if shortest event is default 2...?
  129. #...TO DO: import bad triggers noted in experiment from corresponding csv
  130. bad_triggers = []
  131. #events.pop(bad_triggers indices)
  132. #cleaned triggers according to channel
  133. #trial start and end are indicated in channel 5, filtered for 10+ min duration
  134. events_2, events_3, events_4, events_5, events_6, trial_starts = sort_events(events)
  135. #_, _, _, _, _, trial_starts = sort_events(events)
  136. #======================================================================================
  137. # CROPPING FILES TO THE TRIAL
  138. #======================================================================================
  139. print("trial starts: \n", trial_starts)
  140. #trial durations
  141. listen_dur = 665
  142. motor_dur = 600
  143. error_dur = 600
  144. #start times for cropping
  145. listen_start, motor_start, error_start = trial_starts[:,0]/FS_ORIG
  146. #end times
  147. listen_end = listen_start+listen_dur
  148. motor_end = motor_start+motor_dur
  149. error_end = error_start + error_dur
  150. #.....TO DO
  151. #add stuff for post
  152. #approximate crop for training?
  153. eeg_listen = raw.copy().crop(tmin = listen_start, tmax = listen_end)
  154. eeg_motor = raw.copy().crop(tmin = motor_start, tmax = motor_end)
  155. eeg_error = raw.copy().crop(tmin = error_start, tmax = error_end)
  156. #------------------------
  157. # CHOOSING FILES TO PROCESS
  158. #---------------------------
  159. #get the eeg data
  160. #eegs_to_process = [eeg_listen_pre, eeg_motor_pre, eeg_error_pre, eeg_listen_post, eeg_motor_post, eeg_error_post]
  161. eegs_to_process = [eeg_listen, eeg_motor, eeg_error]
  162. if period == 'pre':
  163. eeg_names = ['eeg_listen_pre', 'eeg_motor_pre', 'eeg_error_pre']
  164. elif period == 'post':
  165. eeg_names = ['eeg_listen_post', 'eeg_motor_post', 'eeg_error_post']
  166. else:
  167. eeg_names = [f'eeg_listen_{period}', f'eeg_motor_{period}', f'eeg_error_{period}']
  168. #======================================================================================
  169. # FILTERING
  170. #======================================================================================
  171. for i, data in enumerate(eegs_to_process):
  172. ## -------------
  173. ## Select channels
  174. ## -------------
  175. #eeg_channels = ch_names[:66] + [ch_names[-1]]
  176. eeg_channels = ch_names[0:72]
  177. eeg = data.copy().pick_channels(eeg_channels)
  178. if plot:
  179. eeg.plot(start=100, duration=10, n_channels=len(raw.ch_names))
  180. """eeg_channels = ch_names[0:66]
  181. eeg = eeg.pick_channels(eeg_channels)
  182. if plot:
  183. eeg.plot(start=100, duration=10, n_channels=len(raw.ch_names))"""
  184. ## -------------
  185. ## Notch filtering
  186. ## -------------
  187. df_pre['notch_applied'] = [notch_applied]
  188. if notch_applied:
  189. eeg = eeg.notch_filter(freqs=freq_notch)
  190. df_pre['notch'] = [freq_notch]
  191. if plot:
  192. eeg.plot()
  193. ## -------------
  194. ## BPFiltering
  195. ## -------------
  196. df_pre['bpf_applied'] = [bpf_applied]
  197. if bpf_applied:
  198. iir_params = dict(order=order, ftype=ftype)
  199. filter_params = mne.filter.create_filter(eeg.get_data(), eeg.info['sfreq'],
  200. l_freq=freq_low, h_freq=freq_high,
  201. method='iir', iir_params=iir_params)
  202. if plot:
  203. flim = (1., eeg.info['sfreq'] / 2.) # frequencies
  204. dlim = (-0.001, 0.001) # delays
  205. kwargs = dict(flim=flim, dlim=dlim)
  206. mne.viz.plot_filter(filter_params, eeg.info['sfreq'], compensate=True, **kwargs)
  207. # plt.savefig(os.path.join(output_dir, 'bpf_ffilt_shape.png'))
  208. eeg = eeg.filter(l_freq=freq_low, h_freq=freq_high, method='iir', iir_params=iir_params)
  209. df_pre['bandpass'] = [iir_params]
  210. df_pre['HPF'] = [freq_low]
  211. df_pre['LPF'] = [freq_high]
  212. if plot:
  213. eeg.plot()
  214. ## -------------
  215. ## Interpolation
  216. ## -------------
  217. df_pre['int_applied'] = [int_applied]
  218. if int_applied:
  219. eeg = eeg.interpolate_bads(reset_bads=False) #, method=interpolation
  220. # Get the indices and names of the interpolated channels
  221. interp_inds = eeg.info['bads']
  222. interp_names = [eeg.info['ch_names'][i] for i in interp_inds]
  223. # Print the number and names of the interpolated channels
  224. print(f'{len(interp_inds)} channels interpolated: {interp_names}')
  225. df_pre['interpolation'] = [interpolation]
  226. df_pre['interp_inds'] = [interp_inds]
  227. df_pre['interp_names'] = [interp_names]
  228. if plot:
  229. eeg.plot()
  230. ## -------------
  231. ## Rereferencing
  232. ## -------------
  233. df_pre['reref_applied'] = [reref_applied]
  234. if reref_applied:
  235. # Set electrodes for rereferencing
  236. if reref_type == 'Mastoids':
  237. #accounting for different channel names on different computers
  238. if 'M1' in eeg.ch_names:
  239. reref_channels = ['M1', 'M2']
  240. else:
  241. reref_channels = ['EXG1', 'EXG2']
  242. else:
  243. reref_channels = 'average'
  244. # Actually r-referencing signals
  245. eeg = eeg.set_eeg_reference(ref_channels=reref_channels)
  246. df_pre['reref_type'] = [reref_type]
  247. df_pre['reref_channels'] = [reref_channels]
  248. if plot:
  249. eeg.plot()
  250. ## -------------
  251. ## Downsampling
  252. ## -------------
  253. df_pre['down_applied'] = [down_applied]
  254. df_pre['downfreq'] = [downfreq]
  255. if down_applied:
  256. eeg = eeg.resample(sfreq=downfreq)
  257. if plot:
  258. eeg.plot()
  259. #======================================================================================
  260. # UPDATE TRIGGERS
  261. #======================================================================================
  262. #create support vectors
  263. #zero array with downsampled dimensions
  264. events_original = np.zeros((5, data.get_data().shape[1])) #5 rows = event types, along time axis zero when there is an event and 1 everywhere else
  265. #get triggers
  266. section_triggers = mne.find_events(data, stim_channel='Status', shortest_event=1)
  267. events_2, events_3, events_4, events_5, events_6, section_start = sort_events(section_triggers, clean = True)
  268. #get trial start time
  269. section_start = section_start[0][0]
  270. #find indices corrected for start time
  271. indices_2 = (events_2[:,0]) - section_start
  272. indices_3 = (events_3[:,0]) - section_start
  273. indices_4 = (events_4[:,0]) - section_start
  274. indices_5 = (events_5[:,0]) - section_start
  275. #populate event array with 1s where there are events
  276. events_original[0][indices_2] = 1
  277. events_original[1][indices_3] = 1
  278. events_original[2][indices_4] = 1
  279. events_original[3][indices_5] = 1
  280. #resample while preserving events
  281. cropped_length = eeg.get_data().shape[1]
  282. events_resampled = np.zeros((5, cropped_length))
  283. for row in range(events_resampled.shape[0]):
  284. events_resampled[row] = discretize(events_original[row], final_length = cropped_length, downfreq_factor = downfreq_factor)
  285. #======================================================================================
  286. # SAVING CROPPED FILES
  287. #======================================================================================
  288. name = eeg_names[i]
  289. eeg_tosave = eeg.get_data()
  290. savemat(os.path.join(output_dir,f'{name}_{subject_ID}.mat'),
  291. {'all_electrodes': eeg_tosave[0:72],
  292. 'trial_data': eeg_tosave[0:64, :],
  293. 'trial_mastoids': eeg_tosave[64:66, :],
  294. 'trial_exg': eeg_tosave[66:72, :],
  295. 'events': events_resampled})
  296. ## -------------
  297. ## Save preprocessing stages
  298. ## -------------
  299. df_pre.to_csv(os.path.join(output_dir, f"preprocess_record_{subject_ID}_{period}.csv"), index=False)

pp_prepost.py at commit 2aa6de3, under MIT · at the source

Overview

Authors: Haiqin Zhang1, Giorgia Cantisani2, Shihab Shamma3
  1. Laboratoire des systèmes perceptifs, CNRS, École Normale Supérieure, PSL University, Paris, France
  2. Sciences et Technologies de la Musique et du Son Lab, CNRS, IRCAM, Sorbonne Université, Paris, France
  3. Neural Systems Laboratory, University of Maryland College Park, College Park, MD, USA
Dates: published online 25 March 2026
Type: Preprint
License: CC BY
Identifiers: DOI 10.64898/2026.03.23.712909 · OpenAlex W7140317042
Open access: green, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: cognitive (subfield)
Methods: Spectral & time-frequency, Preprocessing, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Evoked potentials, fMRI & imaging, Physiology & signal measures
Keywords: auditory-motor learning, surprisal, music, N100, P50
Topic: Neuroscience and Music Perception (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: European Research Council (787836)
Citations: not cited yet (Europe PMC); 69 references in the paper

Abstract

Auditory-motor learning is critical in mastering the production of complex sounds, such as speaking and playing music. It is anchored upon internal models of interactions between actions and their sensory consequences, which are fine-tuned by minimizing the errors between the predicted and received sound. Here, we applied the concept of surprisal to a piano-playing task to probe the neural dynamics of sensorimotor learning. Specifically, during play, the key-pitch map was changed unpredictably among three map configurations: normal, inverted, and shifted-inverted. At the change boundaries, a signature of violated motor-to-auditory predictions was found in the auditory evoked responses at N100 which could not be attributed to either purely auditory surprisals or motor execution errors. This surprisal is modulated by short-term context, with greater surprise following longer periods of no map change, indicating that the brain continuously tracks short-term map contexts and rapidly adapts to them. In contrast, 30 minutes of extended goal-directed training on a single map modulated P50 amplitude only for that map, which can be explained by a slow, persistent modulation of motor predictions from the auditory signals. Hence, while auditory predictions from motor actions are rapidly and implicitly learned within short-term contexts, the complementary process of adjusting motor inferences from auditory inputs requires targeted training sustained over time. Our approach of studying auditory-motor surprisal in time-varying sequences reveals that auditory-motor learning is fast, context-sensitive, and shaped by both short- and long-term experience.

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

Repository

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

haiqin-zhang/AuditoryMotorPiano

License: MIT
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: 2aa6de3aa0e1d963119f02fce4d93ec23e40c829, 12 August 2026
Languages: Jupyter (15), Python (14)
Size: 496 files, 29 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, license file, 15 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (26 files), pandas (22 files), Matplotlib (20 files), SciPy (20 files), MNE-Python (17 files), seaborn (11 files), statannotations (9 files), statsmodels (9 files), Pingouin (6 files), ICLabel (1 file), lme4 (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
31 files

The paper's code and data availability statement is in the Data section.

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 29 scripts, each with its path and the digest of its content;
  • 2 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

Datasets cited

Data availability

The code for analyzing data and generating the figures is available on Github at https://github.com/haiqin-zhang/AuditoryMotorPiano. EEG data is available on Zenodo (DOI: 10.5281/zenodo.17949131).

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, 30 September 2026: the first record

Recorded: type, journal, dates, 3 authors, 5 keywords, 1 funder, 63 references.

Cite

This paper

Zhang, H., Cantisani, G., & Shamma, S. (2026). Auditory-motor interactions are sensitive to adaptation and learning on multiple timescales. bioRxiv (preprint). https://doi.org/10.64898/2026.03.23.712909

BibTeX

@article{zhang2026auditory,
author = {Zhang, Haiqin and Cantisani, Giorgia and Shamma, Shihab},
title = {{Auditory-motor interactions are sensitive to adaptation and learning on multiple timescales}},
journal = {bioRxiv (preprint)},
year = {2026},
month = mar,
publisher = {bioRxiv},
issn = {2692-8205},
doi = {10.64898/2026.03.23.712909},
url = {https://doi.org/10.64898/2026.03.23.712909}
}

RIS

TY - JOUR
AU - Zhang, Haiqin
AU - Cantisani, Giorgia
AU - Shamma, Shihab
TI - Auditory-motor interactions are sensitive to adaptation and learning on multiple timescales
T2 - bioRxiv (preprint)
J2 - bioRxiv
PY - 2026
DA - 2026/03/25
SN - 2692-8205
PB - bioRxiv
DO - 10.64898/2026.03.23.712909
UR - https://doi.org/10.64898/2026.03.23.712909
ER -

CSL-JSON

{
"id": "10.64898/2026.03.23.712909",
"type": "article",
"title": "Auditory-motor interactions are sensitive to adaptation and learning on multiple timescales",
"container-title": "bioRxiv (preprint)",
"author": [
{
"family": "Zhang",
"given": "Haiqin"
},
{
"family": "Cantisani",
"given": "Giorgia"
},
{
"family": "Shamma",
"given": "Shihab"
}
],
"container-title-short": "bioRxiv",
"DOI": "10.64898/2026.03.23.712909",
"ISSN": "2692-8205",
"publisher": "bioRxiv",
"URL": "https://doi.org/10.64898/2026.03.23.712909",
"issued": {
"date-parts": [
[
2026,
3,
25
]
]
}
}

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/s42003-024-05945-9 [code]
Speech-induced suppression during natural dialogues.
Journal: Communications biology
In common: statannotations, MNE-Python, statsmodels, 5 other tools, cognitive, 5 references
[2] doi:10.1038/s41598-024-81618-1 [code]
Variations of autonomic arousal mediate the reportability of mind blanking occurrences.
Journal: Scientific reports
In common: ICLabel, statannotations, MNE-Python, 7 other tools, cognitive, 1 reference
[3] doi:10.1523/jneurosci.2083-24.2025 [code]
Chimeric Music Reveals an Interaction of Pitch and Time in Electrophysiological Signatures of Music Encoding.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: Pingouin, MNE-Python, statsmodels, 4 other tools, cognitive, 4 references
[4] doi:10.1016/j.nicl.2025.103760 [code]
Event-related potential markers of subjective cognitive decline and mild cognitive impairment during a sustained visuo-attentive task.
Journal: NeuroImage. Clinical
In common: ICLabel, statannotations, Pingouin, 7 other tools
[5] doi:10.1038/s41598-024-69602-1 [code]
Neural encoding of linguistic speech cues is unaffected by cognitive decline, but decreases with increasing hearing impairment.
Journal: Scientific reports
In common: MNE-Python, lme4, seaborn, 4 other tools, cognitive, 4 references
[6] doi:10.1162/imag.a.1245 [code]
Towards precision EEG connectomics: Evaluating the benefits of dense sampling.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: ICLabel, Pingouin, MNE-Python, 7 other tools
[7] doi:10.1162/imag.a.117 [code]
How much is "enough"? Considerations for functional connectivity reliability in pediatric naturalistic fMRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: ICLabel, Pingouin, MNE-Python, 7 other tools
[8] doi:10.1097/j.pain.0000000000004044 [code]
No effect of rhythmic visual stimulation on experimental pain perception.
Journal: Pain
In common: ICLabel, Pingouin, MNE-Python, 6 other tools, cognitive, 1 reference
[9] doi:10.1523/eneuro.0368-24.2024 [code]
Neural Speech Tracking Contribution of Lip Movements Predicts Behavioral Deterioration When the Speaker's Mouth Is Occluded.
Journal: eNeuro
In common: Pingouin, lme4, seaborn, 2 other tools, cognitive, 5 references
[10] doi:10.1038/s42003-026-09825-2 [code]
Normative modeling of MEG brain oscillations across the human lifespan.
Journal: Communications biology
In common: ICLabel, Pingouin, MNE-Python, 6 other tools, 1 reference

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.64898/2026.03.23.712909.svg)](https://openscicode.org/badge/doi/10.64898/2026.03.23.712909)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.64898/2026.03.23.712909.svg
   :target: https://openscicode.org/badge/doi/10.64898/2026.03.23.712909
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.64898/2026.03.23.712909"><img src="https://openscicode.org/badge/doi/10.64898/2026.03.23.712909.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.