Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages:inSquare #2

Open
grzesir opened this issue Feb 16, 2012 · 0 comments
Open

messages:inSquare #2

grzesir opened this issue Feb 16, 2012 · 0 comments

Comments

@grzesir
Copy link
Owner

grzesir commented Feb 16, 2012

Should return the messages in a square (minLat, maxLat, etc), sorted based on the following parameters:

  1. kudosUpWeight - X1
  2. kudosDownWeight - X2
  3. replyCountWeight - X3
  4. timeFactor - X4
  5. powerTimeFactor - X5

With the formula:

(kU * X1 + kD * X2 + rC * X3) * X4 ^ (X5 / (currentTime - lastReplyTime))

This way we can tweak our formula to figure out exactly what weights work best for the user, and we can also get messages based on distance as opposed to rooms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant