HF RL Explorer

Task: Implement a Deterministic JSON Stringify with Sorted Object Keys

Task: Implement a Deterministic JSON Stringify with Sorted Object Keys: a task in Terminal-Lego-15k (Harbor dataset). When working with JavaScript objects, the order of properties depends on their insertion order. This means that two objects with identical key-value pairs but different insertion…

The task

When working with JavaScript objects, the order of properties depends on their insertion order. This means that two objects with identical key-value pairs but different insertion orders will produce different JSON strings when using `JSON.stringify()`. This causes problems when comparing JSON outputs using diff tools…

Part of PrimeIntellect/Terminal-Lego-15k.