このコミットが含まれているのは:
2026-06-08 12:44:45 +09:00
コミット 543f051f8f
12個のファイルの変更70行の追加64行の削除
+3 -1
ファイルの表示
@@ -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