← Back to Pull requests

2026 UI update files tab [squashed] #20447

Closed
unknown closed this pull request without merging on Sep 18, 2026 21:35 UTC
View on GitHub
unknown unknown commented on Aug 27, 2026 07:00 UTC
Author

Closes https://github.com/pypi/warehouse/issues/20185
Closes https://github.com/pypi/warehouse/issues/20045

Performance note: prod release with largest file count = 307
With thanks to @cofiem for his work on this UI.

Searchable and filterable files UI

<img width="1463" height="3538" alt="image" src="https://github.com/user-attachments/assets/34840c33-a2e7-4fc3-a9b0-e90616d9e5b6" />

File detail with attestations

<img width="1463" height="1053" alt="image" src="https://github.com/user-attachments/assets/2280b671-0f97-485c-adca-4cdeb56da20c" />

Files added late banner

Single file added late


<img width="1456" height="555" alt="image" src="https://github.com/user-attachments/assets/a33b5665-1777-4a90-b7ca-bb804f7a7d6d" />

Multiple files added late


<img width="1422" height="555" alt="image" src="https://github.com/user-attachments/assets/8d89738e-6752-4c97-b648-affb09c2cc08" />

Yanked, archived, pre-release


<img width="1423" height="643" alt="image" src="https://github.com/user-attachments/assets/fb97d4ac-514a-45fe-a375-c836939bc404" />

<img width="1423" height="606" alt="image" src="https://github.com/user-attachments/assets/855413b6-ba88-4aa2-bd14-955bd8438a37" />

<img width="1423" height="603" alt="image" src="https://github.com/user-attachments/assets/4c6bd1de-1199-4530-a81b-b1aa3e28af51" />

Quarantined


No "file added late" banner, as quarantined warning supercedes late warning as more severe.

Files added late - file list and detail


<img width="1463" height="3127" alt="image" src="https://github.com/user-attachments/assets/6cd6d1b7-4b85-4fe7-a27a-a7fef14bacc1" />

<img width="1463" height="2588" alt="image" src="https://github.com/user-attachments/assets/4213e06f-079c-425c-b10b-18418cd3e7d9" />

Files added late - main page metadata

<img width="367" height="275" alt="image" src="https://github.com/user-attachments/assets/49291828-137c-4d84-9972-6c05afaac47f" />

<img width="355" height="257" alt="image" src="https://github.com/user-attachments/assets/67968ba5-cfa4-42e3-892a-867e799d4fd9" />

Diff: 264 lines (+198 / -66) across 3 files Reviewer: nlhkabu Review duration: 32555m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 264 lines diff across 3 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
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
Diff Size diff_size
0.334
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #20447"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% 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.3% (MEDIUM) · Higher = larger blast radius
39.3%
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: 60.5% · Lower = rushed or shallow review
60.5%
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: 15.5% · Safe to merge
15.5%
Repository