[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-06-14 18:25:41 +00:00
parent ad7f89d5c2
commit baed9b331e

View file

@ -275,9 +275,7 @@ class AccessibilityEnv(BaseEnv):
else: # Parseable, but no targeted issues fixed
current_item_score = -0.5
else: # No issues were targeted for this item (e.g., input was considered good by dataset design)
if (
not can_proceed_with_rule_checks
): # LLM made a good input unparsable
if not can_proceed_with_rule_checks: # LLM made a good input unparsable
current_item_score = -1.0
else: # Parseable, and no issues were targeted (good input remained good)
current_item_score = 0.0 # Neutral score