cheshire-cat-ai / plugins-backend

The backend of The Cheshire Cat plugin directory
GNU General Public License v3.0
7 stars 5 forks source link

Plugins sorting criteria #26

Open pieroit opened 8 months ago

pieroit commented 8 months ago

Cat admin shows plugins from the registry in two use cases:

How do we sort them?

EugenioPetulla commented 8 months ago

Added basic sorting for the plugins list (newest, popular) with this commit: 017a7c8

No sorting for the search (SERP) ATM and no specific algo for default sort (oldest to newest is still the default).

We have to decide if we want this in this moment or if we want to still experiment a little bit on this topic before taking a final commitment.

EugenioPetulla commented 8 months ago

Added alphabetical sort with 89fb92b

pieroit commented 8 months ago

We can take into account 3 factors:

As a first form, we can just assign weight 1 to each factor and have score = p * r * c. In the future we can assign weights to give more importance to some of them over others!

pieroit commented 7 months ago

Sorting criteria https://github.com/cheshire-cat-ai/plugins-backend?tab=readme-ov-file#list-all-plugins-paginated