Exclude high CS replays from similar-replays endpoint
This commit is contained in:
parent
9e04397ac4
commit
573d642529
@ -54,7 +54,6 @@ class ScoreService(
|
|||||||
3237399, // - dialtone cs10
|
3237399, // - dialtone cs10
|
||||||
4383507, // - another diff from the 700 note stream set
|
4383507, // - another diff from the 700 note stream set
|
||||||
1606883, // - tabi no tochu cs7
|
1606883, // - tabi no tochu cs7
|
||||||
4387323, // pweh cs9.5
|
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -370,6 +369,8 @@ class ScoreService(
|
|||||||
}
|
}
|
||||||
// Globally skip maps that are known to have false positives (eg. high CS)
|
// Globally skip maps that are known to have false positives (eg. high CS)
|
||||||
.and(SCORES_SIMILARITY.BEATMAP_ID.notIn(*SKIPPED_SIMILARITY_MAPS))
|
.and(SCORES_SIMILARITY.BEATMAP_ID.notIn(*SKIPPED_SIMILARITY_MAPS))
|
||||||
|
// Skip maps that have high CS values (smaller circles mean the replays will be naturally similar)
|
||||||
|
.and(BEATMAPS.CS.lt(8.0))
|
||||||
.and(condition)
|
.and(condition)
|
||||||
.orderBy(osuScoreAlias2.DATE.desc(), SCORES_SIMILARITY.SIMILARITY.asc())
|
.orderBy(osuScoreAlias2.DATE.desc(), SCORES_SIMILARITY.SIMILARITY.asc())
|
||||||
.fetch()
|
.fetch()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user