[tmva][sofie] Order Session constructor shape params like `infer()` #24100
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.24) × (1 − Review Confidence (0.91)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.24 · 26 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.90 · 5 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.197
Real PR Conversation Timeline
8 items
Since we're copying this anyway, can't we copy it into a std::map and have it ordered like that?
Good question! I think std::map means alphabetic order, which won't be the correct order necessarily. When parsing the ONNX file, we just take over the original order of the input tensors in the file, which may or may not be alphabetic.
Approved
Thanks.
/backport to 6.42
Preparing to backport PR #24100 to branch 6.42 requested by guitargeek
Something went wrong when assigning the PR or setting labels @guitargeek please see the logs
This PR has been backported to branch 6.42: https://github.com/root-project/root/pull/24103
pcanal
guitargeek
The order came from iterating an unordered_map, so it depended on the standard library and broke TMVA_SOFIE_GNN_Application on some macs.
This fixes the current
tutorial-machine_learning-TMVA_SOFIE_GNN_Applicationfailures on mac26