Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understanding the generator #7

Open
hgl71964 opened this issue Aug 6, 2022 · 0 comments
Open

Understanding the generator #7

hgl71964 opened this issue Aug 6, 2022 · 0 comments

Comments

@hgl71964
Copy link

hgl71964 commented Aug 6, 2022

Hello,

I am trying to understand the generator as in the PET paper.

To my understanding, the threshold parameter in the Generator::run() function defines the number of random test point that a legal mutant has to satisfy, as computed by the Generator::approx_equal() function.

The default threshold=0.7 results in, for example, sometimes a Matmul has 20 mutants, and sometimes has 28 mutants. Is this randomness intended?

If a legal mutant passes this test, how does the correction kernel generated? Is the correction kernel generated by the Generator?

Many Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant