mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 01:51:37 -04:00
Weigh community importance score by answer count to avoid low sample bias
This commit is contained in:
@@ -39,7 +39,7 @@ export const getCompatibilityQuestions: APIHandler<'get-compatibility-questions'
|
||||
cp.created_time,
|
||||
cp.creator_id,
|
||||
cp.category,
|
||||
cp.community_importance_score,
|
||||
cp.community_importance_score * (cp.answer_count::float / (cp.answer_count + 20)) AS community_importance_score,
|
||||
cp.answer_count,
|
||||
|
||||
-- locale-aware fields
|
||||
|
||||
Reference in New Issue
Block a user