Skip to content

Commit 7ee362f

Browse files
committed
Tweak boosters
1 parent 5afde83 commit 7ee362f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/svelte.dev/src/routes/(packages)/packages-search.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ let next_id = 0;
2020
const EXACT_NAME_MATCH_BOOST = 10;
2121
const TAG_MATCH_BOOST = 5;
2222
const NAME_MATCH_BOOST = 3;
23-
const DEPENDENTS_BOOST = 1.2; // Highest weight for packages others depend on
24-
const GITHUB_STARS_BOOST = 1.5; // Medium weight for GitHub stars (between dependents and downloads)
25-
const DOWNLOADS_BOOST = 1.0; // Lower weight for NPM downloads
23+
const DEPENDENTS_BOOST = 1.5; // Highest weight for packages others depend on
24+
const GITHUB_STARS_BOOST = 5.5; // Medium weight for GitHub stars (between dependents and downloads)
25+
const DOWNLOADS_BOOST = 1.2; // Lower weight for NPM downloads
2626
const RECENT_UPDATE_BOOST = 0.2;
2727
const OUTDATED_PENALTY = -6; // Substantial penalty for outdated packages
2828
const DEPRECATED_PENALTY = -12; // Severe penalty for deprecated packages

0 commit comments

Comments
 (0)