-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
I have just noticed there is not a diff for every single patch. For example, the following result.json does not include a diff (as others result.json files do, e.g., here or here)
$ cat results/Bugs.jar/Accumulo/72fd6bec/Cardumen/0/result.json
{
"repair_end": "2019-01-02 23:46:13.040020",
"repair_begin": "2019-01-02 23:29:29.554319",
"patches": [
{
"patchhunks": [
{
"MODIFIED_FILE_PATH": "\\/tmp\\/Cardumen_Bug_dot_jar_Accumulo_72fd6bec\\/.\\/output_astor\\/AstorMain-Accumulo-72fd6bec\\/\\/src\\/\\/variant-242\\/org\\/apache\\/accumulo\\/minicluster\\/MiniAccumuloCluster.java",
"ORIGINAL_CODE": "builder.environment().put(\\\"ACCUMULO_HOME\\\", config.getDir().getAbsolutePath())",
"INGREDIENT_SCOPE": "-",
"PATCH_HUNK_CODE": "(org.apache.accumulo.minicluster.MiniAccumuloCluster.INSTANCE_NAME) + (java.io.File.separator)",
"INGREDIENT_PARENT": "(_String_0 + (java.io.File.separator))",
"LOCATION": "org.apache.accumulo.minicluster.MiniAccumuloCluster",
"BUGGY_CODE_TYPE": "CtInvocationImpl|CtBlockImpl",
"OPERATOR": "ExpressionReplaceOperator",
"PATH": "\\/tmp\\/Cardumen_Bug_dot_jar_Accumulo_72fd6bec\\/minicluster\\/src\\/main\\/java\\/org\\/apache\\/accumulo\\/minicluster\\/MiniAccumuloCluster.java",
"LINE": "157",
"MP_RANKING": "23",
"SUSPICIOUNESS": "0.577",
"PATCH_HUNK_TYPE": "CtBinaryOperatorImpl|CtBlockImpl"
}
],
"GENERATION": "121",
"VARIANT_ID": "242",
"TIME": "942",
"VALIDATION": "|true|0|6|[]|",
"FOLDER_SOLUTION_CODE": "\\/tmp\\/Cardumen_Bug_dot_jar_Accumulo_72fd6bec\\/.\\/output_astor\\/AstorMain-Accumulo-72fd6bec\\/\\/bin\\/\\/variant-242"
}
]
}
However, there are two diffs in the repair.log file: here and here. Do you by any chance know which one fixes the bug?
--
Best,
Jose
Metadata
Metadata
Assignees
Labels
No labels