← Back to Pull requests

Various invalidation fixes in Base + stdlibs #63787

Closed
unknown closed this pull request without merging on Oct 14, 2026 18:42 UTC
View on GitHub
unknown unknown commented on Oct 13, 2026 11:29 UTC
Author

These are some simple tweaks to reduce the number of invalidations coming from the TTFX tests we do. In some cases it may improve the quality of the code itself.

| Task | Invalidated | Re-inferred |
|:--|--:|--:|
| UnROOT/Loading-A-Typical-Hep-Ex--Root-File | 4,467 → 3,117 | 274 → 129 |
| Flux/Basic-Model-Gradient | 3,603 → 2,338 | 834 → 765 |
| ExplicitImports/Print_Explicit_Imports | 488 → 5 | 294 → 1 |
| JLArrays/Matrix-Multiplication-On-Gpu-Like-Arrays | 1,365 → 924 | 42 → 27 |
| Ferrite/Heat-Equation | 1,365 → 957 | 85 → 65 |
| ReverseDiff/Gradient-Of-Square-Norm | 1,327 → 932 | 102 → 91 |
| ComponentArrays/Basic-Manipulations | 854 → 491 | 448 → 260 |
| Attractors/Multistability-Of-Discrete-Time-Systems | 2,397 → 2,053 | 63 → 57 |
| LoopVectorization/Dot-Product | 1,153 → 817 | 251 → 185 |
| CairoMakie/Plot-A-Sine-Wave | 4,435 → 4,132 | 480 → 439 |
| KangarooTwelve/Hash-Nothing | 747 → 505 | 13 → 8 |
| HiddenMarkovModels/Estimate-Hmm-With-Baum-Welch | 637 → 397 | 26 → 21 |
| Optimization/Rosenbrock-Minimization-With-Bfgs-Using-Forwarddiff | 784 → 554 | 42 → 37 |
| Zygote/Gradient-Of-Square-Norm | 571 → 341 | 42 → 33 |
| ForwardDiff/Gradient-Of-Square-Norm | 399 → 170 | 19 → 15 |
| OrdinaryDiffEq/Solve-The-Lorenz-Equation | 4,739 → 4,643 | 228 → 215 |
| StaticArrays/Matrix-Multiplication | 66 → 37 | 6 → 2 |
| ComplexityMeasures/Nonlinear-Timeseries-Analysis | 983 → 969 | 33 → 28 |
| Mendeleev/Get-Properties-Of-A-Chemical-Element | 88 → 74 | 7 → 2 |
| JuliaFormatter/Format-Text | 32 → 20 | 7 → 3 |
| DataFrames/Dataframe-Construction | 1,018 → 1,007 | 72 → 68 |
| Distributions/Normal-Distribution | 118 → 108 | 14 → 10 |
| GMT/Create-A-Xy-Plot | 608 → 598 | 57 → 48 |
| Graphs/Graph-Construction | 142 → 132 | 15 → 11 |
| IterativeSolvers/Conjugate-Gradient-Solve | 67 → 57 | 13 → 9 |
| Manifolds/Geodesic-On-Sphere | 653 → 643 | 60 → 56 |
| Optim/Rosenbrock-Minimization-With-Bfgs | 100 → 90 | 13 → 9 |
| SparseMatrixColorings/Basic-Coloring | 67 → 57 | 13 → 9 |
| DifferentiationInterface/Jacobian-With-Finite-Differences | 9 → 0 | 3 → 0 |
| DotEnv/Load-And-Unload-Env-File | 9 → 0 | 3 → 0 |
| BenchmarkTools/Basic-Benchmark | 9 → 1 | 3 → 0 |
| QuantumAlgebra/Commute-Two-Operators | 32 → 24 | 4 → 1 |
| ShareAdd/Get-Info-On-Stdlib-In-Internal-Shareadd-Format | 36 → 28 | 10 → 2 |
| Krylov/Conjugate-Gradient-Solve | 43 → 41 | 9 → 8 |
| Measurements/Addition-With-Uncertainties | 48 → 48 | 10 → 10 |
| Total (35 tasks) | 33,459 → 26,310 (-21%) | 3,595 → 2,624 (-27%) |

Diff: 314 lines (+235 / -79) across 3 files Reviewer: JeffBezanson Review duration: 1873m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 314 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.344
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #63787"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 40.3% (MEDIUM) · Higher = larger blast radius
40.3%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 15.9% · Safe to merge
15.9%