Harden shim source generation and restore test coverage [databricks] #16732
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 223 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.324
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16732"
general
weight: 0.35
gerashegalov
Related to #16730.
Description
Prepared with AI assistance and reviewed by the author before publication.
Validation: 43 focused Shimpler tests pass. The Spark 4.0 ORC fallback test executes and passes; Spark 4.2 local runtime validation was blocked by mismatched generated/JNI dependencies. The clean bounded multi-shim distributions below passed on the prior PR commit; this follow-up changes tests only. Clean bounded multi-shim distributions pass for Scala 2.12 (330/359) and Scala 2.13 (400/413/420); root/shared/nested class overlap checks pass. The committed-head compatibility check passes for 32 build versions with no new findings. Spark 500 compilation remains blocked by unchanged
GpuJsonScan.scalaerrors in the base, so that target has source-selection coverage but no successful compile in this PR.Checklists
Documentation
Testing
Performance
Runtime performance measurements are not required: production source maps are unchanged, and the changed behavior is build-time cache recovery and test-source selection.