[{ "testCaseDescription": "ruby-pseudo-variables-insert-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 4 ] } }, "summary": "Added 'nil' identifier" }, { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 6 ] } }, "summary": "Added 'false'" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 5 ] } }, "summary": "Added 'true'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index e69de29..2be92bc 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -0,0 +1,4 @@", "+nil", "+self", "+false", "+true" ], "gitDir": "test/corpus/repos/ruby", "shas": "052401261edd2497b65b3546c0220694e89a03fb..eb4638e54cfb32940ad29a5070b90e44213e351b" } ,{ "testCaseDescription": "ruby-pseudo-variables-replacement-insert-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 4 ] } }, "summary": "Added the 'NIL' identifier" }, { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 5 ] } }, "summary": "Added 'TRUE'" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 6 ] } }, "summary": "Added 'FALSE'" }, { "span": { "insert": { "start": [ 5, 1 ], "end": [ 5, 4 ] } }, "summary": "Added the 'nil' identifier" }, { "span": { "insert": { "start": [ 7, 1 ], "end": [ 7, 6 ] } }, "summary": "Added 'false'" }, { "span": { "insert": { "start": [ 8, 1 ], "end": [ 8, 5 ] } }, "summary": "Added 'true'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index 2be92bc..e5837f2 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -1,3 +1,11 @@", "+self", "+NIL", "+TRUE", "+FALSE", "+nil", "+self", "+false", "+true", " nil", " self", " false" ], "gitDir": "test/corpus/repos/ruby", "shas": "eb4638e54cfb32940ad29a5070b90e44213e351b..35f40623910a2294db51fb259e7b4af6954dcb0f" } ,{ "testCaseDescription": "ruby-pseudo-variables-delete-insert-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "replace": [ { "start": [ 2, 1 ], "end": [ 2, 4 ] }, { "start": [ 1, 1 ], "end": [ 1, 4 ] } ] }, "summary": "Replaced the 'NIL' identifier with the 'nil' identifier" }, { "span": { "replace": [ { "start": [ 3, 1 ], "end": [ 3, 5 ] }, { "start": [ 3, 1 ], "end": [ 3, 6 ] } ] }, "summary": "Replaced 'TRUE' with 'false'" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 5 ] } }, "summary": "Added 'true'" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 6 ] } }, "summary": "Deleted 'FALSE'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index e5837f2..e3f5814 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -1,7 +1,7 @@", "+nil", " self", "-NIL", "-TRUE", "-FALSE", "+false", "+true", " nil", " self", " false" ], "gitDir": "test/corpus/repos/ruby", "shas": "35f40623910a2294db51fb259e7b4af6954dcb0f..7228ef9145f92f76d1ce1f9af3111a0a9f402636" } ,{ "testCaseDescription": "ruby-pseudo-variables-replacement-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 4 ] }, { "start": [ 2, 1 ], "end": [ 2, 4 ] } ] }, "summary": "Replaced the 'nil' identifier with the 'NIL' identifier" }, { "span": { "replace": [ { "start": [ 3, 1 ], "end": [ 3, 6 ] }, { "start": [ 3, 1 ], "end": [ 3, 5 ] } ] }, "summary": "Replaced 'false' with 'TRUE'" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 6 ] } }, "summary": "Added 'FALSE'" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 5 ] } }, "summary": "Deleted 'true'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index e3f5814..e5837f2 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -1,7 +1,7 @@", "-nil", " self", "-false", "-true", "+NIL", "+TRUE", "+FALSE", " nil", " self", " false" ], "gitDir": "test/corpus/repos/ruby", "shas": "7228ef9145f92f76d1ce1f9af3111a0a9f402636..247085a3bb210f1ee85ba391c96725e7311fce20" } ,{ "testCaseDescription": "ruby-pseudo-variables-delete-replacement-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 4 ] } }, "summary": "Deleted the 'NIL' identifier" }, { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 5 ] } }, "summary": "Deleted 'TRUE'" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 6 ] } }, "summary": "Deleted 'FALSE'" }, { "span": { "delete": { "start": [ 5, 1 ], "end": [ 5, 4 ] } }, "summary": "Deleted the 'nil' identifier" }, { "span": { "delete": { "start": [ 7, 1 ], "end": [ 7, 6 ] } }, "summary": "Deleted 'false'" }, { "span": { "delete": { "start": [ 8, 1 ], "end": [ 8, 5 ] } }, "summary": "Deleted 'true'" }, { "span": { "insert": { "start": [ 6, 1 ], "end": [ 6, 4 ] } }, "summary": "Added the 'NIL' identifier" }, { "span": { "insert": { "start": [ 7, 1 ], "end": [ 7, 5 ] } }, "summary": "Added 'TRUE'" }, { "span": { "insert": { "start": [ 8, 1 ], "end": [ 8, 6 ] } }, "summary": "Added 'FALSE'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index e5837f2..8873ea5 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -1,12 +1,8 @@", "-self", "-NIL", "-TRUE", "-FALSE", " nil", " self", " false", " true", "-nil", " self", "-false", "-true", "+NIL", "+TRUE", "+FALSE" ], "gitDir": "test/corpus/repos/ruby", "shas": "247085a3bb210f1ee85ba391c96725e7311fce20..3c4b678a23d925ae1efdd94cb47b240c63af6ff1" } ,{ "testCaseDescription": "ruby-pseudo-variables-delete-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 4 ] } }, "summary": "Deleted the 'nil' identifier" }, { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 6 ] } }, "summary": "Deleted 'false'" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 5 ] } }, "summary": "Deleted 'true'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index 8873ea5..30bb4d2 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -1,7 +1,3 @@", "-nil", "-self", "-false", "-true", " self", " NIL", " TRUE" ], "gitDir": "test/corpus/repos/ruby", "shas": "3c4b678a23d925ae1efdd94cb47b240c63af6ff1..349da6fa88ae41a84f50976e21182a5d9cd7a701" } ,{ "testCaseDescription": "ruby-pseudo-variables-delete-rest-test", "expectedResult": { "changes": { "pseudo-variables.rb": [ { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 4 ] } }, "summary": "Deleted 'NIL' identifier" }, { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 5 ] } }, "summary": "Deleted 'TRUE'" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 6 ] } }, "summary": "Deleted 'FALSE'" } ] }, "errors": {} }, "filePaths": [ "pseudo-variables.rb" ], "patch": [ "diff --git a/pseudo-variables.rb b/pseudo-variables.rb", "index 30bb4d2..e69de29 100644", "--- a/pseudo-variables.rb", "+++ b/pseudo-variables.rb", "@@ -1,4 +0,0 @@", "-self", "-NIL", "-TRUE", "-FALSE" ], "gitDir": "test/corpus/repos/ruby", "shas": "349da6fa88ae41a84f50976e21182a5d9cd7a701..f8cc3489b25f8d1857452648c25c51084dbdbdb9" }]