correctness 5.0quality 7.0documentation 7.02854ms
# Happy-path parametrization is thorough and arithmetically correct, and most error cases correctly raise ValueError, but the added test_parse_duration_non_string_input_raises_type_error is factually wrong—passing an int would raise AttributeError (since s.strip() is called before any type check), not TypeError—so this test would actually fail when run, undermining the suite's correctness despite otherwise good structure and naming.
inspect full trace →correctness 7.0quality 6.0documentation 6.01103ms
# Covers h, m, s, hm, hms and a zero-case, but omits the standalone 'ms' format explicitly required by the rubric; error cases are adequate (empty, invalid char, garbage string) though lack tests for malformed ordering; whitespace test is a nice touch but generic test names and lack of parametrize ids weaken documentation quality.
inspect full trace →correctness 3.0quality 5.0documentation 8.028558ms
# Well-designed, thorough parametrized happy-path and error tests with accurate arithmetic and clear naming, but the response is truncated mid-function ('with pyt'), producing a syntax error that would prevent the test suite from even being collected.
inspect full trace →correctness 4.0quality 5.0documentation 6.011766ms
# Good format coverage and error cases, but the response is cut off mid-docstring leaving an unterminated string/incomplete class, making the file a syntax error and thus non-runnable, and it also disregards the 'plain functions, no classes' requirement by wrapping everything in three TestX classes.
inspect full trace →correctness 3.0quality 4.0documentation 6.030096ms
# Good coverage of formats and edge cases with meaningful parametrize IDs and docstrings, but the response is cut off mid-function with an unterminated docstring, leaving invalid Python that would fail to even import/run.
inspect full trace →