mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-23 16:55:05 +00:00
reactivate default imports for PropositionalLogicDataset
This commit is contained in:
parent
78b2b518d9
commit
222d5ebf94
2 changed files with 5 additions and 7 deletions
|
|
@ -294,7 +294,7 @@ class PropositionalLogicDataset(ProceduralDataset):
|
|||
else:
|
||||
return 1 + self._measure_complexity(expression.left) + self._measure_complexity(expression.right)
|
||||
|
||||
def score_answer(self, answer: str | None, entry: Dict[str, Any]) -> float:
|
||||
def score_answer(self, answer: str | None, entry: dict[str, Any]) -> float:
|
||||
"""Robust scoring implementation for propositional logic answers"""
|
||||
if not answer:
|
||||
return 0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue