Remove unused internal helpers and fix `TextTerminal` relative moves and `reshape!` #64880
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 · 164 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.305
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #64880"
general
weight: 0.35
IanButterworth
AKA take internal seriously, except where packages use them.
Claude:
---
Removes internal code that nothing calls, in the repo or in registered packages (checked against all of General's source), and fixes the
TextTerminalrelative-move fallbacks andreshape!, which could never have worked.BrokenIntchecked-arithmetic fallbacks (both unions areUnion{}, so these methods were never defined),_lookup_cpuandReshapedArrayIterator.TextTerminalcmove_fallbacks calledcmovewithout the terminal, so they always threw aMethodError, and they clamped downward and rightward moves withmax. They now pass the terminal and clamp withmin.reshape!(::Array, ::Dims): set adimsfield thatArrayhasn't had since #56236, so it always threw aFieldError. It now setssize.nmatches.mt_avail(::MersenneTwister, ::Type).Kept, because packages use them: vector
_sub2ind, Profileget_task_ids,ip_matches_func,test_cpu_feature,argument_datatype,Order.ordtype,_require_from_serialized,load_path_setup_code,ReshapedIndex, and the CompilerTimingsmodule.print_callstack,push!(::IntDisjointSet)anduv_refare kept and now tested.Written with Claude Code (Opus 5.5).