Finish a JSON Schema subset validator (types, JSON equality, pointer-escaped paths, $ref recursion, combinators)
Exact prompt
# Task: finish the JSON Schema validator `validator.py` contains `validate(schema, instance)`, a validator for a subset of JSON Schema used by our config tooling. It handles only a few keywords and gets several of those wrong. Make it implement `SCHEMA_RULES.md` exactly (rewrite freely). Keep the function name, return format and the `SchemaError` class. Python standard library only; do not install or vendor `jsonschema`. No network. The grader runs a hidden unittest suite that calls `validate` on many schema/instance pairs and compares the returned errors (as a multiset of `(path, keyword)` pairs; order does not matter, duplicates do).
Boolean-vs-number equality, integer-valued floats, type-failure short-circuit, ~0/~1 path escaping, per-member additionalProperties errors, single anyOf/oneOf errors and recursive $ref are each pinned by exact (path, keyword) multisets. Original benchmark task written for usecaserank.com (not based on a specific public post). Headless, offline run on a reproducible fixture. Each run's notes say how its cost was measured (estimates are marked).
Success criteria: 1. All 11 hidden unittest cases pass (boolean schemas/unknown keywords, types, type short-circuit, equality, numeric and string keywords, objects and escaped paths, arrays and uniqueItems, nested paths, $ref and recursion, combinators).
Best model for this task so far: Claude Haiku 5.5 (effort default (no --effort flag) · thinking on) (success, $0.02, 1m).
All runs (4)
100% pass rate across 4 eligible runs: 4 pass, 0 partial, 0 fail. Partial and failed runs are listed below with everything else.ⓘ
| Model | Cost | Time | Step-insⓘ | Autonomy | Outcome | Trustⓘ | Date | Compare |
|---|---|---|---|---|---|---|---|---|
| OGPT-6.1 Soldefault · thinking on | $0.07 | 2m | 0 | Fully autonomous | pass | Trust 80% | 2026-10-22 | |
| AClaude Haiku 5.5default · thinking on | $0.02 | 1m | 0 | Fully autonomous | pass | Trust 80% | 2026-10-19 | |
| AClaude Opus 5.5default · thinking on | $0.22 | 49s | 0 | Fully autonomous | pass | Trust 80% | 2026-10-19 | |
| AClaude Sonnet 5.5default · thinking on | $0.09 | 26s | 0 | Fully autonomous | pass | Trust 80% | 2026-10-19 |
Embed this result
A live badge for this use case. It links back here and updates as new runs are published.
Get new runs and ranking changes weekly
Which models got better or cheaper on real tasks like this one.