refactor: Change word sorting answer format from list string to comma-separated string

This commit is contained in:
Andreas Koepf (aider) 2025-01-26 22:23:18 +01:00
parent c3b6af35f0
commit 557fac66bf
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ def test_word_sorting_dataset_items():
# Verify sorting
direction = item["metadata"]["direction"]
sorted_words = eval(item["answer"])
sorted_words = item["answer"].split(", ")
if direction == "ascending":
assert sorted_words == sorted(sorted_words)
else: