fix: relax validation for missing validity buffer when null_count is -1 #942
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.27) × (1 − Review Confidence (0.93)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.27 · 44 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.94 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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.228
Real PR Conversation Timeline
6 items
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 78.19%. Comparing base (
b896d19) to head (275705f).<details><summary>Additional details and impacted files</summary>
@@ Coverage Diff @@
## main #942 +/- ##
=======================================
Coverage 78.19% 78.19%
=======================================
Files 106 106
Lines 16843 16843
Branches 1985 1985
=======================================
Hits 13170 13170
Misses 2439 2439
Partials 1234 1234
</details>
:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
Can you to use the exact same array as above and just modify the null count? I don't think we need to use a different type here to cover the changed lines.
Thank you!
One note on the test here...I think you're testing two things but we only need to update the null count to ensure your change is covered.
I've removed the string-array case, and the test now uses the same int32 array and only changes the null count.
Approved
Thank you!
paleolimbot
and2049
Allow a missing validity buffer when the null count is unknown, matching
Arrow C++’s import behavior. Arrays reporting a positive null count still
require a validity buffer.
Add regression coverage for unknown null counts with a missing validity
buffer, including sliced arrays and positive-null-count rejection.
Fixes #855