← Back to Pull requests

Redesign project description tab #20223

Closed
unknown closed this pull request without merging on Aug 05, 2026 17:32 UTC
View on GitHub
unknown unknown commented on Jun 29, 2026 19:04 UTC
Author

Closes #19951 #20159

Still TODO:

  • Update badges in management UI to match new colours

  • Review JS/tests for new tabs

  • Display yanked date

  • Add screenshots to this PR

  • Update design to handle translation of "Data verified by PyPI on <date>" -> right now this is hardcoded to not overflow

  • Reformat, check for translations tags, make translations
  • Screenshots: release/project states

    Standard project with horizontal tabs and sidebar metadata


    <img width="1920" height="2550" alt="Screenshot 2026-07-16 at 21-31-16 pyromaths · Warehouse" src="https://github.com/user-attachments/assets/ebf2c5f5-76bc-4a63-82a9-a8eb09dae2e1" />

    With stacking tabs on mobile...
    <img width="500" alt="Screenshot From 2026-07-16 22-02-03" src="https://github.com/user-attachments/assets/9cac6a22-8615-496a-b2bd-8d75a3eac9fb" />

    Yanked project banner


    <img width="1920" height="1018" alt="Screenshot 2026-07-16 at 21-31-28 pytest-reqs · Warehouse" src="https://github.com/user-attachments/assets/acc125a4-b73e-4318-a11c-94f20cad5d0b" />

    Quarantined project/release banner


    <img width="1920" height="782" alt="Screenshot 2026-07-16 at 21-31-39 pip · Warehouse" src="https://github.com/user-attachments/assets/6ae3eb07-81fe-42c5-917a-4198dcbb4672" />
    <img width="1920" height="669" alt="Screenshot 2026-07-16 at 21-32-03 torch · Warehouse" src="https://github.com/user-attachments/assets/b938e791-f9d0-413a-acb4-0a5a5748b0ce" />

    Archived project banner


    <img width="1920" height="906" alt="Screenshot 2026-07-16 at 21-32-17 divspl · Warehouse" src="https://github.com/user-attachments/assets/eb3d148d-1175-465b-bf45-008358b60509" />

    Pre-release banner


    <img width="1920" height="880" alt="Screenshot 2026-07-16 at 21-34-09 NiftyNet · Warehouse" src="https://github.com/user-attachments/assets/f891761e-4da1-4030-9071-2c5524f8d4a3" />

    Screenshots: project/release metadata

    PyPI data


    <img width="366" height="308" alt="Screenshot From 2026-07-16 21-46-43" src="https://github.com/user-attachments/assets/27b892e7-2358-4141-b49c-6039cc0246c6" />

    <img width="352" height="371" alt="Screenshot From 2026-07-16 21-54-41" src="https://github.com/user-attachments/assets/78778804-6f9a-43b5-acb0-629186293129" />

    Verified by PyPI


    <img width="366" height="308" alt="Screenshot From 2026-07-16 21-47-30" src="https://github.com/user-attachments/assets/1f9b15cc-b528-4ee3-87a1-f11f936a9d57" />

    <img width="357" height="407" alt="Screenshot From 2026-07-16 21-58-27" src="https://github.com/user-attachments/assets/dc5f561a-fef3-4429-930e-691dca307f8a" />

    <img width="366" height="326" alt="Screenshot From 2026-07-16 21-47-39" src="https://github.com/user-attachments/assets/6a0e6a18-2437-4048-879b-5fc273d10bcd" />

    <img width="383" height="540" alt="Screenshot From 2026-07-16 21-53-33" src="https://github.com/user-attachments/assets/e52e188b-79aa-40c6-9bbd-7b061ab1a82a" />

    Screenshots: notifications

    Standard:
    <img width="1920" height="212" alt="Screenshot From 2026-07-16 21-50-41" src="https://github.com/user-attachments/assets/62e903c5-98d2-417a-aa95-4a360a85b073" />

    Success:
    <img width="1912" height="197" alt="Screenshot From 2026-07-16 21-43-46" src="https://github.com/user-attachments/assets/656b167d-74c4-43bd-ae26-c53d34684605" />

    Error:
    <img width="1918" height="212" alt="Screenshot From 2026-07-16 22-03-03" src="https://github.com/user-attachments/assets/decac0b4-8caf-46a0-875e-45ee7728853c" />

    Other small improvements

    1. Decreased the size of the logged in avatar - preventing the height of the menu bar from jumping

    <img width="1913" height="113" alt="Screenshot From 2026-07-16 21-59-58" src="https://github.com/user-attachments/assets/ae2d3451-5714-4fe7-8c67-4855308d4a3f" />

    2. Updated admin toolbar:

    <img width="1920" height="422" alt="Screenshot From 2026-07-16 21-51-54" src="https://github.com/user-attachments/assets/e51e2403-847c-42f5-9731-26792cd93b77" />

    Diff: 501 lines (+375 / -126) across 6 files Reviewer: nlhkabu Review duration: 53187m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 501 lines diff across 6 files
    0.48
    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.372
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #20223"
    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: 47.5% (MEDIUM) · Higher = larger blast radius
    47.5%
    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: 18.8% · Safe to merge
    18.8%
    Repository