Link related sessions by the file they edited, not its spelling #111
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.41) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 186 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.313
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #111"
general
weight: 0.35
youdie006
relatedstep 2 ("sessions that edited a file this one also edited") joinedtouchedrows on the stored path. Codex stores a path relative to the folder it ran in and Claude Code a full one, so:src/auth.rsfrom/proj/apinever met/proj/api/src/auth.rs(same file, not linked);src/auth.rsfrom/proj/webmetsrc/auth.rsfrom/proj/api(different files, linked).Change: both sides of the join use the full path (a relative path read against its session's folder; left as stored when the session has no folder), compared ignoring case as
tracedoes since #109.Test:
shared_file_relatedness_reads_relative_paths_against_their_folder(a full path, a relative one from the matching folder, a case variant, and a relative one from another folder). It failed first (["web"]instead of["cased", "full"]). Mutation check, both killed: no case folding, no folder join.Real data (WSL), honestly small: in a random 300 sessions, 12 related lists changed, each losing 10 false links, all between throwaway runs under /tmp linked only by relative
notes.md,tmp_a.logor__pycache__/stale.pyc. No list between real projects changed: of 324 full/relative partner links I checked, 46 show both before and after, because step 1 (same project, newest first) usually fills the 10 slots before step 2 runs.relatedtakes about 45 ms instead of 22 ms.Local gates:
cargo fmt --check,cargo clippy --all-targets -- -D warnings,cargo test(340 passed, 0 failed).