Skip to content

messages:inSquare #2

Description

@grzesir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions