Build SchemaErrorAggregator in task module.py that wraps jsonschema 's validator to collect and aggregate…
Build SchemaErrorAggregator in task module.py that wraps jsonschema 's validator to collect and aggregate…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Example: python from task module import SchemaErrorAggregator schema = {"type": "object", "properties": {"name": {"type": "string"}}}…
The task
Example: ```python from task_module import SchemaErrorAggregator schema = {"type": "object", "properties": {"name": {"type": "string"}}} data = {"age": 100} # invalid type for name field aggregator = SchemaErrorAggregator(schema, data) print(aggregator.summary) # Output: {"error_count": 1, "errors_by_validator":…
Part of Essacheez/r2e-code-instruct-qwen3.5.