Task: Compare Two JSON Objects with Order-Independent Equality
Task: Compare Two JSON Objects with Order-Independent Equality: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that compares two JSON objects for equality, treating lists as order-independent (i.e., two JSON objects should be considered equal even if the elements within their…
The task
Write a Python script that compares two JSON objects for equality, treating lists as order-independent (i.e., two JSON objects should be considered equal even if the elements within their lists appear in a different order).
Part of PrimeIntellect/Terminal-Lego-15k.