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

84%
+9 −0
Q&A What gets on Hot Posts?

The code for the hot post selection can be found in the app/controllers/application_controller.rb file (search for hot_questions). Eligible for Hot Posts are all Questions or Articles that have...

posted 4y ago by luap42‭  ·  edited 3y ago by luap42‭

Answer
#4: Post edited by user avatar luap42‭ · 2021-12-04T21:39:05Z (almost 3 years ago)
  • The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb) (search for hot_questions).
  • Eligible for Hot Posts are all **Questions or Articles** that
  • - have **any activity in the last seven days**,
  • - are in an **eligible category** (can be changed per-category) and
  • - have a score over a per-community **score threshold**
  • **Sorted by descending score**. The maximal number of top posts (number configurable per-community) are chosen for the board.
  • And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".
  • The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb#L252) (search for hot_questions).
  • Eligible for Hot Posts are all **Questions or Articles** that
  • - have **any activity in the last seven days**,
  • - are in an **eligible category** (can be changed per-category) and
  • - have a score over a per-community **score threshold**
  • **Sorted by descending score**. The maximal number of top posts (number configurable per-community) are chosen for the board.
  • And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".
#3: Post edited by user avatar Trilarion‭ · 2021-12-04T21:38:20Z (almost 3 years ago)
the lines in the link to Github have changed and likely will change in the future, added a hint instead
  • The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb#L159-L174).
  • Eligible for Hot Posts are all **Questions or Articles** that
  • - have **any activity in the last seven days**,
  • - are in an **eligible category** (can be changed per-category) and
  • - have a score over a per-community **score threshold**
  • **sorted by descending score**. The top posts (number configurable per-community) are chosen for the board.
  • And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".
  • The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb) (search for hot_questions).
  • Eligible for Hot Posts are all **Questions or Articles** that
  • - have **any activity in the last seven days**,
  • - are in an **eligible category** (can be changed per-category) and
  • - have a score over a per-community **score threshold**
  • **Sorted by descending score**. The maximal number of top posts (number configurable per-community) are chosen for the board.
  • And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".
#2: Post edited by user avatar luap42‭ · 2020-10-23T08:15:44Z (almost 4 years ago)
  • The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb#L159-L174).
  • Hot Posts are all **Questions or Articles** that
  • - have any activity in the last seven days,
  • - are in an eligible category (can be changed per-category) and
  • - have a score over a per-community score threshold
  • sorted by descending score. The top posts (number configurable per-community) are chosen for the board.
  • And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".
  • The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb#L159-L174).
  • Eligible for Hot Posts are all **Questions or Articles** that
  • - have **any activity in the last seven days**,
  • - are in an **eligible category** (can be changed per-category) and
  • - have a score over a per-community **score threshold**
  • **sorted by descending score**. The top posts (number configurable per-community) are chosen for the board.
  • And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".
#1: Initial revision by user avatar luap42‭ · 2020-10-23T08:14:15Z (almost 4 years ago)
The code for the hot post selection can be found in the [app/controllers/application_controller.rb file](https://github.com/codidact/qpixel/blob/develop/app/controllers/application_controller.rb#L159-L174).

Hot Posts are all **Questions or Articles** that

- have any activity in the last seven days,
- are in an eligible category (can be changed per-category) and
- have a score over a per-community score threshold

sorted by descending score. The top posts (number configurable per-community) are chosen for the board.

And about the specific post you mentioned: There was recent activity, namely the deletion of one answer by its author, which is apparently enough to trigger "activity in the last seven days".