Skip to content

Commit 6cfec76

Browse files
authored
Remove references to the popularity score (#8646)
1 parent 6d33f6f commit 6cfec76

File tree

4 files changed

+8
-21
lines changed

4 files changed

+8
-21
lines changed

doc/help-scoring.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ The three dimensions are:
1414
- **Pub Points**: A new measure of quality. This includes several dimensions
1515
of quality such as code style, platform support, and maintainability. More
1616
about this below.
17-
- **Popularity**: A measure of how many developers use a package, providing
18-
insight into what other developers are using.
17+
- **Download count**: A measure of how often a package is downloaded,
18+
providing insight into what other developers are using.
1919

2020
## Likes
2121

@@ -38,18 +38,6 @@ On the other hand, for some packages the download count may be relatively high.
3838

3939
The download count is not a perfect metric, and should only be regarded as an indicator of popularity.
4040

41-
## Popularity
42-
43-
Popularity measures the number of apps that depend on a package over the past 60
44-
days. We show this as a percentile from 100% (among the top 1% most used
45-
packages) to 0% (the least used package). We are investigating if we can provide
46-
absolute usage counts in a future version See
47-
[this](https://github.com/dart-lang/pub-dev/issues/2714) issue.
48-
49-
Although this score is based on actual download counts, it compensates for
50-
automated tools such as continuous builds that fetch the package on each change
51-
request.
52-
5341
## Pub Points
5442

5543
Pub points is pub.dev's measure of quality. Pub points are awarded in six

doc/help-search.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ combination of the following parameters, listed in order of relative importance:
7171
- README
7272
- Documentation comments and identifiers
7373

74-
- Package popularity and like count
74+
- Package download count and like count
7575

7676
- [Pub points](/help/scoring#pub-points), which are based on factors such as these:
7777
- Adherence to Dart file conventions

doc/policy.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,14 @@ For information about other Google brand features, visit
188188

189189
We display *Top packages* on the pub.dev landing page to help you find packages
190190
for building your applications.
191-
Top packages are selected [based on popularity][4] (including number of
192-
downloads).
191+
Top packages are selected [based on download counts][4] .
193192
Search rankings are based on: relevance, engagement and quality.
194193
These elements are given different importance depending on the search parameters
195194
(such as ordering).
196195
To estimate relevance we look into many factors, such as how well the title,
197196
tags, description and package contents match your search query.
198-
We estimate engagement by incorporating signals such as popularity
199-
(based on download counts) and likes given by users.
197+
We estimate engagement by incorporating signals such as download counts and
198+
likes given by users.
200199
Finally, quality is assessed through package analysis (see scoring).
201200
These recommendations and rankings are not personalized to our users.
202201

doc/search.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ adjusted with the text query match score of the search query.
1111
The base composite score sorts packages according to::
1212

1313
- 50% from pub score (calculated from `pana`)
14-
- 50% from usage metrics from likes and popularity
14+
- 50% from usage metrics from likes and download counts
1515

1616
The usage metrics use a non-linear scoring model, where the package above the N-th
1717
percentile gets N/100 points (e.g. if a package has more likes than the 90% of the
@@ -21,7 +21,7 @@ packages, it will get 0.90 points for likes).
2121

2222
Numerical ordering is used on search requests that do not specify a text query,
2323
but would like to order the results by `updated`, or `created` time, and also by
24-
`likes`, `popularity`, or `pub score`.
24+
`likes`, `download counts`, or `pub score`.
2525

2626
These work on the raw values, without any weights or transformation.
2727

0 commit comments

Comments
 (0)