← Back to Pull requests

SW-9403 View historical planting site maps #7345

Open
unknown opened this pull request with 160 lines diff across 2 files
View on GitHub
unknown unknown commented on Dec 01, 2026 00:37 UTC
Author

Summary


Rename the planting site history card to Map History and add a View action to each saved version. View opens a read-only map of that snapshot's site, strata, substrata, and exclusion boundaries, so users can see what the site looked like before it was edited.

Reset the selected version when navigating between sites.

No API, route, or Mixpanel event changes. This is the first PR of a two-PR stack; downloading historical maps (SW-9404) will build on it.

Link to Devin session: https://app.devin.ai/sessions/1c53585810bb44779cb4684f21d607ab
Open in Devin Desktop: https://app.devin.ai/desktop/session/1c53585810bb44779cb4684f21d607ab?variant=devin
Requested by: @ice1080
<!-- devin-review-badge-begin -->

---

🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

<a href="https://app.devin.ai/review/terraware/terraware-web/pull/7345" 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 -->

Diff: 160 lines (+120 / -40) across 2 files Reviewer: joshbuchea Review duration: 3589m
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 · 160 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.304
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #7345"
general weight: 0.35
Reviewers
Assignees
Unassigned
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: 39.9% (MEDIUM) · Higher = larger blast radius
39.9%
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.7% · Safe to merge
22.7%