TasksCodingEngineering track

CSV parser that handles the ugly cases

eng-code-02suite v1.0code

Quality25%judge panel
Correctness60%deterministic · hidden-tests
Completeness15%judge panel

Exact prompt sent to every model

Write csv.py exposing parse(text: str, *, delimiter: str = ",") -> list[list[str]] implementing RFC 4180 with these additions: fields may be quoted with double quotes; a doubled quote inside a quoted field is a literal quote; quoted fields may contain the delimiter and newlines (both \n and \r\n); unquoted fields are taken verbatim including leading/trailing spaces; a trailing newline does not create an empty final row; an empty input returns []. Raise CsvError(line, col, message) for an unterminated quote or for characters after a closing quote before the next delimiter. Do not use the standard library csv module. Include type hints and a docstring with two examples. Return only the file in one code block.

Responses

Latest published run: gemini-3.8-flash. For each model the repeat closest to its published median is shown; every repeat is in the repository.

No published attempts for this task yet

When the run is published, every model's raw response, per-dimension scores, judge rationales, human review notes and rendered artifacts appear here side by side.