GH-12681: [C++] Work around FP rounding issues in quantile tests #55744
All Vouch review confidence checks passed
Residual risk 0.14 = 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 · 118 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.286
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #55744"
general
weight: 0.35
pitrou
Rationale for this change
On some architectures (such as Risc-V) and/or with some optimizations enabled (such as
-fmaon x86), the quantile compute kernel may not output results rigorously equal to those from a textbook quantile computation as used in the tests.Thanks to PukNgae Cryolitia (GH id
Cryolitia) for diagnosing the issue and suggesting the fix.What changes are included in this PR?
Allow for some slight divergence (1 ULP) between the results.
Are these changes tested?
By definition.
Are there any user-facing changes?
No.
Was AI used for this PR?
In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.
PR code and description written by:
Reviewed before submission by: