I am using jGenProg and trying to get the patch.diff for two kinds of ProgramVariant: (1) uncompilable (2) compilable but fail test cases.
I modified the code in AstorCoreEngine.java.I called saveVariant() method for these two kinds of ProgramVariant at the corresponding part: uncompliable and fail tests (add a else block). I find that calling saveVariant() method only generates code (the variant-id and variant-id_f folder) but does not generate the patch.dff file. Thus, I called computeDiff() method immediately after I called saveVariant() method. Though this time the patch.diff file is generated, it is empty. My code modification is shown as the screenshot below.
I don't know which part of code I missed. May I ask how can I get the patch.diff for these two kinds of ProgramVariant?
I am using jGenProg and trying to get the patch.diff for two kinds of ProgramVariant: (1) uncompilable (2) compilable but fail test cases.
I modified the code in AstorCoreEngine.java.I called saveVariant() method for these two kinds of ProgramVariant at the corresponding part: uncompliable and fail tests (add a else block). I find that calling
saveVariant()
method only generates code (the variant-id and variant-id_f folder) but does not generate the patch.dff file. Thus, I called computeDiff() method immediately after I calledsaveVariant()
method. Though this time the patch.diff file is generated, it is empty. My code modification is shown as the screenshot below.I don't know which part of code I missed. May I ask how can I get the patch.diff for these two kinds of ProgramVariant?