Page MenuHomePhabricator

[M] Exclude previously rejected image suggestions when generating new suggestions
Closed, ResolvedPublic

Description

NOTE: blocked by T299885 and T302925

User story

As a user I don't want to get an image suggestion that has already been rejected by someone else, so we need to record rejections and remove them from our suggested-image dataset.


When something is rejected, the Growth team will emit an event. This will be stored in the event database in Hive in a new table

The code for gathering suggestions will need to be modified so as to use the contents of the new Hive table to filter out rejected suggestions

Event Timeline

Cparle updated the task description. (Show Details)
Cparle updated the task description. (Show Details)

Once https://gerrit.wikimedia.org/r/c/schemas/event/secondary/+/779052 is deployed, we can gather rejected suggestions through a query similar to this one (pasted from @lbowmaker's advice):

SELECT wiki, page_id, image_filename
FROM event_sanitized.image_suggestions_feedback
WHERE is_rejected = True

See also T302925#7856220.

CBogen renamed this task from Exclude previously rejected image suggestions when generating new suggestions to [M] Exclude previously rejected image suggestions when generating new suggestions.Apr 20 2022, 4:31 PM