Write a Python script /app/resolve.py that reads a JSON file specified as the first command-line argument…
Write a Python script /app/resolve.py that reads a JSON file specified as the first command-line argument…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The output must be written to /app/output.json as a JSON array of strings, containing all versions from the…
The task
The output must be written to `/app/output.json` as a JSON array of strings, containing all versions from the input that match the range, preserving input order. If no versions match, output an empty array `[]`. Do not print anything else to stdout or stderr. Exit code must be 0 on success.
Part of ai-and/termgrade-environments.