このコミットが含まれているのは:
@@ -335,6 +335,8 @@ const chooseQuestion = ({
|
||||
candidates: { post: Post; score: number }[],
|
||||
) => {
|
||||
const redundant = redundantSignatures (candidates)
|
||||
const nonTagCount =
|
||||
questions.filter (question => askedIds.has (question.id) && question.kind !== 'tag').length
|
||||
|
||||
return questionsToRank
|
||||
.map (question => {
|
||||
@@ -348,7 +350,7 @@ const chooseQuestion = ({
|
||||
return null
|
||||
|
||||
const splitScore = Math.abs (candidates.length / 2 - yes)
|
||||
const tagPenalty = question.kind === 'tag' ? 0 : 20
|
||||
const tagPenalty = question.kind === 'tag' && nonTagCount < 4 ? 12 : 0
|
||||
const minSide = candidates.length < 10 ? 1 : Math.max (3, candidates.length * .08)
|
||||
const narrowPenalty = yes < minSide || no < minSide ? candidates.length : 0
|
||||
|
||||
|
||||
新しい課題から参照
ユーザをブロックする