← Back to Pull requests

Add ux docs to pip documentation #8807

Merged
nlhkabu merged 3 files (83 lines) on Sep 02, 2020 14:04 UTC
View on GitHub
nlhkabu nlhkabu commented on Aug 26, 2020 09:43 UTC
Author

Add ux docs cc @georgiamoon @ei8fdb
Preview available here: https://pip--8807.org.readthedocs.build/en/8807/ux_research_design/

Diff: 83 lines (+83 / -0) across 3 files Reviewer: pradyunsg Review duration: 10340m
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.32) × (1 − Review Confidence (0.87)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 83 lines diff across 3 files
0.32
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.83 · 5 substantive comment(s)
0.83
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
87%
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.265
Real PR Conversation Timeline
11 items
McSinyx McSinyx commented on code on Aug 26, 2020 10:34 UTC
Code Review
docs/html/ux_research_design.rst:1
@@ -0,0 +1,67 @@
+====================
+UX Research & Design
+====================
+
+Over the course of 2020, the pip team has been working on improving pip's user
+experience.
+
+Currently, our focus is on:
+
+1. `Understanding who uses pip`_
+2. `Understanding how pip compares to other package managers, and how pip supports other Python packaging tools`_
+3. `Understanding how pip's functionality is used, and how it could be improved`_
+4. `Understanding how pip's documentation is used, and how it could be improved`_
+
+You can read the `overall plan`_ and the `mid-year update`_ to learn more about
+our work.
+
+How to contribute
+-----------------

I think this and the Next steps section should be in the same level as Other ways to contribute.

ei8fdb ei8fdb commented on code on Aug 28, 2020 09:12 UTC
Code Review
docs/html/ux_research_design.rst:1
@@ -0,0 +1,67 @@
+====================
+UX Research & Design
+====================
+
+Over the course of 2020, the pip team has been working on improving pip's user
+experience.
+
+Currently, our focus is on:
+
+1. `Understanding who uses pip`_
+2. `Understanding how pip compares to other package managers, and how pip supports other Python packaging tools`_
+3. `Understanding how pip's functionality is used, and how it could be improved`_
+4. `Understanding how pip's documentation is used, and how it could be improved`_
+
+You can read the `overall plan`_ and the `mid-year update`_ to learn more about
+our work.
+
+How to contribute
+-----------------
+
+It is important that we hear from pip users so that we can:
+
+- Understand how pip is currently used by the Python community
+- Understand how pip users would *like* pip to behave

I'd put "Understand how pip users need pip to behave" before "Understand how pip users would like pip to behave".

pradyunsg pradyunsg commented on code on Aug 28, 2020 18:08 UTC
Code Review
docs/html/ux_research_design.rst:1
@@ -0,0 +1,67 @@
+====================
+UX Research & Design
+====================
+
+Over the course of 2020, the pip team has been working on improving pip's user
+experience.
+
+Currently, our focus is on:
+
+1. `Understanding who uses pip`_
+2. `Understanding how pip compares to other package managers, and how pip supports other Python packaging tools`_
+3. `Understanding how pip's functionality is used, and how it could be improved`_
+4. `Understanding how pip's documentation is used, and how it could be improved`_
+
+You can read the `overall plan`_ and the `mid-year update`_ to learn more about
+our work.
+
+How to contribute
+-----------------

This looks fine to me.

nlhkabu nlhkabu commented on code on Aug 31, 2020 11:53 UTC
Code Review
docs/html/ux_research_design.rst:1
@@ -0,0 +1,67 @@
+====================
+UX Research & Design
+====================
+
+Over the course of 2020, the pip team has been working on improving pip's user
+experience.
+
+Currently, our focus is on:
+
+1. `Understanding who uses pip`_
+2. `Understanding how pip compares to other package managers, and how pip supports other Python packaging tools`_
+3. `Understanding how pip's functionality is used, and how it could be improved`_
+4. `Understanding how pip's documentation is used, and how it could be improved`_
+
+You can read the `overall plan`_ and the `mid-year update`_ to learn more about
+our work.
+
+How to contribute
+-----------------
+
+It is important that we hear from pip users so that we can:
+
+- Understand how pip is currently used by the Python community
+- Understand how pip users would *like* pip to behave

- Understand how pip users need pip to behave
- Understand how pip users would *like* pip to behave

nlhkabu nlhkabu commented on code on Aug 31, 2020 11:53 UTC
Code Review
docs/html/ux_research_design.rst:1
@@ -0,0 +1,67 @@
+====================
+UX Research & Design
+====================
+
+Over the course of 2020, the pip team has been working on improving pip's user
+experience.
+
+Currently, our focus is on:
+
+1. `Understanding who uses pip`_
+2. `Understanding how pip compares to other package managers, and how pip supports other Python packaging tools`_
+3. `Understanding how pip's functionality is used, and how it could be improved`_
+4. `Understanding how pip's documentation is used, and how it could be improved`_
+
+You can read the `overall plan`_ and the `mid-year update`_ to learn more about
+our work.
+
+How to contribute
+-----------------
+
+It is important that we hear from pip users so that we can:
+
+- Understand how pip is currently used by the Python community
+- Understand how pip users would *like* pip to behave

@ei8fdb like this?

pradyunsg pradyunsg approved these changes on Sep 01, 2020 20:02 UTC
Approved Reviewer

Approved these changes.

georgiamoon georgiamoon commented on Sep 02, 2020 14:02 UTC
Contributor

This LGTM!

nlhkabu nlhkabu commented on Sep 04, 2020 09:29 UTC
Author

Thanks @pradyunsg! When will we see this live in the docs?

pradyunsg pradyunsg commented on Sep 04, 2020 09:30 UTC
Contributor

This should be live on https://pip.pypa.io/en/latest now, and it'll go live in pip.pypa.io/en/stable when we make release containing this commit (likely 20.3).

nlhkabu nlhkabu commented on Sep 04, 2020 09:35 UTC
Author

Great, thank you for the clarification :)

Reviewers
Assignees
nlhkabu nlhkabu
Labels
risk: low confidence: 87.4% 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: 32.4% (LOW) · Higher = larger blast radius
32.4%
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: 87.4% · Lower = rushed or shallow review
87.4%
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: 4.1% · Safe to merge
4.1%
Repository