Fixed an edge case where a score with all +-0ms errors will return null skewness
This commit is contained in:
parent
0d17c1f0b8
commit
fc9d973fde
@ -148,7 +148,7 @@ class FixOldScores(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (processedReplay?.error_skewness == null || processedReplay.judgements.isEmpty()) {
|
if (processedReplay == null || processedReplay.judgements.isEmpty()) {
|
||||||
this.logger.error("Circleguard returned null and failed to process replay with score_id: ${score.id}")
|
this.logger.error("Circleguard returned null and failed to process replay with score_id: ${score.id}")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@ -647,7 +647,7 @@ class ImportScores(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (processedReplay?.error_skewness == null || processedReplay.judgements.isEmpty()) {
|
if (processedReplay == null || processedReplay.judgements.isEmpty()) {
|
||||||
this.logger.error("Circleguard returned null and failed to process replay with score_id: ${score.id}")
|
this.logger.error("Circleguard returned null and failed to process replay with score_id: ${score.id}")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user