Skip to content

10 instances in the dataset with serious errors #9

@YANGCHEN205

Description

@YANGCHEN205

Hello, we have identified issues in the unit tests for 10 problems within the MHPP dataset. These unit tests appear to be manually designed format errors, such as empty tests and unclosed parentheses. The error IDs are as follows: 79, 98, 120, 135, 139, 150, 159, 171, 175, 181.

In the case of ID 79, the unit test code contains unclosed parentheses, leading to syntax errors. Here's the problematic code snippet with the missing closing parentheses highlighted:

# Original incorrect test cases (missing closing parentheses)
assert rank_task([[1,3],[3,5],[3,2]] == [0,2,1]
assert rank_task([[2,10],[2,6],[3,5],[3,3],[3,1]]) == [1,4,3,2,0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions