[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-07-26 21:13:01 +00:00
parent aa66b09c13
commit 65682d160a

View file

@ -838,7 +838,7 @@ class PairwiseJudgementEnv(BaseEnv):
else:
# Fallback if generation fails
answers = [
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations.", # noqa
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations.", # noqa
"Brief response.",
]
# Pad to required number of choices
@ -850,7 +850,7 @@ class PairwiseJudgementEnv(BaseEnv):
answers = answers[: self.config.num_choices]
random.shuffle(answers)
correct_index = answers.index(
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations." # noqa
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations." # noqa
)
correct_answer = self.choice_letters[correct_index]