CirrusSearch needs wikinew's recent article boost to smoothly transition them to CirrusSearch.
Version: unspecified
Severity: normal
• Manybubbles | |
Nov 6 2013, 8:32 PM |
F11984: recent_article_decay.ods | |
Nov 22 2014, 2:13 AM |
CirrusSearch needs wikinew's recent article boost to smoothly transition them to CirrusSearch.
Version: unspecified
Severity: normal
Wikinews' recent article boost works like this:
if < 30 days since last article update do not change score
if 30 - 90 days since last artcile update then multiply score by 1-.7/5 (.86)
if 90 - 180 days since last artcile update then multiply score by 1-2*.7/5 (.72)
if 180 - 365 days since last artcile update then multiply score by 1-3*.7/5 (.58)
otherwise multiple score by 1-4*.7 (.44)
Cloning that functionality would be difficult to test without a time warping mechanism in the tests which I don't have. OTOH, the following function fits the original mechanism reasonably well:
boost=1-0.6*(1-EXP(-days_old*0.004428386))
I forgot to mention that the advantage of using the function is that we could test it by waiting, say, ten seconds between modifying articles and see a slight difference in score. Slight meaning it would only come up if the scores were _exactly_ the same to begin with. But that would make this work for testing.