[{ "testCaseDescription": "javascript-function-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "patch": "insert", "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "patch": "insert", "range": [ 32, 32 ] } ], "hasChanges": true, "range": [ 32, 32 ], "number": 2 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "2d8d739d482e7d7f0d980b6142fc423d75eb3010" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index e69de29..2d8d739 100644", "--- a/function.js", "+++ b/function.js", "@@ -0,0 +1 @@", "+function(arg1, arg2) { arg2; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "47efa692005800aae87fccdba3a089c87d9c46f1..f24028d8eb97ae574ac7e8a0ad7a20c08ce93139" } ,{ "testCaseDescription": "javascript-function-replacement-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "patch": "insert", "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "patch": "insert", "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": true, "range": [ 32, 64 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": false, "range": [ 0, 32 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 73, 77 ] }, { "category": "Identifier", "range": [ 79, 83 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 87, 91 ] } ], "range": [ 87, 92 ] } ], "range": [ 85, 94 ] } ], "range": [ 64, 94 ] } ], "range": [ 64, 95 ] } ], "range": [ 64, 96 ] } ], "hasChanges": false, "range": [ 64, 96 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 32, 32 ] } ], "hasChanges": false, "range": [ 32, 32 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [], "range": [ 96, 96 ] } ], "hasChanges": false, "range": [ 96, 96 ], "number": 4 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "2d8d739d482e7d7f0d980b6142fc423d75eb3010", "43894067640469e6a77901bd079d5d4e5722834b" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index 2d8d739..4389406 100644", "--- a/function.js", "+++ b/function.js", "@@ -1 +1,3 @@", "+function(arg1, arg2) { arg1; };", "+function(arg1, arg2) { arg2; };", " function(arg1, arg2) { arg2; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "f24028d8eb97ae574ac7e8a0ad7a20c08ce93139..88f2dd5809a7bafd96d27ebf18b4daafef783a3b" } ,{ "testCaseDescription": "javascript-function-delete-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "patch": "replace", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "patch": "replace", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": false, "range": [ 32, 64 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": false, "range": [ 32, 64 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 73, 77 ] }, { "category": "Identifier", "range": [ 79, 83 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 87, 91 ] } ], "range": [ 87, 92 ] } ], "range": [ 85, 94 ] } ], "range": [ 64, 94 ] } ], "range": [ 64, 95 ] } ], "range": [ 64, 96 ] } ], "hasChanges": false, "range": [ 64, 96 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 73, 77 ] }, { "category": "Identifier", "range": [ 79, 83 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 87, 91 ] } ], "range": [ 87, 92 ] } ], "range": [ 85, 94 ] } ], "range": [ 64, 94 ] } ], "range": [ 64, 95 ] } ], "range": [ 64, 96 ] } ], "hasChanges": false, "range": [ 64, 96 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 96, 96 ] } ], "hasChanges": false, "range": [ 96, 96 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 96, 96 ] } ], "hasChanges": false, "range": [ 96, 96 ], "number": 4 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "43894067640469e6a77901bd079d5d4e5722834b", "924c99e8aa9987bfcbda2792c3339981a92b87fe" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index 4389406..924c99e 100644", "--- a/function.js", "+++ b/function.js", "@@ -1,3 +1,3 @@", "-function(arg1, arg2) { arg1; };", "+function(arg1, arg2) { arg2; };", " function(arg1, arg2) { arg2; };", " function(arg1, arg2) { arg2; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "88f2dd5809a7bafd96d27ebf18b4daafef783a3b..74c5830b3ef3429cb69c367c5cc475c65b12ce53" } ,{ "testCaseDescription": "javascript-function-replacement-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "patch": "replace", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "patch": "replace", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": false, "range": [ 32, 64 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": false, "range": [ 32, 64 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 73, 77 ] }, { "category": "Identifier", "range": [ 79, 83 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 87, 91 ] } ], "range": [ 87, 92 ] } ], "range": [ 85, 94 ] } ], "range": [ 64, 94 ] } ], "range": [ 64, 95 ] } ], "range": [ 64, 96 ] } ], "hasChanges": false, "range": [ 64, 96 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 73, 77 ] }, { "category": "Identifier", "range": [ 79, 83 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 87, 91 ] } ], "range": [ 87, 92 ] } ], "range": [ 85, 94 ] } ], "range": [ 64, 94 ] } ], "range": [ 64, 95 ] } ], "range": [ 64, 96 ] } ], "hasChanges": false, "range": [ 64, 96 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 96, 96 ] } ], "hasChanges": false, "range": [ 96, 96 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 96, 96 ] } ], "hasChanges": false, "range": [ 96, 96 ], "number": 4 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "924c99e8aa9987bfcbda2792c3339981a92b87fe", "43894067640469e6a77901bd079d5d4e5722834b" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index 924c99e..4389406 100644", "--- a/function.js", "+++ b/function.js", "@@ -1,3 +1,3 @@", "-function(arg1, arg2) { arg2; };", "+function(arg1, arg2) { arg1; };", " function(arg1, arg2) { arg2; };", " function(arg1, arg2) { arg2; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "74c5830b3ef3429cb69c367c5cc475c65b12ce53..9b9ec597e957a243d5675aa0b091204ddf2ad7c9" } ,{ "testCaseDescription": "javascript-function-delete-replacement-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "patch": "delete", "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "patch": "delete", "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": true, "range": [ 32, 64 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 73, 77 ] }, { "category": "Identifier", "range": [ 79, 83 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 87, 91 ] } ], "range": [ 87, 92 ] } ], "range": [ 85, 94 ] } ], "range": [ 64, 94 ] } ], "range": [ 64, 95 ] } ], "range": [ 64, 96 ] } ], "hasChanges": false, "range": [ 64, 96 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": false, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "patch": "insert", "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": true, "range": [ 32, 64 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 96, 96 ] } ], "hasChanges": false, "range": [ 96, 96 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 64, 64 ] } ], "hasChanges": false, "range": [ 64, 64 ], "number": 3 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "43894067640469e6a77901bd079d5d4e5722834b", "254dbcf8c9097c6baf325a62c8caa89ce4cc988c" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index 4389406..254dbcf 100644", "--- a/function.js", "+++ b/function.js", "@@ -1,3 +1,2 @@", "-function(arg1, arg2) { arg1; };", "-function(arg1, arg2) { arg2; };", " function(arg1, arg2) { arg2; };", "+function(arg1, arg2) { arg1; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "9b9ec597e957a243d5675aa0b091204ddf2ad7c9..47e9bce142789a8a4d674e20982dce0d8a0c90b5" } ,{ "testCaseDescription": "javascript-function-delete-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "patch": "delete", "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 41, 45 ] }, { "category": "Identifier", "range": [ 47, 51 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 55, 59 ] } ], "range": [ 55, 60 ] } ], "range": [ 53, 62 ] } ], "range": [ 32, 62 ] } ], "range": [ 32, 63 ] } ], "range": [ 32, 64 ] } ], "hasChanges": false, "range": [ 32, 64 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "range": [ 0, 32 ] } ], "hasChanges": false, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 64, 64 ] } ], "hasChanges": false, "range": [ 64, 64 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [], "range": [ 32, 32 ] } ], "hasChanges": false, "range": [ 32, 32 ], "number": 2 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "254dbcf8c9097c6baf325a62c8caa89ce4cc988c", "b37e8671369086f500640d97788b75427fef8d5b" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index 254dbcf..b37e867 100644", "--- a/function.js", "+++ b/function.js", "@@ -1,2 +1 @@", "-function(arg1, arg2) { arg2; };", " function(arg1, arg2) { arg1; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "47e9bce142789a8a4d674e20982dce0d8a0c90b5..5781ccafc974bef5785ff1533042f7eccba7ff03" } ,{ "testCaseDescription": "javascript-function-delete-rest-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Function", "children": [ { "category": "Identifier", "range": [ 9, 13 ] }, { "category": "Identifier", "range": [ 15, 19 ] }, { "category": "ExpressionStatements", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Identifier", "range": [ 23, 27 ] } ], "range": [ 23, 28 ] } ], "range": [ 21, 30 ] } ], "range": [ 0, 30 ] } ], "range": [ 0, 31 ] } ], "patch": "delete", "range": [ 0, 32 ] } ], "hasChanges": true, "range": [ 0, 32 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "patch": "delete", "range": [ 32, 32 ] } ], "hasChanges": true, "range": [ 32, 32 ], "number": 2 } ] ], "paths": [ "function.js", "function.js" ], "oids": [ "b37e8671369086f500640d97788b75427fef8d5b", "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" ] }, "filePaths": [ "function.js" ], "patch": [ "diff --git a/function.js b/function.js", "index b37e867..e69de29 100644", "--- a/function.js", "+++ b/function.js", "@@ -1 +0,0 @@", "-function(arg1, arg2) { arg1; };" ], "gitDir": "test/corpus/repos/javascript", "shas": "5781ccafc974bef5785ff1533042f7eccba7ff03..4a56270744e8c9a123c828e7ab9409789ab51e5b" }]