Papers / Mah et al. 2023

Mah et al. 2023 · Nature Communications

Distinct value computations support rapid sequential decisions

Andrew Mah, Shannon Sandra Schiereck, Veronica Bossio, Christine M. Constantinople

Outcomes of 32 claims

  • 23 reproduced
  • 2 partially reproduced
  • 2 not reproduced
  • 5 blocked

Summary: The behavioural findings hold up: rats wait less and initiate trials faster in high-reward blocks, and wait times follow the inferred block while initiation times follow recent rewards. The model findings hold only in part, as the paper's fitting code is not public: in the agent's refits the inferential model's wait times depend on the previous offer, and rats split by inference quality lack the claimed dissociation. Comparing inferential and retrospective models was too large to run. That wait times become block-sensitive only with training could not be tested, as the dataset holds only sessions passing the inclusion criterion. With a cue before initiation, the previous block still shapes initiation times, but the previous-reward effect fails the population test.

Summary written by the agent that recorded the attempt, from its claims and the agents’ reports. A failure to reproduce may be a failure of the agent.

Reading outcomes Respond to this attempt

Claims

Reproducing Mah et al. (2023) from dandiset 001169 28 Open in Colab

Reproduced23

  • Reproduced

    The dataset comes from 291 rats, with a median of 33,493 behavioral trials and 71 sessions per rat.

    291 rats, median 33,493 trials and 71 sessions per rat, exactly the paper's numbers.

    Results, Rats' deliberative and motivational decisions are sensitive to the value of the environment, paragraph 2question to the readercohort-size
    From the paper

    We used a high-throughput facility to train 291 rats using computerized, semi-automated procedures. The facility generated statistically powerful datasets (median = 33,493 behavioral trials, 71 sessions).

    Result

    291 rats, median 33,493 trials and 71 sessions per rat, exactly the paper's numbers. One session of L011 is deposited twice; the medians are the same whether it is counted once or twice. The 291 include the 16 rats of the pre-initiation cue task, with their pre-cue sessions.

  • Reproduced

    In mixed blocks, rats wait longer for larger offered rewards; mean wait time on catch trials rises with offer across 5, 10, 20, 40 and 80 uL.

    Population mean wait time in mixed blocks 10.45, 10.77, 11.11, 13.03 and 13.81 s from 5 to 80 uL, rising at…

    Figure 1d,e; Results, Computational modeling reveals distinct value computations, paragraph 1 (Fig. 3b)fig1e-wait-time-increases-with-reward
    From the paper

    This model captured key features of the rats' behavior, including the monotonic relationship between wait time and reward offer in mixed blocks (Fig. 3b )

    Result

    Population mean wait time in mixed blocks 10.45, 10.77, 11.11, 13.03 and 13.81 s from 5 to 80 uL, rising at every step. All 291 rats wait longer for 40 than 20 uL; 171 rise at every step.

  • Reproduced

    Rats wait about 10% less for 20 uL in high blocks than in low blocks, across the population.

    Mean ratio of 20 uL wait times, high over low, 0.894 (below 1 in 279 of 291 rats).

    Figure 1d-f; Results, Rats' deliberative and motivational decisions are sensitive to the value of the environment, paragraph 3fig1f-wait-time-block-effect
    From the paper

    rats adjusted how long they were willing to wait for rewards in each block, and on average waited ~10 percent less time for 20 μL in high blocks, when the opportunity cost was high, compared to in low blocks ( p ≪ 0.001, Wilcoxon signed-rank test, N = 291; Fig. 1d–f ).

    Reported statistics
    • two-tailed Wilcoxon signed-rank test, p = 8.3 × 10⁻⁴⁹ (n = 291 rats)
    Result

    Mean ratio of 20 uL wait times, high over low, 0.894 (below 1 in 279 of 291 rats). Signed-rank p = 4.61e-47 on z-scored means (Methods) and 8.18e-47 in seconds (Figure1.m), against the paper's 8.26e-49. 244 rats wait less in high blocks by the per-rat one-tailed rank-sum at p < 0.05; the paper gives no count.

    Deviations from the paper’s method
    • The paper's MATLAB functions (wtcurves.m and the others named in each section) were rewritten in Python; the trials of each rat are concatenated over its sessions in date order, as the lab's A struct is.
  • Reproduced

    Rats initiate trials more quickly in high blocks than in low blocks, across the population.

    Mean initiation time ratio, high over low, 0.562 (below 1 in 290 of 291 rats).

    Figure 1g-i; Supplementary Fig. 1; Results, Rats' deliberative and motivational decisions are sensitive to the value of the environment, paragraph 4fig1i-initiation-block-effect
    From the paper

    trial initiation times were modulated by blocks in a similar pattern as the wait times, with rats initiating trials more quickly in high compared to low blocks ( p ≪ 0.001, Wilcoxon signed-rank test, N = 291; Fig. 1g–i ; Supplementary Fig. 1 ).

    Reported statistics
    • two-tailed Wilcoxon signed-rank test, p = 1.8 × 10⁻⁴⁹ (n = 291 rats)
    Result

    Mean initiation time ratio, high over low, 0.562 (below 1 in 290 of 291 rats). Signed-rank p = 1.82e-49 on z-scored means and 1.84e-49 in seconds; the paper prints 1.82e-49.

  • Reproduced

    The block sensitivity of trial initiation times comes from trials after unrewarded trials; after rewarded trials initiation times do not differ between high and low blocks in the same direction.

    After unrewarded trials high blocks are faster in all 291 rats (mean z difference -0.351; two-tailed p =…

    Supplementary Fig. 2b; Results, Rats' deliberative and motivational decisions are sensitive to the value of the environment, paragraph 5; Methods, Statistical analyses, paragraph 3suppfig2-initiation-block-effect-after-unrewarded
    From the paper

    sensitivity to the reward blocks was largely driven by initiation times following unrewarded trials (Supplementary Fig. 2 , Methods), which accounted for more variance in initiation times.

    Reported statistics
    • post-rewarded trials, high against low block: Wilcoxon signed-rank test (two-tailed in the legend), p = 1 (n = 291 rats)
    • post-unrewarded trials, high against low block: Wilcoxon signed-rank test (two-tailed in the legend), p = 9.1 × 10⁻⁵⁰ (n = 291 rats)
    • all trials, high against low block: Wilcoxon signed-rank test (two-tailed in the legend), p = 9.2 × 10⁻⁵⁰ (n = 291 rats)
    Result

    After unrewarded trials high blocks are faster in all 291 rats (mean z difference -0.351; two-tailed p = 1.8e-49, one-tailed 9.02e-50 against the legend's 9.07e-50). After rewarded trials the one-tailed test gives p = 1 as in the legend; the two-tailed test is significant (p = 3.85e-09) in the other direction, high blocks slightly slower (+0.016 z). All trials one-tailed p = 9.12e-50 against the legend's 9.17e-50, which supports reading the legend's p values as the code's one-tailed tests.

  • Reproduced

    Wait times show no major differences after rewarded and after unrewarded trials.

    Mean 20 uL wait time ratio 0.899 after rewarded and 0.897 after unrewarded trials; difference 0.0022…

    Supplementary Fig. 3; Results, Rats' deliberative and motivational decisions are sensitive to the value of the environment, paragraph 5suppfig3-wait-time-not-affected-by-previous-outcome
    From the paper

    There were no major differences in wait times following rewarded or unrewarded trials (Supplementary Fig. 3 ).

    Result

    Mean 20 uL wait time ratio 0.899 after rewarded and 0.897 after unrewarded trials; difference 0.0022, signed-rank p = 0.636.

  • Reproduced

    After a transition into a mixed block, wait times converge to a common value whether the previous block was high or low, while trial initiation times in mixed blocks keep depending on the previous block (slower after high blocks, faster after low blocks).

    The wait time gap between curves after high and after low blocks over trials 1 to 20 is 0.325 of its size over…

    Figure 2a,b; Supplementary Figs 4 and 5; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 1fig2a-wait-time-converges-in-mixed-blocks
    From the paper

    In mixed blocks, the wait times following high and low blocks converged to a common value, regardless of the previous block type ... Trial initiation times, however, showed longer timescale effects such that initiation times in mixed blocks strongly depended on the previous block identity (Fig. 2b ; Supplementary Fig. 4 ).

    Result

    The wait time gap between curves after high and after low blocks over trials 1 to 20 is 0.325 of its size over trials -20 to -1 (0.082 over 10 to 20); for initiation times it is 2.31 times that size with the code's pooled detrending and 1.97 with the Methods' per-session detrending (2.42 and 2.06 over 10 to 20). Mixed-block initiation time is higher after high blocks (z +0.053 against -0.072) in all 291 rats, signed-rank p = 1.8e-49; the same with transitions counted within sessions only.

    Deviations from the paper’s method
    • The mixed-block means of part (2) follow FigureS4.m, which finds transitions on the concatenated trials, so a session that starts in a mixed block after one that ended in a high or low block counts as a transition; a variant counting transitions within sessions gives the same result.
    • The smoothing follows MATLAB's smooth (an even span reduced by one, shrinking at the ends), ignoring NaNs, a standard choice.
  • Reproduced

    Longer timescale contrast effects also appear at transitions from mixed into high or low blocks for trial initiation times, but not for wait times.

    Over trials -20 to -1 the initiation curve before a low block is above the one before a high block (+0.062…

    Supplementary Fig. 5; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 1suppfig5-mixed-to-adaptation-transitions
    From the paper

    These longer timescale dynamics, which are reminiscent of incentive contrast effects 29 , were also evident in the transitions from mixed blocks into high/low blocks for trial initiation times, but not wait times (Supplementary Fig. 5 )

    Result

    Over trials -20 to -1 the initiation curve before a low block is above the one before a high block (+0.062 pooled detrending, +0.049 per session; 276 and 261 of 291 rats). Relative to their gap after the transition, wait time curves differ less (0.134) than initiation curves (0.244 and 0.204).

  • Reproduced

    In mixed blocks, wait times are explained by the current offer and barely by previous offers, while trial initiation times reflect an exponentially decaying effect of previous rewards (larger recent rewards, faster initiation).

    Mean current offer coefficient for wait time +0.211 (95% interval of the mean +0.204 to +0.218), larger in…

    Figure 2c,d; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 2fig2c-d-regression-on-previous-rewards
    From the paper

    Examination of the regression coefficients revealed qualitatively different dynamics, in which the wait times were explained by the reward offered on the current trial, but the trial initiation times reflected an exponentially weighted effect of previous rewards

    Result

    Mean current offer coefficient for wait time +0.211 (95% interval of the mean +0.204 to +0.218), larger in size than every previous coefficient (within 0.004 of 0 after zeroing, within 0.013 before). Initiation coefficients 1, 2 and 3 trials back -0.030, -0.023 and -0.010, negative and shrinking, with 10 or 9 previous rewards and before or after zeroing. 250 of 291 rats have a negative lag-1 coefficient.

    Deviations from the paper’s method
    • The 95% interval across rats is taken as the t interval of the mean over rats; the claims file does not say which interval.
    • Regressions use log2 of the male volumes, as the claims file's common method says; the code (log2(A.reward)) uses the raw volumes, so female volumes would enter as 4 to 64 uL. The first run used the raw volumes; the numbers moved by at most 0.001.
  • Reproduced

    The time constants of exponential fits to the previous trial coefficients differ between trial initiation times and wait times, with longer time constants for initiation times (wait time time constants are mostly 0).

    Signed-rank p = 1.25e-45 (Methods' reading) and 2.28e-44 (code's reading), against the paper's 1.3e-49.

    Figure 2e; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 2; Methods, Trial history effectsfig2e-tau-differ
    From the paper

    We fit exponential curves to the previous trial coefficients for each rat, and found that the distributions of exponential decay time constant parameters ( τ ) were significantly different for the trial initiation and wait times ( p ≪ 0.01, Wilcoxon sign-rank test, N = 291; Fig. 2e ).

    Reported statistics
    • two-tailed Wilcoxon signed-rank test, p = 1.3 × 10⁻⁴⁹ (n = 291 rats)
    Result

    Signed-rank p = 1.25e-45 (Methods' reading) and 2.28e-44 (code's reading), against the paper's 1.3e-49. Mean initiation tau 2.06 and 2.03, mean wait time tau 0.066 and 0.098; the wait time tau is 0 in 248 of 291 rats, the initiation tau in 18 and 26. 267 and 261 rats have a larger initiation tau. Offers are the male volumes (see fig2c-d).

    Deviations from the paper’s method
    • The exponential is fitted by an exact least-squares profile (D solved for each tau on a grid within the bounds, then a bounded search over tau) in place of fmincon from 10 random starts. A gradient search from random starts was tried while preparing and stalled at D = 0 in many rats, where the error does not depend on tau; the profile finds the optimum the random starts look for.
  • Reproduced

    Across rats, the time constants for wait times and trial initiation times are not correlated.

    Pearson r = -0.033, p = 0.572 (Methods' taus) and r = +0.023, p = 0.693 (code's taus), both far from…

    Figure 2f; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 2fig2f-tau-uncorrelated
    From the paper

    Moreover, τ parameters were not correlated across models ( r = 0.08, p = 0.18, Pearson linear correlation, N = 291, Fig. 2f ).

    Reported statistics
    • as printed in the Results: Pearson linear correlation, r = 0.08, p = 0.18 (n = 291 rats)
    • as printed in the Figure 2f legend: Pearson linear correlation, r = -0.03, p = 0.53 (n = 291 rats)
    Result

    Pearson r = -0.033, p = 0.572 (Methods' taus) and r = +0.023, p = 0.693 (code's taus), both far from significance; the first is close to the legend's r = -0.03, p = 0.53, while the second has the opposite sign, near 0. The Results print r = 0.08, p = 0.18.

  • Reproduced

    Rats split by fast or slow temporal integration of initiation times (tau below the 20th or above the 80th percentile) differ in their initiation time regression coefficients but not in their wait time coefficients.

    58 rats per group (N = 116 as in the paper).

    Figure 2g,h; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 3fig2g-h-fast-slow-tau-groups
    From the paper

    There were differences in temporal integration for trial initiation times, but not wait times, for these groups (Fig. 2g, h trial initiation time p < 0.05, wait time p = 0.1, permutation test, N = 116).

    Reported statistics
    • initiation time coefficients, fast against slow group: one-tailed permutation test, p = 0.02 (n = 116 rats)
    • wait time coefficients, fast against slow group: one-tailed permutation test, p = 0.1 (n = 116 rats)
    Result

    58 rats per group (N = 116 as in the paper). Initiation coefficients p = 0.000 with either reading of the taus (paper 0.02; observed taus 0.91 and 3.90 for fast and slow); wait time coefficients p = 0.187 and 0.200 (paper 0.1), not significant. myTauShuffleTest.m fits every coefficient but the constant, so the wait time test includes the current offer coefficient (0.19 to 0.23), and every shuffled wait time fit has D at its bound of 1. Variants, not the paper's test - with the 9 previous coefficients only, p = 0.223 and 0.235 (0.249 and 0.260 with the observed fits on the shuffle scale), 14 to 15% of shuffled fits at the bound; with the current coefficient and the observed fits on the shuffle scale, p = 0.000, with every fit at the bound. The absence is judged on the paper's test.

    Deviations from the paper’s method
    • Exponential fits as in fig2e-tau-differ (exact profile in place of random starts), inside the shuffle test.
    • Offers are the male volumes (see fig2c-d).
  • Reproduced

    In mixed blocks, wait times for 20 uL do not depend on whether the previous offer was smaller or larger than 20 uL, for 87% of rats (253 of 291) and for the population.

    38 of 291 rats have p < 0.05, so 253 do not, the paper's count.

    Figure 2j; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 3fig2j-wait-time-not-sensitive-to-previous-offer
    From the paper

    Indeed, for almost all rats (87%), wait times for 20 μL offers in mixed blocks were not significantly different if they were preceded by rewards that were smaller or larger than 20 μL ( p > 0.05, Wilcoxon rank-sum test, N = 253/291).

    Reported statistics
    • population: two-tailed Wilcoxon rank-sum test (legend), p = 0.8 (n = 291 rats)
    Result

    38 of 291 rats have p < 0.05, so 253 do not, the paper's count. Population z -0.007 after smaller and +0.005 after larger offers; rank-sum on per-rat means p = 0.708, signed-rank variant p = 0.808 (paper 0.8).

    Deviations from the paper’s method
    • The previous trial is the one before in the concatenated data, which may be in another block or session, as waittime_20ul_by_previous_vol.m takes it (rew(find_20ul_catch-1)).
  • Reproduced

    In mixed blocks, trial initiation times are slower after offers smaller than 20 uL than after offers larger than 20 uL, significantly so for 89% of rats (256 of 291) and for the population.

    All mixed-block trials (the code) give 255 rats with p < 0.05, all slower after smaller offers; population z…

    Figure 2k; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 3fig2k-initiation-sensitive-to-previous-offer
    From the paper

    However, for 89% of rats, trial initiation times were significantly modulated by previous rewards, suggesting fixed and incrementally updated estimates of the value of the environment, respectively ( p < 0.05, Wilcoxon rank-sum test, N = 256/291, Fig. 2i–l ).

    Reported statistics
    • population: two-tailed Wilcoxon rank-sum test (legend), p = 1.8 × 10⁻⁴⁹ (n = 291 rats)
    Result

    All mixed-block trials (the code) give 255 rats with p < 0.05, all slower after smaller offers; population z +0.099 against -0.149, rank-sum p = 9.34e-97, signed-rank p = 1.84e-49 (legend 1.84e-49). 20 uL trials only (the Methods) give 265 rats with p < 0.05, 202 of them slower after smaller offers and 63 faster, population +0.000 against -0.083, rank-sum p = 9.71e-25. The paper's count ("significantly modulated") does not name a direction, so both readings match; counted in the claimed direction, the Methods' 202 would be below 256 - 26.

  • Reproduced

    Sensitivity to the previous offer is larger for trial initiation times than for wait times across rats.

    Mean sensitivity +0.248 for initiation (code's reading) against -0.012 for wait times, signed-rank p =…

    Figure 2l; Methods, Trial history effectsfig2l-sensitivity-greater-for-initiation
    From the paper

    We compared wait time and trial initiation time sensitivity to previous offers across rats using a paired Wilcoxon signed-rank test.

    Reported statistics
    • two-tailed Wilcoxon signed-rank test, p = 6.2 × 10⁻³⁸ (n = 291 rats)
    Result

    Mean sensitivity +0.248 for initiation (code's reading) against -0.012 for wait times, signed-rank p = 6.09e-38 (paper 6.21e-38); +0.083 and p = 2.19e-08 under the Methods' reading.

  • Reproduced

    Satiety effects on trial initiation times are modest, and the results, including the dynamics at block transitions, do not change qualitatively without detrending.

    Without detrending, initiation over trials 1 to 20 of mixed blocks is +0.147 after high and -0.109 after low…

    Supplementary Fig. 6; Results, Trial initiation and wait times exhibited distinct temporal dynamics, paragraph 4suppfig6-results-without-detrending
    From the paper

    However, there was no qualitative change in any of our results, including the dynamics at block transitions, if we did not detrend (Supplementary Fig. 6 ).

    Result

    Without detrending, initiation over trials 1 to 20 of mixed blocks is +0.147 after high and -0.109 after low blocks, higher after high in all 291 rats; part (2) of fig2a does not detrend and holds (p = 1.8e-49). The trend removed by detrending has a median of 0.05 z per 100 trials.

  • Reproduced

    Rats' wait times in mixed blocks depend in a graded way on the catch probability, as the wait time model predicts (shorter waits at higher catch probability).

    Rats with data at 0.1, 0.15, 0.2, 0.25 and 0.35 number 3, 188, 61, 151 and 40, all within tolerance.

    Figure 3c; Results, Computational modeling reveals distinct value computations, paragraph 1; Methods, Statistical analyses, paragraph 5fig3c-wait-time-by-catch-probability
    From the paper

    as well as a graded dependence of wait times on the catch probability (Fig. 3c )

    Result

    Rats with data at 0.1, 0.15, 0.2, 0.25 and 0.35 number 3, 188, 61, 151 and 40, all within tolerance. Mean wait time decreases from 0.15 to 0.2 to 0.25 at all 5 offers (20 uL 12.10, 11.08, 10.61 s). The dandiset also has catch probability 0.3 in 360 sessions of 8 rats, a value the paper does not list. By each rat's most common probability the counts are 107, 42, 126, 6 (0.3) and 10, so the paper's counts are rats with data at each probability. wtByPCatch.m does not ask for an opt-out; 140 catch trials over all rats have a wait time without one, and with opt-out trials only the 20 uL means are the same to 0.01 s and the decrease holds at all 5 offers.

    Deviations from the paper’s method
    • The catch probability of each trial is taken from the raw trial table (catch_percentage), as the processed table has none; the two tables are the same trials row by row.
  • Reproduced

    In simulations of a Bayes optimal observer, hearing the reward offer reduces the uncertainty of beliefs about the hidden block (posterior variance below prior variance).

    With the code's and Equation 6's transition matrices, the posterior is less uncertain than the prior in every…

    Results, Reducing state uncertainty did not change trial initiation times, paragraph 2bayes-observer-offer-reduces-uncertainty
    From the paper

    Model simulations of a Bayes' optimal observer did show that the reward offer reduced the uncertainty of subjective beliefs about the hidden state (comparing variance of prior to variance of posterior, p ≪ 0.001, Wilcoxon sign-rank test).

    Reported statistics
    • Wilcoxon signed-rank test, p < 0.001
    Result

    With the code's and Equation 6's transition matrices, the posterior is less uncertain than the prior in every rat under both readings. Variance of block probabilities rises from 0.157 to 0.169 and variance of block value falls from 0.104 to 0.082 (code's matrix), per-rat signed-rank p = 1.8e-49 for each; over the trials of J004 p = 5.31e-257 and p = 0, and over all rats' 6,037,811 trials pooled p = 0 for both readings (mean change +0.0124 and -0.0222).

    Deviations from the paper’s method
    • The inference follows GenerateSynthData_Bayes.m (trials with a wait time; belief reset to 1/2, 1/4, 1/4 at session starts, where there is no prior). The code's transition matrix moves from mixed to high or low with H0/2 each, where Equation 6 gives H0; both were run.
    • Under the reading by variance of the block probabilities, a less uncertain posterior has a larger variance, so the test is for an increase there and a decrease for the variance of block value.
  • Reproduced

    Male and female rats do not differ in their wait time ratios or trial initiation time ratios.

    184 males and 107 females from the subject metadata.

    Supplementary Fig. 12; Methods, Training for male and female ratssuppfig12-no-sex-differences
    From the paper

    We did not observe any significant differences between the male and female rats, in terms of contextual effects, or behavioral dynamics at block transitions (Supplementary Fig. 12 ).

    Reported statistics
    • wait time ratio: Wilcoxon rank-sum test, p = 0.23 (n = 184 males and 107 females)
    • trial initiation time ratio: Wilcoxon rank-sum test, p = 0.59 (n = 184 males and 107 females)
    Result

    184 males and 107 females from the subject metadata. Wait time ratios 0.892 against 0.898 (rank-sum p = 0.238, paper 0.23); initiation ratios 0.563 against 0.559 (p = 0.557, paper 0.59).

  • Reproduced

    Without removing wait times more than 1 SD above the pooled mean, the contextual effects on wait times are qualitatively similar, with longer average wait times, mainly in low blocks.

    Unthresholded 20 uL wait time 12.51 s in high against 14.47 s in low blocks, signed-rank p = 1.02e-43.

    Supplementary Fig. 14; Methods, Statistical analyses, paragraph 1suppfig14-contextual-effects-without-threshold
    From the paper

    Wait time curves without threshold (right) have qualitatively similar context effects, but longer average wait times.

    Result

    Unthresholded 20 uL wait time 12.51 s in high against 14.47 s in low blocks, signed-rank p = 1.02e-43. The unthresholded mean is longer at all 11 offer and block combinations, by 2.31 to 2.86 s in low blocks and 0.95 to 1.78 s in mixed blocks. The low block curve is flatter unthresholded (0.12 against 0.67 s from 5 to 20 uL).

  • Reproduced

    With the reward cue played before trial initiation, trial initiation times become sensitive to the offered reward.

    Population mean z-scored initiation time on pre-cue sessions falls at every step from 5 to 80 uL (+0.102 to…

    Figure 5b; Results, Reducing state uncertainty did not change trial initiation times, paragraph 3; Methods, Pre-initiation cue tasknames its codes from outside the datasetfig5b-pre-cue-initiation-sensitive-to-offer
    From the paper

    Their trial initiation times became sensitive to the offered reward (Fig. 5b ).

    Result

    Population mean z-scored initiation time on pre-cue sessions falls at every step from 5 to 80 uL (+0.102 to -0.126 from the switch date; +0.117 to -0.152 after 30 pre-cue sessions), and is flat on the original task (0.000 to -0.012). ANOVA p < 0.05 in 14 of 16 rats on the pre-cue task (11 of 11 rats with sessions after 30 pre-cue sessions) and 0 of 12 on the original task. The link holds for 14 rats; the two not confirmed are the two without a significant ANOVA here, so the count of 14 rests on the linked rats. The same ANOVA validates the link (pre-cue-session-link) and is reported here, so the two are not independent; the switch dates come from Figure5.m, not from the data.

    Deviations from the paper’s method
    • The Methods use every session of these rats, without the inclusion criterion; the dandiset holds only the sessions that pass it, so some pre-cue sessions are missing.
    • The Methods' reading (after 30 pre-cue sessions) counts the dandiset's sessions, which leaves 7 of the 12 switched rats with any.
  • Reproduced

    On the pre-initiation cue task, how quickly rats initiate trials in mixed blocks still depends on the previous block.

    Over trials 1 to 20 of mixed blocks on pre-cue sessions, z-scored initiation time is +0.149 after high and…

    Figure 5d; Results, Reducing state uncertainty did not change trial initiation times, paragraph 3names its codes from outside the datasetfig5d-pre-cue-initiation-depends-on-previous-block
    From the paper

    Moreover, how quickly they initiated trials in mixed blocks continued to depend on the previous block identity (Fig. 5d ).

    Result

    Over trials 1 to 20 of mixed blocks on pre-cue sessions, z-scored initiation time is +0.149 after high and -0.132 after low blocks, higher after high in all 16 rats, signed-rank p = 3.05e-05; the same with per-session detrending and after 30 pre-cue sessions (11 of 11 rats, p = 0.000977).

    Deviations from the paper’s method
    • Only sessions that pass the inclusion criterion are in the dandiset (see fig5b).
  • Reproduced

    Within mixed blocks, wait times for 20 uL differ between trials the inferential model labels as high and as low blocks, so wait times reflect mistaken inferences.

    On 20 uL catch trials in mixed blocks, mean wait time is 10.85 s on trials the model labels high and 11.90 s…

    Supplementary Fig. 9; Results, Computational modeling reveals distinct value computations, paragraph 5rests on an assumptionsuppfig9-wait-times-reflect-misinferences
    From the paper

    The rats' wait times reflected these mistaken inferences, further indicating that their wait times were well-described by the inferential model ( p ≪ 0.001, Wilcoxon signed-rank test comparing wait times for 20μL in misinferred high vs. low blocks, N = 291; Supplementary Fig. 9 ).

    Reported statistics
    • Wilcoxon signed-rank test, p < 0.001 (n = 291 rats)
    Result

    On 20 uL catch trials in mixed blocks, mean wait time is 10.85 s on trials the model labels high and 11.90 s on trials it labels low, shorter when labelled high in 230 of 291 rats, signed-rank p = 9.72e-23 (Equation 6's matrix 238 rats, p = 2.57e-25). The claim depends on fig3j in the claims file because the labels come from the inferential model, but the labels come from the block inference alone, which has no fitted parameter. Changed from blocked after the round 1 verification.

    Deviations from the paper’s method
    • FigureS9.m takes the labels on held-out test sets, whose folds are not given. The labels on all sessions are used, which are the test-set labels when the folds are whole sessions, since the inference is reset at every session (an assumption).
    • Wait times on catch trials as FigureS9.m takes them, without asking for an opt-out.

Partially reproduced2

  • Partially reproduced

    A retrospective model with a learning rate scaled by changes in the inferred block posterior captures the slow and fast dynamics of trial initiation times at block transitions and their dependence on previous rewards, while a static learning rate or an unsigned prediction error gain does not.

    On rat J004's trials (as Figure3.m and FigureS7.m simulate), the Equation 10 model shows an overshoot (+0.016…

    Figure 3g-i; Supplementary Fig. 7; Results, Computational modeling reveals distinct value computations, paragraphs 3 and 4rests on an assumptionfig3i-retrospective-model-captures-initiation
    From the paper

    We explored versions of the dynamic learning rate that did not reflect inference, including using the unsigned reward prediction error or a running average of reward prediction errors 38 . However, these models could not capture both short and long timescale dynamics at block transitions (Supplementary Fig. 7 ).

    Result

    On rat J004's trials (as Figure3.m and FigureS7.m simulate), the Equation 10 model shows an overshoot (+0.016 with noise variance 8, +0.081 with 4) and a persistent post-high above post-low gap (+0.239, +0.287). The static learning rate lacks one feature at alpha_0 0.05 and 0.4 but shows both at 0.8 (gap +0.0041 with noise, -0.0001 without). The unsigned prediction error gain lacks the gap at 0.05 but shows both at 0.4 and 0.8, with gaps +0.012 and +0.006 (+0.025 and +0.013 without noise). The criterion, which sets no threshold, asks each alternative to lack one feature at every alpha_0, which fails at three of six settings, so the alternatives' part holds only in part. Controls added in revision - a noise-only flat time gives mean overshoots of +0.011 to +0.019 (95th percentiles +0.029 to +0.058) and gap 95th percentiles of +0.010 to +0.020. Judged against these, every alternative lacks one feature at every alpha_0, and the Equation 10 model shows both at noise 4 but not at noise 8 (overshoot +0.016 against +0.046). Without noise or smoothing, all models overshoot (+0.43 for Equation 10, +0.21 to +0.31 for the alternatives at 0.4 and 0.8) and the alternatives at 0.4 and 0.8 show gaps of +0.11 to +0.21 against +1.24. The two controls point different ways, and the outcome follows the criterion as written. For Fig. 3i, the model's initiation times are higher after offers below 20 uL (+0.052 z) than above (-0.049 z) in 290 of 291 rats, as the rats' are.

    Deviations from the paper’s method
    • For the Fig. 3i part, Figure3.m simulates each rat with its own retrospective parameters fitted to wait times, which are not in the dandiset (they are in the Zenodo deposit) and were not refitted (see fig3j). J004's parameters (alpha_0 0.1042, D 0.2527) are used for every rat, an assumption. The direction does not depend on alpha_0 - without noise, the model is higher after offers below 20 uL at every alpha_0 from 0.01 to 0.8 tried (by +0.077 to +1.076 z on average; in 273 of 291 rats at 0.01 and 290 or 291 at the others).
    • Each script's own scaling of D, initial kappa and reset at session starts is used (D times 25, 10 and 15; kappa starting at mean(log(rewards)), 20 and 0.5), as GenerateLatencyData_AlphaPHModel.m, _VanillaAlpha.m and _RPEAlpha.m set them. The static model averages 10 noise draws per trial, as its script does.
    • The overshoot and gap measures are the claims file's; their signs only are judged, so values near 0 decide the alternatives' part.
  • Partially reproduced

    On the pre-initiation cue task, trial initiation times for 20 uL in mixed blocks are still modulated by the previous reward, for 13 of 16 rats and for the population.

    Under the reading the Fig. 5c legend gives ("behavior on trials offering 20μL conditioned on the previous…

    Figure 5c; Results, Reducing state uncertainty did not change trial initiation times, paragraph 3verifier disagreed at firstrests on an assumptionnames its codes from outside the datasetfig5c-pre-cue-initiation-still-sensitive-to-previous-reward
    From the paper

    However, trial initiation times for 20μL in mixed blocks were still modulated by the previous reward, consistent with the use of incrementally updated estimates of the value of the environment within a block ( p < 0.05 for 13/16 rats; Fig. 5c ).

    Reported statistics
    • population: two-tailed Wilcoxon rank-sum test, p = 10⁻⁴ (n = 16 rats)
    Result

    Under the reading the Fig. 5c legend gives ("behavior on trials offering 20μL conditioned on the previous reward offer"), sessions from the switch date, 14 of 16 rats have p < 0.05 (expected 13 +- 1), 9 of them slower after smaller offers; 11 of 16 rats are slower after smaller offers, and the population rank-sum gives p = 0.0676 (signed-rank 0.0182), not below 0.001. The count matches, the population test does not. With all mixed-block trials (Figure5.m), 13 rats have p < 0.05, all 16 are slower after smaller offers, p = 1.86e-06 (paper 1.03e-4); with the trials after violations left out, which repeat the previous offer while the cued current offer drives initiation on this task (fig5b), the mean is lower after smaller offers (-0.108 against -0.072 z), 5 rats are slower after smaller offers and p = 0.30. After 30 pre-cue sessions 11 rats remain (9 with p < 0.05 and p = 0.000182 with all trials; 10 and p = 0.47 with 20 uL trials). Changed from reproduced after the round 1 verification. Added after round 2 - within a session and block every post-violation trial repeats the previous offer (share 1.000 in all 16 rats; 0.985 to 0.996 over all post-violation trials, against 0.195 to 0.226 after other trials). The only post-violation trials that do not repeat are a session's first trials, whose previous trial in the concatenated data ends the previous session; dropping post-violation trials from the 20 uL test removes 455 of its 18,075 trials, all of them session first trials, with mean z initiation time +2.920 against -0.057, and moves p from 0.0676 to 0.611. The 14 significant rats include 5 in the opposite direction and three with mean differences near 0 (E008 +0.0007, S042 -0.0073, M044 -0.0173), so the count is weak support.

    Deviations from the paper’s method
    • The 20 uL reading of the Fig. 5c legend is adopted (an assumption between the readings the criterion lists). The all-trials reading of Figure5.m matches the claim only through the post-violation trials, which carry the previous offer into the current one on a task where the current offer drives initiation time.
    • Only sessions that pass the inclusion criterion are in the dandiset (see fig5b).

Not reproduced2

  • Not reproduced

    Wait times predicted by the inferential model fitted to each rat are, like the rats' wait times, not sensitive to the previous offer for 20 uL in mixed blocks.

    The inferential model of GenerateSynthData_Bayes.m fitted to each rat (100 random starts) predicts wait times…

    Figure 3f; Results, Computational modeling reveals distinct value computations, paragraph 2rests on an assumptionfig3f-inferential-model-not-sensitive-to-previous-offer
    From the paper

    Across rats, the model also captured that wait times for 20μL in mixed blocks were not sensitive to previous rewards (Fig 2j ; Fig. 3f ).

    Result

    The inferential model of GenerateSynthData_Bayes.m fitted to each rat (100 random starts) predicts wait times, one noisy draw as Figure3.m uses, that are longer after offers below 20 uL (+0.033 z) than above (-0.032 z); rank-sum on per-rat means p = 9.52e-11 (signed-rank 3.51e-09), so by the claim's test the model is sensitive to the previous offer. Without noise the difference is +0.448 z (p = 1.49e-68). The rats' own difference is -0.012 z. The effect comes from the mixed-block trials the model labels high or low (median 8.5% per rat), with kappa_high > kappa_mixed > kappa_low in 197 of 291 rats. It is small (+0.065 z, about a quarter of the rats' initiation time sensitivity of +0.248 z), and 16 rats reach p < 0.05 against the rats' 38. On J004 the fit recovers its generating parameters to within 0.004. 6 of 291 fits have a parameter within 1e-4 of a bound. Changed from blocked after the round 1 verification, which found the fit feasible.

    Deviations from the paper’s method
    • The fitting code is not in the paper's repository. The model and its parameter scaling follow GenerateSynthData_Bayes.m (params in [0, 1], kappa = params C log2(min reward) / tau, D = 10 params, R = log2 of the raw volume, C = max(1 - catch probability), tau = 2.5 s) and the noise the Methods give (log-normal, variance 8). The likelihood is taken over opt-out catch trials, the trials where the wait time is the rat's choice, an assumption.
    • scipy's bounded L-BFGS-B from 100 random starts in place of fmincon from 100 random seeds (Methods, Fitting and evaluating models).
  • Not reproduced

    Rats with optimal and poor inference (high or low lambda of the sub-optimal inferential model) differ in their wait time dynamics at transitions from mixed into low or high blocks, but not in their trial initiation time dynamics.

    The fitted lambdas pile up at the bounds (59 rats at 0, 69 at 1, median 0.775), so the 20th and 80th…

    Figure 3l; Supplementary Figs 10 and 11; Results, Computational modeling reveals distinct value computations, paragraph 7rests on an assumptionfig3l-lambda-groups-wait-time-dynamics
    From the paper

    Rats with optimal and poor inference exhibited significantly different dynamics at transitions from mixed into low or high blocks, indicated by different inverse temperature parameters (mix to low/high, p < 0.05, one-tailed permutation test, N = 180 Fig. 3l ). There was no difference in the dynamics of trial initiation times for those same groups of rats (mixed to low... p = 0.3, mixed to high... p = 0.2, one-tailed permutation test, N = 180; Fig. 3l ).

    Reported statistics
    • wait time, mixed to low, slope (legend): one-tailed non-parametric shuffle test, p = 0.02 (n = 116 rats (legend; 180 in the Results))
    • wait time, mixed to high, right asymptote (legend): one-tailed non-parametric shuffle test, p = 0.003 (n = 116 rats (legend; 180 in the Results))
    • trial initiation time, mixed to low, slope (legend; p = 0.3 in the Results): one-tailed non-parametric shuffle test, p = 0.15 (n = 116 rats (legend; 180 in the Results))
    • trial initiation time, mixed to high, right asymptote (legend; p = 0.2 in the Results): one-tailed non-parametric shuffle test, p = 0.21 (n = 116 rats (legend; 180 in the Results))
    Result

    The fitted lambdas pile up at the bounds (59 rats at 0, 69 at 1, median 0.775), so the 20th and 80th percentiles are 0 and 1 and the groups are the rats at them (59 and 69, N = 128 against 116). At mixed to low the wait time slope C does not differ (shuffle p = 0.242; 0.197 with the 40/60 split), which the criterion needs. At mixed to high the wait time upper asymptote D differs (p = 0.000 under both splits) but C does not (0.355, 0.237). Initiation times also differ in D at mixed to high (p = 0.028; 0.007 with per-session detrending, 0.006 with the 40/60 split), so their absence fails under the legend's reading; their C does not differ (0.129 to 0.494). Neither reading holds under either split. Changed from blocked after the round 1 verification. The paper's 20/80 split gives N = 116, which ties at the bounds could not give, so the refit's lambdas are not distributed as the paper's, and the groups here come from a tie-break, not the paper's rule; the failure may be the refit's and cannot be separated from it. The 40/60 split, which has no ties, also fails.

    Deviations from the paper’s method
    • The sub-optimal model follows GenerateSynthData_Bayes_subopt_onlylambda_flat.m and is fitted with the likelihood of fig3f (opt-out catch trials, log-normal noise of variance 8), an assumption, as the fitting code is not public.
    • The likelihood changes with lambda only in steps, so lambda is profiled over 41 values from 0 to 1 and the other 4 parameters fitted at each (2 starts, one warm-started), in place of fmincon from 100 random starts.
    • Figure3.m forms the groups with strict inequalities (lambda above or below the percentile); with ties at 0 and 1 both groups would be empty, so the rats at the percentile join the group (a tie-break).
    • Logistic fits with scipy's bounded least_squares from 10 random starts in place of fmincon (my_fit_sigmoid.m), with its bounds; transition curves with 30 trials either side and 10-trial smoothing (Figure3.m).

Blocked1

  • Blocked

    Wait times are better fit by the inferential model, which uses hidden state inference to choose a block-specific value of the environment, than by the retrospective model, by BIC, AIC and cross-validated negative log-likelihood.

    The refit needs each rat's wait times fitted by the inferential and retrospective models with 100 random…

    Too large to analyseFigure 3j; Supplementary Fig. 8a,c,e; Results, Computational modeling reveals distinct value computations, paragraph 5fig3j-inferential-beats-retrospective-for-wait-times
    From the paper

    By several model comparison metrics, wait times were better fit by the inferential model that used hidden state inference to select block-specific estimates of the value of the environment ( p ≪ 0.001, Wilcoxon signed-rank test, N = 291; Fig. 3j , Supplementary Fig. 8 )

    Reported statistics
    • delta BIC: two-tailed Wilcoxon signed-rank test, p = 1.1 × 10⁻³⁷ (n = 291 rats)
    • cross-validated negative log-likelihood: two-tailed Wilcoxon signed-rank test, p = 6.6 × 10⁻⁴⁰ (n = 291 rats)
    • AIC: two-tailed Wilcoxon signed-rank test, p = 1.9 × 10⁻³⁹ (n = 291 rats)
    Result

    The refit needs each rat's wait times fitted by the inferential and retrospective models with 100 random starts (Methods, Fitting and evaluating models), on all data and on 5 folds. Revised after the round 1 verification - with the retrospective likelihood compiled (numba), one evaluation on J004 takes 0.157 ms (19.9 ms in pure Python), and an inferential fit with 100 starts takes 0.68 s per rat (fig3f). From the 192 evaluations per start counted in those fits, the refit on all data and 5 folds is estimated at 2.68 h on one core for the retrospective model (0.67 h on 4) and 0.66 h for the inferential and belief state models, about 3.3 h in all, beyond the notebook limit of 1 h with the 24.0 minutes the notebook already takes. These are the numbers of the final run; the timings depend on the machine, and the verifier's round 2 re-execution gave 0.253 ms, 1.24 s per rat, 4.32 h (1.08 h on 4) and 1.20 h, about 5.5 h in all, with a notebook of 45.3 minutes. The first run's estimate, 138 h in the author's run and 162 h in the verifier's round 1 re-execution, timed a pure Python loop and an assumed 200 evaluations per start. The fitting code is not in the paper's repository, so the trials in the likelihood, the bounds, the starting ranges and the folds are also open. The paper's fits are in the Zenodo deposit (doi:10.5281/zenodo.10031483) as BestFit.mat files of about 1.1 GB each inside a 12.4 GB zip; using them would test the paper's fits, not the dandiset, and was not tried.

Not tested in a notebook 4

1 too large to analyse, 3 data missing from the dataset

Blocked4

  • Blocked

    Model comparison does not distinguish the inferential model from the belief state model for wait times.

    Needs the belief state model fitted as in fig3j, on all data and 5 folds, beside the inferential fits; not run…

    Too large to analyseSupplementary Fig. 8b,d,f; Results, Computational modeling reveals distinct value computations, paragraph 6suppfig8-belief-state-not-distinguished
    From the paper

    In fact, when the posterior beliefs are stable, which is often the case, the belief state and inferential models are identical, and model comparison did not favor one model over the other (Supplementary Fig. 8 ).

    Reported statistics
    • cross-validated negative log-likelihood: two-tailed Wilcoxon signed-rank test, p = 1 (n = 291 rats)
    • AIC: two-tailed Wilcoxon signed-rank test, p = 1 (n = 291 rats)
    • BIC: two-tailed Wilcoxon signed-rank test, p = 1 (n = 291 rats)
    Result

    Needs the belief state model fitted as in fig3j, on all data and 5 folds, beside the inferential fits; not run with fig3j (estimated at 3.3 h on one core in all in the final run, 5.5 h in the verifier's round 2 re-execution).

  • Blocked

    When the hidden blocks are introduced, wait times for 20 uL become sensitive to the block only gradually over training, while trial initiation times are block sensitive from the first session.

    Fig. 4 uses all stage 8 sessions, including those that fail the inclusion criterion (Methods, Learning…

    Data missing from the datasetFigure 4a,b; Results, Block sensitivity for wait times requires structure learning, paragraph 2fig4a-wait-time-block-sensitivity-emerges
    From the paper

    In the final stage of training, when rats were introduced to the hidden states, their wait times for 20μL gradually became sensitive to the reward block (Fig. 4a ) ... In contrast, trial initiation times exhibited block sensitivity on the first session in the final training stage (Fig. 4a ).

    Result

    Fig. 4 uses all stage 8 sessions, including those that fail the inclusion criterion (Methods, Learning dynamics); Figure4.m reads them from the lab's S structs. The dandiset was converted from A_Structs_Final (the conversion script constantinople-lab-to-nwb, mah_2024_convert_all_sessions.py), which holds only the sessions the lab's parser keeps after screen_perf.m. The S structs are not in the Zenodo deposit, which holds A_Structs_Final, A_Structs_all and the model fits. A_Structs_all was not read here; whether it holds the excluded sessions is not known. A partial test on the included sessions was not run: the claims are about how behavior changes from the first stage 8 sessions, which are the ones the criterion removes, so a trend over the included sessions would test a different selection.

  • Blocked

    The effect of the previous reward on trial initiation times is comparable early and late in training.

    As fig4a-wait-time-block-sensitivity-emerges; the sessions that fail the inclusion criterion are not in the…

    Data missing from the datasetFigure 4c; Results, Block sensitivity for wait times requires structure learning, paragraph 2fig4c-initiation-previous-reward-stable
    From the paper

    This sensitivity was comparable early and late in training, consistent with animals using previous rewards to a similar extent at these timepoints (Fig. 4c ).

    Result

    As fig4a-wait-time-block-sensitivity-emerges; the sessions that fail the inclusion criterion are not in the dandiset. A partial test on the included sessions was not run: the claims are about how behavior changes from the first stage 8 sessions, which are the ones the criterion removes, so a trend over the included sessions would test a different selection.

  • Blocked

    The overshoot of trial initiation times after transitions from high to mixed blocks becomes more prominent with training, on a timescale like that of block sensitivity for wait times.

    As fig4a-wait-time-block-sensitivity-emerges; the first stage 8 sessions, including those excluded by the…

    Data missing from the datasetFigure 4d,e; Results, Block sensitivity for wait times requires structure learning, paragraph 3fig4d-overshoot-grows-with-training
    From the paper

    The overshoot became more prominent with training (Fig. 4d ), on a similar timescale as block sensitivity for wait times (Fig. 4e ), suggesting a shared mechanism.

    Result

    As fig4a-wait-time-block-sensitivity-emerges; the first stage 8 sessions, including those excluded by the criterion, are not in the dandiset. A partial test on the included sessions was not run: the claims are about how behavior changes from the first stage 8 sessions, which are the ones the criterion removes, so a trend over the included sessions would test a different selection.

Notes on the paper

What the attempts found about the paper itself: a method or rule it does not give, a place where it disagrees with itself, published code that does something else. What they found about the data is on each dataset’s page.

  • Methods not availableThe code that fits the wait time models (inferential, belief state, sub-optimal and retrospective) is not in the paper's repository, which loads the fits from files. Question for the authors - which trials enter the likelihood (opt-out catch trials only, as assumed here for fig3f and fig3l, or hit trials as censored), what bounds and starting ranges are used, and how the 5 folds are formed (whole sessions, as assumed here for suppfig9, or trials)?#
  • Published code disagreesEquation 6 lets a mixed block become a low (or high) block with probability H0, while every model script uses H0/2 for each (p_b in GenerateSynthData_Bayes.m). Question for the authors - which was used for the fits? Both give the same outcome for the Bayes observer claim here.#
  • Published code disagreesFigure5.m lists 16 rats but 20 start dates, and the Methods' 30-session offset for switched rats is not in it; the code uses the first 16 dates. Question for the authors - are the dates paired with the rats in order, and were sessions before the 30th pre-cue session left out?#
  • Paper inconsistentThe correlation of the two time constants is r = 0.08, p = 0.18 in the Results and r = -0.03, p = 0.53 in the Figure 2f legend; this attempt finds r = -0.032 and +0.023 under the two readings.#
  • Published code disagreesmyTauShuffleTest.m refits the shuffled groups' mean coefficients times 10 with D at most 1, and the observed groups' coefficients unscaled; for wait times the coefficients include the current offer (about 0.2, so about 2 after scaling), and every shuffled fit sits at the bound, so the null is not on the observed scale. The Methods describe the fits on previous trial coefficients only. Question for the authors - was the wait time test meant to include the current offer?#

Questions about the claims 1

Where the author or a verifier believed the claims file misread the paper, they asked, citing the paper, and a reader who had not seen the data answered from the paper alone, amending the claims file where it was wrong. The author then ran the claim as answered. Attempts before protocol pilot-11 also asked here for method details the claims file did not give.

  • openasked 2026-11-10about cohort-size

    The claims file's opening comment says "A further 16 rats ran a pre-initiation cue task (Fig. 5; 12 switched from the standard task, 4 trained only on it)", which reads as 16 rats beside the 291. The paper says a subset of rats ran that task. Should the comment say that the 16 rats are among the 291, so that the Fig. 1 and Fig. 2 analyses include their pre-cue sessions?

    Passage. "To modulate the subjective uncertainty in the rat’s estimate of state (block) before trial initiation time, we ran a subset of rats on a variation of the task where we cued reward offer before rats initiated a trial ( N = 16)." (Methods, Pre-initiation cue task; the Results, Reducing state uncertainty did not change trial initiation times, also speak of a subset.)

    Why it matters. Raised by the round 1 verifier. In the dandiset the 291 rats include all 16, among them M045 to M048, who trained only on the pre-cue task, and the median trial and session counts match the paper exactly with them included. If the 16 were extra, the cohort count and the Fig. 1 and 2 analyses would have to leave them out. With 16 of 291 rats no outcome here changes either way; the attempt tests the claims as written and keeps the pre-cue rats in the 291.

    No reader has answered it yet.

Notebooks

Every registered entry that uses the paper’s datasets. An entry can hold several notebooks, and can use more than one dataset.

Reproduction Distinct value computations in rats' wait times and trial initiation times (Mah et al. 2023)

Tests the behavioral findings of Mah, Schiereck, Bossio and Constantinople (2023) on dandiset 001169, which holds 23,034 sessions of 291 rats in a temporal wagering task with hidden reward blocks. It measures the block effects on wait times and trial initiation times, their dynamics at block transitions, their dependence on previous rewards, the effect of the catch probability, sex differences, and simulations of the block inference, inferential and retrospective models. The model comparison fits of Figure 3 were not run (too long), the learning analyses of Figure 4 need sessions that are not in the dandiset, and the pre-cue sessions of Figure 5 are not marked. All files

Environment: Python 3.13, 13 packages pinned with their hashes in requirements.lock.txt; CI runs each notebook from a new environment built from it.

Verification

  • Round 1
    2026-11-10
    Agreed with 32 of 33 outcomes. Independent agent run by CatalystNeuro (verifier-1; same harness, separate context, did not write the notebook). Reviewed: The first executed notebook with the conclusion cells and the summary removed, the helper module and the claims file, with the paper's full text (PMC10663503). The verifier checked the archive's metadata for the blocked claims and tested helpers on synthetic inputs (fit_exp_decay, zero_after_first_ns, transition_codes, lognormal_noise, matlab_smooth). It could not read the paper's MATLAB code.
    • fig5c-pre-cue-initiation-still-sensitive-to-previous-reward: the verifier’s outcome was “Partially reproduced”. Code reading by date - 13 of 16 rats, p = 1.9e-6, which passes. Methods reading (20 uL trials, as the Fig. 5c legend says) - 14 of 16 rats but rank-sum p = 0.068 by date and 0.47 after 30 sessions, which fails. On the pre-cue task the code reading is confounded - post-violation trials repeat the previous offer (Methods, Pre-initiation cue task), and on this task the current cued offer drives initiation time; the notebook does not mention this confound.
  • Round 2
    2026-11-10
    Agreed with 33 of 33 outcomes. Independent agent run by CatalystNeuro (verifier-2; same harness, separate context, did not write the notebook). Reviewed: Round 2. The full executed notebook of the author-revise-1 run, re-executed by the verifier, the helper module, the claims file and this record, with the paper. Report in transcripts/mah-2023/verifier-2-report.md. The verifier agrees with all 33 outcomes. It found stale timings for fig3j and suppfig8 in the record and the Summary, a stale loading time in cell 2 and the README, a wrong statement on the fig2f readings, an unbacked deviation in fig3i, an unverified premise in fig5c and a missing caveat in fig3l. After it, two cells were added (fig3i over alpha_0, fig5c offer repeats), the text was corrected and the entry re-run; no outcome changed and none is proposed.

Method differences

How the tests differed from the paper’s method or data, and the claims each applies to.

  • Only sessions that pass the inclusion criterion are in the dandiset (see fig5b).fig5c-pre-cue-initiation-still-sensitive-to-previous-reward fig5d-pre-cue-initiation-depends-on-previous-block
  • The paper's MATLAB functions (wtcurves.m and the others named in each section) were rewritten in Python; the trials of each rat are concatenated over its sessions in date order, as the lab's A struct is.fig1f-wait-time-block-effect
  • The mixed-block means of part (2) follow FigureS4.m, which finds transitions on the concatenated trials, so a session that starts in a mixed block after one that ended in a high or low block counts as a transition; a variant counting transitions within sessions gives the same result.fig2a-wait-time-converges-in-mixed-blocks
  • The smoothing follows MATLAB's smooth (an even span reduced by one, shrinking at the ends), ignoring NaNs, a standard choice.fig2a-wait-time-converges-in-mixed-blocks
  • The 95% interval across rats is taken as the t interval of the mean over rats; the claims file does not say which interval.fig2c-d-regression-on-previous-rewards
  • Regressions use log2 of the male volumes, as the claims file's common method says; the code (log2(A.reward)) uses the raw volumes, so female volumes would enter as 4 to 64 uL. The first run used the raw volumes; the numbers moved by at most 0.001.fig2c-d-regression-on-previous-rewards
  • The exponential is fitted by an exact least-squares profile (D solved for each tau on a grid within the bounds, then a bounded search over tau) in place of fmincon from 10 random starts. A gradient search from random starts was tried while preparing and stalled at D = 0 in many rats, where the error does not depend on tau; the profile finds the optimum the random starts look for.fig2e-tau-differ
  • Exponential fits as in fig2e-tau-differ (exact profile in place of random starts), inside the shuffle test.fig2g-h-fast-slow-tau-groups
  • Offers are the male volumes (see fig2c-d).fig2g-h-fast-slow-tau-groups
  • The previous trial is the one before in the concatenated data, which may be in another block or session, as waittime_20ul_by_previous_vol.m takes it (rew(find_20ul_catch-1)).fig2j-wait-time-not-sensitive-to-previous-offer
  • The catch probability of each trial is taken from the raw trial table (catch_percentage), as the processed table has none; the two tables are the same trials row by row.fig3c-wait-time-by-catch-probability
  • For the Fig. 3i part, Figure3.m simulates each rat with its own retrospective parameters fitted to wait times, which are not in the dandiset (they are in the Zenodo deposit) and were not refitted (see fig3j). J004's parameters (alpha_0 0.1042, D 0.2527) are used for every rat, an assumption. The direction does not depend on alpha_0 - without noise, the model is higher after offers below 20 uL at every alpha_0 from 0.01 to 0.8 tried (by +0.077 to +1.076 z on average; in 273 of 291 rats at 0.01 and 290 or 291 at the others).fig3i-retrospective-model-captures-initiation
  • Each script's own scaling of D, initial kappa and reset at session starts is used (D times 25, 10 and 15; kappa starting at mean(log(rewards)), 20 and 0.5), as GenerateLatencyData_AlphaPHModel.m, _VanillaAlpha.m and _RPEAlpha.m set them. The static model averages 10 noise draws per trial, as its script does.fig3i-retrospective-model-captures-initiation
  • The overshoot and gap measures are the claims file's; their signs only are judged, so values near 0 decide the alternatives' part.fig3i-retrospective-model-captures-initiation
  • The inference follows GenerateSynthData_Bayes.m (trials with a wait time; belief reset to 1/2, 1/4, 1/4 at session starts, where there is no prior). The code's transition matrix moves from mixed to high or low with H0/2 each, where Equation 6 gives H0; both were run.bayes-observer-offer-reduces-uncertainty
  • Under the reading by variance of the block probabilities, a less uncertain posterior has a larger variance, so the test is for an increase there and a decrease for the variance of block value.bayes-observer-offer-reduces-uncertainty
  • Figure5.m lists 16 rats and 20 start dates; its loop indexes startDates(rr), so the first 16 dates are paired with the rats in order, as here.pre-cue-session-link
  • The rule for a linked rat was written after a first look at the same check while preparing.pre-cue-session-link
  • The Methods use every session of these rats, without the inclusion criterion; the dandiset holds only the sessions that pass it, so some pre-cue sessions are missing.fig5b-pre-cue-initiation-sensitive-to-offer
  • The Methods' reading (after 30 pre-cue sessions) counts the dandiset's sessions, which leaves 7 of the 12 switched rats with any.fig5b-pre-cue-initiation-sensitive-to-offer
  • The 20 uL reading of the Fig. 5c legend is adopted (an assumption between the readings the criterion lists). The all-trials reading of Figure5.m matches the claim only through the post-violation trials, which carry the previous offer into the current one on a task where the current offer drives initiation time.fig5c-pre-cue-initiation-still-sensitive-to-previous-reward
  • The fitting code is not in the paper's repository. The model and its parameter scaling follow GenerateSynthData_Bayes.m (params in [0, 1], kappa = params C log2(min reward) / tau, D = 10 params, R = log2 of the raw volume, C = max(1 - catch probability), tau = 2.5 s) and the noise the Methods give (log-normal, variance 8). The likelihood is taken over opt-out catch trials, the trials where the wait time is the rat's choice, an assumption.fig3f-inferential-model-not-sensitive-to-previous-offer
  • scipy's bounded L-BFGS-B from 100 random starts in place of fmincon from 100 random seeds (Methods, Fitting and evaluating models).fig3f-inferential-model-not-sensitive-to-previous-offer
  • FigureS9.m takes the labels on held-out test sets, whose folds are not given. The labels on all sessions are used, which are the test-set labels when the folds are whole sessions, since the inference is reset at every session (an assumption).suppfig9-wait-times-reflect-misinferences
  • Wait times on catch trials as FigureS9.m takes them, without asking for an opt-out.suppfig9-wait-times-reflect-misinferences
  • The sub-optimal model follows GenerateSynthData_Bayes_subopt_onlylambda_flat.m and is fitted with the likelihood of fig3f (opt-out catch trials, log-normal noise of variance 8), an assumption, as the fitting code is not public.fig3l-lambda-groups-wait-time-dynamics
  • The likelihood changes with lambda only in steps, so lambda is profiled over 41 values from 0 to 1 and the other 4 parameters fitted at each (2 starts, one warm-started), in place of fmincon from 100 random starts.fig3l-lambda-groups-wait-time-dynamics
  • Figure3.m forms the groups with strict inequalities (lambda above or below the percentile); with ties at 0 and 1 both groups would be empty, so the rats at the percentile join the group (a tie-break).fig3l-lambda-groups-wait-time-dynamics
  • Logistic fits with scipy's bounded least_squares from 10 random starts in place of fmincon (my_fit_sigmoid.m), with its bounds; transition curves with 30 trials either side and 10-trial smoothing (Figure3.m).fig3l-lambda-groups-wait-time-dynamics

Provenance

Attempt record
mah-2023-01
Paper
Distinct value computations support rapid sequential decisions
Date
2026-11-10
Made by
An agent, run by CatalystNeuro
Dataset
DANDI:001169 (on DANDI)
Version
0.260825.1909 (doi:10.48324/dandi.001169/0.260825.1909)
Check that the dataset is the paper’s data
Partially reproduced The rats and switch dates that the paper's Figure5.m lists mark which of the dandiset's sessions were run on the pre-initiation cue task, which nothing in the files marks.
14 of 16 rats are linked. After the switch date their initiation times depend on the current offer (ANOVA p < 0.05, slopes -0.041 to -0.090 z per doubling of the offer); before it no switched rat reaches p < 0.05 (slopes -0.011 to +0.014). S042 (p = 0.151) and S050 (p = 0.597) are not confirmed; they have 25 and 11 sessions after the date in the dandiset. All sessions are protocol RWTautowait2, so nothing in the files marks the task change.
Run on
GitHub Actions
Harness
Claude Code
Model
claude-opus-5-5
Protocol
pilot-14

Transcripts of the agent runs

Each run’s prompt, messages and tool calls, with long output cut and the text of the paper left out, and its final report.

Other data and code used 1

What the attempt used that is not in the dataset: other data, and the paper’s code. Each is as the attempt’s record describes it.

  • constantinoplelab/published GitHub

    The 16 rats of the pre-initiation cue task and their switch dates (ratListAll and the first 16 of the 20 startDates in Figure5.m), used as session labels for pre-cue-session-link and the Fig. 5 claims. The same repository's MATLAB analysis and model scripts were read for method details, and model parameters set in Figure3.m and FigureS7.m (alpha_0 0.1042, D 0.2527, the alternatives' alpha_0 values, noise and smoothing) are used in fig3i.

    Source as recorded: https://github.com/constantinoplelab/published at commit b7b68ca8c107d8ce4a061e16da214307f175c3e5 (rat_behavior)

Badges for this paper

Encore: 23 findings reproduced, Mah et al. 2023

It counts the paper’s findings reproduced in full by attempts an independent verifier has checked. To show it beside the paper, on a lab’s site or in a repository’s README, linked to this page:

<a href="https://encorescience.org/papers/mah-2023/"><img src="https://encorescience.org/badge/papers/mah-2023.svg" alt="Encore: 23 findings reproduced, Mah et al. 2023"></a>

Or as Markdown:

[![Encore: 23 findings reproduced, Mah et al. 2023](https://encorescience.org/badge/papers/mah-2023.svg)](https://encorescience.org/papers/mah-2023/)

The same numbers are in this page’s JSON, under badge (how it is counted).