Skip to content

Possible error when checking the correctness of Typescript codes. #20

Description

@njutym

The original codes fail to check the correctness of Typescript codes in MBXP dataset using mxeval method.

In file TSED-main/mxeval/mxeval/execution.py line 513:

"compiled = compile_result.returncode == 2 if language == "typescript" else compile_result.returncode == 0"

I wanna question why the value is "2" for the typescript.

I modified it to "0" and solved my problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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