File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Distribution/Server/Features Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ const replaceRows = (response) => {
134
134
tr . appendChild ( createTags ( row . tags ) ) ;
135
135
tr . appendChild ( createLastUpload ( row . lastUpload ) ) ;
136
136
tr . appendChild ( createMaintainers ( row . maintainers ) ) ;
137
+ tr . appendChild ( createSimpleText ( row . packageRank ) ) ;
137
138
l . appendChild ( tr ) ;
138
139
}
139
140
} ;
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ freshness (x : xs) lastUpd app =
89
89
versionLatest = versionNumbers x
90
90
daysPastExpiration =
91
91
age >>= (\ a -> return $ max 0 a - expectedUpdateInterval)
92
- expectedUpdateInterval = int2Float
93
- (min (versionStabilityInterval versionLatest) $ length (x : xs))
92
+ expectedUpdateInterval =
93
+ int2Float (min (versionStabilityInterval versionLatest) $ length (x : xs))
94
94
versionStabilityInterval v | patches v > 3 && major v > 0 = 700
95
95
| patches v > 3 = 450
96
96
| patches v > 0 = 300
@@ -177,8 +177,7 @@ authorScore :: Int -> PackageDescription -> Scorer
177
177
authorScore maintainers desc =
178
178
boolScor 1 (not $ S. null $ author desc) <> maintScore
179
179
where
180
- maintScore =
181
- boolScor 3 (maintainers > 1 ) <> scorer 5 (int2Float maintainers)
180
+ maintScore = boolScor 3 (maintainers > 1 ) <> scorer 5 (int2Float maintainers)
182
181
183
182
codeScore :: IO Float -> IO Float -> IO Scorer
184
183
codeScore documentL haskellL = do
@@ -218,7 +217,7 @@ versionScore versionList versions lastUploads desc = do
218
217
<> scorer
219
218
15
220
219
(int2Float $ length $ filter (\ x -> major x > 0 || minor x > 0 )
221
- intUse
220
+ intUse
222
221
)
223
222
<> scorer
224
223
20
You can’t perform that action at this time.
0 commit comments