release v1: 65 held-out tasks, 78 bootstrap records, r2e_local adapter, manifest ae94c40b (part 4)
622387b verified |
Download heldout_pool/beetbox__confuse-697e96cd08ad/instruction.md from Benjamin-eecs/openrsi-commit-runtime-assets: direct link, hf CLI and curl.
- Browser
- Download file 711 Bytes
-
https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/beetbox__confuse-697e96cd08ad/instruction.md
- Command line
-
hf download hf://datasets/Benjamin-eecs/openrsi-commit-runtime-assets/heldout_pool/beetbox__confuse-697e96cd08ad/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/beetbox__confuse-697e96cd08ad/instruction.md
711 Bytes
Issue
Title: Sequence validator raises AttributeError when validating a mapping
Description
When a field is typed as Sequence[T] and a mapping (e.g., a dictionary) is provided as input for that field, the validation process incorrectly raises an AttributeError. The expected behavior is for the validator to either successfully validate the mapping if it conforms to a sequence, or to raise a more appropriate validation error indicating a type mismatch, rather than an AttributeError.
Task
Modify the repository so that the issue described above is resolved. The task's test suite verifies your patch by applying it on top of the base commit 200203f9c4a5 and running the modified tests.