[search] Leader board notification
This is an idea to implement leader boards in the platform re-using the search app.
- Implement a new attribute to the
experiments, pointing to the current set of experiments which are the result of a search. N.B.: This field is not used to display the search results, which still relies on the code available at the app. It is only used for the Leader Board feature. This feature is switchable with a simple checkbox and,
Search.experimentsis not visible otherwise to the user.
- For every
experimentsset, perform the following via a cronjob (once every 4 hours?):
- Re-run the search
- Check if the new set of experiments is the same as before
- If it changed, report this via e-mail (and on the actstream?) of the owner, indicating the old and new lists (relative differences may be displayed). The e-mail contains a link to the original search
- If (3) was fullfilled, for each user that has an experiment on the search AND access to the search, report the relative displacement of the user experiment's position.