← Back to Pull requests

Clarify Borrowed Properties lookback window and matching rules #451

Merged
claude[bot] merged 2 files (166 lines) on Nov 24, 2026 01:46 UTC
View on GitHub
claude[bot] claude[bot] commented on Nov 23, 2026 23:50 UTC
Author

<!-- claude-slack-attribution -->
_Requested by Kurby Chua · Slack thread_

Before: The Borrowed Properties docs said a value is taken from the "most recent borrowed event" within a seven-day window, but didn't say whether the window includes events logged at the same moment, whether the lookup is per user, or what happens when the source event itself is analyzed or when several source events share a timestamp.

After: The docs state that the lookup only considers the same user's source events where the property is set, that the seven-day window is inclusive at both ends (a source event at the exact same millisecond, or exactly seven days earlier, counts), that a source event uses its own value when it appears in a report (falling back to the previous matching source event), and that the borrowed value isn't guaranteed when multiple source events share the same timestamp with different values.

How: Reworded the "Borrowing Mechanics" paragraphs in docs/features/custom-properties.mdx and added sub-bullets, including a short same-millisecond example, under the existing "most recent event" note. No other files changed.

🤖 Generated with Claude Code

Diff: 166 lines (+124 / -42) across 2 files Reviewer: santigracia Review duration: 115m
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 166 lines diff across 2 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
42%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.306
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #451"
general weight: 0.35
Reviewers
Assignees
claude[bot] claude[bot]
Labels
risk: low confidence: 43.0% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 40.1% (MEDIUM) · Higher = larger blast radius
40.1%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 43.0% · Lower = rushed or shallow review
43.0%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 22.9% · Safe to merge
22.9%
Repository