Note: this can only be implemented once T250748 is done
First make sure that all "assessed" images in the queue are prioritised so they will be processed first (by setting the priority field to some very large positive number)
Then create a script that runs daily that will fetch
1) the most popular images from the last month (using https://wikimedia.org/api/rest_v1/#/Mediarequests%20data/get_metrics_mediarequests_top__referer___media_type___year___month___day_ )
2) the number of requests made in the last month for all images that were uploaded on 2 random dates > 6 months in the past (using https://wikimedia.org/api/rest_v1/#/Mediarequests%20data/get_metrics_mediarequests_per_file__referer___agent___file_path___granularity___start___end_)
... and then loop through the images with their request counts and, if and only if the image does not already have depicts tags:
* send image to google for classification if it hasn't already been classified
* set priority equal to the number of view from the last month
This should allow us to prioritise the most popular images for CAT, and to trawl through the backlog