You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in: ['logtime','evaluation','idle_logout','ranking_bonus'],// Exclude logtime, ranking bonus and evaluation scores, they are usually low individual scores
208
+
in: SMALL_CONTRIBUTION_TYPES,// Exclude usually low individual scores
Copy file name to clipboardExpand all lines: src/utils.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ import { CURSUS_ID } from "./env";
6
6
importNodeCachefrom"node-cache";
7
7
import{Request}from"express";
8
8
9
+
exportconstRANKING_MAX=100;// Maximum number of users to consider for rankings
10
+
exportconstSMALL_CONTRIBUTION_TYPES=['logtime','evaluation','idle_logout','ranking_bonus'];// Types of contributions that are usually small individual scores
0 commit comments