-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000097.json
1 lines (1 loc) · 83.7 KB
/
experiment_0000097.json
1
[{"cap_original_tokens":["<SENTENCE_START>","{","<id>","assert","<\/id>",".","<id>","assert","Equals","<\/id>","(","2",",","<id>","","Counter","<\/id>",".","<id>","get","And","Increment","<\/id>","(",")",")",";","<id>","assert","Process","Id","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"NewEnvJVMTestRuleTest.java","formatted_lines":["{"," Assert.assertEquals(2, _counter.getAndIncrement());",""," assertProcessId();","}"],"function_name":"tearDown","function_name_tokens":["tear","down"],"id_body_hash":"6d23bdb9cd1692e33a21080fda6fdeac","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,8,9,10,10,10,11,12,13,14,15,15,15,16,17,18,19,20],"option_correct":"tearDown","options":["getService","addRuleGroup","exportPermissions","tearDown","getPortletItemId","updateRuleGroup","_tearDown"],"options_nlp":["get service","add rule group","export permissions","tear down","get portlet item id","update rule group"," tear down"],"options_random":["exportPermissions","updateRuleGroup","getPortletItemId"],"options_tfidf":["addRuleGroup","getService","_tearDown"],"project_name":"liferay-portal","source_code_string":"@After\n\tpublic void tearDown() {\n\t\tAssert.assertEquals(2, _counter.getAndIncrement());\n\n\t\tassertProcessId();\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"assert","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"assert","start_char":11,"line":1},{"index_id":4,"token_group":4,"text":"Equals","start_char":17,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"2","start_char":24,"line":1},{"index_id":7,"token_group":6,"text":",","start_char":25,"line":1},{"index_id":8,"token_group":7,"text":"","start_char":26,"line":1},{"index_id":9,"token_group":8,"text":"Counter","start_char":28,"line":1},{"index_id":10,"token_group":8,"text":".","start_char":35,"line":1},{"index_id":11,"token_group":9,"text":"get","start_char":36,"line":1},{"index_id":12,"token_group":10,"text":"And","start_char":39,"line":1},{"index_id":13,"token_group":10,"text":"Increment","start_char":42,"line":1},{"index_id":14,"token_group":10,"text":"(","start_char":51,"line":1},{"index_id":15,"token_group":11,"text":")","start_char":52,"line":1},{"index_id":16,"token_group":12,"text":")","start_char":53,"line":1},{"index_id":17,"token_group":13,"text":";","start_char":54,"line":1},{"index_id":18,"token_group":14,"text":"assert","start_char":4,"line":3},{"index_id":19,"token_group":15,"text":"Process","start_char":10,"line":3},{"index_id":20,"token_group":15,"text":"Id","start_char":17,"line":3},{"index_id":21,"token_group":15,"text":"(","start_char":19,"line":3},{"index_id":22,"token_group":16,"text":")","start_char":20,"line":3},{"index_id":23,"token_group":17,"text":";","start_char":21,"line":3},{"index_id":24,"token_group":18,"text":"}","start_char":0,"line":4}],"tokens_list":["{","assert",".","assert","Equals","(","2",",","","Counter",".","get","And","Increment","(",")",")",";","assert","Process","Id","(",")",";","}"],"uuid":"fdcdfc76dbbadfde24cc03e635b8eae8"},{"cap_original_tokens":["<SENTENCE_START>","{","if","(","<id>","line","<\/id>","<","0","||","<id>","line","<\/id>",">=","<id>","editor","<\/id>",".","<id>","get","Document","<\/id>","(",")",".","<id>","get","Line","Count","<\/id>","(",")",")","{","return","null",";","}","<id>","fold","Region","<\/id>","<id>","result","<\/id>","=","null",";","<id>","fold","Region","<\/id>","[","]","<id>","regions","<\/id>","=","<id>","editor","<\/id>",".","<id>","get","Folding","Model","<\/id>","(",")",".","<id>","get","All","Fold","Regions","<\/id>","(",")",";","for","(","<id>","fold","Region","<\/id>","<id>","region","<\/id>",":","<id>","regions","<\/id>",")","{","if","(","!","<id>","region","<\/id>",".","<id>","is","Valid","<\/id>","(",")",")","{","continue",";","}","if","(","<id>","region","<\/id>",".","<id>","get","Document","<\/id>","(",")",".","<id>","get","Line","Number","<\/id>","(","<id>","region","<\/id>",".","<id>","get","Start","Offset","<\/id>","(",")",")","==","<id>","line","<\/id>",")","{","if","(","<id>","result","<\/id>","!=","null",")","return","null",";","<id>","result","<\/id>","=","<id>","region","<\/id>",";","}","}","return","<id>","result","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"FoldingUtil.java","formatted_lines":["{"," if (line < 0 || line >= editor.getDocument().getLineCount())"," {"," return null;"," }"," FoldRegion result = null;"," FoldRegion[] regions = editor.getFoldingModel().getAllFoldRegions();"," for (FoldRegion region : regions)"," {"," if (!region.isValid())"," {"," continue;"," }"," if (region.getDocument().getLineNumber(region.getStartOffset()) == line)"," {"," if (result != null) return null;"," result = region;"," }"," }"," return result;","}"],"function_name":"findFoldRegionStartingAtLine","function_name_tokens":["find","fold","region","starting","at","line"],"id_body_hash":"963a7d02b423d5e4a7c126ecd50094f3","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,12,13,14,15,16,16,16,17,18,19,20,21,22,23,24,25,25,26,27,28,29,30,30,31,32,33,34,35,36,37,37,37,38,39,40,41,41,41,41,42,43,44,45,46,47,47,48,49,50,51,52,53,54,55,56,57,58,58,59,60,61,62,63,64,65,66,67,68,69,70,70,71,72,73,74,74,74,75,76,77,78,78,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],"option_correct":"findFoldRegionStartingAtLine","options":["findFoldRegionStartingAtLine","renameWithDocStringFormat","visitAnnotatedElementInner","testConstantTwice","setActiveFoldRegion","findFoldRegion","findStartLine"],"options_nlp":["find fold region starting at line","rename with doc string format","visit annotated element inner","test constant twice","set active fold region","find fold region","find start line"],"options_random":["testConstantTwice","renameWithDocStringFormat","visitAnnotatedElementInner"],"options_tfidf":["findStartLine","setActiveFoldRegion","findFoldRegion"],"project_name":"intellij-community","source_code_string":"@Nullable\n public static FoldRegion findFoldRegionStartingAtLine(@NotNull Editor editor, int line){\n if (line < 0 || line >= editor.getDocument().getLineCount()) {\n return null;\n }\n FoldRegion result = null;\n FoldRegion[] regions = editor.getFoldingModel().getAllFoldRegions();\n for (FoldRegion region : regions) {\n if (!region.isValid()) {\n continue;\n }\n if (region.getDocument().getLineNumber(region.getStartOffset()) == line) {\n if (result != null) return null;\n result = region;\n }\n }\n return result;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"if","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"line","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"<","start_char":13,"line":1},{"index_id":5,"token_group":5,"text":"0","start_char":15,"line":1},{"index_id":6,"token_group":6,"text":"||","start_char":17,"line":1},{"index_id":7,"token_group":7,"text":"line","start_char":20,"line":1},{"index_id":8,"token_group":8,"text":">=","start_char":25,"line":1},{"index_id":9,"token_group":9,"text":"editor","start_char":28,"line":1},{"index_id":10,"token_group":10,"text":".","start_char":34,"line":1},{"index_id":11,"token_group":11,"text":"get","start_char":35,"line":1},{"index_id":12,"token_group":12,"text":"Document","start_char":38,"line":1},{"index_id":13,"token_group":12,"text":"(","start_char":46,"line":1},{"index_id":14,"token_group":13,"text":")","start_char":47,"line":1},{"index_id":15,"token_group":14,"text":".","start_char":48,"line":1},{"index_id":16,"token_group":15,"text":"get","start_char":49,"line":1},{"index_id":17,"token_group":16,"text":"Line","start_char":52,"line":1},{"index_id":18,"token_group":16,"text":"Count","start_char":56,"line":1},{"index_id":19,"token_group":16,"text":"(","start_char":61,"line":1},{"index_id":20,"token_group":17,"text":")","start_char":62,"line":1},{"index_id":21,"token_group":18,"text":")","start_char":63,"line":1},{"index_id":22,"token_group":19,"text":"{","start_char":4,"line":2},{"index_id":23,"token_group":20,"text":"return","start_char":8,"line":3},{"index_id":24,"token_group":21,"text":"null","start_char":15,"line":3},{"index_id":25,"token_group":22,"text":";","start_char":19,"line":3},{"index_id":26,"token_group":23,"text":"}","start_char":4,"line":4},{"index_id":27,"token_group":24,"text":"fold","start_char":4,"line":5},{"index_id":28,"token_group":25,"text":"Region","start_char":8,"line":5},{"index_id":29,"token_group":25,"text":"result","start_char":15,"line":5},{"index_id":30,"token_group":26,"text":"=","start_char":22,"line":5},{"index_id":31,"token_group":27,"text":"null","start_char":24,"line":5},{"index_id":32,"token_group":28,"text":";","start_char":28,"line":5},{"index_id":33,"token_group":29,"text":"fold","start_char":4,"line":6},{"index_id":34,"token_group":30,"text":"Region","start_char":8,"line":6},{"index_id":35,"token_group":30,"text":"[","start_char":14,"line":6},{"index_id":36,"token_group":31,"text":"]","start_char":15,"line":6},{"index_id":37,"token_group":32,"text":"regions","start_char":17,"line":6},{"index_id":38,"token_group":33,"text":"=","start_char":25,"line":6},{"index_id":39,"token_group":34,"text":"editor","start_char":27,"line":6},{"index_id":40,"token_group":35,"text":".","start_char":33,"line":6},{"index_id":41,"token_group":36,"text":"get","start_char":34,"line":6},{"index_id":42,"token_group":37,"text":"Folding","start_char":37,"line":6},{"index_id":43,"token_group":37,"text":"Model","start_char":44,"line":6},{"index_id":44,"token_group":37,"text":"(","start_char":49,"line":6},{"index_id":45,"token_group":38,"text":")","start_char":50,"line":6},{"index_id":46,"token_group":39,"text":".","start_char":51,"line":6},{"index_id":47,"token_group":40,"text":"get","start_char":52,"line":6},{"index_id":48,"token_group":41,"text":"All","start_char":55,"line":6},{"index_id":49,"token_group":41,"text":"Fold","start_char":58,"line":6},{"index_id":50,"token_group":41,"text":"Regions","start_char":62,"line":6},{"index_id":51,"token_group":41,"text":"(","start_char":69,"line":6},{"index_id":52,"token_group":42,"text":")","start_char":70,"line":6},{"index_id":53,"token_group":43,"text":";","start_char":71,"line":6},{"index_id":54,"token_group":44,"text":"for","start_char":4,"line":7},{"index_id":55,"token_group":45,"text":"(","start_char":8,"line":7},{"index_id":56,"token_group":46,"text":"fold","start_char":9,"line":7},{"index_id":57,"token_group":47,"text":"Region","start_char":13,"line":7},{"index_id":58,"token_group":47,"text":"region","start_char":20,"line":7},{"index_id":59,"token_group":48,"text":":","start_char":27,"line":7},{"index_id":60,"token_group":49,"text":"regions","start_char":29,"line":7},{"index_id":61,"token_group":50,"text":")","start_char":36,"line":7},{"index_id":62,"token_group":51,"text":"{","start_char":4,"line":8},{"index_id":63,"token_group":52,"text":"if","start_char":8,"line":9},{"index_id":64,"token_group":53,"text":"(","start_char":11,"line":9},{"index_id":65,"token_group":54,"text":"!","start_char":12,"line":9},{"index_id":66,"token_group":55,"text":"region","start_char":13,"line":9},{"index_id":67,"token_group":56,"text":".","start_char":19,"line":9},{"index_id":68,"token_group":57,"text":"is","start_char":20,"line":9},{"index_id":69,"token_group":58,"text":"Valid","start_char":22,"line":9},{"index_id":70,"token_group":58,"text":"(","start_char":27,"line":9},{"index_id":71,"token_group":59,"text":")","start_char":28,"line":9},{"index_id":72,"token_group":60,"text":")","start_char":29,"line":9},{"index_id":73,"token_group":61,"text":"{","start_char":8,"line":10},{"index_id":74,"token_group":62,"text":"continue","start_char":12,"line":11},{"index_id":75,"token_group":63,"text":";","start_char":20,"line":11},{"index_id":76,"token_group":64,"text":"}","start_char":8,"line":12},{"index_id":77,"token_group":65,"text":"if","start_char":8,"line":13},{"index_id":78,"token_group":66,"text":"(","start_char":11,"line":13},{"index_id":79,"token_group":67,"text":"region","start_char":12,"line":13},{"index_id":80,"token_group":68,"text":".","start_char":18,"line":13},{"index_id":81,"token_group":69,"text":"get","start_char":19,"line":13},{"index_id":82,"token_group":70,"text":"Document","start_char":22,"line":13},{"index_id":83,"token_group":70,"text":"(","start_char":30,"line":13},{"index_id":84,"token_group":71,"text":")","start_char":31,"line":13},{"index_id":85,"token_group":72,"text":".","start_char":32,"line":13},{"index_id":86,"token_group":73,"text":"get","start_char":33,"line":13},{"index_id":87,"token_group":74,"text":"Line","start_char":36,"line":13},{"index_id":88,"token_group":74,"text":"Number","start_char":40,"line":13},{"index_id":89,"token_group":74,"text":"(","start_char":46,"line":13},{"index_id":90,"token_group":75,"text":"region","start_char":47,"line":13},{"index_id":91,"token_group":76,"text":".","start_char":53,"line":13},{"index_id":92,"token_group":77,"text":"get","start_char":54,"line":13},{"index_id":93,"token_group":78,"text":"Start","start_char":57,"line":13},{"index_id":94,"token_group":78,"text":"Offset","start_char":62,"line":13},{"index_id":95,"token_group":78,"text":"(","start_char":68,"line":13},{"index_id":96,"token_group":79,"text":")","start_char":69,"line":13},{"index_id":97,"token_group":80,"text":")","start_char":70,"line":13},{"index_id":98,"token_group":81,"text":"==","start_char":72,"line":13},{"index_id":99,"token_group":82,"text":"line","start_char":75,"line":13},{"index_id":100,"token_group":83,"text":")","start_char":79,"line":13},{"index_id":101,"token_group":84,"text":"{","start_char":8,"line":14},{"index_id":102,"token_group":85,"text":"if","start_char":12,"line":15},{"index_id":103,"token_group":86,"text":"(","start_char":15,"line":15},{"index_id":104,"token_group":87,"text":"result","start_char":16,"line":15},{"index_id":105,"token_group":88,"text":"!=","start_char":23,"line":15},{"index_id":106,"token_group":89,"text":"null","start_char":26,"line":15},{"index_id":107,"token_group":90,"text":")","start_char":30,"line":15},{"index_id":108,"token_group":91,"text":"return","start_char":32,"line":15},{"index_id":109,"token_group":92,"text":"null","start_char":39,"line":15},{"index_id":110,"token_group":93,"text":";","start_char":43,"line":15},{"index_id":111,"token_group":94,"text":"result","start_char":12,"line":16},{"index_id":112,"token_group":95,"text":"=","start_char":19,"line":16},{"index_id":113,"token_group":96,"text":"region","start_char":21,"line":16},{"index_id":114,"token_group":97,"text":";","start_char":27,"line":16},{"index_id":115,"token_group":98,"text":"}","start_char":8,"line":17},{"index_id":116,"token_group":99,"text":"}","start_char":4,"line":18},{"index_id":117,"token_group":100,"text":"return","start_char":4,"line":19},{"index_id":118,"token_group":101,"text":"result","start_char":11,"line":19},{"index_id":119,"token_group":102,"text":";","start_char":17,"line":19},{"index_id":120,"token_group":103,"text":"}","start_char":0,"line":20}],"tokens_list":["{","if","(","line","<","0","||","line",">=","editor",".","get","Document","(",")",".","get","Line","Count","(",")",")","{","return","null",";","}","fold","Region","result","=","null",";","fold","Region","[","]","regions","=","editor",".","get","Folding","Model","(",")",".","get","All","Fold","Regions","(",")",";","for","(","fold","Region","region",":","regions",")","{","if","(","!","region",".","is","Valid","(",")",")","{","continue",";","}","if","(","region",".","get","Document","(",")",".","get","Line","Number","(","region",".","get","Start","Offset","(",")",")","==","line",")","{","if","(","result","!=","null",")","return","null",";","result","=","region",";","}","}","return","result",";","}"],"uuid":"7935aaf7aa6d4afb49e35242b4d3ce57"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","message","Digest","<\/id>","<id>","md","5","<\/id>","=","<id>","md","5","Holder","<\/id>",".","<id>","get","<\/id>","(",")",";","<id>","md","5","<\/id>",".","<id>","reset","<\/id>","(",")",";","<id>","string","<\/id>","<id>","str","<\/id>","=","<id>","stream","Id","<\/id>","+","'\/'","+","<id>","master","Seed","<\/id>",";","byte","[","]","<id>","digest","<\/id>","=","<id>","md","5","<\/id>",".","<id>","digest","<\/id>","(","<id>","str","<\/id>",".","<id>","get","Bytes","<\/id>","(",")",")",";","long","<id>","seed","<\/id>","=","0",";","for","(","int","<id>","i","<\/id>","=","0",";","<id>","i","<\/id>","<","8",";","<id>","i","<\/id>","++",")","{","<id>","seed","<\/id>","=","(","<id>","seed","<\/id>","<<","8",")","+","(","(","int",")","<id>","digest","<\/id>","[","<id>","i","<\/id>","]","+","128",")",";","}","return","<id>","seed","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"RandomSeedGenerator.java","formatted_lines":["{"," MessageDigest md5 = md5Holder.get();"," md5.reset();","","",""," String str = streamId + '\/' + masterSeed;"," byte[] digest = md5.digest(str.getBytes());","","",""," long seed = 0;"," for (int i = 0; i < 8; i++)"," {"," seed = (seed << 8) + ((int)digest[i] + 128);"," }"," return seed;","}"],"function_name":"getSeed","function_name_tokens":["get","seed"],"id_body_hash":"12736f818bf0c8481c7847b1ea68d4d7","id_same_identifier_list":[0,1,2,2,3,3,4,5,5,5,6,7,8,9,10,11,11,12,13,14,15,16,17,18,19,20,20,21,22,23,24,24,25,26,27,28,29,30,31,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87],"option_correct":"getSeed","options":["testMetaSave","getFile","getSeed","getRandomSeed","get","setContent_type","getOpCode"],"options_nlp":["test meta save","get file","get seed","get random seed","get","set content type","get op code"],"options_random":["getOpCode","testMetaSave","setContent_type"],"options_tfidf":["getFile","getRandomSeed","get"],"project_name":"hadoop-common","source_code_string":"public static long getSeed(String streamId, long masterSeed) {\n MessageDigest md5 = md5Holder.get();\n md5.reset();\n \n \n \n String str = streamId + '\/' + masterSeed;\n byte[] digest = md5.digest(str.getBytes());\n \n \n \n long seed = 0;\n for (int i=0; i<8; i++) {\n seed = (seed<<8) + ((int)digest[i]+128);\n }\n return seed;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"message","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Digest","start_char":11,"line":1},{"index_id":3,"token_group":2,"text":"md","start_char":18,"line":1},{"index_id":4,"token_group":3,"text":"5","start_char":20,"line":1},{"index_id":5,"token_group":3,"text":"=","start_char":22,"line":1},{"index_id":6,"token_group":4,"text":"md","start_char":24,"line":1},{"index_id":7,"token_group":5,"text":"5","start_char":26,"line":1},{"index_id":8,"token_group":5,"text":"Holder","start_char":27,"line":1},{"index_id":9,"token_group":5,"text":".","start_char":33,"line":1},{"index_id":10,"token_group":6,"text":"get","start_char":34,"line":1},{"index_id":11,"token_group":7,"text":"(","start_char":37,"line":1},{"index_id":12,"token_group":8,"text":")","start_char":38,"line":1},{"index_id":13,"token_group":9,"text":";","start_char":39,"line":1},{"index_id":14,"token_group":10,"text":"md","start_char":4,"line":2},{"index_id":15,"token_group":11,"text":"5","start_char":6,"line":2},{"index_id":16,"token_group":11,"text":".","start_char":7,"line":2},{"index_id":17,"token_group":12,"text":"reset","start_char":8,"line":2},{"index_id":18,"token_group":13,"text":"(","start_char":13,"line":2},{"index_id":19,"token_group":14,"text":")","start_char":14,"line":2},{"index_id":20,"token_group":15,"text":";","start_char":15,"line":2},{"index_id":21,"token_group":16,"text":"string","start_char":4,"line":6},{"index_id":22,"token_group":17,"text":"str","start_char":11,"line":6},{"index_id":23,"token_group":18,"text":"=","start_char":15,"line":6},{"index_id":24,"token_group":19,"text":"stream","start_char":17,"line":6},{"index_id":25,"token_group":20,"text":"Id","start_char":23,"line":6},{"index_id":26,"token_group":20,"text":"+","start_char":26,"line":6},{"index_id":27,"token_group":21,"text":"'\/'","start_char":28,"line":6},{"index_id":28,"token_group":22,"text":"+","start_char":32,"line":6},{"index_id":29,"token_group":23,"text":"master","start_char":34,"line":6},{"index_id":30,"token_group":24,"text":"Seed","start_char":40,"line":6},{"index_id":31,"token_group":24,"text":";","start_char":44,"line":6},{"index_id":32,"token_group":25,"text":"byte","start_char":4,"line":7},{"index_id":33,"token_group":26,"text":"[","start_char":8,"line":7},{"index_id":34,"token_group":27,"text":"]","start_char":9,"line":7},{"index_id":35,"token_group":28,"text":"digest","start_char":11,"line":7},{"index_id":36,"token_group":29,"text":"=","start_char":18,"line":7},{"index_id":37,"token_group":30,"text":"md","start_char":20,"line":7},{"index_id":38,"token_group":31,"text":"5","start_char":22,"line":7},{"index_id":39,"token_group":31,"text":".","start_char":23,"line":7},{"index_id":40,"token_group":32,"text":"digest","start_char":24,"line":7},{"index_id":41,"token_group":33,"text":"(","start_char":30,"line":7},{"index_id":42,"token_group":34,"text":"str","start_char":31,"line":7},{"index_id":43,"token_group":35,"text":".","start_char":34,"line":7},{"index_id":44,"token_group":36,"text":"get","start_char":35,"line":7},{"index_id":45,"token_group":37,"text":"Bytes","start_char":38,"line":7},{"index_id":46,"token_group":37,"text":"(","start_char":43,"line":7},{"index_id":47,"token_group":38,"text":")","start_char":44,"line":7},{"index_id":48,"token_group":39,"text":")","start_char":45,"line":7},{"index_id":49,"token_group":40,"text":";","start_char":46,"line":7},{"index_id":50,"token_group":41,"text":"long","start_char":4,"line":11},{"index_id":51,"token_group":42,"text":"seed","start_char":9,"line":11},{"index_id":52,"token_group":43,"text":"=","start_char":14,"line":11},{"index_id":53,"token_group":44,"text":"0","start_char":16,"line":11},{"index_id":54,"token_group":45,"text":";","start_char":17,"line":11},{"index_id":55,"token_group":46,"text":"for","start_char":4,"line":12},{"index_id":56,"token_group":47,"text":"(","start_char":8,"line":12},{"index_id":57,"token_group":48,"text":"int","start_char":9,"line":12},{"index_id":58,"token_group":49,"text":"i","start_char":13,"line":12},{"index_id":59,"token_group":50,"text":"=","start_char":15,"line":12},{"index_id":60,"token_group":51,"text":"0","start_char":17,"line":12},{"index_id":61,"token_group":52,"text":";","start_char":18,"line":12},{"index_id":62,"token_group":53,"text":"i","start_char":20,"line":12},{"index_id":63,"token_group":54,"text":"<","start_char":22,"line":12},{"index_id":64,"token_group":55,"text":"8","start_char":24,"line":12},{"index_id":65,"token_group":56,"text":";","start_char":25,"line":12},{"index_id":66,"token_group":57,"text":"i","start_char":27,"line":12},{"index_id":67,"token_group":58,"text":"++","start_char":28,"line":12},{"index_id":68,"token_group":59,"text":")","start_char":30,"line":12},{"index_id":69,"token_group":60,"text":"{","start_char":4,"line":13},{"index_id":70,"token_group":61,"text":"seed","start_char":8,"line":14},{"index_id":71,"token_group":62,"text":"=","start_char":13,"line":14},{"index_id":72,"token_group":63,"text":"(","start_char":15,"line":14},{"index_id":73,"token_group":64,"text":"seed","start_char":16,"line":14},{"index_id":74,"token_group":65,"text":"<<","start_char":21,"line":14},{"index_id":75,"token_group":66,"text":"8","start_char":24,"line":14},{"index_id":76,"token_group":67,"text":")","start_char":25,"line":14},{"index_id":77,"token_group":68,"text":"+","start_char":27,"line":14},{"index_id":78,"token_group":69,"text":"(","start_char":29,"line":14},{"index_id":79,"token_group":70,"text":"(","start_char":30,"line":14},{"index_id":80,"token_group":71,"text":"int","start_char":31,"line":14},{"index_id":81,"token_group":72,"text":")","start_char":34,"line":14},{"index_id":82,"token_group":73,"text":"digest","start_char":35,"line":14},{"index_id":83,"token_group":74,"text":"[","start_char":41,"line":14},{"index_id":84,"token_group":75,"text":"i","start_char":42,"line":14},{"index_id":85,"token_group":76,"text":"]","start_char":43,"line":14},{"index_id":86,"token_group":77,"text":"+","start_char":45,"line":14},{"index_id":87,"token_group":78,"text":"128","start_char":47,"line":14},{"index_id":88,"token_group":79,"text":")","start_char":50,"line":14},{"index_id":89,"token_group":80,"text":";","start_char":51,"line":14},{"index_id":90,"token_group":81,"text":"}","start_char":4,"line":15},{"index_id":91,"token_group":82,"text":"return","start_char":4,"line":16},{"index_id":92,"token_group":83,"text":"seed","start_char":11,"line":16},{"index_id":93,"token_group":84,"text":";","start_char":15,"line":16},{"index_id":94,"token_group":85,"text":"}","start_char":0,"line":17}],"tokens_list":["{","message","Digest","md","5","=","md","5","Holder",".","get","(",")",";","md","5",".","reset","(",")",";","string","str","=","stream","Id","+","'\/'","+","master","Seed",";","byte","[","]","digest","=","md","5",".","digest","(","str",".","get","Bytes","(",")",")",";","long","seed","=","0",";","for","(","int","i","=","0",";","i","<","8",";","i","++",")","{","seed","=","(","seed","<<","8",")","+","(","(","int",")","digest","[","i","]","+","128",")",";","}","return","seed",";","}"],"uuid":"297ec163835d71b3a619377cbd525176"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","job","<\/id>",".","<id>","get","Configuration","<\/id>","(",")",".","<id>","set","Long","<\/id>","(","<id>","num","Rows","<\/id>",",","<id>","num","Rows","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"TeraGen.java","formatted_lines":["{"," job.getConfiguration().setLong(NUM_ROWS, numRows);","}"],"function_name":"setNumberOfRows","function_name_tokens":["set","number","of","rows"],"id_body_hash":"1e2e179c8822ef7830604a8f6c009d49","id_same_identifier_list":[0,1,2,3,4,4,5,6,7,8,8,9,10,10,11,12,12,13,14,15,16],"option_correct":"setNumberOfRows","options":["createActiveNodeInfo","partitionFilenameFromNumber","testDeliverNotifications","setNumberOfRows","numberOfTokensInCache","testGetProxyUriFromPluginsReturnsValidUriWhenAble","getNumberOfBlocksToBeInvalidated"],"options_nlp":["create active node info","partition filename from number","test deliver notifications","set number of rows","number of tokens in cache","test get proxy uri from plugins returns valid uri when able","get number of blocks to be invalidated"],"options_random":["createActiveNodeInfo","testGetProxyUriFromPluginsReturnsValidUriWhenAble","testDeliverNotifications"],"options_tfidf":["numberOfTokensInCache","partitionFilenameFromNumber","getNumberOfBlocksToBeInvalidated"],"project_name":"hadoop-common","source_code_string":"static void setNumberOfRows(Job job, long numRows) {\n job.getConfiguration().setLong(NUM_ROWS, numRows);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"job","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":7,"line":1},{"index_id":3,"token_group":3,"text":"get","start_char":8,"line":1},{"index_id":4,"token_group":4,"text":"Configuration","start_char":11,"line":1},{"index_id":5,"token_group":4,"text":"(","start_char":24,"line":1},{"index_id":6,"token_group":5,"text":")","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":".","start_char":26,"line":1},{"index_id":8,"token_group":7,"text":"set","start_char":27,"line":1},{"index_id":9,"token_group":8,"text":"Long","start_char":30,"line":1},{"index_id":10,"token_group":8,"text":"(","start_char":34,"line":1},{"index_id":11,"token_group":9,"text":"num","start_char":35,"line":1},{"index_id":12,"token_group":10,"text":"Rows","start_char":39,"line":1},{"index_id":13,"token_group":10,"text":",","start_char":43,"line":1},{"index_id":14,"token_group":11,"text":"num","start_char":45,"line":1},{"index_id":15,"token_group":12,"text":"Rows","start_char":48,"line":1},{"index_id":16,"token_group":12,"text":")","start_char":52,"line":1},{"index_id":17,"token_group":13,"text":";","start_char":53,"line":1},{"index_id":18,"token_group":14,"text":"}","start_char":0,"line":2}],"tokens_list":["{","job",".","get","Configuration","(",")",".","set","Long","(","num","Rows",",","num","Rows",")",";","}"],"uuid":"7a6ac451f71e4c9d176aa54f01460f2b"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","qualified","Name","<\/id>","=","<id>","fq","Classname","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"ClassElement.java","formatted_lines":["{"," this.qualifiedName = FQClassname;","}"],"function_name":"setQualifiedName","function_name_tokens":["set","qualified","name"],"id_body_hash":"1f1434d13ead79a49ab87c74cdc67f25","id_same_identifier_list":[0,1,2,3,4,4,5,6,6,7,8,9],"option_correct":"setQualifiedName","options":["clearFatals","setQualifiedName","withQualifiedName","qualifiedName","setSuperQualifiedName","createReplaceOptionalOfNullableWithOfFix","resolveFolders"],"options_nlp":["clear fatals","set qualified name","with qualified name","qualified name","set super qualified name","create replace optional of nullable with of fix","resolve folders"],"options_random":["resolveFolders","createReplaceOptionalOfNullableWithOfFix","clearFatals"],"options_tfidf":["withQualifiedName","qualifiedName","setSuperQualifiedName"],"project_name":"intellij-community","source_code_string":"public void setQualifiedName(String FQClassname) {\n this.qualifiedName = FQClassname;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"qualified","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"Name","start_char":18,"line":1},{"index_id":5,"token_group":4,"text":"=","start_char":23,"line":1},{"index_id":6,"token_group":5,"text":"fq","start_char":25,"line":1},{"index_id":7,"token_group":6,"text":"Classname","start_char":27,"line":1},{"index_id":8,"token_group":6,"text":";","start_char":36,"line":1},{"index_id":9,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","qualified","Name","=","fq","Classname",";","}"],"uuid":"552b89e5ef8e35a30bccfe7bda136a11"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","aliases","<\/id>","=","<id>","aliases","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"XStreamMarshaller.java","formatted_lines":["{"," this.aliases = aliases;","}"],"function_name":"setAliases","function_name_tokens":["set","aliases"],"id_body_hash":"327a0bab5852a594a1250700106b608a","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9],"option_correct":"setAliases","options":["currentAttributesNone","set","setAliasesByType","doWriteStartElement","setFieldAliases","setAliases","testDefaultInitAndDestroyMethodsDefined"],"options_nlp":["current attributes none","set","set aliases by type","do write start element","set field aliases","set aliases","test default init and destroy methods defined"],"options_random":["currentAttributesNone","testDefaultInitAndDestroyMethodsDefined","doWriteStartElement"],"options_tfidf":["setAliasesByType","set","setFieldAliases"],"project_name":"spring-framework","source_code_string":"public void setAliases(Map<String, ?> aliases) {\n\t\tthis.aliases = aliases;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"aliases","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":"=","start_char":17,"line":1},{"index_id":5,"token_group":5,"text":"aliases","start_char":19,"line":1},{"index_id":6,"token_group":6,"text":";","start_char":26,"line":1},{"index_id":7,"token_group":7,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","aliases","=","aliases",";","}"],"uuid":"15f7c07114438343ce4eb348847161fd"},{"cap_original_tokens":["<SENTENCE_START>","{","final","<id>","file","View","Provider","<\/id>","<id>","file","View","Provider","<\/id>","=","<id>","file","<\/id>",".","<id>","get","View","Provider","<\/id>","(",")",";","final","<id>","psi","File","<\/id>","<id>","base","File","<\/id>","=","<id>","file","View","Provider","<\/id>",".","<id>","get","Psi","<\/id>","(","<id>","file","View","Provider","<\/id>",".","<id>","get","Base","Language","<\/id>","(",")",")",";","<id>","base","File","<\/id>",".","<id>","get","First","Child","<\/id>","(",")",";","return","<id>","get","<\/id>","(","<id>","get","Key","<\/id>","(",")",",","<id>","base","File","<\/id>",",","null",")",".","<id>","get","Value","<\/id>","(",")",";","}","<SENTENCE_END\/>"],"file_name":"FileBasedUserDataCache.java","formatted_lines":["{"," final FileViewProvider fileViewProvider = file.getViewProvider();"," final PsiFile baseFile = fileViewProvider.getPsi("," fileViewProvider.getBaseLanguage());"," baseFile.getFirstChild();"," return get(getKey(), baseFile, null).getValue();","}"],"function_name":"compute","function_name_tokens":["compute"],"id_body_hash":"9f995e193f4dba8f8ad7ac2f093103ac","id_same_identifier_list":[0,1,2,3,3,3,4,4,4,5,6,7,8,8,8,9,10,11,12,13,13,14,14,15,16,16,16,17,18,18,19,20,20,20,21,22,22,22,23,24,25,26,27,27,28,29,29,29,30,31,32,33,34,35,36,36,37,38,39,40,40,41,42,43,44,45,45,46,47,48,49,50],"option_correct":"compute","options":["computeName","processText","computeRoots","computeProperties","compute","updateExpectAuthCanceled","getConversionDialogText"],"options_nlp":["compute name","process text","compute roots","compute properties","compute","update expect auth canceled","get conversion dialog text"],"options_random":["processText","updateExpectAuthCanceled","getConversionDialogText"],"options_tfidf":["computeName","computeRoots","computeProperties"],"project_name":"intellij-community","source_code_string":"public T compute(PsiFile file) {\n final FileViewProvider fileViewProvider = file.getViewProvider();\n final PsiFile baseFile = fileViewProvider.getPsi(fileViewProvider.getBaseLanguage());\n baseFile.getFirstChild(); \n return get(getKey(), baseFile, null).getValue();\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"final","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"file","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"View","start_char":14,"line":1},{"index_id":4,"token_group":3,"text":"Provider","start_char":18,"line":1},{"index_id":5,"token_group":3,"text":"file","start_char":27,"line":1},{"index_id":6,"token_group":4,"text":"View","start_char":31,"line":1},{"index_id":7,"token_group":4,"text":"Provider","start_char":35,"line":1},{"index_id":8,"token_group":4,"text":"=","start_char":44,"line":1},{"index_id":9,"token_group":5,"text":"file","start_char":46,"line":1},{"index_id":10,"token_group":6,"text":".","start_char":50,"line":1},{"index_id":11,"token_group":7,"text":"get","start_char":51,"line":1},{"index_id":12,"token_group":8,"text":"View","start_char":54,"line":1},{"index_id":13,"token_group":8,"text":"Provider","start_char":58,"line":1},{"index_id":14,"token_group":8,"text":"(","start_char":66,"line":1},{"index_id":15,"token_group":9,"text":")","start_char":67,"line":1},{"index_id":16,"token_group":10,"text":";","start_char":68,"line":1},{"index_id":17,"token_group":11,"text":"final","start_char":4,"line":2},{"index_id":18,"token_group":12,"text":"psi","start_char":10,"line":2},{"index_id":19,"token_group":13,"text":"File","start_char":13,"line":2},{"index_id":20,"token_group":13,"text":"base","start_char":18,"line":2},{"index_id":21,"token_group":14,"text":"File","start_char":22,"line":2},{"index_id":22,"token_group":14,"text":"=","start_char":27,"line":2},{"index_id":23,"token_group":15,"text":"file","start_char":29,"line":2},{"index_id":24,"token_group":16,"text":"View","start_char":33,"line":2},{"index_id":25,"token_group":16,"text":"Provider","start_char":37,"line":2},{"index_id":26,"token_group":16,"text":".","start_char":45,"line":2},{"index_id":27,"token_group":17,"text":"get","start_char":46,"line":2},{"index_id":28,"token_group":18,"text":"Psi","start_char":49,"line":2},{"index_id":29,"token_group":18,"text":"(","start_char":52,"line":2},{"index_id":30,"token_group":19,"text":"file","start_char":33,"line":3},{"index_id":31,"token_group":20,"text":"View","start_char":37,"line":3},{"index_id":32,"token_group":20,"text":"Provider","start_char":41,"line":3},{"index_id":33,"token_group":20,"text":".","start_char":49,"line":3},{"index_id":34,"token_group":21,"text":"get","start_char":50,"line":3},{"index_id":35,"token_group":22,"text":"Base","start_char":53,"line":3},{"index_id":36,"token_group":22,"text":"Language","start_char":57,"line":3},{"index_id":37,"token_group":22,"text":"(","start_char":65,"line":3},{"index_id":38,"token_group":23,"text":")","start_char":66,"line":3},{"index_id":39,"token_group":24,"text":")","start_char":67,"line":3},{"index_id":40,"token_group":25,"text":";","start_char":68,"line":3},{"index_id":41,"token_group":26,"text":"base","start_char":4,"line":4},{"index_id":42,"token_group":27,"text":"File","start_char":8,"line":4},{"index_id":43,"token_group":27,"text":".","start_char":12,"line":4},{"index_id":44,"token_group":28,"text":"get","start_char":13,"line":4},{"index_id":45,"token_group":29,"text":"First","start_char":16,"line":4},{"index_id":46,"token_group":29,"text":"Child","start_char":21,"line":4},{"index_id":47,"token_group":29,"text":"(","start_char":26,"line":4},{"index_id":48,"token_group":30,"text":")","start_char":27,"line":4},{"index_id":49,"token_group":31,"text":";","start_char":28,"line":4},{"index_id":50,"token_group":32,"text":"return","start_char":4,"line":5},{"index_id":51,"token_group":33,"text":"get","start_char":11,"line":5},{"index_id":52,"token_group":34,"text":"(","start_char":14,"line":5},{"index_id":53,"token_group":35,"text":"get","start_char":15,"line":5},{"index_id":54,"token_group":36,"text":"Key","start_char":18,"line":5},{"index_id":55,"token_group":36,"text":"(","start_char":21,"line":5},{"index_id":56,"token_group":37,"text":")","start_char":22,"line":5},{"index_id":57,"token_group":38,"text":",","start_char":23,"line":5},{"index_id":58,"token_group":39,"text":"base","start_char":25,"line":5},{"index_id":59,"token_group":40,"text":"File","start_char":29,"line":5},{"index_id":60,"token_group":40,"text":",","start_char":33,"line":5},{"index_id":61,"token_group":41,"text":"null","start_char":35,"line":5},{"index_id":62,"token_group":42,"text":")","start_char":39,"line":5},{"index_id":63,"token_group":43,"text":".","start_char":40,"line":5},{"index_id":64,"token_group":44,"text":"get","start_char":41,"line":5},{"index_id":65,"token_group":45,"text":"Value","start_char":44,"line":5},{"index_id":66,"token_group":45,"text":"(","start_char":49,"line":5},{"index_id":67,"token_group":46,"text":")","start_char":50,"line":5},{"index_id":68,"token_group":47,"text":";","start_char":51,"line":5},{"index_id":69,"token_group":48,"text":"}","start_char":0,"line":6}],"tokens_list":["{","final","file","View","Provider","file","View","Provider","=","file",".","get","View","Provider","(",")",";","final","psi","File","base","File","=","file","View","Provider",".","get","Psi","(","file","View","Provider",".","get","Base","Language","(",")",")",";","base","File",".","get","First","Child","(",")",";","return","get","(","get","Key","(",")",",","base","File",",","null",")",".","get","Value","(",")",";","}"],"uuid":"ab387a5eb7b172cf0c6046620b119079"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","","Not","All","Tag","Ids","Array","<\/id>","=","<id>","not","All","Tag","Ids","Array","<\/id>",";","<id>","","Not","All","Tag","Ids","<\/id>","=","<id>","","Flatten","Tag","Ids","<\/id>","(","<id>","not","All","Tag","Ids","Array","<\/id>",")",";","<id>","","To","String","<\/id>","=","null",";","}","<SENTENCE_END\/>"],"file_name":"AssetEntryQuery.java","formatted_lines":["{"," _notAllTagIdsArray = notAllTagIdsArray;",""," _notAllTagIds = _flattenTagIds(notAllTagIdsArray);",""," _toString = null;","}"],"function_name":"setNotAllTagIdsArray","function_name_tokens":["set","not","all","tag","ids","array"],"id_body_hash":"f0500682455ac1f971b65b776e59945d","id_same_identifier_list":[0,1,2,2,2,2,2,2,3,4,4,4,4,4,5,6,6,6,6,6,7,8,8,8,8,9,10,10,10,10,10,11,12,13,13,13,14,15,16,17,18],"option_correct":"setNotAllTagIdsArray","options":["setNotAllTagIds","setInstrumentDump","testGetRequiredClassTypePKs","setAllTagIds","getTax","setNotAllTagIdsArray","setAllTagIdsArray"],"options_nlp":["set not all tag ids","set instrument dump","test get required class type p ks","set all tag ids","get tax","set not all tag ids array","set all tag ids array"],"options_random":["testGetRequiredClassTypePKs","setInstrumentDump","getTax"],"options_tfidf":["setNotAllTagIds","setAllTagIds","setAllTagIdsArray"],"project_name":"liferay-portal","source_code_string":"public void setNotAllTagIdsArray(long[][] notAllTagIdsArray) {\n\t\t_notAllTagIdsArray = notAllTagIdsArray;\n\n\t\t_notAllTagIds = _flattenTagIds(notAllTagIdsArray);\n\n\t\t_toString = null;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"","start_char":1,"line":0},{"index_id":2,"token_group":2,"text":"Not","start_char":5,"line":1},{"index_id":3,"token_group":2,"text":"All","start_char":8,"line":1},{"index_id":4,"token_group":2,"text":"Tag","start_char":11,"line":1},{"index_id":5,"token_group":2,"text":"Ids","start_char":14,"line":1},{"index_id":6,"token_group":2,"text":"Array","start_char":17,"line":1},{"index_id":7,"token_group":2,"text":"=","start_char":23,"line":1},{"index_id":8,"token_group":3,"text":"not","start_char":25,"line":1},{"index_id":9,"token_group":4,"text":"All","start_char":28,"line":1},{"index_id":10,"token_group":4,"text":"Tag","start_char":31,"line":1},{"index_id":11,"token_group":4,"text":"Ids","start_char":34,"line":1},{"index_id":12,"token_group":4,"text":"Array","start_char":37,"line":1},{"index_id":13,"token_group":4,"text":";","start_char":42,"line":1},{"index_id":14,"token_group":5,"text":"","start_char":43,"line":1},{"index_id":15,"token_group":6,"text":"Not","start_char":5,"line":3},{"index_id":16,"token_group":6,"text":"All","start_char":8,"line":3},{"index_id":17,"token_group":6,"text":"Tag","start_char":11,"line":3},{"index_id":18,"token_group":6,"text":"Ids","start_char":14,"line":3},{"index_id":19,"token_group":6,"text":"=","start_char":18,"line":3},{"index_id":20,"token_group":7,"text":"","start_char":19,"line":3},{"index_id":21,"token_group":8,"text":"Flatten","start_char":21,"line":3},{"index_id":22,"token_group":8,"text":"Tag","start_char":28,"line":3},{"index_id":23,"token_group":8,"text":"Ids","start_char":31,"line":3},{"index_id":24,"token_group":8,"text":"(","start_char":34,"line":3},{"index_id":25,"token_group":9,"text":"not","start_char":35,"line":3},{"index_id":26,"token_group":10,"text":"All","start_char":38,"line":3},{"index_id":27,"token_group":10,"text":"Tag","start_char":41,"line":3},{"index_id":28,"token_group":10,"text":"Ids","start_char":44,"line":3},{"index_id":29,"token_group":10,"text":"Array","start_char":47,"line":3},{"index_id":30,"token_group":10,"text":")","start_char":52,"line":3},{"index_id":31,"token_group":11,"text":";","start_char":53,"line":3},{"index_id":32,"token_group":12,"text":"","start_char":54,"line":3},{"index_id":33,"token_group":13,"text":"To","start_char":5,"line":5},{"index_id":34,"token_group":13,"text":"String","start_char":7,"line":5},{"index_id":35,"token_group":13,"text":"=","start_char":14,"line":5},{"index_id":36,"token_group":14,"text":"null","start_char":16,"line":5},{"index_id":37,"token_group":15,"text":";","start_char":20,"line":5},{"index_id":38,"token_group":16,"text":"}","start_char":0,"line":6}],"tokens_list":["{","","Not","All","Tag","Ids","Array","=","not","All","Tag","Ids","Array",";","","Not","All","Tag","Ids","=","","Flatten","Tag","Ids","(","not","All","Tag","Ids","Array",")",";","","To","String","=","null",";","}"],"uuid":"0b5e2e862b79ba4cc73069e6f5072c85"},{"cap_original_tokens":["<SENTENCE_START>","{","try","{","<id>","s","3","Service","<\/id>",".","<id>","rename","Object","<\/id>","(","<id>","bucket","<\/id>",".","<id>","get","Name","<\/id>","(",")",",","<id>","src","Key","<\/id>",",","new","<id>","s","3","Object","<\/id>","(","<id>","dst","Key","<\/id>",")",")",";","}","catch","(","<id>","service","Exception","<\/id>","<id>","e","<\/id>",")","{","<id>","handle","Exception","<\/id>","(","<id>","e","<\/id>",",","<id>","src","Key","<\/id>",")",";","}","}","<SENTENCE_END\/>"],"file_name":"Jets3tNativeFileSystemStore.java","formatted_lines":["{"," try"," {"," s3Service.renameObject(bucket.getName(), srcKey, new S3Object(dstKey));"," }"," catch (ServiceException e)"," {"," handleException(e, srcKey);"," }","}"],"function_name":"rename","function_name_tokens":["rename"],"id_body_hash":"77efc665ab29b276334623f82183554b","id_same_identifier_list":[0,1,2,3,4,4,4,5,6,6,7,8,9,10,10,11,12,13,14,14,15,16,17,17,17,18,19,19,20,21,22,23,24,25,26,26,27,28,29,30,30,31,32,33,34,34,35,36,37,38,39],"option_correct":"rename","options":["rename","setMessage","testRename1","testRename","getAuthenticationHandlerConfiguration","testRename2","grantPermissions"],"options_nlp":["rename","set message","test rename 1","test rename","get authentication handler configuration","test rename 2","grant permissions"],"options_random":["getAuthenticationHandlerConfiguration","grantPermissions","setMessage"],"options_tfidf":["testRename","testRename1","testRename2"],"project_name":"hadoop-common","source_code_string":"public void rename(String srcKey, String dstKey) throws IOException {\n try {\n s3Service.renameObject(bucket.getName(), srcKey, new S3Object(dstKey));\n } catch (ServiceException e) {\n handleException(e, srcKey);\n }\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"try","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"{","start_char":4,"line":2},{"index_id":3,"token_group":3,"text":"s","start_char":8,"line":3},{"index_id":4,"token_group":4,"text":"3","start_char":9,"line":3},{"index_id":5,"token_group":4,"text":"Service","start_char":10,"line":3},{"index_id":6,"token_group":4,"text":".","start_char":17,"line":3},{"index_id":7,"token_group":5,"text":"rename","start_char":18,"line":3},{"index_id":8,"token_group":6,"text":"Object","start_char":24,"line":3},{"index_id":9,"token_group":6,"text":"(","start_char":30,"line":3},{"index_id":10,"token_group":7,"text":"bucket","start_char":31,"line":3},{"index_id":11,"token_group":8,"text":".","start_char":37,"line":3},{"index_id":12,"token_group":9,"text":"get","start_char":38,"line":3},{"index_id":13,"token_group":10,"text":"Name","start_char":41,"line":3},{"index_id":14,"token_group":10,"text":"(","start_char":45,"line":3},{"index_id":15,"token_group":11,"text":")","start_char":46,"line":3},{"index_id":16,"token_group":12,"text":",","start_char":47,"line":3},{"index_id":17,"token_group":13,"text":"src","start_char":49,"line":3},{"index_id":18,"token_group":14,"text":"Key","start_char":52,"line":3},{"index_id":19,"token_group":14,"text":",","start_char":55,"line":3},{"index_id":20,"token_group":15,"text":"new","start_char":57,"line":3},{"index_id":21,"token_group":16,"text":"s","start_char":61,"line":3},{"index_id":22,"token_group":17,"text":"3","start_char":62,"line":3},{"index_id":23,"token_group":17,"text":"Object","start_char":63,"line":3},{"index_id":24,"token_group":17,"text":"(","start_char":69,"line":3},{"index_id":25,"token_group":18,"text":"dst","start_char":70,"line":3},{"index_id":26,"token_group":19,"text":"Key","start_char":73,"line":3},{"index_id":27,"token_group":19,"text":")","start_char":76,"line":3},{"index_id":28,"token_group":20,"text":")","start_char":77,"line":3},{"index_id":29,"token_group":21,"text":";","start_char":78,"line":3},{"index_id":30,"token_group":22,"text":"}","start_char":4,"line":4},{"index_id":31,"token_group":23,"text":"catch","start_char":4,"line":5},{"index_id":32,"token_group":24,"text":"(","start_char":10,"line":5},{"index_id":33,"token_group":25,"text":"service","start_char":11,"line":5},{"index_id":34,"token_group":26,"text":"Exception","start_char":18,"line":5},{"index_id":35,"token_group":26,"text":"e","start_char":28,"line":5},{"index_id":36,"token_group":27,"text":")","start_char":29,"line":5},{"index_id":37,"token_group":28,"text":"{","start_char":4,"line":6},{"index_id":38,"token_group":29,"text":"handle","start_char":8,"line":7},{"index_id":39,"token_group":30,"text":"Exception","start_char":14,"line":7},{"index_id":40,"token_group":30,"text":"(","start_char":23,"line":7},{"index_id":41,"token_group":31,"text":"e","start_char":24,"line":7},{"index_id":42,"token_group":32,"text":",","start_char":25,"line":7},{"index_id":43,"token_group":33,"text":"src","start_char":27,"line":7},{"index_id":44,"token_group":34,"text":"Key","start_char":30,"line":7},{"index_id":45,"token_group":34,"text":")","start_char":33,"line":7},{"index_id":46,"token_group":35,"text":";","start_char":34,"line":7},{"index_id":47,"token_group":36,"text":"}","start_char":4,"line":8},{"index_id":48,"token_group":37,"text":"}","start_char":0,"line":9}],"tokens_list":["{","try","{","s","3","Service",".","rename","Object","(","bucket",".","get","Name","(",")",",","src","Key",",","new","s","3","Object","(","dst","Key",")",")",";","}","catch","(","service","Exception","e",")","{","handle","Exception","(","e",",","src","Key",")",";","}","}"],"uuid":"795410efdcc9bddbb97bc2919701fea8"},{"cap_original_tokens":["<SENTENCE_START>","{","this",".","<id>","entities","<\/id>",".","<id>","add","All","<\/id>","(","<id>","entities","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"TimelineEntities.java","formatted_lines":["{"," this.entities.addAll(entities);","}"],"function_name":"addEntities","function_name_tokens":["add","entities"],"id_body_hash":"1bc26b85c68b17a6cadc9a8cf5d50e8a","id_same_identifier_list":[0,1,2,3,4,5,6,6,7,8,9,10,11,12],"option_correct":"addEntities","options":["addEntities","testFileAdd","openInputStream","add","verifyWordCountJobStory","testNonManagementOperation","addRelatedEntities"],"options_nlp":["add entities","test file add","open input stream","add","verify word count job story","test non management operation","add related entities"],"options_random":["verifyWordCountJobStory","openInputStream","testNonManagementOperation"],"options_tfidf":["add","testFileAdd","addRelatedEntities"],"project_name":"hadoop-common","source_code_string":"public void addEntities(List<TimelineEntity> entities) {\n this.entities.addAll(entities);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"this","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":".","start_char":8,"line":1},{"index_id":3,"token_group":3,"text":"entities","start_char":9,"line":1},{"index_id":4,"token_group":4,"text":".","start_char":17,"line":1},{"index_id":5,"token_group":5,"text":"add","start_char":18,"line":1},{"index_id":6,"token_group":6,"text":"All","start_char":21,"line":1},{"index_id":7,"token_group":6,"text":"(","start_char":24,"line":1},{"index_id":8,"token_group":7,"text":"entities","start_char":25,"line":1},{"index_id":9,"token_group":8,"text":")","start_char":33,"line":1},{"index_id":10,"token_group":9,"text":";","start_char":34,"line":1},{"index_id":11,"token_group":10,"text":"}","start_char":0,"line":2}],"tokens_list":["{","this",".","entities",".","add","All","(","entities",")",";","}"],"uuid":"bf534894dec909c0c5b460c7f0b7cba6"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","domain","Name","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"DomainAdmin.java","formatted_lines":["{"," return domainName;","}"],"function_name":"getDomainName","function_name_tokens":["get","domain","name"],"id_body_hash":"6f57189a9be2aeafa5deb6075cab21b0","id_same_identifier_list":[0,1,2,3,3,4,5,6],"option_correct":"getDomainName","options":["getDomain","setDeliveryDate","getDomainName","getEntityName","getFirstResult","getName","resolveRole"],"options_nlp":["get domain","set delivery date","get domain name","get entity name","get first result","get name","resolve role"],"options_random":["setDeliveryDate","getFirstResult","resolveRole"],"options_tfidf":["getDomain","getEntityName","getName"],"project_name":"hibernate-orm","source_code_string":"public String getDomainName() {\n\t\treturn domainName;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"domain","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Name","start_char":17,"line":1},{"index_id":4,"token_group":3,"text":";","start_char":21,"line":1},{"index_id":5,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","domain","Name",";","}"],"uuid":"6f1a1e2942783b1992de13d046a35ce3"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","restrict","<\/id>","(","<id>","expression","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"RestrictiveCodeVisitor.java","formatted_lines":["{"," restrict(expression);","}"],"function_name":"visitGStringExpression","function_name_tokens":["visit","g","string","expression"],"id_body_hash":"c53dcafc7dd65c678e2596e89cb3d536","id_same_identifier_list":[0,1,2,3,4,5,6,7,8],"option_correct":"visitGStringExpression","options":["visitPropertyExpression","newInstance","validationActionSucceedsWhenSpecifiedInputFileExists","copyFrom","visitClassExpression","visitNotExpression","visitGStringExpression"],"options_nlp":["visit property expression","new instance","validation action succeeds when specified input file exists","copy from","visit class expression","visit not expression","visit g string expression"],"options_random":["copyFrom","newInstance","validationActionSucceedsWhenSpecifiedInputFileExists"],"options_tfidf":["visitClassExpression","visitNotExpression","visitPropertyExpression"],"project_name":"gradle","source_code_string":"public void visitGStringExpression(GStringExpression expression) {\n restrict(expression);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"restrict","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"(","start_char":12,"line":1},{"index_id":3,"token_group":3,"text":"expression","start_char":13,"line":1},{"index_id":4,"token_group":4,"text":")","start_char":23,"line":1},{"index_id":5,"token_group":5,"text":";","start_char":24,"line":1},{"index_id":6,"token_group":6,"text":"}","start_char":0,"line":2}],"tokens_list":["{","restrict","(","expression",")",";","}"],"uuid":"ed09dc7f7dae0d8712a61bc13dd434f2"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","do","Test","<\/id>","(","new","<id>","mock","Introduce","Variable","Handler","<\/id>","(","\"s\"",",","false",",","false",",","false",",","\"java.lang.String\"",")",")",";","}","<SENTENCE_END\/>"],"file_name":"IntroduceVariableTest.java","formatted_lines":["{"," doTest(new MockIntroduceVariableHandler(\"s\", false, false, false,"," \"java.lang.String\"));","}"],"function_name":"testPutInLambdaBodyVoid","function_name_tokens":["test","put","in","lambda","body","void"],"id_body_hash":"0d3449695813839aad119b305162f447","id_same_identifier_list":[0,1,2,2,3,4,5,5,5,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"option_correct":"testPutInLambdaBodyVoid","options":["testInConditional","testPutInLambdaBody","executeInProgressAfterAction","testPutInLambdaBodyMultipleOccurrences","testPutInLambdaBodyVoid","getInputOptions","testPutInLambdaBodyVoidValueConflict"],"options_nlp":["test in conditional","test put in lambda body","execute in progress after action","test put in lambda body multiple occurrences","test put in lambda body void","get input options","test put in lambda body void value conflict"],"options_random":["testInConditional","executeInProgressAfterAction","getInputOptions"],"options_tfidf":["testPutInLambdaBody","testPutInLambdaBodyMultipleOccurrences","testPutInLambdaBodyVoidValueConflict"],"project_name":"intellij-community","source_code_string":"public void testPutInLambdaBodyVoid() {\n doTest(new MockIntroduceVariableHandler(\"s\", false, false, false, \"java.lang.String\"));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"do","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Test","start_char":6,"line":1},{"index_id":3,"token_group":2,"text":"(","start_char":10,"line":1},{"index_id":4,"token_group":3,"text":"new","start_char":11,"line":1},{"index_id":5,"token_group":4,"text":"mock","start_char":15,"line":1},{"index_id":6,"token_group":5,"text":"Introduce","start_char":19,"line":1},{"index_id":7,"token_group":5,"text":"Variable","start_char":28,"line":1},{"index_id":8,"token_group":5,"text":"Handler","start_char":36,"line":1},{"index_id":9,"token_group":5,"text":"(","start_char":43,"line":1},{"index_id":10,"token_group":6,"text":"\"s\"","start_char":44,"line":1},{"index_id":11,"token_group":7,"text":",","start_char":47,"line":1},{"index_id":12,"token_group":8,"text":"false","start_char":49,"line":1},{"index_id":13,"token_group":9,"text":",","start_char":54,"line":1},{"index_id":14,"token_group":10,"text":"false","start_char":56,"line":1},{"index_id":15,"token_group":11,"text":",","start_char":61,"line":1},{"index_id":16,"token_group":12,"text":"false","start_char":63,"line":1},{"index_id":17,"token_group":13,"text":",","start_char":68,"line":1},{"index_id":18,"token_group":14,"text":"\"java.lang.String\"","start_char":44,"line":2},{"index_id":19,"token_group":15,"text":")","start_char":62,"line":2},{"index_id":20,"token_group":16,"text":")","start_char":63,"line":2},{"index_id":21,"token_group":17,"text":";","start_char":64,"line":2},{"index_id":22,"token_group":18,"text":"}","start_char":0,"line":3}],"tokens_list":["{","do","Test","(","new","mock","Introduce","Variable","Handler","(","\"s\"",",","false",",","false",",","false",",","\"java.lang.String\"",")",")",";","}"],"uuid":"57c7c83e3b5f5d8835b487edde72ea11"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","do","Test","Jta","Transaction","With","Propagation","Requires","New","<\/id>","(","true",",","false",",","true",",","true",")",";","}","<SENTENCE_END\/>"],"file_name":"DataSourceJtaTransactionTests.java","formatted_lines":["{"," doTestJtaTransactionWithPropagationRequiresNew(true, false, true, true);","}"],"function_name":"testJtaTransactionRollbackWithPropagationRequiresNewWithTransactionAwareDataSource","function_name_tokens":["test","jta","transaction","rollback","with","propagation","requires","new","with","transaction","aware","data","source"],"id_body_hash":"e2cc1292e2340d10b04f3223662023de","id_same_identifier_list":[0,1,2,2,2,2,2,2,2,2,3,4,5,6,7,8,9,10,11,12,13,14],"option_correct":"testJtaTransactionRollbackWithPropagationRequiresNewWithTransactionAwareDataSource","options":["createConnection","testJtaTransactionCommitWithPropagationRequiresNewWithTransactionAwareDataSource","testJtaTransactionRollbackWithPropagationRequiresNew","testJtaTransactionCommitWithPropagationRequiresNewWithTransactionAwareDataSourceAndBeginException","processTemplateIntoString","getTestString","testJtaTransactionRollbackWithPropagationRequiresNewWithTransactionAwareDataSource"],"options_nlp":["create connection","test jta transaction commit with propagation requires new with transaction aware data source","test jta transaction rollback with propagation requires new","test jta transaction commit with propagation requires new with transaction aware data source and begin exception","process template into string","get test string","test jta transaction rollback with propagation requires new with transaction aware data source"],"options_random":["createConnection","processTemplateIntoString","getTestString"],"options_tfidf":["testJtaTransactionCommitWithPropagationRequiresNewWithTransactionAwareDataSource","testJtaTransactionCommitWithPropagationRequiresNewWithTransactionAwareDataSourceAndBeginException","testJtaTransactionRollbackWithPropagationRequiresNew"],"project_name":"spring-framework","source_code_string":"@Test\n\tpublic void testJtaTransactionRollbackWithPropagationRequiresNewWithTransactionAwareDataSource() throws Exception {\n\t\tdoTestJtaTransactionWithPropagationRequiresNew(true, false, true, true);\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"do","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Test","start_char":6,"line":1},{"index_id":3,"token_group":2,"text":"Jta","start_char":10,"line":1},{"index_id":4,"token_group":2,"text":"Transaction","start_char":13,"line":1},{"index_id":5,"token_group":2,"text":"With","start_char":24,"line":1},{"index_id":6,"token_group":2,"text":"Propagation","start_char":28,"line":1},{"index_id":7,"token_group":2,"text":"Requires","start_char":39,"line":1},{"index_id":8,"token_group":2,"text":"New","start_char":47,"line":1},{"index_id":9,"token_group":2,"text":"(","start_char":50,"line":1},{"index_id":10,"token_group":3,"text":"true","start_char":51,"line":1},{"index_id":11,"token_group":4,"text":",","start_char":55,"line":1},{"index_id":12,"token_group":5,"text":"false","start_char":57,"line":1},{"index_id":13,"token_group":6,"text":",","start_char":62,"line":1},{"index_id":14,"token_group":7,"text":"true","start_char":64,"line":1},{"index_id":15,"token_group":8,"text":",","start_char":68,"line":1},{"index_id":16,"token_group":9,"text":"true","start_char":70,"line":1},{"index_id":17,"token_group":10,"text":")","start_char":74,"line":1},{"index_id":18,"token_group":11,"text":";","start_char":75,"line":1},{"index_id":19,"token_group":12,"text":"}","start_char":0,"line":2}],"tokens_list":["{","do","Test","Jta","Transaction","With","Propagation","Requires","New","(","true",",","false",",","true",",","true",")",";","}"],"uuid":"28fb2ff6463def225910fb7a65ba85b4"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","sub","Items","Backref","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"Item.java","formatted_lines":["{"," return subItemsBackref;","}"],"function_name":"getSubItemsBackref","function_name_tokens":["get","sub","items","backref"],"id_body_hash":"8be99b9ab59a92ef938a1ca70159fbcd","id_same_identifier_list":[0,1,2,3,3,3,4,5,6],"option_correct":"getSubItemsBackref","options":["getBagOfItems","getCollectionPath","testFlushedAuditRecordsRollback","getSubString","getItems","getRHSAlias","getSubItemsBackref"],"options_nlp":["get bag of items","get collection path","test flushed audit records rollback","get sub string","get items","get rhs alias","get sub items backref"],"options_random":["getRHSAlias","getCollectionPath","testFlushedAuditRecordsRollback"],"options_tfidf":["getBagOfItems","getSubString","getItems"],"project_name":"hibernate-orm","source_code_string":"public List<SubItem> getSubItemsBackref() {\n\t\treturn subItemsBackref;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"sub","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Items","start_char":14,"line":1},{"index_id":4,"token_group":3,"text":"Backref","start_char":19,"line":1},{"index_id":5,"token_group":3,"text":";","start_char":26,"line":1},{"index_id":6,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","sub","Items","Backref",";","}"],"uuid":"1d15ef2a9ed1cb7d6e9f0d27c786b3e8"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","f","Sys","<\/id>",".","<id>","make","Qualified","<\/id>","(","new","<id>","path","<\/id>","(","<id>","get","Absolute","Test","Root","Dir","<\/id>","(","<id>","f","Sys","<\/id>",")",")",")",";","}","<SENTENCE_END\/>"],"file_name":"FileSystemTestHelper.java","formatted_lines":["{"," return fSys.makeQualified(new Path(getAbsoluteTestRootDir(fSys)));","}"],"function_name":"getAbsoluteTestRootPath","function_name_tokens":["get","absolute","test","root","path"],"id_body_hash":"9e34f9fcf63a24abaf6afbf087b419c9","id_same_identifier_list":[0,1,2,3,3,4,5,5,6,7,8,9,10,10,10,10,10,11,12,12,13,14,15,16,17,18],"option_correct":"getAbsoluteTestRootPath","options":["testMergeAclEntriesProvidedDefaultMask","stop","getTestRootPath","getAbsolutePath","getGroupsMax","getAbsoluteTestRootPath","getAbsoluteTestRootDir"],"options_nlp":["test merge acl entries provided default mask","stop","get test root path","get absolute path","get groups max","get absolute test root path","get absolute test root dir"],"options_random":["testMergeAclEntriesProvidedDefaultMask","getGroupsMax","stop"],"options_tfidf":["getAbsolutePath","getTestRootPath","getAbsoluteTestRootDir"],"project_name":"hadoop-common","source_code_string":"public Path getAbsoluteTestRootPath(FileSystem fSys) throws IOException {\n return fSys.makeQualified(new Path(getAbsoluteTestRootDir(fSys)));\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"f","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Sys","start_char":12,"line":1},{"index_id":4,"token_group":3,"text":".","start_char":15,"line":1},{"index_id":5,"token_group":4,"text":"make","start_char":16,"line":1},{"index_id":6,"token_group":5,"text":"Qualified","start_char":20,"line":1},{"index_id":7,"token_group":5,"text":"(","start_char":29,"line":1},{"index_id":8,"token_group":6,"text":"new","start_char":30,"line":1},{"index_id":9,"token_group":7,"text":"path","start_char":34,"line":1},{"index_id":10,"token_group":8,"text":"(","start_char":38,"line":1},{"index_id":11,"token_group":9,"text":"get","start_char":39,"line":1},{"index_id":12,"token_group":10,"text":"Absolute","start_char":42,"line":1},{"index_id":13,"token_group":10,"text":"Test","start_char":50,"line":1},{"index_id":14,"token_group":10,"text":"Root","start_char":54,"line":1},{"index_id":15,"token_group":10,"text":"Dir","start_char":58,"line":1},{"index_id":16,"token_group":10,"text":"(","start_char":61,"line":1},{"index_id":17,"token_group":11,"text":"f","start_char":62,"line":1},{"index_id":18,"token_group":12,"text":"Sys","start_char":63,"line":1},{"index_id":19,"token_group":12,"text":")","start_char":66,"line":1},{"index_id":20,"token_group":13,"text":")","start_char":67,"line":1},{"index_id":21,"token_group":14,"text":")","start_char":68,"line":1},{"index_id":22,"token_group":15,"text":";","start_char":69,"line":1},{"index_id":23,"token_group":16,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","f","Sys",".","make","Qualified","(","new","path","(","get","Absolute","Test","Root","Dir","(","f","Sys",")",")",")",";","}"],"uuid":"e77bc84a55f719c61547e2f3d1d607db"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","settings","<\/id>","<id>","settings","<\/id>","=","<id>","settings","<\/id>",".","<id>","empty","<\/id>",";","<id>","index","Meta","Data","<\/id>","<id>","index","Meta","Data","<\/id>","=","<id>","index","Meta","Data","<\/id>",".","<id>","builder","<\/id>","(","\"_name\"",")",".","<id>","settings","<\/id>","(","<id>","settings","<\/id>",".","<id>","builder","<\/id>","(",")",".","<id>","put","<\/id>","(","<id>","index","Meta","Data","<\/id>",".","<id>","setting","Version","Created","<\/id>",",","<id>","version","<\/id>",".","<id>","current","<\/id>",")",")",".","<id>","number","Of","Shards","<\/id>","(","1",")",".","<id>","number","Of","Replicas","<\/id>","(","0",")",".","<id>","creation","Date","<\/id>","(","<id>","system","<\/id>",".","<id>","current","Time","Millis","<\/id>","(",")",")",".","<id>","build","<\/id>","(",")",";","return","new","<id>","index","Settings","<\/id>","(","<id>","index","Meta","Data","<\/id>",",","<id>","settings","<\/id>",",","<id>","collections","<\/id>",".","<id>","empty","List","<\/id>","(",")",")",";","}","<SENTENCE_END\/>"],"file_name":"FieldDataCacheTests.java","formatted_lines":["{"," Settings settings = Settings.EMPTY;"," IndexMetaData indexMetaData = IndexMetaData.builder(\"_name\")"," .settings(Settings.builder().put(IndexMetaData.SETTING_VERSION_CREATED,"," Version.CURRENT))"," .numberOfShards(1)"," .numberOfReplicas(0)"," .creationDate(System.currentTimeMillis())"," .build();"," return new IndexSettings(indexMetaData, settings, Collections.emptyList());","}"],"function_name":"createIndexSettings","function_name_tokens":["create","index","settings"],"id_body_hash":"eb089fdf294c1cc27f390ece405b6201","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,9,9,10,10,10,11,12,12,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,29,29,30,31,31,31,32,33,34,35,36,37,38,39,39,39,40,41,42,43,44,44,44,45,46,47,48,49,49,50,51,52,53,53,53,54,55,56,57,58,59,60,61,62,63,64,64,65,66,66,66,67,68,69,70,71,72,72,73,74,75,76,77,78],"option_correct":"createIndexSettings","options":["setWaitForCompletion","prepareEnvironment","getInstancesOf","createIndexSettings","indexSettings","createIndex","createSettings"],"options_nlp":["set wait for completion","prepare environment","get instances of","create index settings","index settings","create index","create settings"],"options_random":["setWaitForCompletion","getInstancesOf","prepareEnvironment"],"options_tfidf":["createIndex","createSettings","indexSettings"],"project_name":"elasticsearch","source_code_string":"private IndexSettings createIndexSettings() {\n Settings settings = Settings.EMPTY;\n IndexMetaData indexMetaData = IndexMetaData.builder(\"_name\")\n .settings(Settings.builder().put(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT))\n .numberOfShards(1)\n .numberOfReplicas(0)\n .creationDate(System.currentTimeMillis())\n .build();\n return new IndexSettings(indexMetaData, settings, Collections.emptyList());\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"settings","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"settings","start_char":13,"line":1},{"index_id":3,"token_group":3,"text":"=","start_char":22,"line":1},{"index_id":4,"token_group":4,"text":"settings","start_char":24,"line":1},{"index_id":5,"token_group":5,"text":".","start_char":32,"line":1},{"index_id":6,"token_group":6,"text":"empty","start_char":33,"line":1},{"index_id":7,"token_group":7,"text":";","start_char":38,"line":1},{"index_id":8,"token_group":8,"text":"index","start_char":4,"line":2},{"index_id":9,"token_group":9,"text":"Meta","start_char":9,"line":2},{"index_id":10,"token_group":9,"text":"Data","start_char":13,"line":2},{"index_id":11,"token_group":9,"text":"index","start_char":18,"line":2},{"index_id":12,"token_group":10,"text":"Meta","start_char":23,"line":2},{"index_id":13,"token_group":10,"text":"Data","start_char":27,"line":2},{"index_id":14,"token_group":10,"text":"=","start_char":32,"line":2},{"index_id":15,"token_group":11,"text":"index","start_char":34,"line":2},{"index_id":16,"token_group":12,"text":"Meta","start_char":39,"line":2},{"index_id":17,"token_group":12,"text":"Data","start_char":43,"line":2},{"index_id":18,"token_group":12,"text":".","start_char":47,"line":2},{"index_id":19,"token_group":13,"text":"builder","start_char":48,"line":2},{"index_id":20,"token_group":14,"text":"(","start_char":55,"line":2},{"index_id":21,"token_group":15,"text":"\"_name\"","start_char":56,"line":2},{"index_id":22,"token_group":16,"text":")","start_char":63,"line":2},{"index_id":23,"token_group":17,"text":".","start_char":34,"line":3},{"index_id":24,"token_group":18,"text":"settings","start_char":35,"line":3},{"index_id":25,"token_group":19,"text":"(","start_char":43,"line":3},{"index_id":26,"token_group":20,"text":"settings","start_char":44,"line":3},{"index_id":27,"token_group":21,"text":".","start_char":52,"line":3},{"index_id":28,"token_group":22,"text":"builder","start_char":53,"line":3},{"index_id":29,"token_group":23,"text":"(","start_char":60,"line":3},{"index_id":30,"token_group":24,"text":")","start_char":61,"line":3},{"index_id":31,"token_group":25,"text":".","start_char":62,"line":3},{"index_id":32,"token_group":26,"text":"put","start_char":63,"line":3},{"index_id":33,"token_group":27,"text":"(","start_char":66,"line":3},{"index_id":34,"token_group":28,"text":"index","start_char":67,"line":3},{"index_id":35,"token_group":29,"text":"Meta","start_char":72,"line":3},{"index_id":36,"token_group":29,"text":"Data","start_char":76,"line":3},{"index_id":37,"token_group":29,"text":".","start_char":80,"line":3},{"index_id":38,"token_group":30,"text":"setting","start_char":81,"line":3},{"index_id":39,"token_group":31,"text":"Version","start_char":89,"line":3},{"index_id":40,"token_group":31,"text":"Created","start_char":97,"line":3},{"index_id":41,"token_group":31,"text":",","start_char":104,"line":3},{"index_id":42,"token_group":32,"text":"version","start_char":44,"line":4},{"index_id":43,"token_group":33,"text":".","start_char":51,"line":4},{"index_id":44,"token_group":34,"text":"current","start_char":52,"line":4},{"index_id":45,"token_group":35,"text":")","start_char":59,"line":4},{"index_id":46,"token_group":36,"text":")","start_char":60,"line":4},{"index_id":47,"token_group":37,"text":".","start_char":34,"line":5},{"index_id":48,"token_group":38,"text":"number","start_char":35,"line":5},{"index_id":49,"token_group":39,"text":"Of","start_char":41,"line":5},{"index_id":50,"token_group":39,"text":"Shards","start_char":43,"line":5},{"index_id":51,"token_group":39,"text":"(","start_char":49,"line":5},{"index_id":52,"token_group":40,"text":"1","start_char":50,"line":5},{"index_id":53,"token_group":41,"text":")","start_char":51,"line":5},{"index_id":54,"token_group":42,"text":".","start_char":34,"line":6},{"index_id":55,"token_group":43,"text":"number","start_char":35,"line":6},{"index_id":56,"token_group":44,"text":"Of","start_char":41,"line":6},{"index_id":57,"token_group":44,"text":"Replicas","start_char":43,"line":6},{"index_id":58,"token_group":44,"text":"(","start_char":51,"line":6},{"index_id":59,"token_group":45,"text":"0","start_char":52,"line":6},{"index_id":60,"token_group":46,"text":")","start_char":53,"line":6},{"index_id":61,"token_group":47,"text":".","start_char":34,"line":7},{"index_id":62,"token_group":48,"text":"creation","start_char":35,"line":7},{"index_id":63,"token_group":49,"text":"Date","start_char":43,"line":7},{"index_id":64,"token_group":49,"text":"(","start_char":47,"line":7},{"index_id":65,"token_group":50,"text":"system","start_char":48,"line":7},{"index_id":66,"token_group":51,"text":".","start_char":54,"line":7},{"index_id":67,"token_group":52,"text":"current","start_char":55,"line":7},{"index_id":68,"token_group":53,"text":"Time","start_char":62,"line":7},{"index_id":69,"token_group":53,"text":"Millis","start_char":66,"line":7},{"index_id":70,"token_group":53,"text":"(","start_char":72,"line":7},{"index_id":71,"token_group":54,"text":")","start_char":73,"line":7},{"index_id":72,"token_group":55,"text":")","start_char":74,"line":7},{"index_id":73,"token_group":56,"text":".","start_char":34,"line":8},{"index_id":74,"token_group":57,"text":"build","start_char":35,"line":8},{"index_id":75,"token_group":58,"text":"(","start_char":40,"line":8},{"index_id":76,"token_group":59,"text":")","start_char":41,"line":8},{"index_id":77,"token_group":60,"text":";","start_char":42,"line":8},{"index_id":78,"token_group":61,"text":"return","start_char":4,"line":9},{"index_id":79,"token_group":62,"text":"new","start_char":11,"line":9},{"index_id":80,"token_group":63,"text":"index","start_char":15,"line":9},{"index_id":81,"token_group":64,"text":"Settings","start_char":20,"line":9},{"index_id":82,"token_group":64,"text":"(","start_char":28,"line":9},{"index_id":83,"token_group":65,"text":"index","start_char":29,"line":9},{"index_id":84,"token_group":66,"text":"Meta","start_char":34,"line":9},{"index_id":85,"token_group":66,"text":"Data","start_char":38,"line":9},{"index_id":86,"token_group":66,"text":",","start_char":42,"line":9},{"index_id":87,"token_group":67,"text":"settings","start_char":44,"line":9},{"index_id":88,"token_group":68,"text":",","start_char":52,"line":9},{"index_id":89,"token_group":69,"text":"collections","start_char":54,"line":9},{"index_id":90,"token_group":70,"text":".","start_char":65,"line":9},{"index_id":91,"token_group":71,"text":"empty","start_char":66,"line":9},{"index_id":92,"token_group":72,"text":"List","start_char":71,"line":9},{"index_id":93,"token_group":72,"text":"(","start_char":75,"line":9},{"index_id":94,"token_group":73,"text":")","start_char":76,"line":9},{"index_id":95,"token_group":74,"text":")","start_char":77,"line":9},{"index_id":96,"token_group":75,"text":";","start_char":78,"line":9},{"index_id":97,"token_group":76,"text":"}","start_char":0,"line":10}],"tokens_list":["{","settings","settings","=","settings",".","empty",";","index","Meta","Data","index","Meta","Data","=","index","Meta","Data",".","builder","(","\"_name\"",")",".","settings","(","settings",".","builder","(",")",".","put","(","index","Meta","Data",".","setting","Version","Created",",","version",".","current",")",")",".","number","Of","Shards","(","1",")",".","number","Of","Replicas","(","0",")",".","creation","Date","(","system",".","current","Time","Millis","(",")",")",".","build","(",")",";","return","new","index","Settings","(","index","Meta","Data",",","settings",",","collections",".","empty","List","(",")",")",";","}"],"uuid":"eb309a76f46097c51b0703bd9999ea2a"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","working","Context","Manager","<\/id>",".","<id>","get","Instance","<\/id>","(","<id>","get","Project","<\/id>","(",")",")",";","}","<SENTENCE_END\/>"],"file_name":"ContextTest.java","formatted_lines":["{"," return WorkingContextManager.getInstance(getProject());","}"],"function_name":"getContextManager","function_name_tokens":["get","context","manager"],"id_body_hash":"fe2224d489752785400088e12ac0f5cc","id_same_identifier_list":[0,1,2,3,3,3,4,5,5,6,7,7,8,9,10,11,12,13],"option_correct":"getContextManager","options":["shouldBeAbstractImpl","testTransformMethodCalling","getManager","hasFinishedTests","getContextManager","getFileManager","getContext"],"options_nlp":["should be abstract impl","test transform method calling","get manager","has finished tests","get context manager","get file manager","get context"],"options_random":["shouldBeAbstractImpl","testTransformMethodCalling","hasFinishedTests"],"options_tfidf":["getManager","getContext","getFileManager"],"project_name":"intellij-community","source_code_string":"private WorkingContextManager getContextManager() {\n return WorkingContextManager.getInstance(getProject());\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"working","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"Context","start_char":18,"line":1},{"index_id":4,"token_group":3,"text":"Manager","start_char":25,"line":1},{"index_id":5,"token_group":3,"text":".","start_char":32,"line":1},{"index_id":6,"token_group":4,"text":"get","start_char":33,"line":1},{"index_id":7,"token_group":5,"text":"Instance","start_char":36,"line":1},{"index_id":8,"token_group":5,"text":"(","start_char":44,"line":1},{"index_id":9,"token_group":6,"text":"get","start_char":45,"line":1},{"index_id":10,"token_group":7,"text":"Project","start_char":48,"line":1},{"index_id":11,"token_group":7,"text":"(","start_char":55,"line":1},{"index_id":12,"token_group":8,"text":")","start_char":56,"line":1},{"index_id":13,"token_group":9,"text":")","start_char":57,"line":1},{"index_id":14,"token_group":10,"text":";","start_char":58,"line":1},{"index_id":15,"token_group":11,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","working","Context","Manager",".","get","Instance","(","get","Project","(",")",")",";","}"],"uuid":"445c4707195d8237f643c52922b15978"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","","Class","Name","Id","<\/id>","=","<id>","class","Name","Id","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"RatingsEntrySoap.java","formatted_lines":["{"," _classNameId = classNameId;","}"],"function_name":"setClassNameId","function_name_tokens":["set","class","name","id"],"id_body_hash":"26753397f918c63aba66d2cbac5d836a","id_same_identifier_list":[0,1,2,2,2,2,3,4,4,4,5,6,7],"option_correct":"setClassNameId","options":["getCreateSQL","setClassName","getErrorCountByPortlet","setClassNameId","setImageCssClass","setKaleoClassName","setClassNamePersistence"],"options_nlp":["get create sql","set class name","get error count by portlet","set class name id","set image css class","set kaleo class name","set class name persistence"],"options_random":["setImageCssClass","getCreateSQL","getErrorCountByPortlet"],"options_tfidf":["setClassName","setKaleoClassName","setClassNamePersistence"],"project_name":"liferay-portal","source_code_string":"public void setClassNameId(long classNameId) {\n\t\t_classNameId = classNameId;\n\t}","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"","start_char":1,"line":0},{"index_id":2,"token_group":2,"text":"Class","start_char":5,"line":1},{"index_id":3,"token_group":2,"text":"Name","start_char":10,"line":1},{"index_id":4,"token_group":2,"text":"Id","start_char":14,"line":1},{"index_id":5,"token_group":2,"text":"=","start_char":17,"line":1},{"index_id":6,"token_group":3,"text":"class","start_char":19,"line":1},{"index_id":7,"token_group":4,"text":"Name","start_char":24,"line":1},{"index_id":8,"token_group":4,"text":"Id","start_char":28,"line":1},{"index_id":9,"token_group":4,"text":";","start_char":30,"line":1},{"index_id":10,"token_group":5,"text":"}","start_char":0,"line":2}],"tokens_list":["{","","Class","Name","Id","=","class","Name","Id",";","}"],"uuid":"d2e08f21fd817fc0d7c15d568249edd1"},{"cap_original_tokens":["<SENTENCE_START>","{","return","<id>","n","<\/id>","==","0","?","1",":","10","*","<id>","n","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"TestDiff.java","formatted_lines":["{"," return n == 0 ? 1 : 10 * n;","}"],"function_name":"nextStep","function_name_tokens":["next","step"],"id_body_hash":"7f4fbbe249e1cbf912a9d3ac8db7217b","id_same_identifier_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"option_correct":"nextStep","options":["createKeyProviderCryptoExtension","next","nextStep","getTag","getNextId","testInfoSlash","nextState"],"options_nlp":["create key provider crypto extension","next","next step","get tag","get next id","test info slash","next state"],"options_random":["getTag","createKeyProviderCryptoExtension","testInfoSlash"],"options_tfidf":["nextState","getNextId","next"],"project_name":"hadoop-common","source_code_string":"static int nextStep(int n) {\n return n == 0? 1: 10*n;\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":0,"line":0},{"index_id":1,"token_group":1,"text":"return","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"n","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":"==","start_char":13,"line":1},{"index_id":4,"token_group":4,"text":"0","start_char":16,"line":1},{"index_id":5,"token_group":5,"text":"?","start_char":18,"line":1},{"index_id":6,"token_group":6,"text":"1","start_char":20,"line":1},{"index_id":7,"token_group":7,"text":":","start_char":22,"line":1},{"index_id":8,"token_group":8,"text":"10","start_char":24,"line":1},{"index_id":9,"token_group":9,"text":"*","start_char":27,"line":1},{"index_id":10,"token_group":10,"text":"n","start_char":29,"line":1},{"index_id":11,"token_group":11,"text":";","start_char":30,"line":1},{"index_id":12,"token_group":12,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","n","==","0","?","1",":","10","*","n",";","}"],"uuid":"db5de346b8b9c677660143e26454481c"}]