Skip to content

Missing Assertion Correctness Implementation in Evaluation Pipeline #12

@IsaacJu-debug

Description

@IsaacJu-debug

In the TestEval paper, three criteria are mentioned for test case correctness evaluation:

Syntactic correctness
Execution correctness
Assertion correctness

The current implementation in eval_overall.py properly evaluates:

Syntactic correctness (using compile(testcase,'<string>','exec'))
Execution correctness (using the execute() function, which returns True for both normal execution and assertion errors)

However, the assertion correctness metric mentioned in the paper isn't implemented.

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