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
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...
Answer
#4: Post edited
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
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
- 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 thresholdsorted 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
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".