Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

55%
+3 −2
Q&A Should we modify the default (front) page for anonymous visitors?

Maybe the ordering of the default tab should be more sophisticated, both for logged-out and logged-in users, new or otherwise. The "Activity" tab would then not be the default one, and the default ...

posted 3y ago by celtschk‭  ·  edited 3y ago by celtschk‭

Answer
#2: Post edited by user avatar celtschk‭ · 2021-12-07T09:51:06Z (about 3 years ago)
  • Maybe the ordering of the default tab should be more sophisticated, both for new and logged-in users. The "Activity" tab would then not be the default one, and the default one could e.g. be called "Interesting". It would be ordered by an interest score that should take into account both last activity and votes. For logged-in users, questions they personally were involved in (asked it, answered it, commented on it) should get an interest boost (as you are more interested in posts you engaged with).
  • An example ranking algorithm could be as follows (note that I didn't give it too much thought, so that should not be taken as proposal, but more as a starting point; also note that it would have to be adapted for non-question posts).
  • For each question, we consider the following numbers:
  • * The Wilson score *w<sub>q</sub>* of the question itself.
  • * The Wilson score *w<sub>a</sub>* of the highest scored answer. If there is no answer, *w<sub>a</sub>*=0.
  • * The number *n* of other questions that got activity after the last activity of the question.
  • * An adjustable positive constant *A* (which basically determines the weight of the last activity)
  • * An “own post” factor *o* that is 1 for posts the logged-in user was not involved in, and an adjustable value greater than 1 for posts the logged-in user was involved in. For non-logged-in users it is always 1.
  • The interest score could then be calculated as
  • > score = *o* × (max(*w<sub>q</sub>*, *w<sub>a</sub>*) / (*n* + *A*)
  • That way, questions with higher score or higher scored answers would rise, but questions whose activity is longer away would get less weight. The older the activity is, the less the time would matter.
  • Maybe the ordering of the default tab should be more sophisticated, both for logged-out and logged-in users, new or otherwise. The "Activity" tab would then not be the default one, and the default one could e.g. be called "Interesting". It would be ordered by an interest score that should take into account both last activity and votes. For logged-in users, questions they personally were involved in (asked it, answered it, commented on it) should get an interest boost (as you are more interested in posts you engaged with).
  • An example ranking algorithm could be as follows (note that I didn't give it too much thought, so that should not be taken as proposal, but more as a starting point; also note that it would have to be adapted for non-question posts).
  • For each question, we consider the following numbers:
  • * The Wilson score *w<sub>q</sub>* of the question itself.
  • * The Wilson score *w<sub>a</sub>* of the highest scored answer. If there is no answer, *w<sub>a</sub>*=0.
  • * The number *n* of other questions that got activity after the last activity of the question.
  • * An adjustable positive constant *A* (which basically determines the weight of the last activity)
  • * An “own post” factor *o* that is 1 for posts the logged-in user was not involved in, and an adjustable value greater than 1 for posts the logged-in user was involved in. For non-logged-in users it is always 1.
  • The interest score could then be calculated as
  • > score = *o* × (max(*w<sub>q</sub>*, *w<sub>a</sub>*) / (*n* + *A*)
  • That way, questions with higher score or higher scored answers would rise, but questions whose activity is longer away would get less weight. The older the activity is, the less the time would matter.
#1: Initial revision by user avatar celtschk‭ · 2021-12-07T09:50:19Z (about 3 years ago)
Maybe the ordering of the default tab should be more sophisticated, both for new and logged-in users. The "Activity" tab would then not be the default one, and the default one could e.g. be called "Interesting". It would be ordered by an interest score that should take into account both last activity and votes. For logged-in users, questions they personally were involved in (asked it, answered it, commented on it) should get an interest boost (as you are more interested in posts you engaged with).

An example ranking algorithm could be as follows (note that I didn't give it too much thought, so that should not be taken as proposal, but more as a starting point; also note that it would have to be adapted for non-question posts).

For each question, we consider the following numbers:

  * The Wilson score *w<sub>q</sub>* of the question itself.

  * The Wilson score *w<sub>a</sub>* of the highest scored answer. If there is no answer, *w<sub>a</sub>*=0.

  * The number *n* of other questions that got activity after the last activity of the question.

  * An adjustable positive constant *A* (which basically determines the weight of the last activity)

  * An “own post” factor *o* that is 1 for posts the logged-in user was not involved in, and an adjustable value greater than 1 for posts the logged-in user was involved in. For non-logged-in users it is always 1.

The interest score could then be calculated as

> score = *o* × (max(*w<sub>q</sub>*, *w<sub>a</sub>*) / (*n* + *A*)

That way, questions with higher score or higher scored answers would rise, but questions whose activity is longer away would get less weight. The older the activity is, the less the time would matter.