mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
added another assertion to test
This commit is contained in:
parent
35fe482c4d
commit
d2d4b3a644
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +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']
|
||||
|
||||
|
||||
def test_key_error_in_getitem(dataset):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue