Housing Q5: "Has buying a home become harder everywhere?" (Spain vs Germany, 1980–2025) #81
All Vouch review confidence checks passed
Residual risk 0.36 = Change Risk (0.52) × (1 − Review Confidence (0.32)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 643 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 57% · 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.387
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #81"
general
weight: 0.35
devin-ai-integration[bot]
Summary
Replaces Housing Q5 (
hs-ratio, "Did your parents really have it easier buying a home?") with "Has buying a home become harder everywhere?" (hs-affordability). It's a single choice, and the answer is "less affordable in Spain but more affordable in Germany". The chapter stays at 8 questions and 8 points, and no other question changed.Figures, checked against the original Banco de España Annual Report 2025 (2026):
si_1_5.xlsx), fourth quarter of each year:- homes started: 760,179 in 2006, 35,721 in 2013 and 137,330 in 2025;
- price in years of gross household income: 4.2 in 1990, 9.3 in 2007 and 7.9 in 2025;
- first-year mortgage payment as a share of income: 70%, 54% and 35%.
Reveal (
AffordabilityVisual): three tabs that reuse the existingv-toggle:Flag: this uses homes started, not completions. Banco de España publishes no consistent annual completions series; its report gives only 2025 completions (92,000), and the ministry's statistics site returned 503. The note under the chart says this.
Saved progress:
HOUSING_RETIRED_IDS = { 'hs-ratio': 'hs-affordability' }is merged intoQUESTION_ALIASES, so old links open the housing chapter. Oldhs-ratiopicks are never scored for the new question. A finished run resumes at Q5, and an e2e test covers this.Tests: 77 unit tests pass. All 420 Playwright tests pass on desktop, mobile and motion. Lint has only the existing
motion.tswarning.!Desktop: since 1980
!Mobile: since 1980
!Mobile: why Spain
!Mobile: buying vs repaying
Link to Devin session: https://app.devin.ai/sessions/790a575a78584a0da19d0742e8b6f2ee
Open in Devin Desktop: https://app.devin.ai/desktop/session/790a575a78584a0da19d0742e8b6f2ee?variant=devin
Requested by: @mishpedraza
<!-- devin-review-badge-begin -->
---
🟢 Devin fixed the finding · Follow Devin's work
<a href="https://app.devin.ai/review/mishpedraza/data-detective/pull/81" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a><!-- devin-review-badge-end -->