Write a Python script /app/reconcile.py that reads a JSON file of records and outputs a JSON file of…
Write a Python script /app/reconcile.py that reads a JSON file of records and outputs a JSON file of…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input : A JSON file whose path is the first argument. The file contains a list of objects, each with: - "id" : a…
The task
**Input**: A JSON file whose path is the first argument. The file contains a list of objects, each with: - `"id"`: a unique integer - `"timestamp"`: a string in one of these formats (mixed in the same file): - ISO 8601 with `Z` suffix: `"2024-03-15T08:30:00Z"` - ISO 8601 with `+00:00` offset:…
Part of ai-and/termgrade-environments.