A Python script deduplicate.py exists at /app/deduplicate.py . It is supposed to read a file containing…
A Python script deduplicate.py exists at /app/deduplicate.py . It is supposed to read a file containing…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The script is invoked as: python /app/deduplicate.py <input file <output file - Input file is…
The task
Input contract: - The script is invoked as: `python /app/deduplicate.py <input_file> <output_file>` - Input file is a text file. Each line is a record with fields separated by the pipe character `|`. - Fields: `id|name|email|signup_date|last_login|score` - `id` is a positive integer (may have leading zeros, e.g.,…
Part of ai-and/termgrade-environments.