Adds WoodELF-IQ to shapiq #572
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 202 lines diff across 2 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.318
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #572"
general
weight: 0.35
ron-wettenstein
Motivation and Context
Use Woodelf to speedup shapiq's TreeExplainer.
On large datasets or on path dependent interaction values, Woodelf's computation is going to be used behinds the schemes.
The feature implement explain_X directly and uses Woodelf vectorized computation to compute the values on X rows in a single run.
On smaller datasets, TreeSHAPIQ is still used. We run experiments to discover the cross over between Woodelf and TreeSHAPIQ.
These experiments are summarized in the htmls below:
Path Dependent experiment:
https://ron-wettenstein.github.io/TreeBranchMarks/benchmarks/reports/woodelf_vs_shapiq_path_dependent_experiment.html
Interventional experiment:
https://ron-wettenstein.github.io/TreeBranchMarks/benchmarks/reports/woodelf_vs_shapiq_experiment
The current cross over is n*m >= 100 and n >= 100 where n is the length of X and m is the length of the background dataset
---
Public API Changes
TreeExplainer now support Banzhaf values
The output format of the explain_X function was changed.
---
How Has This Been Tested?
Added 2 tests. Also run some sanity checks.
---
Checklist
CHANGELOG.md(if relevant for users).---