Papers / Moaddab et al. 2021

Moaddab et al. 2021 · Current Biology

Retrorubral field is a hub for diverse threat and aversive outcome signals

Mahsa Moaddab, Michael A. McDannald

Outcomes of 30 claims

  • 24 reproduced
  • 5 partially reproduced
  • 1 not reproduced

Summary: Most of the paper's main findings held up in this data: the eight cue-firing clusters at the stated sizes, their danger, uncertainty and safety patterns, and stronger signaling of exaggerated threat probability than of fear output. This rests on the paper's own code, whose normalization differs from its Methods text. The k1 shock response did not reproduce in the 0 to 8 s window drawn in Figure 6, though it did in 0 to 4 s, which fits the supplementary table. Some outcome-period results and the per-cluster regression table held only in part, the latter because the paper leaves out two unnamed units.

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 Moaddab and McDannald (2021) from CRCNS rrf-1 30 Open in Colab

Reproduced24

  • Reproduced

    The paper recorded 743 single units from 11 rats over 228 fear discrimination sessions.

    743 units, 228 sessions and 11 rats, the paper's three counts.

    Results, Diverse cue firing patterns, paragraph 1units-and-sessions
    From the paper

    We recorded 743 single units from 11 rats over 228 fear discrimination sessions.

    Result

    743 units, 228 sessions and 11 rats, the paper's three counts. Units per session 1 to 10 (median 3). No unit has the spike train of another and no two sessions share event times, so nothing is deposited twice.

  • Reproduced

    423 units, from 190 sessions, were cue responsive, with no fewer than 11 per rat.

    The screen as the code runs it (floored integer rates, a NaN test counted as not significant) gives 423 units…

    Results, Diverse cue firing patterns, paragraph 1; Figure S1cue-responsive-units
    From the paper

    Four hundred and twenty-three cue-responsive single units were obtained from 190 sessions, and no fewer than 11 single units were identified per rat

    Result

    The screen as the code runs it (floored integer rates, a NaN test counted as not significant) gives 423 units from 190 sessions, and the per-rat counts equal Figure S1 exactly (fewest 11, rb11). With unfloored rates from the spike times the same tests select 461 units, 409 of them in common.

    Deviations from the paper’s method
    • The rates are floored to integer Hz as in cubeScriptPR25.m and rrfAnalysis.m (lines 5 to 60); the Methods do not mention flooring. The unfloored variant is shown.
  • Reproduced

    In the sessions that yielded cue-responsive units, rats fully discriminated the cues by suppression ratio (danger > uncertainty > safety), with a main effect of cue and 95% bootstrap CIs of every differential suppression ratio excluding zero.

    Per rat over the 190 sessions with a cue-responsive unit, cue effect F(2, 20) = 103.57, p = 2.8e-11 (the…

    Results, opening section, paragraph 2; Figure 1Bbehavior-discrimination
    From the paper

    Analysis of variance (ANOVA) for suppression ratio revealed a main effect of cue ... 95% bootstrap CIs for differential suppression ratios did not contain zero for any cue comparison

    Reported statistics
    • main effect of cue: ANOVA, F(2, 20) = 103.57, p = 2.8 × 10⁻¹¹ (n = 11 rats)
    • danger minus uncertainty: 95% bootstrap CI, 95% CI 0.34 to 0.56
    • uncertainty minus safety: 95% bootstrap CI, 95% CI 0.06 to 0.53
    • danger minus safety: 95% bootstrap CI, 95% CI 0.75 to 0.94
    Result

    Per rat over the 190 sessions with a cue-responsive unit, cue effect F(2, 20) = 103.57, p = 2.8e-11 (the paper's F and p). Means D 0.871, U 0.449, S 0.051. Differences D-U 0.422 [0.264, 0.516], U-S 0.398 [0.261, 0.748], D-S 0.821 [0.704, 0.891], all excluding zero and within tolerance. Pooling trials per rat gives the same means and CIs that also exclude zero.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
  • Reproduced

    In k-means clustering of the 423 cue-responsive units, the mean squared Euclidean distance to the centroid falls as the cluster number rises from 1 to 15, and the decrease diminishes after eight clusters.

    Under the claims file's reading z-b with scikit-learn's k-means, the criterion is met in all 4 combinations of…

    Results, Diverse cue firing patterns, paragraph 2; Figure 1Erests on an assumptionkmeans-elbow
    From the paper

    Euclidean distance from the centroid decreased as cluster number increased, with the amount of decrease diminishing after a cluster number of eight

    Result

    Under the claims file's reading z-b with scikit-learn's k-means, the criterion is met in all 4 combinations of outcome start (12 or 12.5 s) and runs (best of 10, mean of 10); the outcome rests on these. The other readings of the claims file are mixed, z-b with 10 runs of the MATLAB stream 3 of 4 and z-a 3 of 4 with scikit-learn and 0 of 4 with the MATLAB stream; over the 45 readings in the notebook (three normalizations, three outcome starts, five ways to run k-means) 30 meet it. The code's own runs (rng(1) before each k) meet it with the measure the code plots, mean(sumd) (8224 at k = 1; drops after 8 clusters at most 78.9 against 128.2 from 7 to 8), but that measure is a sum at k = 2, and its drop from 2 to 3 (4848) is larger than from 1 to 2 (1216). With the Methods' measure (mean squared distance per unit) the same runs rise once, from 12 to 13 clusters (by 0.151).

    Deviations from the paper’s method
    • The k-means matrix is the code's: outcome epochs from 13 s after cue onset (rrfAnalysis.m), not 12 or 12.5 s (the claims file's readings e-a, run as variants). The code runs k-means once per k, not 10 times as the Methods say; the claims file's readings e-b (best of 10, mean of 10 runs) are run as variants, with 10 runs continuing the MATLAB stream after rng(1) (an assumption about how MATLAB draws replicates) and with scikit-learn.
    • The outcome rests on reading z-b with scikit-learn's k-means++ standing for the Methods' 10 runs (an assumption; with 10 runs of the MATLAB stream z-b meets the criterion in 3 of 4 combinations). The code plots mean(sumd) as a bar plot on a 0 to 9000 axis (rrfAnalysis.m 952 to 986, printed), not the Methods' mean squared distance per unit; mean(sumd) is shown as a variant.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
  • Reproduced

    Eight k-means clusters were kept, of sizes k1 33, k2 59, k3 18, k4 63, k5 58, k6 61, k7 64 and k8 67.

    The code's run gives clusters of exactly the paper's sizes, and every cluster passes the pattern tests written…

    Results, Diverse cue firing patterns, paragraph 2; Figure 1F; Figure S2rests on an assumptionkmeans-clusters
    From the paper

    All subsequent analyses consider eight clusters: k1, n = 33; k2, n = 59; k3, n = 18; k4, n = 63; k5, n = 58; k6, n = 61; k7, n = 64; and k8, n = 67.

    Result

    The code's run gives clusters of exactly the paper's sizes, and every cluster passes the pattern tests written from Results paragraph 3 (listed in rrf.pattern_checks). Other k-means runs give other partitions: over 50 scikit-learn seeds, single runs show all eight patterns 16% of the time and best-of-10 runs 46%, with a median of 3 sizes within 10%, and none gives all eight patterns with all eight sizes within 10%. No reading of the claims file gives all eight sizes within 10%: over outcome starts 12, 12.5 and 13 s, normalizations code, z-a and z-b, the code's single run and the best of 10 runs of the MATLAB stream, only the code's own combination does (others at most 4 of 8); of the 10 runs of the stream with the code's matrix, one gives the paper's sizes and patterns.

    Deviations from the paper’s method
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
  • Reproduced

    Clusters differed in baseline firing rate, coefficient of variance and coefficient of skewness, but not in anterior-posterior location, waveform half-duration or waveform amplitude ratio.

    MANOVA Wilks' lambda 0.744, F(42, 1927) = 2.99, p = 7.5e-10.

    Results, Diverse cue firing patterns, paragraph 3; Figure 1F; Figure S3rests on an assumptioncluster-firing-characteristics
    From the paper

    found a main effect of cluster for baseline firing rate (F7,415 = 2.48, p = 0.017, hp2 = 0.04, op = 0.88), coefficient of variance (F7,415 = 2.28, p = 0.027, hp2 = 0.04, op = 0.84), and coefficient of skewness (F7,415 = 2.65, p = 0.011

    Reported statistics
    • baseline firing rate: multivariate analysis of variance, between-subjects factor cluster, F(7, 415) = 2.48, p = 0.017
    • coefficient of variance: multivariate analysis of variance, between-subjects factor cluster, F(7, 415) = 2.28, p = 0.027
    • coefficient of skewness: multivariate analysis of variance, between-subjects factor cluster, F(7, 415) = 2.65, p = 0.011
    Result

    MANOVA Wilks' lambda 0.744, F(42, 1927) = 2.99, p = 7.5e-10. Univariate tests F(7, 415): baseline 2.48 (p = 0.017), CV 2.28 (p = 0.027), skewness 2.65 (p = 0.011), the paper's values; bregma 1.08 (p = 0.38), half duration 1.69 (p = 0.11), amplitude ratio 1.93 (p = 0.063), not significant. With CV and skewness averaged over trials, CV p = 0.0048 and skewness p = 0.051.

    Deviations from the paper’s method
    • Bregma level is per rat, from the table in rrfAnalysis.m; the data set has no per-unit location.
    • The paper reports a MANOVA with univariate tests; the univariate tests here are one-way ANOVAs, which give the same F.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Units of clusters k1 and k3 had lower baseline firing rates than all other clusters.

    k1 and k3 (51 units) mean baseline 9.70 Hz against 17.35 Hz for the other 372; t(421) = -3.28, p = 0.0011 (the…

    Results, Diverse cue firing patterns, paragraph 3; Figure 1F, bottomrests on an assumptionk1-k3-low-baseline
    From the paper

    The single units comprising clusters k1 and k3 had lower baseline firing rates compared to all other clusters (t421 = 3.28, p = 0.001).

    Reported statistics
    • independent samples t test, t(421) = 3.28, p = 0.001 (n = 51 k1 and k3 units against 372 others)
    Result

    k1 and k3 (51 units) mean baseline 9.70 Hz against 17.35 Hz for the other 372; t(421) = -3.28, p = 0.0011 (the paper's t = 3.28, p = 0.001). Welch p = 0.00013. k1 and k3 have the two lowest cluster means (9.76 and 9.58 Hz).

    Deviations from the paper’s method
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Every cluster showed a significant trial type x interval interaction for cue firing.

    Trial type x interval interaction significant in all eight clusters, F(110, df) from 3.54 (k2) to 8.09 (k4), p…

    Results, Diverse cue firing patterns, paragraph 4; Table 1 (Cue)rests on an assumptiontable1-cue-interaction
    From the paper

    found a significant trial type x interval interaction for each cluster (Table 1)

    Reported statistics
    • k1: ANOVA, trial type x interval interaction, F = 4.00, p = 5.9 × 10⁻³⁸
    • k2: ANOVA, trial type x interval interaction, F = 3.54, p = 1.4 × 10⁻³¹
    • k3: ANOVA, trial type x interval interaction, F = 4.91, p = 5.6 × 10⁻⁴⁹
    • k4: ANOVA, trial type x interval interaction, F = 7.93, p = 2.8 × 10⁻¹¹⁰
    • k5: ANOVA, trial type x interval interaction, F = 6.66, p = 1.8 × 10⁻⁸⁶
    • k6: ANOVA, trial type x interval interaction, F = 7.34, p = 3.7 × 10⁻⁹⁹
    • k7: ANOVA, trial type x interval interaction, F = 4.64, p = 2.4 × 10⁻⁵⁰
    • k8: ANOVA, trial type x interval interaction, F = 6.56, p = 2.3 × 10⁻⁸⁵
    Result

    Trial type x interval interaction significant in all eight clusters, F(110, df) from 3.54 (k2) to 8.09 (k4), p from 1.4e-31 to 2.9e-113; six of the eight F equal Table 1 to two decimals, k7 is 4.63 against 4.64 and k4 8.09 against 7.93 (the z-a variant gives 7.93). Significant in all clusters with the Greenhouse-Geisser correction and under z-a and z-b.

    Deviations from the paper’s method
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Clusters k1, k3, k5 and k7 show excitatory firing to danger and uncertainty; k1 fires most to danger at cue onset with lower, similar firing to uncertainty and safety; k3 (whole cue and delay), k5 (late cue and delay) and k7 (delay) fully differentiate danger > uncertainty > safety.

    All eight CIs agree with Table S1 (k1 uncertainty - safety includes zero, the others exclude zero, positive)…

    Results, Diverse cue firing patterns, paragraph 4; Figure 3A and 3B; Table S1rests on an assumptionfig3b-excitatory-clusters
    From the paper

    K1 neurons were strongly cue onset responsive, firing maximally to danger but firing at lower and similar levels to uncertainty and safety. K3 neurons sustained differential firing throughout cue presentation and the 2-s delay period ... danger > uncertainty > safety. K5 neurons ramped danger and uncertainty firing, fully differentiating the three cues by the last half of cue presentation ... K7 neurons were minimally cue responsive, but showed complete differential cue firing during the 2-s delay period

    Reported statistics
    • k1 danger minus uncertainty: 95% bootstrap CI, 95% CI 0.3 to 0.74
    • k1 uncertainty minus safety: 95% bootstrap CI, 95% CI -0.11 to 0.59
    • k3 danger minus uncertainty: 95% bootstrap CI, 95% CI 0.37 to 0.95
    • k3 uncertainty minus safety: 95% bootstrap CI, 95% CI 0.38 to 0.8
    • k5 danger minus uncertainty: 95% bootstrap CI, 95% CI 0.2 to 0.45
    • k5 uncertainty minus safety: 95% bootstrap CI, 95% CI 0.24 to 0.44
    • k7 danger minus uncertainty: 95% bootstrap CI, 95% CI 0.08 to 0.33
    • k7 uncertainty minus safety: 95% bootstrap CI, 95% CI 0.17 to 0.37
    Result

    All eight CIs agree with Table S1 (k1 uncertainty - safety includes zero, the others exclude zero, positive) and all eight means are within tolerance, most equal to two decimals (k1 0.514 and 0.252, k3 0.737 and 0.616, k5 0.327 and 0.348, k7 0.209 and 0.271). Under z-a and z-b the CIs still agree but 2 and 1 of the 8 means are within tolerance.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Intervals from the code's bins (k1 0-1 s, k3 0-12 s, k5 5-12 s, k7 10-12 s after cue onset), as the claims file gives them.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Clusters k2, k4, k6 and k8 show sustained inhibition through the cue and delay; k2 is inhibited to uncertainty only, k4 equally to danger and uncertainty, k6 most to danger, less to uncertainty, with excitation to safety, and k8 to danger only.

    All eight CIs agree with Table S1 and all eight means are within tolerance (k2 0.266 and -0.299, k4 0.006 and…

    Results, Diverse cue firing patterns, paragraph 4; Figure 3C and 3D; Table S1rests on an assumptionfig3d-inhibitory-clusters
    From the paper

    K2 neurons specifically inhibited firing to uncertainty. K4 neurons specifically and equivalently inhibited firing to danger and uncertainty. K6 neurons were maximally inhibited to danger, less strongly inhibited to uncertainty, but showed excitatory firing to safety. K8 neurons specifically inhibited firing to danger.

    Reported statistics
    • k2 danger minus uncertainty: 95% bootstrap CI, 95% CI 0.2 to 0.33
    • k2 uncertainty minus safety: 95% bootstrap CI, 95% CI -0.37 to -0.23
    • k4 danger minus uncertainty: 95% bootstrap CI, 95% CI -0.05 to 0.07
    • k4 uncertainty minus safety: 95% bootstrap CI, 95% CI -0.56 to -0.44
    • k6 danger minus uncertainty: 95% bootstrap CI, 95% CI -0.3 to -0.15
    • k6 uncertainty minus safety: 95% bootstrap CI, 95% CI -0.44 to -0.29
    • k8 danger minus uncertainty: 95% bootstrap CI, 95% CI -0.51 to -0.38
    • k8 uncertainty minus safety: 95% bootstrap CI, 95% CI -0.01 to 0.13
    Result

    All eight CIs agree with Table S1 and all eight means are within tolerance (k2 0.266 and -0.299, k4 0.006 and -0.504, k6 -0.231 and -0.368, k8 -0.449 and 0.063). Under z-a and z-b the CIs still agree but 2 of the 8 means are within tolerance. The k8 uncertainty - safety CI [-0.002, 0.131] is at the boundary; over 20 draws it includes zero, as the paper's does, in 11 (55%) with either standard error.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    From cue onset to delay, k1 firing decreases for all three cues (phasic onset firing), k5 firing increases for danger and uncertainty (ramping), and k2 firing increases for danger.

    Delay minus onset: k1 danger -1.323, uncertainty -0.945, safety -0.519; k5 danger 0.492, uncertainty 0.230; k2…

    Figure S4 legend; Results, Diverse cue firing patterns, paragraph 4rests on an assumptionfigs4-onset-and-ramp
    From the paper

    Danger (M = -1.32 ... uncertainty, (M = -0.95, 95% CI [-1.25, -0.63]), and safety (M = -0.52, 95% CI [-0.73, -0.20]) firing decreases from onset to delay were observed for the phasically responsive k1 neurons. Danger (M = 0.50, 95% CI [0.32, 0.66]) and uncertainty (M = 0.23, 95% CI [0.11, 0.35]) firing increases from onset to delay were observed for the ramping k5 neurons. A danger (M = 0.18, 95% CI [0.06, 0.31]) firing increase

    Reported statistics
    • k1 danger, delay minus onset: 95% bootstrap CI, 95% CI -1.62 to -0.97
    • k1 uncertainty, delay minus onset: 95% bootstrap CI, 95% CI -1.25 to -0.63
    • k1 safety, delay minus onset: 95% bootstrap CI, 95% CI -0.73 to -0.2
    • k5 danger, delay minus onset: 95% bootstrap CI, 95% CI 0.32 to 0.66
    • k5 uncertainty, delay minus onset: 95% bootstrap CI, 95% CI 0.11 to 0.35
    • k2 danger, delay minus onset: 95% bootstrap CI, 95% CI 0.06 to 0.31
    Result

    Delay minus onset: k1 danger -1.323, uncertainty -0.945, safety -0.519; k5 danger 0.492, uncertainty 0.230; k2 danger 0.179. All six CIs exclude zero with the paper's sign and all six means are within tolerance. Of the other 18 cluster and cue combinations, k4 and k6 uncertainty have CIs below zero; the rest include zero. Under z-a and z-b the six CIs keep their sign but no mean is within tolerance.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Across all cue-responsive units, danger and uncertainty firing are positively related at cue onset (R2 = 0.48), late cue (R2 = 0.21) and delay (R2 = 0.21).

    r = 0.695, 0.463 and 0.458 (R2 0.483, 0.214, 0.210) at onset, late cue and delay, p = 3.25e-62, 8.2e-24 and…

    Results, Uniform firing bias toward threat cues, paragraph 2; Figure 4D to 4Frests on an assumptionfig4def-danger-uncertainty-correlation
    From the paper

    there was a positive relationship between danger and uncertainty firing across all clusters during each period

    Reported statistics
    • onset: Pearson correlation, R2 = 0.48, p = 3.3 × 10⁻⁶² (n = 423 units)
    • late cue: Pearson correlation, R2 = 0.21, p = 8.2 × 10⁻²⁴ (n = 423 units)
    • delay: Pearson correlation, R2 = 0.21, p = 2.5 × 10⁻²³ (n = 423 units)
    Result

    r = 0.695, 0.463 and 0.458 (R2 0.483, 0.214, 0.210) at onset, late cue and delay, p = 3.25e-62, 8.2e-24 and 2.5e-23, the paper's values. Under z-a R2 0.451, 0.187, 0.194 and under z-b 0.451, 0.174, 0.179: positive and significant, with the late cue (and for z-b the delay) R2 outside tolerance.

    Deviations from the paper’s method
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
  • Reproduced

    Danger and safety firing are positively related at cue onset (R2 = 0.14) but negatively related in the late cue (R2 = 0.03) and delay (R2 = 0.02).

    r = 0.378, -0.183 and -0.129 (R2 0.143, 0.0337, 0.0167), p = 8.0e-16, 1.5e-4 and 0.0077, the paper's p values.

    Results, Uniform firing bias toward threat cues, paragraph 2; Figure 4G to 4Irests on an assumptionfig4ghi-danger-safety-correlation
    From the paper

    There was a positive relationship between danger and safety firing at cue onset (R2 = 0.14 ... but negative relationships were observed during late cue (R2 = 0.03 ... and delay (R2 = 0.02, p = 0.008)

    Reported statistics
    • onset: Pearson correlation, R2 = 0.14, p = 8 × 10⁻¹⁶ (n = 423 units)
    • late cue: Pearson correlation, R2 = 0.03, p = 1.5 × 10⁻⁴ (n = 423 units)
    • delay: Pearson correlation, R2 = 0.02, p = 0.008 (n = 423 units)
    Result

    r = 0.378, -0.183 and -0.129 (R2 0.143, 0.0337, 0.0167), p = 8.0e-16, 1.5e-4 and 0.0077, the paper's p values. Signs and significance hold under z-a and z-b. Under z-a the late cue and delay R2 (0.0222, 0.0106) are outside the tolerance of 0.005; under z-b all three are outside (onset 0.1215 against 0.14 +/- 0.014, late cue 0.059, delay 0.0277).

    Deviations from the paper’s method
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
  • Reproduced

    The danger-uncertainty and danger-safety correlations differ from one another in each period (Z = 7.69 onset, 8.94 late cue, 8.20 delay).

    Meng's Z = 7.69, 8.95 and 8.20 (p = 1.4e-14, 3.6e-19, 2.3e-16), within 10% of 7.69, 8.94 and 8.20. z-b gives…

    Results, Uniform firing bias toward threat cues, paragraph 2; Figure 4 legendrests on an assumptionfig4-correlations-differ
    From the paper

    Fisher r-to-z transformation revealed the danger-uncertainty and danger-safety relationships differed from one another during each period: onset (Z = 7.69), late cue (Z = 8.94), and delay (Z = 8.20)

    Reported statistics
    • onset: Fisher r-to-z transformation, Meng's Z-test for correlated correlation coefficients, Z = 7.69, p = 0
    • late cue: Fisher r-to-z transformation, Meng's Z-test for correlated correlation coefficients, Z = 8.94, p = 0
    • delay: Fisher r-to-z transformation, Meng's Z-test for correlated correlation coefficients, Z = 8.20, p = 0
    Result

    Meng's Z = 7.69, 8.95 and 8.20 (p = 1.4e-14, 3.6e-19, 2.3e-16), within 10% of 7.69, 8.94 and 8.20. z-b gives 7.45, 9.12, 8.23 (all within); z-a gives 6.92, 8.16, 7.69 (onset just outside).

    Deviations from the paper’s method
    • Meng, Rosenthal and Rubin's Z computed in Python from the formula of the File Exchange routine the paper names, with the uncertainty-safety correlation as the correlation between predictors.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
  • Reproduced

    Threat tuning curves of k1, k3 and k5 peak at an uncertainty assignment of 0.375 and k7 at 0.500, above the actual shock probability of 0.250 (exaggerated threat probability signaling).

    Peaks k1 0.375, k3 0.375, k5 0.375, k7 0.500 under the code's reading (cluster periods of rrfAnalysis.m and…

    Results, Exaggerated threat probability signaling, paragraphs 1 and 2; Figure 5A and 5Brests on an assumptionfig5a-tuning-peaks-exaggerated
    From the paper

    In support, tuning curve peaks exceeded 0.250: k1, k3, and k5 = 0.375 and k7 = 0.500.

    Result

    Peaks k1 0.375, k3 0.375, k5 0.375, k7 0.500 under the code's reading (cluster periods of rrfAnalysis.m and the code's trial z-scores). Under the 10 cue bins (t-a) k1 peaks at 0.750, k5 at 0.500 and k7 at 0.625; with trial z-scores over the 16 trials (t-b) k1 peaks at 0.250. Tuning curve of k3 peaks at 1.346.

    Deviations from the paper’s method
    • The code settles the claims file's readings t-a (cluster-specific periods: k1 the first cue second, k5 the last 5 s of cue, k7 the delay, k3 cue and delay) and t-b (the cube's trial z-scores); the other readings are shown.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Among the cue-inhibited clusters, k4 (peak 0.875) and k6 (0.625) show even greater exaggeration of threat probability, while k8 peaks at the actual probability, 0.250, flattening toward 0.000.

    Peaks k4 0.875, k6 0.625, k8 0.250 under every reading; the k8 curve falls from 0.418 at 0.250 to -0.012 at 1.

    Results, Exaggerated threat probability signaling, paragraph 2; Figure 5Arests on an assumptionfig5a-tuning-peaks-inhibited
    From the paper

    Tuning curve peaks for each cluster were k4 = 0.875 and k6 = 0.625, now exceeding even fear output. K8 neurons were more tuned to the actual shock probability, with a peak of 0.250 that flattened toward 0.000.

    Result

    Peaks k4 0.875, k6 0.625, k8 0.250 under every reading; the k8 curve falls from 0.418 at 0.250 to -0.012 at 1.

    Deviations from the paper’s method
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    The tuning curves differ between clusters (main effect of cluster and cluster x assignment interaction) and show a main effect of assignment.

    Over 364 units of seven clusters: cluster F(6, 357) = 4.14, p = 0.00049; assignment F(8, 2856) = 24.84, p =…

    Results, Exaggerated threat probability signaling, paragraph 2; Figure 5Arests on an assumptionfig5a-tuning-anova
    From the paper

    Consistent with different firing magnitudes and non-identical tuning, ANOVA (factors: cluster [7] and assignment [9]) revealed a main effect of cluster ... and cluster x assignment interaction ... Demonstrative of uncertainty over-responding across clusters, ANOVA found a main effect of assignment

    Reported statistics
    • main effect of cluster: ANOVA, F(6, 357) = 4.14, p = 5 × 10⁻⁴
    • cluster x assignment interaction: ANOVA, F(48, 2856) = 7.22, p = 1.2 × 10⁻⁴³
    • main effect of assignment: ANOVA, F(8, 2856) = 24.84, p = 2.7 × 10⁻³⁷
    Result

    Over 364 units of seven clusters: cluster F(6, 357) = 4.14, p = 0.00049; assignment F(8, 2856) = 24.84, p = 2.7e-37; cluster x assignment F(48, 2856) = 7.22, p = 1.2e-43, the paper's values. All three are significant under every reading.

    Deviations from the paper’s method
    • The within effect uses unweighted group means with the harmonic mean group size (type III, as SPSS); the weighted version gives F(8, 2856) = 21.87 for assignment, p = 1.3e-32 (printed in the notebook).
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    With peak threat probability and fear output as regressors, neither is signaled before the cue; peak threat probability is signaled from cue onset through the delay, fear output in every bin but the first 1 s of the cue, and peak threat probability signaling exceeds fear output signaling in every cue and delay bin.

    The Table S2 CI pattern is found in full: both betas include zero in the two pre-cue bins, the peak…

    Results, Exaggerated threat probability signaling, paragraph 3; Figure 5C to 5E; Table S2rests on an assumptionfig5e-peak-probability-over-fear-output
    From the paper

    Neither peak threat probability nor fear output signaling was observed prior to cue onset. Across all seven clusters (Figure 5E), peak threat probability was continuously signaled from cue onset through delay. Fear output was signaled in all bins except for the first 1 s of the cue; however, peak threat probability signaling exceeded fear output signaling at each time point.

    Reported statistics
    • main effect of regressor: ANOVA, within factor regressor, between factors cluster and bin, F(1, 355) = 28.57, p = 1.6 × 10⁻⁷
    • regressor x bin interaction: ANOVA, F(13, 4615) = 4.13, p = 7.4 × 10⁻⁷
    • pre1 peak threat probability beta: 95% bootstrap CI, 95% CI -0.02 to 0.07
    • pre1 fear output beta: 95% bootstrap CI, 95% CI -0.05 to 0.03
    • pre1 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI -0.05 to 0.13
    • pre2 peak threat probability beta: 95% bootstrap CI, 95% CI -0.07 to 0.02
    • pre2 fear output beta: 95% bootstrap CI, 95% CI -0.03 to 0.05
    • pre2 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI -0.12 to 0.04
    • cue1 peak threat probability beta: 95% bootstrap CI, 95% CI 0.34 to 0.56
    • cue1 fear output beta: 95% bootstrap CI, 95% CI -0.01 to 0.14
    • cue1 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.23 to 0.56
    • cue2 peak threat probability beta: 95% bootstrap CI, 95% CI 0.35 to 0.55
    • cue2 fear output beta: 95% bootstrap CI, 95% CI 0.03 to 0.21
    • cue2 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.16 to 0.49
    • cue3 peak threat probability beta: 95% bootstrap CI, 95% CI 0.33 to 0.52
    • cue3 fear output beta: 95% bootstrap CI, 95% CI 0.06 to 0.21
    • cue3 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.11 to 0.46
    • cue4 peak threat probability beta: 95% bootstrap CI, 95% CI 0.29 to 0.47
    • cue4 fear output beta: 95% bootstrap CI, 95% CI 0.1 to 0.27
    • cue4 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.05 to 0.35
    • cue5 peak threat probability beta: 95% bootstrap CI, 95% CI 0.38 to 0.55
    • cue5 fear output beta: 95% bootstrap CI, 95% CI 0.11 to 0.26
    • cue5 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.14 to 0.42
    • cue6 peak threat probability beta: 95% bootstrap CI, 95% CI 0.4 to 0.61
    • cue6 fear output beta: 95% bootstrap CI, 95% CI 0.08 to 0.26
    • cue6 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.17 to 0.52
    • cue7 peak threat probability beta: 95% bootstrap CI, 95% CI 0.45 to 0.67
    • cue7 fear output beta: 95% bootstrap CI, 95% CI 0.02 to 0.19
    • cue7 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.28 to 0.63
    • cue8 peak threat probability beta: 95% bootstrap CI, 95% CI 0.45 to 0.66
    • cue8 fear output beta: 95% bootstrap CI, 95% CI 0.03 to 0.25
    • cue8 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.24 to 0.59
    • cue9 peak threat probability beta: 95% bootstrap CI, 95% CI 0.44 to 0.65
    • cue9 fear output beta: 95% bootstrap CI, 95% CI 0.11 to 0.29
    • cue9 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.2 to 0.51
    • cue10 peak threat probability beta: 95% bootstrap CI, 95% CI 0.42 to 0.62
    • cue10 fear output beta: 95% bootstrap CI, 95% CI 0.06 to 0.25
    • cue10 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.17 to 0.54
    • delay1 peak threat probability beta: 95% bootstrap CI, 95% CI 0.34 to 0.53
    • delay1 fear output beta: 95% bootstrap CI, 95% CI 0.08 to 0.25
    • delay1 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.11 to 0.45
    • delay2 peak threat probability beta: 95% bootstrap CI, 95% CI 0.39 to 0.58
    • delay2 fear output beta: 95% bootstrap CI, 95% CI 0.04 to 0.23
    • delay2 peak threat probability minus fear output beta: 95% bootstrap CI, 95% CI 0.19 to 0.52
    Result

    The Table S2 CI pattern is found in full: both betas include zero in the two pre-cue bins, the peak probability beta is above zero in all 12 cue and delay bins, the fear output beta in all but the first cue bin (CI -0.013 to 0.137), and their difference is above zero in all 12; all 28 means are within tolerance. Regressor F(1, 357) = 31.40, p = 4.2e-8 (paper F(1, 355) = 28.57); regressor x bin F(13, 4641) = 4.63, p = 5.6e-8 (paper 4.13). The paper's df imply 362 units, two fewer than the 364 here (see table-s3-cluster-regression); without the two candidate units F(1, 355) = 28.72 and F(13, 4615) = 4.34. All 40 CIs give the paper's sign in most of 20 draws. With betas not sign-inverted the pattern is not found (0 of 12 bins).

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Both betas of k4, k6 and k8 are multiplied by -1, as rrfAnalysis.m does (settles the claims file's reading s-a).
    • All 364 units of the seven clusters are used; the paper's ANOVA has two fewer.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Signaling varied somewhat between clusters (regressor x cluster interaction) with no regressor x cluster x bin interaction.

    Regressor x cluster F(6, 357) = 2.40, p = 0.027, partial eta2 0.039 (paper 2.15, p = 0.048); regressor x…

    Results, Exaggerated threat probability signaling, paragraph 3; Figure S6; Table S3rests on an assumptionfig5-regressor-cluster
    From the paper

    ANOVA revealed a regressor x cluster interaction (F6,355 = 2.15, p = 0.048, hp2 = 0.04, op = 0.76) but no regressor x cluster x bin interaction (F78,4615 = 1.06, p = 0.33

    Reported statistics
    • regressor x cluster interaction: ANOVA, F(6, 355) = 2.15, p = 0.048
    • regressor x cluster x bin interaction: ANOVA, F(78, 4615) = 1.06, p = 0.33
    Result

    Regressor x cluster F(6, 357) = 2.40, p = 0.027, partial eta2 0.039 (paper 2.15, p = 0.048); regressor x cluster x bin F(78, 4641) = 1.10, p = 0.25, partial eta2 0.018 (paper 1.06, p = 0.33). With the t-b trial z-scores, 2.17 (p = 0.045) and 0.97 (p = 0.57). Without the two candidate units of table-s3-cluster-regression (362 units), 2.16 (p = 0.046) and 1.08 (p = 0.30).

    Deviations from the paper’s method
    • All 364 units, two more than the paper's ANOVA.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Across units there is a continuous negative relationship between fear output and peak threat probability betas (R2 = 0.43), with signaling biased toward peak threat probability, so the two are not signaled by distinct populations.

    Over the cue and delay bins the code averages (columns 3 to 14), r = -0.656, R2 = 0.430, p = 4.2e-46 (the…

    Results, Exaggerated threat probability signaling, paragraph 3; Figure 5F; Figure S6C to S6Urests on an assumptionfig5f-fear-output-vs-peak-probability
    From the paper

    and fear output were not discretely signaled by distinct RRF populations. A continuous, negative relationship (R2 = 0.43

    Reported statistics
    • Pearson correlation, R2 = 0.43, p = 4.2 × 10⁻⁴⁶
    Result

    Over the cue and delay bins the code averages (columns 3 to 14), r = -0.656, R2 = 0.430, p = 4.2e-46 (the paper's R2 and p), and the per-cluster R2 equal Figure S6 (0.64, 0.46, 0.55, 0.65, 0.55, 0.58, 0.64). Mean peak probability beta 0.483 against fear output 0.147; 63% of units above the diagonal. f-a (10 cue bins) R2 0.419, f-b (14 bins) 0.430.

    Deviations from the paper’s method
    • The bins averaged are the code's (cue and delay, 12 bins), a reading the claims file did not list; its readings f-a and f-b are shown.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    Every cluster showed differential firing after shock delivery or omission, a main effect of trial type and/or a trial type x interval interaction.

    Every cluster has an effect and the pattern matches Table 1 in all 16 tests (k3 interaction only, p = 0.032…

    Results, Diverse aversive outcome firing patterns, paragraph 1; Table 1 (Aversive outcome)rests on an assumptiontable1-outcome-anova
    From the paper

    found a main effect of trial type and/ or a trial type x interval interaction for every cluster (Table 1)

    Reported statistics
    • k1 interaction: ANOVA, F = 1.23, p = 0.02
    • k2 interaction: ANOVA, F = 2.13, p = 2.2 × 10⁻¹⁸
    • k3 interaction: ANOVA, F = 1.20, p = 0.03
    • k4 interaction: ANOVA, F = 1.83, p = 5.9 × 10⁻¹²
    • k5 interaction: ANOVA, F = 2.62, p = 7 × 10⁻³¹
    • k6 interaction: ANOVA, F = 1.11, p = 0.14
    • k7 interaction: ANOVA, F = 3.83, p = 1.3 × 10⁻⁶⁶
    • k8 interaction: ANOVA, F = 2.18, p = 1.1 × 10⁻¹⁹
    • k1 main effect of trial type: ANOVA, F = 2.92, p = 0.04
    • k2 main effect of trial type: ANOVA, F = 56.62, p = 1.4 × 10⁻²⁵
    • k3 main effect of trial type: ANOVA, F = 2.12, p = 0.11
    • k4 main effect of trial type: ANOVA, F = 46.62, p = 2 × 10⁻²²
    • k5 main effect of trial type: ANOVA, F = 3.90, p = 0.01
    • k6 main effect of trial type: ANOVA, F = 48.82, p = 3.9 × 10⁻²³
    • k7 main effect of trial type: ANOVA, F = 95.16, p = 2.3 × 10⁻³⁷
    • k8 main effect of trial type: ANOVA, F = 47.25, p = 4.5 × 10⁻²³
    Result

    Every cluster has an effect and the pattern matches Table 1 in all 16 tests (k3 interaction only, p = 0.032; k6 main effect only, interaction p = 0.14); the F values are close to Table 1's (k2 2.12 and 56.6 against 2.13 and 56.62, k4 1.85 and 47.5 against 1.83 and 46.62). With the Greenhouse-Geisser correction the k1 and k3 interactions are not significant (p = 0.23 and 0.28), which would leave k3 with no effect. Under z-a 15 and under z-b 14 of 16 tests match, and k3 has no significant effect in either.

    Deviations from the paper’s method
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    k3 units sharply reduce firing after shock but sustain excitation after omission on uncertainty trials, a continued threat signal.

    In 0 to 8 s, danger, shock and omission include zero, safety -0.187 below, omission - safety 0.260 above, the…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6C; Table S4rests on an assumptionfig6c-k3-continued-threat
    From the paper

    K3neurons(Figure 6C, i and ii) sharply reduced firing following shock but sustained excitation of firing following omission on uncertainty trials, revealing a continued threat signal.

    Reported statistics
    • k3 danger normalized firing: 95% bootstrap CI, 95% CI -0.2 to 0.3
    • k3 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI -0.24 to 0.15
    • k3 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI -0.02 to 0.43
    • k3 safety normalized firing: 95% bootstrap CI, 95% CI -0.27 to -0.07
    Result

    In 0 to 8 s, danger, shock and omission include zero, safety -0.187 below, omission - safety 0.260 above, the other two differences include zero: all seven CIs agree and the four means are within tolerance. In 0 to 4 s, means 0.064, -0.029, 0.200, -0.184 (Table S4 0.07, -0.03, 0.20, -0.18) and six of seven CIs agree. z-b leaves one mean outside tolerance. The window is asked of a reader (questions/crcns-rrf-1.yaml).

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Window as the claims file reads it from the Figure 6 gray boxes. For k1, k3, k5 and k6 the Table S4 means are reproduced to within 0.008 by the window 0 to 4 s after shock offset, not 0 to 8 s (window scan in the notebook); the 0 to 4 s result is shown as a variant. The windows for k2, k4, k7 and k8 (the whole 17.5 s) reproduce Table S4's means to two decimals.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    k7 units show initial valence signaling (danger shock = uncertainty shock > omission > safety) giving way to positive prediction error (uncertainty shock > danger shock), and sustain inhibition to safety through the outcome period.

    Over the 17.5 s, danger 0.290, shock 0.423, omission 0.079 above zero, safety -0.278 below, the Table S4…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6G; Table S4rests on an assumptionfig6g-k7-valence-then-ppe
    From the paper

    K7 neurons (Figure 6G, i and ii) showedinitial valence signaling ... that gave way to positive prediction error (uncertainty shock > danger shock). Impressively, k7 neurons sustained firing inhibition to safety throughout the outcome period.

    Reported statistics
    • k7 danger normalized firing: 95% bootstrap CI, 95% CI 0.24 to 0.35
    • k7 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI 0.35 to 0.5
    • k7 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI 0.03 to 0.13
    • k7 safety normalized firing: 95% bootstrap CI, 95% CI -0.33 to -0.22
    Result

    Over the 17.5 s, danger 0.290, shock 0.423, omission 0.079 above zero, safety -0.278 below, the Table S4 means; all three differences above zero (shock - danger 0.133). Seven of seven CIs agree. Under z-a and z-b the CIs agree in 6 and 7 of 7, and all four means are larger in absolute value than Table S4's (z-a 0.459, 0.678, 0.098, -0.532; z-b 0.610, 0.896, 0.188, -0.516).

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Reproduced

    k8 units show early positive prediction error (uncertainty shock > danger shock) giving way to an unsigned prediction error, with equal firing increases on uncertainty shock and omission trials exceeding those for danger and safety.

    Over the 17.5 s, danger -0.107 below zero, shock 0.326 and omission 0.178 above, safety -0.020 includes zero…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6H; Table S4rests on an assumptionfig6h-k8-ppe-then-unsigned
    From the paper

    Finally, k8 neurons (Figure 6H, i and ii) showed early positive prediction error signaling (uncertainty shock > danger shock) that gavewaytoanunsignedpredictionerrorsignalinwhich equivalent firing increases on uncertainty shock and omissiontrials exceeded those for danger and safety.

    Reported statistics
    • k8 danger normalized firing: 95% bootstrap CI, 95% CI -0.16 to -0.05
    • k8 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI 0.25 to 0.39
    • k8 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI 0.14 to 0.21
    • k8 safety normalized firing: 95% bootstrap CI, 95% CI -0.06 to 0.02
    Result

    Over the 17.5 s, danger -0.107 below zero, shock 0.326 and omission 0.178 above, safety -0.020 includes zero, the Table S4 means; shock - danger 0.432 and omission - safety 0.198 above zero, danger - safety -0.087 below. Seven of seven CIs agree.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.

Partially reproduced5

  • Partially reproduced

    Except for k2, each cluster's uncertainty firing has the direction and time course of its danger firing at lower magnitude, and safety firing tends to oppose danger firing; k4 and k6 are inhibited to danger but excited to safety, k3 and k5 the reverse.

    Part (1) holds: k4 (D -0.319, S 0.180) and k6 (D -0.356, S 0.243) are inhibited to danger and excited to…

    Results, Uniform firing bias toward threat cues, paragraph 1; Figure 4A to 4C; Figure S5rests on an assumptionquestion to the readerfig4abc-threat-bias
    From the paper

    With the exception of cluster k2, the direction and temporal characteristics of each cluster's uncertainty firing were similar to that for danger, only diminished in magnitude. Critically, across all eight clusters, safety firing direction tended to oppose danger firing direction. Clusters k4 and k6 showed considerable firing inhibition to danger, but firing increases to safety. Just the opposite was observed for clusters k3 and k5

    Result

    Part (1) holds: k4 (D -0.319, S 0.180) and k6 (D -0.356, S 0.243) are inhibited to danger and excited to safety, k3 (D 1.234, S -0.119) and k5 (D 0.538, S -0.136) the reverse. Part (2) holds in five of the seven clusters other than k2, one short of the six required: in k4 uncertainty equals danger (-0.324 against -0.319; the paper itself calls k4 equal), and in k7 uncertainty is about zero in the delay (-0.002 against 0.207). Safety has the opposite sign to danger in 5 of 8 clusters. z-a and z-b give the same: part (1) holds and part (2) in 5 of 7. Whether k4 should count in part (2), given that the paper calls it equal, is asked of a reader (questions/crcns-rrf-1.yaml).

    Deviations from the paper’s method
    • Judged on each cluster's Figure 3 interval, as the criterion says; the paper shows this in traces only, with no test.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Partially reproduced

    Within clusters, peak threat probability exceeds fear output (main effect of regressor) in k3, k4, k6, k7 and k8 but not in k1 or k5, and only k7 shows a regressor x bin interaction.

    The regressor main effect is significant with peak probability larger in exactly k3, k4, k6, k7 and k8 (F…

    Table S3; Figure S6rests on an assumptiontable-s3-cluster-regression
    From the paper

    Not quoted: Read from Table S3, whose significant p-values are printed in bold (layout checked on the rendered page); no sentence of the text states the per-cluster results.

    Reported statistics
    • k1 main effect of regressor: ANOVA, F = 0.44, p = 0.51
    • k3 main effect of regressor: ANOVA, F = 9.35, p = 0.008
    • k4 main effect of regressor: ANOVA, F = 6.72, p = 0.01
    • k5 main effect of regressor: ANOVA, F = 2.02, p = 0.16
    • k6 main effect of regressor: ANOVA, F = 6.28, p = 0.015
    • k7 main effect of regressor: ANOVA, F = 16.89, p = 1.2 × 10⁻⁴
    • k8 main effect of regressor: ANOVA, F = 4.29, p = 0.04
    • k7 regressor x bin interaction: ANOVA, F = 3.01, p = 2.4 × 10⁻⁴
    Result

    The regressor main effect is significant with peak probability larger in exactly k3, k4, k6, k7 and k8 (F 11.52, 6.72, 6.28, 16.89, 4.29; k1 0.44 and k5 2.19 not significant), and k7 has a regressor x bin interaction (p = 0.00024). k3 also has one (p = 0.047, paper 0.09), so six of seven clusters agree on both terms. Five of the seven F equal Table S3. Removing one k3 unit (rb06032120epr25bSPK11b) gives k3 F = 9.35 and interaction p = 0.092, and removing one k5 unit (rb12030520epr25bSPK13a) gives k5 F = 2.02 and p = 0.787, Table S3's values. The match does not identify a unit; four k3 units give F within 0.05 of 9.35 when removed, and removing any of 10 of the 18 makes the k3 interaction non-significant. Table S3's partial eta squared for k3 (0.37, 0.09) fits 17 units (0.369, 0.090) better than 18 (0.355, 0.085). Without the two candidates the pooled ANOVA gives regressor F(1, 355) = 28.72 and regressor x bin F(13, 4615) = 4.34 (paper 28.57 and 4.13), near the paper's but not equal.

    Deviations from the paper’s method
    • All units used, as the claims file says; the paper's analysis leaves out two units that it does not name.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Partially reproduced

    k2 units fire most to the predicted shock on danger trials and are inhibited by the surprising shock on uncertainty trials, an anti-positive prediction error signal.

    Over the 17.5 s, danger 0.331 (above zero), uncertainty shock -0.178 (below), shock - danger -0.509 (below)…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6B; Table S4rests on an assumptionfig6b-k2-anti-ppe
    From the paper

    K2 neurons (Figure 6B, i and ii) fired maximally to the fully predicted shock on danger trials but showed firing inhibition to the surprising shock on uncertainty trials, consistent with an anti-positive prediction error signal.

    Reported statistics
    • k2 danger normalized firing: 95% bootstrap CI, 95% CI 0.28 to 0.38
    • k2 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI -0.25 to -0.12
    • k2 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI -0.09 to 0.003
    • k2 safety normalized firing: 95% bootstrap CI, 95% CI 0.01 to 0.11
    Result

    Over the 17.5 s, danger 0.331 (above zero), uncertainty shock -0.178 (below), shock - danger -0.509 (below), omission - safety -0.108 (below), danger - safety 0.269 (above), safety 0.061 (above), all four means within tolerance. The omission CI [-0.093, -0.005] just excludes zero where the paper's [-0.09, 0.003] just includes it, so six of seven CIs agree. Over 20 draws the omission CI includes zero in 5% with standard errors s / sqrt(n) and 20% with MATLAB's nested standard errors, so six of seven under the majority rule too.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Partially reproduced

    k4 units sustain inhibition and k5 units sustain excitation on uncertainty omission trials, persistent threat signaling through opposite firing directions.

    k4 (17.5 s): danger 0.192, shock 0.248, omission -0.158, safety 0.195, the Table S4 means, and all seven CIs…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6D and 6E; Table S4rests on an assumptionfig6de-k4-k5-persistent-threat
    From the paper

    K4 neurons (Figure 6D, i and ii) sustained firing inhibition on uncertainty omission trials, whereas k5 neurons (Figure 6E, i and ii) sustained firing increases, revealing similar and persistent threat signaling through opposing firing directions.

    Reported statistics
    • k4 danger normalized firing: 95% bootstrap CI, 95% CI 0.14 to 0.25
    • k4 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI 0.2 to 0.31
    • k4 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI -0.19 to -0.12
    • k4 safety normalized firing: 95% bootstrap CI, 95% CI 0.15 to 0.24
    • k5 danger normalized firing: 95% bootstrap CI, 95% CI -0.07 to 0.14
    • k5 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI -0.16 to 0.03
    • k5 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI 0.17 to 0.32
    • k5 safety normalized firing: 95% bootstrap CI, 95% CI -0.14 to -0.003
    Result

    k4 (17.5 s): danger 0.192, shock 0.248, omission -0.158, safety 0.195, the Table S4 means, and all seven CIs agree. k5 (0 to 8 s): danger and shock include zero, omission 0.156 above, safety -0.098 below, only omission - safety (0.254) of the differences excludes zero: all seven CIs agree, but the omission mean is outside 0.25 +/- 0.08. In 0 to 4 s the k5 means are 0.041, -0.053, 0.248, -0.070 (Table S4 0.04, -0.05, 0.25, -0.07) and six of seven k5 CIs agree. The window is asked of a reader (questions/crcns-rrf-1.yaml).

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Window as the claims file reads it from the Figure 6 gray boxes. For k1, k3, k5 and k6 the Table S4 means are reproduced to within 0.008 by the window 0 to 4 s after shock offset, not 0 to 8 s (window scan in the notebook); the 0 to 4 s result is shown as a variant. The windows for k2, k4, k7 and k8 (the whole 17.5 s) reproduce Table S4's means to two decimals.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.
  • Partially reproduced

    k6 units show early positive prediction error through firing decreases (more inhibition after uncertainty shock than danger shock), giving way to a sustained valence signal with most firing to safety, little after omission and sustained inhibition after danger and uncertainty shock.

    In 0 to 8 s, danger -0.147 and shock -0.279 below zero, omission 0.050 [-0.000, 0.099], safety 0.253 above…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6F; Table S4rests on an assumptionfig6f-k6-ppe-then-valence
    From the paper

    K6 neurons (Figure 6F, i and ii) showed early positive prediction error signaling through firing decreases: greater firing inhibition following shock delivery on uncertainty trials compared to danger trials.

    Reported statistics
    • k6 danger normalized firing: 95% bootstrap CI, 95% CI -0.24 to -0.08
    • k6 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI -0.4 to -0.22
    • k6 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI -0.05 to 0.07
    • k6 safety normalized firing: 95% bootstrap CI, 95% CI 0.2 to 0.33
    Result

    In 0 to 8 s, danger -0.147 and shock -0.279 below zero, omission 0.050 [-0.000, 0.099], safety 0.253 above; shock - danger -0.132, omission - safety -0.203 and danger - safety -0.400 all below zero, four means within tolerance. In the claim's own draw all seven CIs agree, but over 20 draws the omission CI includes zero, as the paper's does, in 10% (20% with nested standard errors), so six of seven CIs agree under the majority rule, a convention of this attempt that the claims file does not set and the stricter choice here. The partial condition holds, shock - danger below zero in every draw and safety the largest mean. Over the whole 17.5 s safety is still the largest mean (0.247) and danger and shock stay below zero (-0.141, -0.235). The window is asked of a reader (questions/crcns-rrf-1.yaml); in 0 to 4 s the single draw also gives seven of seven.

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Window as the claims file reads it from the Figure 6 gray boxes. For k1, k3, k5 and k6 the Table S4 means are reproduced to within 0.008 by the window 0 to 4 s after shock offset, not 0 to 8 s (window scan in the notebook); the 0 to 4 s result is shown as a variant. The windows for k2, k4, k7 and k8 (the whole 17.5 s) reproduce Table S4's means to two decimals.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.

Not reproduced1

  • Not reproduced

    k1 units are generally shock responsive, with equivalent, transient firing after danger and uncertainty shock.

    In 0 to 8 s after shock offset, k1 danger 0.085 [-0.032, 0.205] and uncertainty shock 0.053 [-0.080, 0.184]…

    Results, Diverse aversive outcome firing patterns, paragraph 2; Figure 6A; Table S4rests on an assumptionquestion to the readerfig6a-k1-shock
    From the paper

    K1 neurons (Figure 6A, i and ii) were generally shock responsive, showing equivalent and transient responding following danger and uncertainty shock.

    Reported statistics
    • k1 danger normalized firing: 95% bootstrap CI, 95% CI 0.01 to 0.37
    • k1 uncertainty shock normalized firing: 95% bootstrap CI, 95% CI 0.03 to 0.37
    • k1 uncertainty omission normalized firing: 95% bootstrap CI, 95% CI -0.13 to 0.1
    • k1 safety normalized firing: 95% bootstrap CI, 95% CI 0.05 to 0.24
    Result

    In 0 to 8 s after shock offset, k1 danger 0.085 [-0.032, 0.205] and uncertainty shock 0.053 [-0.080, 0.184] include zero where the paper's are above zero; omission -0.081 (includes zero), safety 0.093 (above zero); of the differences only omission - safety is below zero, as in the paper. Five of seven CIs agree and the four means are within the tolerances. In 0 to 4 s after shock offset, the window that reproduces Table S4, the means are 0.191, 0.208, -0.012 and 0.147 and all seven CIs agree. Over 20 draws the danger and shock CIs include zero in every draw. The rendered Figure 6 shows the gray box ending at 8 s, so the claims file reads the figure as drawn; whether the window should follow Table S4 is asked of a reader (questions/crcns-rrf-1.yaml).

    Deviations from the paper’s method
    • CIs are studentized bootstrap intervals with 1,000 resamples and standard errors s / sqrt(n); MATLAB's bootci, called as in rrfAnalysis.m 1744 with no StdErr, estimates them from 100 nested bootstrap samples (NBootStd). Each CI is judged by the sign it gives in most of 20 draws, a convention of this attempt that the claims file does not set (notebook, bootstrap section); the nested standard errors give the same majority sign for every CI.
    • Window as the claims file reads it from the Figure 6 gray boxes. For k1, k3, k5 and k6 the Table S4 means are reproduced to within 0.008 by the window 0 to 4 s after shock offset, not 0 to 8 s (window scan in the notebook); the 0 to 4 s result is shown as a variant. The windows for k2, k4, k7 and k8 (the whole 17.5 s) reproduce Table S4's means to two decimals.
    • Normalized firing is the code's (cubeScriptPR25.m): single-trial differential rates, floored to integer Hz, z-scored over all 16 trials and all bins of a unit, then averaged by trial type. The Methods (Z-score normalization) describe z-scoring the trial-type means across trial types. The claims file left this open (readings z-a and z-b) and asked an author who finds the code to follow it; z-a and z-b are run as variants. Assumed that the code is what the paper did; the exact recovery of the paper's cluster sizes, F values and correlations under it supports this.
    • Clusters are the code's own k-means run (rng(1); kmeans(aa, 8) in rrfAnalysis.m), repeated in Python with MATLAB's Mersenne Twister draws and k-means++ seeding, and named k1 to k8 by the code's idx table. The sizes equal the paper's (33, 59, 18, 63, 58, 61, 64, 67), and the claims file's matching by firing pattern gives the same names. The data set holds no label file.

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.

  • Published code disagreesThe Methods (Z-score normalization) describe averaging trials per trial type, subtracting that type's 2-s baseline and z-scoring the means across trial types. The paper's code (cubeScriptPR25.m, in the data set) instead floors every rate to an integer Hz, subtracts each trial's own 2-s baseline, and z-scores the single-trial values over all 16 trials and all bins of a unit; the trial-type means of these are what rrfAnalysis.m analyses. The paper's numbers (cluster sizes, Table 1, Table S1, Figure 4 and Figure 5 statistics) are reproduced to the printed digits only with the code's version. Question for the authors: is the code's normalization the one used for all reported results?#
  • Published code disagreesThe Methods say k-means clustering was performed 10 times for each cluster number and that Figure 1E shows the mean squared distance between each point and its centroid. rrfAnalysis.m runs kmeans once per cluster number after rng(1), and plots mean(sumd), the mean over clusters of the summed squared distances (sum(sumd) for two clusters). The outcome epochs of the clustering matrix start 13 s after cue onset, 0.5 s after shock offset, which the Methods do not state.#
  • Paper inconsistentFor k1, k3, k5 and k6 the gray boxes of Figure 6 span 0 to 8 s after shock offset, but the Table S4 means of these clusters are reproduced (to within 0.008) only by the window 0 to 4 s after shock offset; in 0 to 8 s they differ by up to 0.15. The 17.5-s windows of the other four clusters reproduce Table S4 exactly. The paper's code does not draw the boxes; its traces put 0 s at shock offset, and its own post-shock windows are 0 to 2 s and 7.5 to 17.5 s (rrfAnalysis.m 6097, 6135).#
  • Methods not availableQuestion for the authors: which interval after shock offset was analysed in Figure 6 (columns i and ii) and Table S4 for k1, k3, k5 and k6? The figure's gray boxes show 0 to 8 s; the table's values fit 0 to 4 s. The answer decides fig6a-k1-shock, which is not reproduced in 0 to 8 s and is in 0 to 4 s, and the k5 omission mean of fig6de.#
  • Selection not documentedThe ANOVAs of Figure 5E and Table S3 have 355 error df, implying 362 units, while the seven clusters hold 364. Removing one k3 unit (four candidates fit equally) and one k5 unit reproduces Table S3's F and p values for those clusters, and Table S3's partial eta squared for k3 fits 17 units; the pooled ANOVA without two such units gives F values near the paper's but not equal. The paper does not say which units were left out or why. Question for the authors: which two units were excluded from these ANOVAs, and on what rule?#

Questions about the claims 2

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-06about fig6a-k1-shock

    For k1, k3, k5 and k6 the claims file takes the outcome window from the Figure 6 gray boxes (0 to 8 s after shock offset) and the expected means and CI patterns from Table S4. Table S4's means for these four clusters are reproduced to within 0.008 by 0 to 4 s after shock offset and differ by 0.04 to 0.15 at 0 to 8 s. Should the window of these claims be the one Table S4's values come from (0 to 4 s), or the gray boxes? The same question applies to fig6c-k3-continued-threat, fig6de-k4-k5-persistent-threat (k5) and fig6f-k6-ppe-then-valence.

    Passage. The gray box indicates the interval analyzed in columns i and ii (Figure 6 legend), and See also Table S4. On the rendered page the boxes of panels A, C, E and F end at the 8-s tick; the paper's code (rrfAnalysis.m 6177 to 6210) puts 0 s of these traces at shock offset and does not draw the boxes.

    Why it matters. fig6a-k1-shock is not reproduced at 0 to 8 s (danger and uncertainty shock CIs include zero) and its seven CIs and four means all agree at 0 to 4 s. For k5 the omission mean is 0.156 at 0 to 8 s, outside 0.25 +/- 0.08, and 0.248 at 0 to 4 s, though one k5 CI then disagrees, so fig6de stays partial either way. For k3, seven CIs agree at 0 to 8 s and six at 0 to 4 s; for k6, seven agree in the single draw of either window.

    No reader has answered it yet.
  • openasked 2026-11-06about fig4abc-threat-bias

    Part (2) of the criterion asks that in at least six of the seven clusters other than k2 the uncertainty mean have a smaller absolute value than the danger mean. The paper says that k4 neurons inhibit equally to danger and uncertainty. Should k4 be left out of part (2), or the count lowered, since the paper itself does not expect k4 to meet it?

    Passage. K4 neurons specifically and equivalently inhibited firing to danger and uncertainty (Results, Diverse cue firing patterns), against With the exception of cluster k2, the direction and temporal characteristics of each cluster's uncertainty firing were similar to that for danger, only diminished in magnitude (Results, Uniform firing bias toward threat cues).

    Why it matters. Part (2) holds in five of seven clusters, one short of six. The two failures are k4 (uncertainty -0.324 against danger -0.319, as the paper describes k4) and k7 (uncertainty -0.002 in the delay). With k4 left out it would hold in five of six; whether that is enough for reproduced depends on the count the reader sets.

    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 Threat and aversive outcome signals in the retrorubral field (Moaddab and McDannald 2021)

Tests the findings of Moaddab and McDannald (2021) on CRCNS data set rrf-1, which holds 743 single units recorded from the retrorubral field of 11 rats over 228 fear discrimination sessions, the authors' derived data file, and the paper's MATLAB code. It covers the cue-responsive screen, behavior, the eight k-means clusters, cue firing, the threat probability regressions and the aversive outcome firing of each cluster. All files

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

Verification

  • Round 1
    2026-11-06
    Agreed with 30 of 30 outcomes. Independent agent run by CatalystNeuro (same harness, separate context, did not write the notebook). Reviewed: Round 1. The first executed notebook with the conclusion cells and the summary removed, the helper module and the claims file, with the paper. The verifier did not download the data set, so it could not read the MATLAB code the helper cites, and it had no PDF renderer for the Figure 6 gray boxes. Its report gave its own outcome for each claim; all 30 agree with the record as it was then.
  • Round 2
    2026-11-06
    Agreed with 30 of 30 outcomes. Independent agent run by CatalystNeuro (same harness, separate context, did not write the notebook). Reviewed: Round 2. The full executed notebook from the round-1 revision, with its conclusions and summary, the helper module, the attempt record, the README and the claims file, with the paper. The verifier agreed with all 30 outcomes and reported statements the outputs did not support.

Method differences

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

Provenance

Attempt record
moaddab-2021-01
Paper
10.1016/j.cub.2021.02.055
Date
2026-11-06
Made by
An agent, run by CatalystNeuro
Dataset
CRCNS:rrf-1 (on CRCNS)
Version
unversioned (doi:10.6080/K04B2ZJ5)
Run on
GitHub Actions
Harness
Claude Code
Model
claude-opus-5-5
Protocol
pilot-13

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.

Badges for this paper

Encore: 24 findings reproduced, Moaddab et al. 2021

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/moaddab-2021/"><img src="https://encorescience.org/badge/papers/moaddab-2021.svg" alt="Encore: 24 findings reproduced, Moaddab et al. 2021"></a>

Or as Markdown:

[![Encore: 24 findings reproduced, Moaddab et al. 2021](https://encorescience.org/badge/papers/moaddab-2021.svg)](https://encorescience.org/papers/moaddab-2021/)

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