mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
ad7f89d5c2
commit
baed9b331e
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue