As an Experienced Contributor, I want to receive a notification with image recommendations, so I can illustrate articles
Notifications to be sent weekly Monday at UTC-8 time zone
Suggestions are selected randomly from the list of matched recent images to unillustrated articles.if there is an image suggestion for an unillustrated article that I've edited or watched, Users are selected randomly.
Exclude all opt-outs.
//First set of users: //Added an image to an article in the past 30 daysso I can use it to illustrate those articles.
Acceptance Criteria
If user has received <=5 image notifications,[] Image suggestions for the queue are generated using the MediaSearch index and incorporating suggestions via the Image Suggestions Algorithm as per T286562
- Then check for articles user edited in the last 30 days[] Notifications are only sent for images with "high" and "medium" confidence from the Image Suggestions algorithm; and for images above **TBD confidence level ** from the MediaSearch index (see T283865)
- If the user has already received a notification for the[] Notifications are only sent for unillustrated article IDs, skip to the next articleas determined via the Research team's method (likely using weighted tags via the search index)
- Otherwise[] Notifications are sent weekly Monday at 8am UTC/GMT-8 time zone (for everyone, match one suggestion and send the notificationnot based on individual users’ time zones)
- Remove the suggestion from[] Notifications are sent to the Image Suggestions listfollowing users:
- Then check for articles on users watchlist
- If the user has already received a notification for the article ID, skip to the next article
- Otherwis# First set of users: Users with at least 500 edits who have added an image to an article in the past 30 days (if possible, match one suggestion and send the notification
- Remove the suggestion from the Image Suggestions list
//Second set of users:// Have not added an image to an article in the past 30 days
If user has received <=5 image notifications,see TXXX)
- Then check for articles user edited## If user has received <=2 image notifications in the last 30 daysa given week,
- If the user has already received a notification for the article ID### Then check for articles user edited in the last 30 days (if possible, skip to the next articlesee TXXX)
- Otherwise### If the user has already received a notification for the article ID, match one suggestion and send the notificationskip to the next article
- Remove th### Otherwise, match one suggestion from the Image Suggestions listand send the notification
- Then### If image matches remain, then check for articles on users watchlist
-### If the user has already received a notification for the article ID, skip to the next article
-### Otherwise, match one suggestion and send the notification.
- Remove the suggestion from the Image Suggestions list
//Acceptance Criteria//# If more image matches remain, we’ll notify the second set of users: Users with at least 500 edits who have not added an image to an article in the past 30 days (if possible, see TXXX)
User ## If user has receives thd <=2 image notificationns in a given week,
- Notification received Monday UTC-8### Then check for articles user edited in the last 30 days (if possible, see TXXX)
- Notification### If the user has content analready received a linknotification for one image and a link for onethe article ID, skip to the next article
- No more than five notifications total weekly### Otherwise, match one suggestion and send the notification
### If more image matches remain, then check for articles on users watchlist
### If the user has already received a notification for the article ID, skip to the next article
- No more than one notification for an article
### Otherwise, match one suggestion and send the notification.
[] Notifications are generated weekly until image matches are exhausted or applicable users are exhausted. The order of notifications in the list is sent randomly.
[] Article-image matches are removed from the queue of notifications to be sent once the image has been placed in the matching article
[] Users should not receive a notification for the same article-image match more than once, but the same match can be sent to a different user (as long as it's not already been placed in the article).
[] Users should not receive more than 3 notifications per week.
[] Notifications are not sent to users who have opted out of image suggestions notifications (see T292146).
[] TBD: How often do we need to run a script to add new matches based on new uploads?
**Note** This ticket does not include building the UI of the notification itself, which will be handled in T292310.