mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
lint
This commit is contained in:
parent
21c47db6c1
commit
ebb88e6c6a
24 changed files with 1215 additions and 814 deletions
|
|
@ -2,6 +2,7 @@ import pytest
|
|||
|
||||
from reasoning_gym.code.bf import BFConfig, BFDataset
|
||||
|
||||
|
||||
def test_bf():
|
||||
"""Test basic properties and solution of generated items"""
|
||||
|
||||
|
|
@ -34,4 +35,4 @@ def test_bf():
|
|||
config = BFConfig(seed=44, size=20, difficulty=3)
|
||||
dataset = BFDataset(config)
|
||||
for item in dataset:
|
||||
assert dataset.score_answer(answer=item["answer"], entry=item) == 1.0
|
||||
assert dataset.score_answer(answer=item["answer"], entry=item) == 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue