Make Search Activity ratings based on current average

VERIFIED FIXED in Builder 0.9.13

Status

P1
major
VERIFIED FIXED
7 years ago
4 years ago

People

(Reporter: smcarthur, Assigned: smcarthur)

Tracking

unspecified
Builder 0.9.13
x86_64
Linux

Details

(Assignee)

Description

7 years ago
We should determine the current average activity rating for all the Packages on the site, and use that as the starting place for determining what is Stale, Low, Medium, etc.

The average rating can be stored in memcached, and only calculated once it's expired.
(Assignee)

Comment 1

7 years ago
@dbuc: finding and store the average is the easy part. Once I have the average, what do you suppose would be a good way of determining the other levels?

Medium: current average?
Low: 75% of Medium?
High: 125% of Medium?

Perhaps each level below Medium could be 25% below the next highest, and vice versa for each level above Medium?
Severity: normal → major
Priority: -- → P1
I would assume that we'd use the mean of all activity as our C grade case. So every package with that grade automatically gets the equivalent of that on our friendly slider text scale. Curve the grade segments according to the overall mean and match that to the slider values. Is that clear?
Basically: Just use a normal distribution based one whatever our mean is for all total packages.
(Assignee)

Comment 4

7 years ago
So, lets say we find that the average is 20%. That becomes the new 50%.

So Low (let's say Low is 30%), would then be 12%. Is this what you mean?
Precisely, making the brackets responsive to the site mean would make it correct in reference to the common activity level of the community. I would have the mean map to "Low" instead of "Moderate" on second thought.
(Assignee)

Updated

7 years ago
Assignee: nobody → smcarthur
Target Milestone: --- → Builder 0.9.13
(Assignee)

Comment 6

7 years ago
I settled on making the current average be the 33% mark in the scale (which is currently in the middle of the Low category (20-40%)).
(Assignee)

Comment 7

7 years ago
landed in master https://github.com/mozilla/FlightDeck/commit/d2aff12f5a60405a1cac39b1075f192754e58a25
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Comment 8

7 years ago
I notice that some packages can be both Inactive and have some kind of activity at the same time. Should this slider separate the two states or am I being a bit pedantic? :)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 9

7 years ago
Well, the way it works is that the value you select in the slider is the minimum activity we use to filter. So, Inactive means Inactive and up.

Perhaps its the UI's fault for not clearly showing that?

Comment 10

7 years ago
I don't think it lacks usability. Don't mind my pedantry, it's fine. I'm marking it resolved :)
Status: REOPENED → RESOLVED
Last Resolved: 7 years ago7 years ago
Resolution: --- → FIXED

Comment 11

7 years ago
Verified
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.