mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
formatting
This commit is contained in:
parent
d2d4b3a644
commit
6bf2dfa36c
4 changed files with 7 additions and 20 deletions
|
|
@ -37,7 +37,7 @@ def test_getitem(dataset, config):
|
|||
assert "metadata" in item
|
||||
assert item["metadata"]["word_count"] >= config.min_words_in_sentence
|
||||
assert item["metadata"]["word_count"] <= config.max_words_in_sentence
|
||||
assert len(item['answer'].split()) == item['metadata']['word_count']
|
||||
assert len(item["answer"].split()) == item["metadata"]["word_count"]
|
||||
|
||||
|
||||
def test_key_error_in_getitem(dataset):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue