mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
lock down metrics and spelling
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
"body-parser": "^1.12.0",
|
||||
"coffee-script": "^1.9.1",
|
||||
"express": "^4.12.1",
|
||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
|
||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
|
||||
"lru-cache": "^2.5.0",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.3.0",
|
||||
"mongojs": "1.3.0",
|
||||
"node-statsd": "0.0.3",
|
||||
"redis": "~0.8.4",
|
||||
|
||||
@@ -80,7 +80,7 @@ q.drain = () ->
|
||||
console.log('all items have been processed');
|
||||
|
||||
for i in [0 .. 1000]
|
||||
if Math.random() < 0.1
|
||||
q.push({correct: Math.floor(10000*Math.random()), incorrect: Math.floor(100*Math.random())})
|
||||
else
|
||||
q.push({correct: Math.floor(3*Math.random()) + 1, incorrect: Math.floor(3*Math.random())})
|
||||
q.push({correct: Math.floor(30*Math.random()) + 1, incorrect: Math.floor(3*Math.random())})
|
||||
# if Math.random() < 0.1
|
||||
# else
|
||||
# q.push({correct: Math.floor(100*Math.random()) + 1, incorrect: Math.floor(3*Math.random())})
|
||||
|
||||
Reference in New Issue
Block a user