more AI servers = more automatic analysis
This commit is contained in:
parent
fed20d4635
commit
24eded7c0f
|
@ -47,7 +47,7 @@ case class Evaluation(
|
|||
action == Mark && heuristics.deviationIsLow(perf) && !heuristics.escapesAutoMark(perf)
|
||||
|
||||
def gameIdsToAnalyse: List[String] =
|
||||
games take 6 filterNot (_.analysed) take 1 flatMap (_.gameId)
|
||||
games take 7 filterNot (_.analysed) take 4 flatMap (_.gameId)
|
||||
}
|
||||
|
||||
object Evaluation {
|
||||
|
|
|
@ -77,9 +77,9 @@ final class Evaluator(
|
|||
(deviationIsLow(perf) && (progressIsHigh(perf) || ratingIsHigh(perf)))
|
||||
)) {
|
||||
evaluatedAt(user) foreach { date =>
|
||||
def freshness = if (progressIsVeryHigh(perf)) DateTime.now minusMinutes 30
|
||||
def freshness = if (progressIsVeryHigh(perf)) DateTime.now minusMinutes 20
|
||||
else if (progressIsHigh(perf)) DateTime.now minusHours 1
|
||||
else DateTime.now minusDays 3
|
||||
else DateTime.now minusDays 2
|
||||
if (suspiciousHold || forceRefresh || date.fold(true)(_ isBefore freshness)) {
|
||||
generate(user.id, true) foreach {
|
||||
_ foreach { eval =>
|
||||
|
|
Loading…
Reference in a new issue