images: refactor into finer-grained pieces for parallel execution #2754
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.38) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.38 · 108 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.344
Diff Size
diff_size
0.281
Real PR Conversation Timeline
1 comments
"Review active on #2754"
general
weight: 0.35
shajder
Monolithic test suites can create significant work imbalances when executing
tests in parallel, as a single large test block can bottleneck the test runner.
This commit refactors the image conformance tests to allow efficient
parallel execution and better workload distribution.
To achieve this, the test harness is upgraded to support generic user data
payloads, and the test registration is flattened:
Updated the test_function_pointer signature and test_registry::add_test
to accept a trailing
voidargs parameter.Removed the object-oriented
testclass wrapper abstraction in favor ofdirect function pointer test definitions.
Cleaned up redundant
test_registry::getInstance()boilerplate from mainentry points across all conformance test suites.
Ref #2723
[run-test: test_cl_copy_images small_images --num-worker-threads 2 ]