-
Notifications
You must be signed in to change notification settings - Fork 1
/
experiment_0000096.json
1 lines (1 loc) · 61.7 KB
/
experiment_0000096.json
1
[{"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>","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>","{","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>","{","return","<id>","parameters","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"Build.java","formatted_lines":["{"," return parameters;","}"],"function_name":"getParameters","function_name_tokens":["get","parameters"],"id_body_hash":"6ecdc584967f1d74349f281072d46078","id_same_identifier_list":[0,1,2,3,4,5,6],"option_correct":"getParameters","options":["isDebugEnabled","get","getBuildOperationParameters","getParameters","getCandidateClassFiles","getDaemonParameters","getHeapSizeMb"],"options_nlp":["is debug enabled","get","get build operation parameters","get parameters","get candidate class files","get daemon parameters","get heap size mb"],"options_random":["isDebugEnabled","getCandidateClassFiles","getHeapSizeMb"],"options_tfidf":["get","getDaemonParameters","getBuildOperationParameters"],"project_name":"gradle","source_code_string":"public BuildActionParameters getParameters() {\n return parameters;\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":"parameters","start_char":11,"line":1},{"index_id":3,"token_group":3,"text":";","start_char":21,"line":1},{"index_id":4,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","parameters",";","}"],"uuid":"16513fa597acccbab4908219c98e2778"},{"cap_original_tokens":["<SENTENCE_START>","{","<id>","create","Project","Pom","<\/id>","(","\"<groupId>test<\/groupId>\"","+","\"<artifactId>project<\/artifactId>\"","+","\"<version>1<\/version>\"","+","\"<build>\"","+","\" <plugins>\"","+","\" <plugin>\"","+","\" <artifactId>maven-compiler-plugin<\/artifactId>\"","+","\" <configuration>\"","+","\" <includes>\"","+","\" <bar a<caret> \/>\"","+","\" <\/includes>\"","+","\" <\/configuration>\"","+","\" <\/plugin>\"","+","\" <\/plugins>\"","+","\"<\/build>\"",")",";","<id>","assert","Completion","Variants","<\/id>","(","<id>","my","Project","Pom","<\/id>",")",";","}","<SENTENCE_END\/>"],"file_name":"MavenPluginCompletionAndResolutionTest.java","formatted_lines":["public void testTellNobodyThatIdeaIsRulezzz() throws Exception {"," createProjectPom(\"<groupId>test<\/groupId>\" +"," \"<artifactId>project<\/artifactId>\" +"," \"<version>1<\/version>\" +",""," \"<build>\" +"," \" <plugins>\" +"," \" <plugin>\" +"," \" <artifactId>maven-compiler-plugin<\/artifactId>\" +"," \" <configuration>\" +"," \" <includes>\" +"," \" <bar a<caret> \/>\" +"," \" <\/includes>\" +"," \" <\/configuration>\" +"," \" <\/plugin>\" +"," \" <\/plugins>\" +"," \"<\/build>\");",""," assertCompletionVariants(myProjectPom);","}"],"function_name":"testTellNobodyThatIdeaIsRulezzz","function_name_tokens":["test","tell","nobody","that","idea","is","rulezzz"],"id_body_hash":"9571d39c28fccb10bec08b488b207166","id_same_identifier_list":[0,1,2,2,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,35,35,36,37,37,37,38,39,40,41],"option_correct":"testTellNobodyThatIdeaIsRulezzz","options":["testNotNullParameterOverridesNotAnnotated","isIdeaProject","testTellNobodyThatIdeaIsRulezzz","isTest","testAssertThatMatcher","prepareProjectStructure","printBlocks"],"options_nlp":["test not null parameter overrides not annotated","is idea project","test tell nobody that idea is rulezzz","is test","test assert that matcher","prepare project structure","print blocks"],"options_random":["printBlocks","prepareProjectStructure","testNotNullParameterOverridesNotAnnotated"],"options_tfidf":["isTest","isIdeaProject","testAssertThatMatcher"],"project_name":"intellij-community","source_code_string":"public void testTellNobodyThatIdeaIsRulezzz() throws Exception {\n createProjectPom(\"<groupId>test<\/groupId>\" +\n \"<artifactId>project<\/artifactId>\" +\n \"<version>1<\/version>\" +\n\n \"<build>\" +\n \" <plugins>\" +\n \" <plugin>\" +\n \" <artifactId>maven-compiler-plugin<\/artifactId>\" +\n \" <configuration>\" +\n \" <includes>\" +\n \" <bar a<caret> \/>\" +\n \" <\/includes>\" +\n \" <\/configuration>\" +\n \" <\/plugin>\" +\n \" <\/plugins>\" +\n \"<\/build>\");\n\n assertCompletionVariants(myProjectPom);\n }","tokens_in_code":[{"index_id":0,"token_group":0,"text":"{","start_char":38,"line":0},{"index_id":1,"token_group":1,"text":"create","start_char":4,"line":1},{"index_id":2,"token_group":2,"text":"Project","start_char":10,"line":1},{"index_id":3,"token_group":2,"text":"Pom","start_char":17,"line":1},{"index_id":4,"token_group":2,"text":"(","start_char":20,"line":1},{"index_id":5,"token_group":3,"text":"\"<groupId>test<\/groupId>\"","start_char":21,"line":1},{"index_id":6,"token_group":4,"text":"+","start_char":47,"line":1},{"index_id":7,"token_group":5,"text":"\"<artifactId>project<\/artifactId>\"","start_char":21,"line":2},{"index_id":8,"token_group":6,"text":"+","start_char":56,"line":2},{"index_id":9,"token_group":7,"text":"\"<version>1<\/version>\"","start_char":21,"line":3},{"index_id":10,"token_group":8,"text":"+","start_char":44,"line":3},{"index_id":11,"token_group":9,"text":"\"<build>\"","start_char":21,"line":5},{"index_id":12,"token_group":10,"text":"+","start_char":31,"line":5},{"index_id":13,"token_group":11,"text":"\" <plugins>\"","start_char":21,"line":6},{"index_id":14,"token_group":12,"text":"+","start_char":35,"line":6},{"index_id":15,"token_group":13,"text":"\" <plugin>\"","start_char":21,"line":7},{"index_id":16,"token_group":14,"text":"+","start_char":36,"line":7},{"index_id":17,"token_group":15,"text":"\" <artifactId>maven-compiler-plugin<\/artifactId>\"","start_char":21,"line":8},{"index_id":18,"token_group":16,"text":"+","start_char":76,"line":8},{"index_id":19,"token_group":17,"text":"\" <configuration>\"","start_char":21,"line":9},{"index_id":20,"token_group":18,"text":"+","start_char":45,"line":9},{"index_id":21,"token_group":19,"text":"\" <includes>\"","start_char":21,"line":10},{"index_id":22,"token_group":20,"text":"+","start_char":42,"line":10},{"index_id":23,"token_group":21,"text":"\" <bar a<caret> \/>\"","start_char":21,"line":11},{"index_id":24,"token_group":22,"text":"+","start_char":50,"line":11},{"index_id":25,"token_group":23,"text":"\" <\/includes>\"","start_char":21,"line":12},{"index_id":26,"token_group":24,"text":"+","start_char":43,"line":12},{"index_id":27,"token_group":25,"text":"\" <\/configuration>\"","start_char":21,"line":13},{"index_id":28,"token_group":26,"text":"+","start_char":46,"line":13},{"index_id":29,"token_group":27,"text":"\" <\/plugin>\"","start_char":21,"line":14},{"index_id":30,"token_group":28,"text":"+","start_char":37,"line":14},{"index_id":31,"token_group":29,"text":"\" <\/plugins>\"","start_char":21,"line":15},{"index_id":32,"token_group":30,"text":"+","start_char":36,"line":15},{"index_id":33,"token_group":31,"text":"\"<\/build>\"","start_char":21,"line":16},{"index_id":34,"token_group":32,"text":")","start_char":31,"line":16},{"index_id":35,"token_group":33,"text":";","start_char":32,"line":16},{"index_id":36,"token_group":34,"text":"assert","start_char":4,"line":18},{"index_id":37,"token_group":35,"text":"Completion","start_char":10,"line":18},{"index_id":38,"token_group":35,"text":"Variants","start_char":20,"line":18},{"index_id":39,"token_group":35,"text":"(","start_char":28,"line":18},{"index_id":40,"token_group":36,"text":"my","start_char":29,"line":18},{"index_id":41,"token_group":37,"text":"Project","start_char":31,"line":18},{"index_id":42,"token_group":37,"text":"Pom","start_char":38,"line":18},{"index_id":43,"token_group":37,"text":")","start_char":41,"line":18},{"index_id":44,"token_group":38,"text":";","start_char":42,"line":18},{"index_id":45,"token_group":39,"text":"}","start_char":0,"line":19}],"tokens_list":["{","create","Project","Pom","(","\"<groupId>test<\/groupId>\"","+","\"<artifactId>project<\/artifactId>\"","+","\"<version>1<\/version>\"","+","\"<build>\"","+","\" <plugins>\"","+","\" <plugin>\"","+","\" <artifactId>maven-compiler-plugin<\/artifactId>\"","+","\" <configuration>\"","+","\" <includes>\"","+","\" <bar a<caret> \/>\"","+","\" <\/includes>\"","+","\" <\/configuration>\"","+","\" <\/plugin>\"","+","\" <\/plugins>\"","+","\"<\/build>\"",")",";","assert","Completion","Variants","(","my","Project","Pom",")",";","}"],"uuid":"791562b2dd9a55dfba6ce42e724878d8"},{"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>","{","return","<id>","","Show","Manage","Site","Memberships","Icon","<\/id>",";","}","<SENTENCE_END\/>"],"file_name":"ThemeDisplay.java","formatted_lines":["{"," return _showManageSiteMembershipsIcon;","}"],"function_name":"isShowManageSiteMembershipsIcon","function_name_tokens":["is","show","manage","site","memberships","icon"],"id_body_hash":"d6fa8c92da3841f377a35c5e95998a83","id_same_identifier_list":[0,1,2,3,3,3,3,3,3,4,5,6],"option_correct":"isShowManageSiteMembershipsIcon","options":["setShowManageSiteMembershipsIcon","setScope","_highlight","isShowSiteSettingsIcon","isShowManageSiteMembershipsIcon","isShowSiteContentIcon","setManager"],"options_nlp":["set show manage site memberships icon","set scope"," highlight","is show site settings icon","is show manage site memberships icon","is show site content icon","set manager"],"options_random":["setScope","_highlight","setManager"],"options_tfidf":["isShowSiteSettingsIcon","setShowManageSiteMembershipsIcon","isShowSiteContentIcon"],"project_name":"liferay-portal","source_code_string":"@Deprecated\n\tpublic boolean isShowManageSiteMembershipsIcon() {\n\t\treturn _showManageSiteMembershipsIcon;\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":"","start_char":10,"line":1},{"index_id":3,"token_group":3,"text":"Show","start_char":12,"line":1},{"index_id":4,"token_group":3,"text":"Manage","start_char":16,"line":1},{"index_id":5,"token_group":3,"text":"Site","start_char":22,"line":1},{"index_id":6,"token_group":3,"text":"Memberships","start_char":26,"line":1},{"index_id":7,"token_group":3,"text":"Icon","start_char":37,"line":1},{"index_id":8,"token_group":3,"text":";","start_char":41,"line":1},{"index_id":9,"token_group":4,"text":"}","start_char":0,"line":2}],"tokens_list":["{","return","","Show","Manage","Site","Memberships","Icon",";","}"],"uuid":"12e0de300aebd753782cd1ba90587a32"},{"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>","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>","{","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>","{","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>","{","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>","{","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>","{","<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>","","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>","{","<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>","","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>","{","<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>","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"}]