Create a task module.py that defines a UserNormalizer class using marshmallow to validate and transform user…
Create a task module.py that defines a UserNormalizer class using marshmallow to validate and transform user…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Input/Output: - Input {"email": " John.Doe@Example.COM ", "age": 25} → Output {"email": "john.doe@example.com", "age": 25} - Input…
The task
Input/Output: - Input `{"email": " John.Doe@Example.COM ", "age": 25}` → Output `{"email": "john.doe@example.com", "age": 25}` - Input `{"email": "ab", "age": 10}` → Raises `marshmallow.ValidationError`
Part of Essacheez/r2e-code-instruct-qwen3.5.