Consolidate and remove various overlaping type-trait implementations #11943
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 249 lines diff across 3 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.330
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #11943"
general
weight: 0.35
bernhardmgruber
Description
CUB
---
cub::detail::is_one_of_v<T, Ts...>->cuda::std::__is_one_of_v<T, Ts...>cub::detail::has_binary_call_operator<Op, T>->cuda::std::__is_callable_v<Op, T, T>cub::BinaryOpHasIdxParam<T, Op>->cuda::std::__is_callable_v<Op, T, T, int>(implementation only, the public wrapper remains)cub::detail::select::is_partition_distinct_output_t<T>->cuda::__is_specialization_of_v<T, partition_distinct_output_t>Thrust
------
thrust::detail::functional::is_actor<T>->cuda::__is_specialization_of_v<T, actor>thrust::detail::eval_if->cuda::std::conditional/cuda::std::conditional_tthrust::detail::destroy_functor->cuda::std::conditional_t<...>aliasthrust::detail::move_to_system_base->cuda::std::conditional_t<...>aliasthrust::detail::is_call_possible_detail::clone_constness<S, D>->cuda::std::__copy_cv_t<S, D>thrust::detail::disable_if<B, T>->cuda::std::enable_if<!B, T>aliasthrust::detail::disable_if_convertible<From, To, T>->disable_if<cuda::std::is_convertible_v<From, To>, T>aliasthrust::detail::largest_available_float->cuda::std::type_identity<double>thrust::detail::invoke_result_t<F, Args...>->cuda::std::invoke_result_t<F, Args...>thrust::detail::true_type->cuda::std::true_typeusing declarationthrust::detail::false_type->cuda::std::false_typeusing declaration__cccl_type_is_defined<T>->cuda::std::__is_complete_v<T>std::__cccl_std_contiguous_iterator_tag_exists->std::__cccl_std_contiguous_iterator_tag_exists_vthrust::detail::not_-> removed (unused)thrust::detail::lazy_enable_if-> removed (unused)thrust::detail::lazy_disable_if-> removed (unused)thrust::detail::larger_type-> removed (unused)thrust::detail::is_non_bool_integral-> removed (unused)thrust::detail::is_non_bool_arithmetic-> removed (unused)thrust::cuda_cub::__reduce_by_key::is_true-> removed (unused)