query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
/ /Symbol output visitor /
private void outputSymbol(RebaseFile rf,RebaseJavaSymbol rs,IvyXmlWriter xw) { rs.outputNameData(rf,xw); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String symbol();", "Character symbolStackWrite();", "@Override\n public String visit(Label n) {\n // 注意进入这里的只会有开头的标识 Label\n // 屏蔽 Procedure/CJUMP/JUMP/SimpleExp\n String _ret = null;\n Global.outputString += n.f0.tokenImage + \":\";\n return _ret;\n }", "public abstr...
[ "0.68102914", "0.67927533", "0.67514706", "0.66608644", "0.66408557", "0.64843106", "0.6482354", "0.6422899", "0.6404931", "0.6359241", "0.62970406", "0.62883687", "0.6274971", "0.62656707", "0.62324435", "0.62296206", "0.62233156", "0.6213019", "0.6195711", "0.617837", "0.61...
0.6616246
5
/ /Handle outputing container for locations /
@Override public void outputContainer(RebaseFile rf,int soff,int eoff,IvyXmlWriter xw) { resolve(); RebaseJavaSymbol sym = null; for (RebaseJavaFile jf : file_nodes) { if (jf.getFile() != rf) continue; sym = getContainer(jf.getAstNode(),soff,eoff); break; } if (sym == null) return; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getAllContainers() {\n AID ams = getAMS();\n QueryPlatformLocationsAction queryPlatformLocationsAction = new QueryPlatformLocationsAction();\n sendRequest(new Action(ams, queryPlatformLocationsAction));\n MessageTemplate mt = MessageTemplate.and(\n MessageTem...
[ "0.59594065", "0.5714551", "0.5351065", "0.5319289", "0.5300604", "0.5287713", "0.5286283", "0.52485377", "0.5191154", "0.50331205", "0.5030967", "0.5006518", "0.49884096", "0.49617374", "0.49559698", "0.49287876", "0.49170426", "0.49168617", "0.4914674", "0.49048764", "0.490...
0.46704462
42
In this test, we set five test to test 1. valid transactions to show basic functions 2.Test doublespent 3.invalid output number(wrong number of coins to transfer) 4.invalid signature 5.Test the input not exist in the UtxoPool In this part, I use the function "assertTrue", and if there is not error showed, it means that...
@Test public void TxHandlerTestFirst() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException { // generate key pairs, simulate initial tx from scrooge to alice System.out.println("-----------------------------------------------------------------"); System.out.println("Test...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void TxHandlerTestThird() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException {\n // generate key pairs, simulate initial tx from scrooge to alice\n System.out.println(\"-----------------------------------------------------------------\");\n System.out.pr...
[ "0.7702963", "0.7399558", "0.73374814", "0.706186", "0.7002147", "0.69788957", "0.6847111", "0.68333465", "0.6733663", "0.66092527", "0.65595526", "0.64929694", "0.63925356", "0.63553905", "0.63483876", "0.63464904", "0.63406897", "0.6333181", "0.6325471", "0.6310789", "0.630...
0.73067224
3
test case 2: Test doublespent tx0: Scrooge > Scrooge 25coins [Create Coins] tx1: Scrooge > Alice 20coins [Pay Coins] tx2: Scrooge > Bob 20coins [Doublespending]
@Test public void TxHandlerTestSecond() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException { // generate key pairs, simulate initial tx from scrooge to alice System.out.println("-----------------------------------------------------------------"); System.out.println("Tes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testNoDoubleSpending() {\n\n // Creates 100 coins to Alice\n Transaction createCoinTx = new Transaction();\n createCoinTx.addOutput(100, kpAlice.getPublic());\n createCoinTx.finalize();\n // Output of createCoinTx is put in UTXO pool\n UTXOPool utxoP...
[ "0.7574216", "0.6741781", "0.66607285", "0.6639904", "0.6562323", "0.62420404", "0.61481655", "0.61317044", "0.61196566", "0.61055547", "0.60097104", "0.59729046", "0.5955936", "0.59395343", "0.5910849", "0.58859533", "0.58730686", "0.5867612", "0.5863038", "0.58448356", "0.5...
0.73054713
1
test case 3: invalid output number(wrong number of coins to transfer) tx0: Scrooge > Scrooge 25coins [Create Coins] tx1: Scrooge > Alice 20coins [Pay Coins] tx2: Alice > Bob 5coins [Invalid output number] tx3: Alice > Bob 90coins [Invalid output number]
@Test public void TxHandlerTestThird() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException { // generate key pairs, simulate initial tx from scrooge to alice System.out.println("-----------------------------------------------------------------"); System.out.println("Test...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testValidOutputValues() {\n\n // Creates 100 coins to Alice\n Transaction createCoinTx = new Transaction();\n createCoinTx.addOutput(100, kpAlice.getPublic());\n createCoinTx.finalize();\n // Output of createCoinTx is put in UTXO pool\n UTXOPool utxo...
[ "0.7064645", "0.68087924", "0.67300135", "0.66016626", "0.6521621", "0.65011823", "0.64651334", "0.6450256", "0.629702", "0.62746155", "0.6258908", "0.62058234", "0.61737585", "0.6139556", "0.6111359", "0.6110384", "0.6088166", "0.6072749", "0.60695267", "0.6058255", "0.60363...
0.7596753
0
test case 4: invalid signature signature is not valid tx0: Scrooge > Scrooge 25coins [Create Coins] tx1: Scrooge > Alice 20coins [Pay Coins] tx2: Alice > Bob 20coins [Signed by Bob]
@Test public void TxHandlerTestForth() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException { // generate key pairs, simulate initial tx from scrooge to alice System.out.println("-----------------------------------------------------------------"); System.out.println("Test...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testValidSig() {\n\n // Creates 100 coins to Alice\n Transaction createCoinTx = new Transaction();\n createCoinTx.addOutput(100, kpAlice.getPublic());\n createCoinTx.finalize();\n // Output of createCoinTx is put in UTXO pool\n UTXOPool utxoPool = ne...
[ "0.8214013", "0.7764443", "0.7527805", "0.7420536", "0.73695755", "0.71999747", "0.7148125", "0.70826924", "0.70412064", "0.6991595", "0.6953969", "0.6926663", "0.68739545", "0.64330894", "0.6248677", "0.6204799", "0.61746883", "0.61279976", "0.609465", "0.6044858", "0.602179...
0.75743836
2
test case 5: Test the input not exist in the UtxoPool tx0: Scrooge > Scrooge 25coins [Create Coins] tx1: Scrooge > Alice 20coins [Pay Coins NOT added to UTXO pool due to accidents] tx2: Alice > Bob 15coins [Pay Coins Previous Tx NOT in UTXO pool]
@Test public void TxHandlerTestFifth() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException { // generate key pairs, simulate initial tx from scrooge to alice System.out.println("-----------------------------------------------------------------"); System.out.println("Test...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void TxHandlerTestThird() throws NoSuchAlgorithmException, SignatureException, InvalidKeyException {\n // generate key pairs, simulate initial tx from scrooge to alice\n System.out.println(\"-----------------------------------------------------------------\");\n System.out.pr...
[ "0.72274995", "0.71212155", "0.667702", "0.66446173", "0.6514525", "0.64363116", "0.64208394", "0.6392885", "0.6157644", "0.5708065", "0.5674238", "0.5596965", "0.55162436", "0.55059946", "0.5481297", "0.5477984", "0.5476718", "0.54681015", "0.544454", "0.54280865", "0.542347...
0.7573722
0
Initialize our new UI component
@Override protected void init(VaadinRequest request) { final ClosableAccordion component = new ClosableAccordion() { { setSizeUndefined(); setWidth("100%"); for (numTab = 1; numTab < 4; numTab++) { Tab tab = addTab(new Vertical...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UI() {\n initComponents();\n }", "private void initUI() {\n }", "public void init()\n {\n buildUI(getContentPane());\n }", "protected void initialize()\n {\n uiFactory.configureUIComponent(this, UI_PREFIX);\n\n initializeFields();\n initializeLabels();...
[ "0.8051734", "0.80307454", "0.79322994", "0.7798693", "0.776069", "0.7695912", "0.768819", "0.76034015", "0.75913465", "0.75913465", "0.7584113", "0.75382036", "0.7505128", "0.7486792", "0.74551654", "0.7448896", "0.7442558", "0.7436078", "0.74053717", "0.7397952", "0.7389507...
0.0
-1
Constructor for the FormPoule object
public FormJoueur(Competition competition) { super("Liste des joueurs de la compétition", true, true); //setClosable(false); this.competition = competition; competition.addObserver(this); JoueursTableModel modelJoueur = new JoueursTableModel(); sorter = new TableSorter(modelJoueur); tableJoueurs = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FormFieldsReport() {}", "public Formulario() {\n initComponents();\n }", "public Form(){\n\t\ttypeOfLicenseApp = new TypeOfLicencsApplication();\n\t\toccupationalTrainingList = new ArrayList<OccupationalTraining>();\n\t\taffiadavit = new Affidavit();\n\t\tapplicationForReciprocity = new Applic...
[ "0.7326562", "0.71555567", "0.71442914", "0.7132011", "0.7062115", "0.70453507", "0.70449924", "0.7032036", "0.70307624", "0.7021171", "0.7019508", "0.6988696", "0.695626", "0.6925731", "0.69208443", "0.68815947", "0.6881579", "0.688107", "0.6843893", "0.68191284", "0.6803832...
0.0
-1
Description of the Method
public void selectDefaultValue() { cbCategorie.setSelectedIndex(1); cbCltOld.setSelectedIndex(0); cbClub.setSelectedIndex(0); rbLincencie.setSelected(true); rbMasculin.setSelected(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void ajouterJoueur(ActionEvent e) { tableJoueurs.scrollRectToVisible(tableJoueurs.getCellRect(tableJoueurs.getRowCount()-1,1,true)); Joueur j = getJoueur(); if (j == null) { // afficher un message d'erreur return; } boolean ajout = ((JoueursTableModel)sorter.getTableModel()).addJoueur(j); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void effacerSaisie() { tfCltNew.setText(""); tfNumero.setText(""); tfNom.setText(""); tfPrenom.setText(""); selectDefaultValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void chargerListe(ActionEvent evt) { JFileChooser fileChooser = new JFileChooser(); MyFileFilter filter = new MyFileFilter(); filter.addExtension("xml"); fileChooser.setFileFilter(filter); fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); int returnVal = fileChooser.showOpenDialog(FormJou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void sauverListe(ActionEvent evt) { JFileChooser fileChooser = new JFileChooser(); MyFileFilter filter = new MyFileFilter(); filter.addExtension("xml"); fileChooser.setFileFilter(filter); fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); int returnVal = fileChooser.showOpenDialog(FormJoue...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void supprimerJoueur(ActionEvent e) { int index = tableJoueurs.getSelectedRow(); index = sorter.modelIndex(index); if (index != -1) { ((JoueursTableModel)sorter.getTableModel()).removeJoueur(index); ((JoueursTableModel)sorter.getTableModel()).fireTableDataChanged(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void clearParticipation(ActionEvent e) { ArrayList joueurs = ((JoueursTableModel)sorter.getTableModel()).getJoueurs(); for (Iterator iter = joueurs.iterator(); iter.hasNext();) { Joueur j = (Joueur) iter.next(); j.setNbParticipation(0); } ((Joue...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Description of the Method
public void selectionJoueurChanged(ListSelectionEvent e) { if(tableJoueurs.getRowCount()<=0) return; int index = tableJoueurs.getSelectedRow(); if (index == -1) { effacerSaisie(); return; } index = sorter.modelIndex(index); Joueur j = ((JoueursTableModel)sorter.getTableModel()).getJou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void method(){}", "@Overri...
[ "0.7217758", "0.68454057", "0.68454057", "0.6830933", "0.67493093", "0.6695145", "0.6556487", "0.65147936", "0.64617175", "0.644865", "0.6421961", "0.6410508", "0.6398772", "0.63464755", "0.63173974", "0.63173974", "0.628983", "0.6287181", "0.6277629", "0.62759244", "0.626927...
0.0
-1
Constructs a ParamException with the specified detail message. A detail message is a String that describes this particular exception.
public ParamException( String msg ) { super( msg ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ParameterException(String message) {\n\t\tsuper(message);\n\t}", "public InvalidParameterValueException(String message) {\n super(message);\n }", "public ParameterException(String message, Exception e) {\n\t\tsuper(message, e);\n\t}", "public IllegalParameterException(final String message) {...
[ "0.71335393", "0.67999786", "0.65879434", "0.65568686", "0.62319964", "0.6031298", "0.5954662", "0.5952979", "0.59056985", "0.5891376", "0.58859587", "0.5844585", "0.57993263", "0.57535225", "0.5735159", "0.57318807", "0.5725102", "0.5641071", "0.5639179", "0.56241953", "0.56...
0.7513908
0
Returns a short description of the ParamException.
public String toString() { return getMessage(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ParamException( String msg ) {\n\t\tsuper( msg );\n\t}", "public ParameterException(String message) {\n\t\tsuper(message);\n\t}", "@Override public String toString(){\n return \"Logic Parameter Exception\";\n }", "public ParameterException(String message, Exception e) {\n\t\tsuper(message, e);\n\t...
[ "0.763778", "0.7018743", "0.67742026", "0.660596", "0.66012716", "0.66012716", "0.65235525", "0.65136385", "0.6504392", "0.65002066", "0.6345382", "0.61296594", "0.60664725", "0.5986146", "0.5975166", "0.59491116", "0.58764344", "0.58764344", "0.584738", "0.5765119", "0.57517...
0.0
-1
loadDataFromDB Uses data from database to fill in the fields in the layout.
public void loadDataFromDB() { if(user == null) { return; } decodeImage(user.getProfilePic(), imageView); usernameTV.setText(user.getUserID()); emailTV.setText(user.getEmail()); followingTV.setText(Integer.toString(user.getFollowingList().size())); fol...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadDataFromDatabase() {\n mSwipeRefreshLayout.setRefreshing(true);\n mPresenter.loadDataFromDatabase();\n }", "public void loadData() {\n if (this.model != null) {\n\n this.dataLayout.setVisibility(View.VISIBLE);\n this.emptyText.setVisibility(View.GONE...
[ "0.7260102", "0.6645784", "0.64370185", "0.6426221", "0.6421659", "0.64053905", "0.6360159", "0.6341319", "0.62651825", "0.62519836", "0.6236174", "0.62215346", "0.61851406", "0.6165462", "0.61590314", "0.614887", "0.614887", "0.6140092", "0.6133414", "0.6129755", "0.61131084...
0.67508364
1
editProfile Is called when the user presses the edit button. It handles the dialog window that allows the user to change their profile picture and username.
public void editProfile() { dialog = new Dialog(getContext()); dialog.setContentView(R.layout.edit_profile); editUsername = dialog.findViewById(R.id.tv_uname); TextView editEmail = dialog.findViewById(R.id.tv_address); editImage = dialog.findViewById(R.id.imgUser); edit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void editProfile() {\n\n\t\tAccount account = getInputOfUsersAccount();\n\t\tSystem.out.println(account.getUser().toString());\n\n\t\taccount = userBo.handleProfileOption(account);\n\n\t\tif (userDAO.editProfile(account))\n\t\t\tSystem.out.println(\"User edited!\");\n\n\t\telse\n\t\t\tSystem.out.println(\"S...
[ "0.8193944", "0.7623561", "0.76105404", "0.7190346", "0.710989", "0.7093007", "0.70100445", "0.69976825", "0.6965953", "0.6844805", "0.6782858", "0.672113", "0.6693531", "0.668043", "0.66441685", "0.65833765", "0.6564198", "0.6560953", "0.6555704", "0.6553214", "0.6494339", ...
0.7974344
1
getUsers This is a helper function to loadDataFromDB. It retrieves all the users from the database.
public void getUsers() { CollectionReference ref = FirebaseFirestore.getInstance().collection("users"); listOfUsers = new ArrayList<>(); ref.get().addOnCompleteListener(new OnCompleteListener<QuerySnapshot>() { @Override public void onComplete(@NonNull Task<QuerySnapshot...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Users getUsers() throws UserException {\n Users users = new Users();\n log.debug(\"getUsers\");\n User user = null;\n ResultSet result;\n Connection conn = null;\n PreparedStatement stm = null;\n try {\n conn = provider.getConnection...
[ "0.78048265", "0.7637834", "0.76309186", "0.760478", "0.75703806", "0.75604534", "0.75484306", "0.75329155", "0.753121", "0.7523638", "0.7499268", "0.7484884", "0.74636585", "0.7459056", "0.74449754", "0.7410056", "0.7405502", "0.7395238", "0.73873967", "0.7383468", "0.737005...
0.0
-1
checkUsername This function checks if the username entered already exists
public boolean checkUsername(String username) { for(int i=0; i<listOfUsers.size(); i++) { if(listOfUsers.get(i).compareTo(username)==0) return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkUsername() {\n if(getUsername.getText().compareTo(\"\") != 0) { return true; }\n else {\n errorMessage.setText(\"Please enter a username.\");\n return false;\n }\n }", "boolean isUsernameExist(String username);", "public Boolean isUsernameExist...
[ "0.8114855", "0.7985345", "0.7926757", "0.78815365", "0.7862056", "0.78435093", "0.78075033", "0.77420944", "0.7718291", "0.7718291", "0.7718291", "0.7718291", "0.7718291", "0.7718291", "0.7704987", "0.76946044", "0.76189315", "0.7589772", "0.75490534", "0.75299907", "0.74789...
0.6851654
57
This is a helper function that takes the ImageView and image as a string and sets the image of the ImageView to the image
public void decodeImage(String completeImageData, ImageView imageView) { if (completeImageData == null) { return; } // Incase you're storing into aws or other places where we have extension stored in the starting. String imageDataBytes = completeImageData.substring(completeImageData.indexOf(","...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setImage(String image);", "public void setImage(Context ctx, String image)\n {\n }", "private void setImage(String image) {\n Bitmap bitmap;\n try {\n byte[] encodeByte = Base64.decode(image, Base64.DEFAULT);\n bitmap = BitmapFactory.decodeByteArray(encode...
[ "0.7463822", "0.717787", "0.70136327", "0.6960751", "0.6918009", "0.6901384", "0.68953097", "0.6849014", "0.6849014", "0.67376953", "0.67343706", "0.67067826", "0.6703881", "0.6674495", "0.664319", "0.6629865", "0.66218984", "0.6621069", "0.6611708", "0.6596327", "0.65847033"...
0.0
-1
This function is called when an intent is created that has to interact with another API directly.
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); switch (requestCode) { case 3: { if (resultCode == Activity.RESULT_OK && data != null) { Uri image = data.get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void onNewIntent(Intent intent) {\n }", "@Override\n protected void onNewIntent(Intent intent){\n handleIntent(intent);\n }", "@Override\n public void onNewIntent(Intent intent) {\n }", "@Override\n public void onNewIntent(Intent intent) {\n se...
[ "0.6997682", "0.69260794", "0.68390965", "0.680397", "0.6749193", "0.6749193", "0.6725258", "0.664812", "0.6610334", "0.6595911", "0.6574354", "0.64935833", "0.6490802", "0.6455762", "0.6455436", "0.6452085", "0.6448361", "0.64409053", "0.64271444", "0.6360842", "0.63574046",...
0.0
-1
requested Experiment index LineChart constructor. (For invocation by subclass constructors, typically implicit.) Creates a line chart of Players' payoffs against each round of game played. LineChart method also defines a title for the chart as well as the frame. Modified sections identified
public LineChart(String frameTitle) { super(frameTitle); // Display frame title final JFrame frame = new JFrame(frameTitle); frame.setDefaultCloseOperation(frame.getDefaultCloseOperation()); JFreeChart lineChart = ChartFactory.createLineChart("Experiment : "+ (expNum+1), "Tournament", "Cummulative Pay-Off"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LineChart() {\n init();\n }", "private void initChart() {\n Cartesian cartesian = AnyChart.line();\n\n cartesian.animation(true);\n\n cartesian.padding(10d, 20d, 5d, 20d);\n\n cartesian.crosshair().enabled(true);\n cartesian.crosshair()\n .yLabel...
[ "0.627216", "0.62064946", "0.6095921", "0.60236925", "0.5951102", "0.57447976", "0.5737167", "0.5672064", "0.5605654", "0.5593199", "0.55076015", "0.54946697", "0.5462024", "0.5458207", "0.5441096", "0.543343", "0.5428137", "0.53922266", "0.53768754", "0.53629506", "0.5343314...
0.68832344
0
createDataset method updates information about the progress of players in a specific experiment by retrieving agents' scores for different tournaments from the Dataset stored HIR
private DefaultCategoryDataset createDataset() { dataset.clear(); // Query HIM to submit data for bar chart display HistoricalInfoMgr.getChartDataset(expNum); return dataset; // add the data point (y-value, variable, x-value) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateDataset(Dataset dataset, User user) {\n // get current state of the report\n Report report = ReportingMechanism.getInstance().getReport();\n // calculate completeness\n float completeness = this.datasetPerformance.getCompletenessPercentage();\n // calculate numb...
[ "0.56398886", "0.5506892", "0.5467642", "0.54291594", "0.52089196", "0.5200063", "0.51492625", "0.51392215", "0.5138189", "0.5074356", "0.5073695", "0.50708395", "0.50635195", "0.5037151", "0.5029214", "0.4941646", "0.49386463", "0.49074188", "0.4899089", "0.48798686", "0.486...
0.46850204
45
Main method that creates Application frame, centers it on the screen, and makes the chart visible. Main method is known to be the class' application entry point
public static void main(String[] args) { expNum = Integer.parseInt(args[0]); LineChart chart = new LineChart( "Line Graph of Agent Pay-Off vrs Tournament"); /** Title Modified from original code **/ chart.pack(); // resize the window to fit the graph RefineryUtilities.centerFrameOnScreen(chart); // displ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main (String args[]){\n\t\tJFrame application = new JFrame();\r\n\t\tapplication.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\tPendulumDemo gui = new PendulumDemo();\r\n\r\n\t\tapplication.setLayout(new GridLayout(1,2));\r\n\t\tapplication.add(gui.scopePanel);\r\n\t\tapplication.add...
[ "0.69493777", "0.6884753", "0.68533444", "0.6831618", "0.68229777", "0.67546177", "0.6741745", "0.6587888", "0.6518756", "0.6507685", "0.6505441", "0.6481261", "0.6423553", "0.64229566", "0.6415556", "0.63525796", "0.6352127", "0.6326704", "0.6288356", "0.6274303", "0.6273910...
0.62012446
28
Define a bitmap with the same size as the view
public static Bitmap getBitmapFromView(View view) { Bitmap returnedBitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888); //Bind a canvas to it Canvas canvas = new Canvas(returnedBitmap); //Get the view's background Drawable bgDrawable = view.ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static Bitmap generate(@NonNull View view) {\n int measureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);\n view.measure(measureSpec, measureSpec);\n\n int measuredWidth = view.getMeasuredWidth();\n int measuredHeight = view.getMeasuredHeight();...
[ "0.72141975", "0.6963204", "0.66714835", "0.66495675", "0.64781123", "0.64500976", "0.6448667", "0.63981974", "0.6369302", "0.6281309", "0.6252411", "0.61738855", "0.6119207", "0.61021954", "0.6099651", "0.6028686", "0.6018211", "0.5973584", "0.5973299", "0.596183", "0.593176...
0.6473999
5
Serializes an object and saves it to a file
public static boolean exportNotes(ExportModel model, String fileName) { try { FileOutputStream fileOutputStream = new FileOutputStream(new File(getBackupDirectory() + "/" + fileName + fileSuffix)); ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeToFile(String filename, Object object) {\n try {\n FileOutputStream fileOutputStream = openFileOutput(filename, MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n objectOutputStream.writeObject(object);\n ...
[ "0.77212346", "0.7623706", "0.7617733", "0.75681823", "0.75676817", "0.7521736", "0.74823153", "0.74705005", "0.7336172", "0.7228282", "0.7201881", "0.7194811", "0.7144011", "0.70967287", "0.709617", "0.70916516", "0.7089801", "0.70729506", "0.70715433", "0.7065625", "0.70506...
0.0
-1
Returns all RemoteDocuments to initiate the view's table
@Override protected DocumentCollection getInitialDocuments() { return Core.getInstance().getRemoteDocuments(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FindIterable<Document> getAllDocuments() {\n\t\tMongoDatabase db = mongoClient.getDatabase(MongoActions.props.getDBName());\n\t\tMongoCollection<Document> table = db.getCollection(MongoActions.props.getCollectionName());\n\t\tFindIterable<Document> iterable = table.find();\n\n\t\treturn iterable;\n\t}", "...
[ "0.6495842", "0.6308081", "0.626024", "0.6183256", "0.6146862", "0.6136674", "0.6091485", "0.60824466", "0.5950546", "0.59498066", "0.5905608", "0.58881176", "0.58710605", "0.57885796", "0.57844025", "0.5741484", "0.5736811", "0.56978506", "0.5674922", "0.5642113", "0.5636626...
0.6779241
0
Adds a button to add new remote documents
@Override protected void afterCreation(final Composite parent) { unshareButton.setText("Disconnect selection"); addRemoteDocumentButton = new Action() { @Override public void run() { UserActionController uac = Core.getInstance().getUserActionController(); uac.executeAddRemoteDocument(null); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clickAddButton() {\n\t\tfilePicker.fileManButton(locAddButton);\n\t}", "public void addButton()\n\t{\n\t\tdriver.findElement(By.xpath(\"//input[@name='Insert']\")).click();\n\t}", "public void add(PhotonDoc doc);", "public boolean addReceivedExternalDocument(AddReceivedExternalDocumentsCommand aC...
[ "0.64679396", "0.6116965", "0.5943869", "0.5930959", "0.59135026", "0.5903383", "0.5882467", "0.58692914", "0.57991296", "0.57430303", "0.57418305", "0.57296866", "0.5696654", "0.56918764", "0.56569725", "0.5633282", "0.56325763", "0.5592348", "0.5586626", "0.5578109", "0.556...
0.6537929
0
get all cart items for a pooler
@Query(value = "SELECT * FROM cmpe275_cartShare.cart_item WHERE pooler_id = ?1", nativeQuery = true) List<CartItem> findAllByPoolerId(Long poolerId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<CartItem> getAllcartitem();", "public synchronized List<ShoppingCartItem> getItems(){\n List<ShoppingCartItem> cart = new ArrayList<ShoppingCartItem>();\n \n for(ShoppingCartItem cartItem : carrito){\n if(cartItem!=null)\n cart.add(cartItem);\n }\...
[ "0.66655713", "0.6386141", "0.6290473", "0.6118782", "0.6083263", "0.5882627", "0.58594793", "0.5850458", "0.57873553", "0.57602066", "0.57165176", "0.569986", "0.56880826", "0.5664625", "0.56422895", "0.5570484", "0.5558639", "0.55503714", "0.55491805", "0.5528111", "0.55229...
0.7057505
0
Returns a string representation of this Map object.
public native String toString();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() {\n if (this.size() <= 0) {\n return \"{}\";\n }\n StringBuilder stringBuilder = new StringBuilder(this.mSize * 28);\n stringBuilder.append('{');\n int n2 = 0;\n do {\n if (n2 >= this.mSize) {\n stringBuilder.ap...
[ "0.8386248", "0.79368776", "0.7804675", "0.74939036", "0.73951626", "0.7247485", "0.71609384", "0.707054", "0.7048329", "0.7047434", "0.7024778", "0.69151866", "0.6905595", "0.6858976", "0.6844403", "0.6840042", "0.6744691", "0.6730438", "0.6725653", "0.6713181", "0.6684307",...
0.0
-1
Builds a square Map object.
public Map(int size_pixels, double size_meters) { this.init(size_pixels, size_meters); // for public accessor this.size_meters = size_meters; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map(){\r\n map = new Square[0][0];\r\n }", "private void createMapOfFirstType() {\n\n this.typeOfMap=1;\n matrixOfSquares[0][0] = createSquare( ColorOfFigure_Square.BLUE, true, 0, 0);\n matrixOfSquares[0][1] = createSquare( ColorOfFigure_Square.BLUE, false, 0, 1);\n ...
[ "0.7138777", "0.69576705", "0.6854272", "0.6700145", "0.6668255", "0.66168714", "0.65868855", "0.65713054", "0.65685767", "0.64732707", "0.6339884", "0.6317713", "0.63088876", "0.6305527", "0.62855595", "0.62451357", "0.62397313", "0.6236596", "0.6195476", "0.61807054", "0.61...
0.6287035
14
Puts current map values into bytearray, which should of which should be of this.size map_size_pixels ^ 2.
public native void get(byte[] bytes);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface WorldmapBuffer2 {\n final static byte[] image2 = {\n -125, 47, -3, 77, 51, 29, -45, -103, -120, 119, 76, -122, -82, -22, -106, 61, 113, 4, -59, 124, -116, 59, 115, -26, -44,\n 56, -115, 34, 106, -124, 98, 83, -115, 70, 9, -67, -116, 99, 92, -127, 8...
[ "0.55913025", "0.5546833", "0.5527215", "0.5373328", "0.52728933", "0.52140796", "0.52108175", "0.5205164", "0.5193071", "0.5178848", "0.51546615", "0.514435", "0.51055926", "0.50838095", "0.50785184", "0.5037293", "0.5017532", "0.50118566", "0.49800333", "0.49731198", "0.497...
0.0
-1
Updates this map object based on new data.
public void update(Scan scan, Position position, int quality, double hole_width_mm) { this.update(scan, position.x_mm, position.y_mm, position.theta_degrees, quality, hole_width_mm); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateMap(MapData map);", "private void update() {\n\t\ttheMap.update();\n\t\ttheTrainer.update();\n\t}", "public void updateData() {}", "@Override\r\n\tpublic void updateData() {\n\t\t\r\n\t}", "@Override\r\n public final void update() {\r\n\r\n logger.entering(this.getClass().getName(), \"...
[ "0.7504593", "0.7046188", "0.69422835", "0.68715173", "0.67658097", "0.6646253", "0.6462808", "0.63436484", "0.63288593", "0.6315352", "0.6268527", "0.6187115", "0.61448777", "0.6141365", "0.6141365", "0.6141365", "0.61380386", "0.6111018", "0.61049825", "0.61046904", "0.6087...
0.0
-1
Returns the size of this map in meters.
public double sizeMeters() { return this.size_meters; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getMapSize() {\n return mapSize;\n }", "public int GetMapSize() {\n\t\treturn m_mapSize;\n\t}", "public double dimensionsToMeters() {\n\t\tdouble heightMeters = heightInInches / 39.370;\n\t\tdouble widthMeters = widthInInches / 39.370;\n\n\t\treturn areaInMeters = heightMeters * widthMeters;\n\t...
[ "0.73888737", "0.72907484", "0.7243793", "0.7236129", "0.720857", "0.7110622", "0.7058024", "0.7038073", "0.70243645", "0.6945528", "0.69386125", "0.6898892", "0.6884472", "0.6858033", "0.68542546", "0.682452", "0.68004763", "0.67877036", "0.6786768", "0.6757076", "0.6737117"...
0.81284297
0
TODO Autogenerated method stub
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.cold_tab, container, false); TextView textView = (TextView)view.findViewById(R.id.textView1); s1="The common cold is a viral inf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79041183", "0.7805934", "0.77659106", "0.7727251", "0.7631684", "0.7621701", "0.75839096", "0.75300384", "0.74873656", "0.7458051", "0.7458051", "0.7438486", "0.742157", "0.7403794", "0.7391802", "0.73870087", "0.7379108", "0.7370295", "0.7362194", "0.7355759", "0.73454577...
0.0
-1
need to reset the loader too because otherwise it will think the image is still loaded.
public void onRecycled() { imageLoader.resetLoadState(); UIHelper.recycleImageViewContent(mImageView); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void reset() {\n //mLoader.reset();\n start();\n }", "@Override\n\tpublic void onLoaderReset(Loader<ContentResponse> loader) {\n\t\t\n\t}", "@Override\n\tpublic void onLoaderReset(Loader<ContentResponse> loader) {\n\t\t\n\t}", "@Override\n public void onLoaderReset(Loader<ArrayList...
[ "0.7104945", "0.7096418", "0.7096418", "0.7092767", "0.7078348", "0.7047718", "0.6975965", "0.68957627", "0.6893821", "0.6836298", "0.6786924", "0.6676495", "0.66292596", "0.6570703", "0.65568006", "0.6555143", "0.6552963", "0.6552963", "0.6551529", "0.6529917", "0.6512223", ...
0.0
-1
Inflate the view for this view holder
@Override public ReviewHolder onCreateViewHolder(ViewGroup parent, int viewType) { LayoutInflater myInflater = LayoutInflater.from(parent.getContext()); View thisItemsView = myInflater.inflate(R.layout.review_list_item_layout, parent, false); return new ReviewHolder(thisItemsView); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.layout_detail, container, false);\n ButterKnife.bind(this, view);\n return view;\n }", "public void onFi...
[ "0.65197283", "0.6508329", "0.64836866", "0.6442396", "0.64179033", "0.6352227", "0.63414615", "0.63053733", "0.62962323", "0.627644", "0.62752205", "0.62726307", "0.6251509", "0.6247363", "0.62452275", "0.62389654", "0.6219901", "0.6219632", "0.62109476", "0.6209159", "0.620...
0.0
-1
to be used in tests (beware: there could be more work items) TODO move to a test class
public static AccessCertificationWorkItemType findWorkItem(AccessCertificationCaseType _case, int stageNumber, int iteration, String reviewerOid) { return _case.getWorkItem().stream() .filter(wi -> wi.getStageNumber() == stageNumber && norm(wi.getIteration()) == iteration ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void getWorksTest() throws Exception {\n\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\n\t\t\tpublic void worked(int work) {\n\t\t\t\t\n\t\t\t}", "private void test() {\n\n\t}", "protected abstract void work();", "@Test\n public void testGenerateWorkItems() {\n\n ...
[ "0.60663354", "0.5940071", "0.5866355", "0.58451045", "0.5707518", "0.55820644", "0.55306756", "0.5523824", "0.5518172", "0.55068505", "0.5506795", "0.54956126", "0.548872", "0.54839057", "0.5450659", "0.540866", "0.5392894", "0.53705686", "0.53705686", "0.536708", "0.5361351...
0.0
-1
TODO rework signalling problems
public static void checkStageDefinitionConsistency(List<AccessCertificationStageDefinitionType> stages) { int count = stages.size(); boolean[] numberPresent = new boolean[count]; for (AccessCertificationStageDefinitionType stage : stages) { int num = stage.getNumber(); if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected synchronized void sendLifeSign() {\n if (socketLayer.isConnected() && nextLifeSignToSend < System.currentTimeMillis()) {\n int oldTimeOut = 0;\n try {\n oldTimeOut = socketLayer.getSocketToPartner().getSoTimeout();\n socketLayer.getSocketToPartne...
[ "0.575773", "0.56415063", "0.5562833", "0.5542746", "0.5488382", "0.54747754", "0.5450289", "0.53918105", "0.53078663", "0.53077585", "0.53068656", "0.52864754", "0.52570665", "0.52406186", "0.51883847", "0.5184656", "0.5168759", "0.51605064", "0.5153652", "0.51378983", "0.51...
0.0
-1
expects that the currentStageNumber is reasonable
public static AccessCertificationStageType findCurrentStage(AccessCertificationCampaignType campaign) { return findStage(campaign, campaign.getStageNumber()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStageNumber(Integer stageNumber) {\n this.stageNumber = stageNumber;\n }", "public Integer getStageNumber() {\n return stageNumber;\n }", "public void setStage(){\n if(id < 3)\n stage = 1;\n if(id >= 3 && id < 6)\n stage = 2;\n if(id...
[ "0.7222099", "0.6903077", "0.6850082", "0.68048215", "0.673733", "0.66853327", "0.6636822", "0.6602966", "0.6577336", "0.6570818", "0.65475094", "0.65284336", "0.6448962", "0.63024527", "0.6292929", "0.61871135", "0.6130626", "0.6066228", "0.60580647", "0.5982679", "0.5969580...
0.0
-1
active cases = cases that are to be responded to in this stage
@SuppressWarnings("unused") // used e.g. by campaigns report public static int getActiveCases(List<AccessCertificationCaseType> caseList, int campaignStageNumber, AccessCertificationCampaignStateType state) { int open = 0; for (AccessCertificationCaseType aCase : caseList) { if (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateActiveChallenge() {\n categories.get(indexOfActiveCategory).increaseIndexOfActiveChallenge();\n }", "public Case[][] getCases()\n {\n\treturn cases;\n }", "@java.lang.Override\n public int getCasesCount() {\n return cases_.size();\n }", "public void Unassigned_Cases()\...
[ "0.55755204", "0.5522592", "0.55025864", "0.5472388", "0.5423448", "0.5414771", "0.5381404", "0.53197306", "0.5269962", "0.52545565", "0.52328897", "0.52276045", "0.5184165", "0.5146789", "0.5144613", "0.5129149", "0.5125141", "0.5113023", "0.50922155", "0.50815594", "0.50751...
0.5420068
5
what % of cases is fully decided? (i.e. either they have all the decisions or they are reviewcompleted)
public static float getCasesCompletedPercentageAllStagesAllIterations(AccessCertificationCampaignType campaign) { return getCasesCompletedPercentage(campaign.getCase(), null, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasDecision();", "boolean hasDecision();", "int getConditionalCasesCount();", "private void evaluationLogic() {\n // setup for logic:\n // if distToClosestEstimate[i][0] is smaller than threshold, we have a Tp\n // if distToClosestEstimate[i][0] is larger than threshold, we have a Fn\n //...
[ "0.6286803", "0.6286803", "0.6206605", "0.6008053", "0.59063214", "0.59024096", "0.5874714", "0.5865448", "0.58119184", "0.57409436", "0.5711748", "0.5693791", "0.568455", "0.5651294", "0.56040204", "0.5598572", "0.55502707", "0.5547878", "0.55395895", "0.55351794", "0.551996...
0.0
-1
what % of work items is complete?
public static float getWorkItemsCompletedPercentageAllStagesAllIterations(AccessCertificationCampaignType campaign) { return getWorkItemsCompletedPercentage(campaign.getCase(), null, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getWorked();", "public Long getProgressTotalToDo();", "public String percentCompleteCountQATasks() {\n\t\tint fixed = closedQATasks().count();\n\t\tint total = qaTasks().count();\n\t\t\n return percentCompleteStringFromDouble(((double)fixed/(double)total) * 100);\n\t}", "public int CompletedCount(...
[ "0.67950624", "0.6675585", "0.6577201", "0.65395606", "0.65068614", "0.65048796", "0.6450609", "0.6438068", "0.64202744", "0.633955", "0.6307289", "0.63047457", "0.62966317", "0.6293241", "0.62717277", "0.61920905", "0.61920905", "0.61920905", "0.61750036", "0.61236334", "0.6...
0.0
-1
TODO use this also from GUI and maybe notifications
@SuppressWarnings("unused") // used by certification cases report public static List<ObjectReferenceType> getCurrentlyAssignedReviewers(PrismContainerValue<AccessCertificationCaseType> pcv) { AccessCertificationCaseType aCase = pcv.asContainerable(); List<ObjectReferenceType> rv = new ArrayL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private void getStatus() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "@Override\n\tprotected void UpdateUI() {\n...
[ "0.590752", "0.57377595", "0.5728903", "0.5666399", "0.56315255", "0.562821", "0.562821", "0.5599892", "0.5586874", "0.5569489", "0.5563584", "0.5540726", "0.5540726", "0.5513193", "0.5513193", "0.5508343", "0.5508343", "0.548215", "0.5468141", "0.54323375", "0.54236406", "...
0.0
-1
useful e.g. for tests
public static Set<ObjectReferenceType> getCurrentReviewers(AccessCertificationCaseType aCase) { return aCase.getWorkItem().stream() // TODO check also with campaign stage? .filter(wi -> wi.getStageNumber() == aCase.getStageNumber()) .flatMap(wi -> wi.getAssigneeRe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void test() {\n\n\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "private test5() {\r\n\t\r\n\t}", "public void testGetInsDyn() {\n }", "@Override\n\tpublic void test() {\n\t\t\n\t}", "@Test\r\n\tpublic void testSanity() {\n\t}", "@Override\n public void test() {\n \n ...
[ "0.6501541", "0.6493234", "0.6149228", "0.6022485", "0.59186536", "0.58749086", "0.5838099", "0.5835343", "0.5788165", "0.57449764", "0.5723596", "0.5697414", "0.5679743", "0.56689125", "0.5652478", "0.5652349", "0.56472117", "0.56382775", "0.5630829", "0.56286085", "0.561934...
0.0
-1
returns reviewers for nonclosed work items
public static Collection<String> getActiveReviewers(List<AccessCertificationCaseType> caseList) { Set<String> oids = new HashSet<>(); for (AccessCertificationCaseType aCase : caseList) { for (AccessCertificationWorkItemType workItem : aCase.getWorkItem()) { if (workItem.getCloseTimestamp() == nul...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List<Article> getNotReviewed() {\n\t\treturn articleRepository.findArticleForReviewByProfessions();\n\t}", "public List<Review> getReviews() {\r\n\t\tList<Review> returnReviews = new ArrayList<Review>();\r\n\t\tfor(int i = 0; i < myManuscripts.size(); i++){\r\n\t\t\tif(myManuscripts.get(i).ge...
[ "0.6359109", "0.5616822", "0.53726214", "0.5351693", "0.5232541", "0.5217954", "0.50683576", "0.5055004", "0.500826", "0.50070506", "0.50035185", "0.49990696", "0.49987492", "0.4985966", "0.4952863", "0.49516615", "0.4917564", "0.48882318", "0.48864558", "0.4855356", "0.48547...
0.0
-1
Criando um estado novo a cada Round
public void playRound(){ this.gameState = GameController.createGameState(this.game); // Verifica se o if(this.gameState.isEnded()){ var winner = this.gameState.getPlayerQttCards() == 0 ? this.game.getComputer() : this.game.getPlayer(); this.gameState.setWinner(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void nextRound() {\n\t\n\t\t\n\t\tcfight++;\n\t\tif(cfight>=maxround)\n\t\t{\n\t\tcfight=0;\n\t\t\n\t\tround++;\n\t\t\tmaxround/=2;\n\t\t}\n\t\t\n\tif(round<4)\n\t{\n\tcontrollPCRound();\n\t}\n\telse\n\t{\n\t\tint sp=0;\n\t\tint round=0;\n\t\tfor(int i=0; i<fighter.length; i++)\n\t\t{\n\t\t\tif(spieler[i]>...
[ "0.6655576", "0.6654811", "0.6616166", "0.6524885", "0.6514016", "0.6416953", "0.63590103", "0.62865806", "0.6283973", "0.6272706", "0.6261599", "0.6258817", "0.6231877", "0.6179295", "0.61614686", "0.6157606", "0.6126253", "0.6124323", "0.6072701", "0.6045696", "0.6028302", ...
0.5639378
43
Test case number: 0 /Coverage entropy=1.9061547465398496
@Test(timeout = 4000) public void test000() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("oofT'b.HnXtsd."); Token token0 = xPathLexer0.or(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7495475", "0.7449727", "0.7246917", "0.717759", "0.71178615", "0.71044946", "0.71007025", "0.7093131", "0.70675063", "0.7062653", "0.70527583", "0.7049322", "0.70423025", "0.702718", "0.7026005", "0.6979596", "0.6949806", "0.6920845", "0.69055116", "0.69006854", "0.688753"...
0.0
-1
Test case number: 1 /Coverage entropy=0.76128838011492
@Test(timeout = 4000) public void test001() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("hN!SM~8ux(wB"); xPathLexer0.dollar(); xPathLexer0.not(); xPathLexer0.nextToken(); xPathLexer0.leftParen(); xPathLexer0.whitespace(); xPathLexer0.plus(); Token token...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7190505", "0.7133066", "0.68552", "0.6811804", "0.67486656", "0.67465407", "0.6736609", "0.673527", "0.67242944", "0.6715406", "0.66835636", "0.6670008", "0.6667835", "0.66413784", "0.6614982", "0.6609573", "0.66055036", "0.6603758", "0.6596739", "0.65542924", "0.6550274",...
0.0
-1
Test case number: 2 /Coverage entropy=2.1458417525947544
@Test(timeout = 4000) public void test002() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("/a"); xPathLexer0.dollar(); Token token0 = xPathLexer0.and(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.70436686", "0.69267863", "0.67519194", "0.67395115", "0.663887", "0.6632636", "0.66291225", "0.65962744", "0.6549531", "0.6530381", "0.6524609", "0.6522848", "0.65128523", "0.6507937", "0.6499577", "0.64854425", "0.6475366", "0.6440682", "0.6410353", "0.63936514", "0.63706...
0.0
-1
Test case number: 3 /Coverage entropy=2.1972245773362196
@Test(timeout = 4000) public void test003() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("hN!SM~8ux(wB"); xPathLexer0.dollar(); Token token0 = xPathLexer0.and(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7193854", "0.7044147", "0.6939154", "0.68362737", "0.679616", "0.67491984", "0.6739023", "0.67293197", "0.6707867", "0.67045414", "0.6702537", "0.66854525", "0.66774166", "0.6660796", "0.66561335", "0.66324836", "0.6629012", "0.6622179", "0.66141915", "0.66017205", "0.6578...
0.0
-1
Test case number: 4 /Coverage entropy=1.8392967479776605
@Test(timeout = 4000) public void test004() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("d>%NV0"); Token token0 = xPathLexer0.operatorName(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7291001", "0.7194097", "0.69760793", "0.69365597", "0.69271487", "0.68753576", "0.6842846", "0.6797397", "0.67826617", "0.67820877", "0.67637867", "0.6752587", "0.67441446", "0.67381567", "0.67352855", "0.6722002", "0.67164135", "0.66870683", "0.66806585", "0.66569906", "0...
0.0
-1
Test case number: 5 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test005() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("sw"); Token token0 = xPathLexer0.div(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7179665", "0.7025265", "0.70026296", "0.6856837", "0.68431187", "0.68369114", "0.672278", "0.6673255", "0.66580105", "0.66411144", "0.66380584", "0.6611617", "0.66083884", "0.65982985", "0.6562058", "0.6557331", "0.65487653", "0.654848", "0.65464944", "0.6504445", "0.64884...
0.0
-1
Test case number: 6 /Coverage entropy=2.1972245773362196
@Test(timeout = 4000) public void test006() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("com.werken.saxpath.XPathLexer"); xPathLexer0.pipe(); Token token0 = xPathLexer0.mod(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7366458", "0.71867895", "0.6963806", "0.69347197", "0.69160265", "0.6881044", "0.685692", "0.6822152", "0.6803726", "0.6785171", "0.67543644", "0.6750229", "0.6741779", "0.67412716", "0.6740925", "0.67247415", "0.67033315", "0.67018867", "0.6689257", "0.6666602", "0.661713...
0.0
-1
Test case number: 7 /Coverage entropy=0.4063317134016294
@Test(timeout = 4000) public void test007() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("!9'|l*JR"); Token token0 = xPathLexer0.nextToken(); assertEquals(23, token0.getTokenType()); assertEquals("!", token0.getTokenText()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7272478", "0.71511346", "0.69727194", "0.68976384", "0.6890413", "0.6861112", "0.6839739", "0.6802072", "0.6797816", "0.6714282", "0.67111486", "0.67059094", "0.6696335", "0.6689855", "0.66764826", "0.66632533", "0.6655653", "0.66552323", "0.6636349", "0.6632494", "0.66317...
0.0
-1
Test case number: 8 /Coverage entropy=1.6094379124341005
@Test(timeout = 4000) public void test008() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("]("); boolean boolean0 = xPathLexer0.hasMoreChars(); assertTrue(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7345718", "0.72034895", "0.701449", "0.68914884", "0.68828225", "0.688167", "0.68639195", "0.6830959", "0.6818972", "0.6805047", "0.68009984", "0.678562", "0.6781423", "0.6779211", "0.6775575", "0.6771418", "0.67645115", "0.6742239", "0.66849613", "0.6644751", "0.66364247"...
0.0
-1
Test case number: 9 /Coverage entropy=1.3862943611198906
@Test(timeout = 4000) public void test009() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); boolean boolean0 = xPathLexer0.hasMoreChars(); assertFalse(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7369359", "0.7235029", "0.7059559", "0.68965816", "0.6865193", "0.68637544", "0.6860473", "0.6855827", "0.68550664", "0.6853515", "0.6836083", "0.6827736", "0.68238544", "0.6806306", "0.678349", "0.67814875", "0.67247593", "0.6708468", "0.6683497", "0.6673438", "0.6656983"...
0.0
-1
Test case number: 10 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test010() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); String string0 = xPathLexer0.getXPath(); assertNull(string0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7567097", "0.73450804", "0.71759754", "0.70973235", "0.70782465", "0.70695484", "0.70550174", "0.70333576", "0.7007244", "0.7002522", "0.70021564", "0.69750047", "0.6954421", "0.6895716", "0.68672574", "0.6855078", "0.6852775", "0.6814908", "0.6808981", "0.67933226", "0.67...
0.0
-1
Test case number: 11 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test011() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(") ("); String string0 = xPathLexer0.getXPath(); assertEquals(") (", string0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72771525", "0.71816677", "0.69215304", "0.68604136", "0.68266606", "0.68142945", "0.67750376", "0.6753409", "0.67357767", "0.6730368", "0.6719646", "0.6699645", "0.6695751", "0.66806006", "0.66718006", "0.6667282", "0.6653548", "0.665021", "0.66354054", "0.661484", "0.6586...
0.0
-1
Test case number: 12 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test012() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("hN!SM~8ux(wB"); Token token0 = xPathLexer0.getPreviousToken(); assertNull(token0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7219727", "0.7151422", "0.68738276", "0.68151736", "0.6805935", "0.679361", "0.6745564", "0.6736421", "0.6722296", "0.6692761", "0.66863453", "0.6680693", "0.66465217", "0.663203", "0.6629057", "0.6604544", "0.65950006", "0.6585972", "0.65812165", "0.6562149", "0.6556602",...
0.0
-1
Test case number: 13 /Coverage entropy=0.4483113032721554
@Test(timeout = 4000) public void test013() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(":E<;"); xPathLexer0.nextToken(); Token token0 = xPathLexer0.getPreviousToken(); assertEquals(":", token0.getTokenText()); assertEquals(18, token0.getTokenType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7365745", "0.7282181", "0.69134337", "0.68711495", "0.68572766", "0.6832549", "0.68266994", "0.6796538", "0.67940223", "0.6772752", "0.6761699", "0.67588574", "0.67545956", "0.67467797", "0.6742875", "0.671683", "0.6702449", "0.66738117", "0.66689986", "0.6663122", "0.6653...
0.0
-1
Test case number: 14 /Coverage entropy=0.3955852454859713
@Test(timeout = 4000) public void test014() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.nextToken(); Token token0 = xPathLexer0.getPreviousToken(); assertEquals((-1), token0.getTokenType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7392665", "0.7288997", "0.69342244", "0.6891989", "0.6890051", "0.6879727", "0.6875128", "0.68502665", "0.6833331", "0.6832569", "0.67867416", "0.6774423", "0.6772139", "0.6763994", "0.67459697", "0.67421204", "0.6701148", "0.66920733", "0.66870415", "0.66775763", "0.66726...
0.0
-1
Test case number: 15 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test015() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); int int0 = xPathLexer0.endPosition(); assertEquals(0, int0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.74736", "0.7227721", "0.6997325", "0.6993632", "0.6974977", "0.689905", "0.68887687", "0.68839854", "0.6866607", "0.68602884", "0.6827302", "0.6800497", "0.6798588", "0.67781746", "0.6774074", "0.67499924", "0.6741185", "0.67365044", "0.673157", "0.6709973", "0.6691197", ...
0.0
-1
Test case number: 16 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test016() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("com.werken.saxpath.XPathLexer"); int int0 = xPathLexer0.endPosition(); assertEquals(29, int0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72779495", "0.71257114", "0.6760693", "0.67577547", "0.6723694", "0.6723019", "0.6703738", "0.66929823", "0.66496587", "0.6643051", "0.66171324", "0.66153353", "0.6611146", "0.6610661", "0.65945804", "0.65852493", "0.655812", "0.65457237", "0.65437806", "0.65368676", "0.65...
0.0
-1
Test case number: 17 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test017() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("Z&9#+FDLX&o2GJ-"); int int0 = xPathLexer0.currentPosition(); assertEquals(0, int0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73416805", "0.71720827", "0.69430953", "0.68585944", "0.6846626", "0.6827924", "0.6813824", "0.6806762", "0.6793136", "0.6774289", "0.677075", "0.6753914", "0.6739338", "0.673392", "0.6720932", "0.67161584", "0.6704141", "0.6702898", "0.67000824", "0.6699905", "0.6680459",...
0.0
-1
Test case number: 18 /Coverage entropy=1.7917594692280547
@Test(timeout = 4000) public void test018() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("d>%NV0"); Token token0 = xPathLexer0.leftParen(); assertEquals(1, token0.getTokenType()); assertEquals("d", token0.getTokenText()); int int0 = xPathLexer0.currentPosition(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.74265695", "0.7248527", "0.70466036", "0.696849", "0.69614786", "0.694291", "0.69211626", "0.6917288", "0.6905989", "0.68856555", "0.6882883", "0.6873102", "0.6869092", "0.68607074", "0.6826739", "0.68187624", "0.6808204", "0.67998284", "0.67768645", "0.67533827", "0.67467...
0.0
-1
Test case number: 19 /Coverage entropy=2.022808529414704
@Test(timeout = 4000) public void test019() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(">6_XdrPl"); Token token0 = xPathLexer0.relationalOperator(); assertNotNull(token0); assertEquals(">", token0.getTokenText()); assertEquals(9, token0.getTokenType()); Tok...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72733176", "0.7108433", "0.69953346", "0.69338197", "0.6917817", "0.68575495", "0.6830563", "0.6825206", "0.6817719", "0.6807882", "0.68023866", "0.67981243", "0.67598903", "0.67499393", "0.6747959", "0.67065567", "0.67050815", "0.668369", "0.6656159", "0.6646471", "0.6602...
0.0
-1
Test case number: 20 /Coverage entropy=2.031759218569271
@Test(timeout = 4000) public void test020() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(":_]J_/L!uFQ7%)BrL"); Token token0 = xPathLexer0.literal(); assertNull(token0); char char0 = xPathLexer0.LA((-1)); assertEquals('r', char0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7420913", "0.71905285", "0.7043537", "0.70433784", "0.7010583", "0.69972515", "0.69735134", "0.69720304", "0.69450593", "0.68637687", "0.6835181", "0.6813785", "0.6810112", "0.68086755", "0.67985153", "0.67834795", "0.6766929", "0.67385125", "0.6714694", "0.6714151", "0.67...
0.0
-1
Test case number: 21 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test021() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("qORCJu&0jq/h%IyKW"); xPathLexer0.setXPath(""); String string0 = xPathLexer0.getXPath(); assertEquals("", string0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73107076", "0.713318", "0.700118", "0.6849362", "0.68267906", "0.6826238", "0.6825278", "0.6806913", "0.6804757", "0.6804198", "0.6787575", "0.67792755", "0.6755621", "0.6744369", "0.6742332", "0.6728058", "0.6703601", "0.6702059", "0.6661634", "0.6659569", "0.66309005", ...
0.0
-1
Test case number: 22 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test022() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("[ ("); xPathLexer0.setPreviousToken((Token) null); assertEquals("[ (", xPathLexer0.getXPath()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73020464", "0.72149575", "0.69220763", "0.681606", "0.68160087", "0.67781615", "0.6773558", "0.6764663", "0.67372936", "0.67338", "0.671426", "0.6712453", "0.67084104", "0.67063254", "0.67035335", "0.66827923", "0.6665277", "0.66591877", "0.66589344", "0.6610869", "0.66065...
0.0
-1
Test case number: 23 /Coverage entropy=1.0397207708399179
@Test(timeout = 4000) public void test023() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("Z&9#+FDLX&o2GJ-"); boolean boolean0 = xPathLexer0.isIdentifierStartChar(']'); assertFalse(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7329618", "0.71937203", "0.69777423", "0.6875025", "0.68441397", "0.6822753", "0.68149966", "0.6797749", "0.6780461", "0.6778162", "0.6767427", "0.6763882", "0.6743807", "0.6742609", "0.6739295", "0.6734186", "0.672747", "0.6723429", "0.66824013", "0.6667204", "0.66086066"...
0.0
-1
Test case number: 24 /Coverage entropy=1.0397207708399179
@Test(timeout = 4000) public void test024() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("zO=t1k%z["); boolean boolean0 = xPathLexer0.isIdentifierStartChar('1'); assertFalse(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7366296", "0.72404015", "0.6976215", "0.69100535", "0.69032747", "0.6899739", "0.68586326", "0.68545437", "0.68408066", "0.68220156", "0.6799754", "0.67997414", "0.6781595", "0.67712355", "0.6764916", "0.67349494", "0.67309296", "0.67036444", "0.6703621", "0.6689411", "0.6...
0.0
-1
Test case number: 25 /Coverage entropy=1.0397207708399179
@Test(timeout = 4000) public void test025() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("d>%NV0"); boolean boolean0 = xPathLexer0.isIdentifierStartChar('A'); assertTrue(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73800486", "0.7178986", "0.7048528", "0.6986841", "0.68936133", "0.6875953", "0.68151855", "0.6811682", "0.68116707", "0.6805172", "0.6792118", "0.67911613", "0.6782121", "0.6777539", "0.6745634", "0.6726797", "0.66888106", "0.6686851", "0.66629595", "0.6658712", "0.661903...
0.0
-1
Test case number: 26 /Coverage entropy=0.5623351446188083
@Test(timeout = 4000) public void test026() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); boolean boolean0 = xPathLexer0.isIdentifierChar('}'); assertFalse(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7439069", "0.7293258", "0.69797516", "0.69356835", "0.68726456", "0.6856563", "0.6843898", "0.68359804", "0.68322814", "0.6789753", "0.6780738", "0.6775112", "0.67750806", "0.674166", "0.67324877", "0.67245483", "0.67029035", "0.669452", "0.6681969", "0.6675998", "0.666789...
0.0
-1
Test case number: 27 /Coverage entropy=0.5623351446188083
@Test(timeout = 4000) public void test027() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); boolean boolean0 = xPathLexer0.isIdentifierChar('3'); assertTrue(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7460919", "0.7316496", "0.7082961", "0.6994046", "0.6986558", "0.6952991", "0.6930862", "0.6887539", "0.6886621", "0.6868667", "0.6868491", "0.6848666", "0.68454796", "0.6843338", "0.6825498", "0.6815634", "0.6813469", "0.6813456", "0.67932695", "0.6763586", "0.6733953", ...
0.0
-1
Test case number: 28 /Coverage entropy=0.9502705392332347
@Test(timeout = 4000) public void test028() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("&b/Xk]"); boolean boolean0 = xPathLexer0.isIdentifierChar('z'); assertTrue(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73673433", "0.7272251", "0.70347446", "0.70181733", "0.68907124", "0.6873023", "0.685634", "0.68489075", "0.6847852", "0.6842984", "0.6824205", "0.6797535", "0.67222875", "0.67170113", "0.6698397", "0.6694695", "0.6689843", "0.6682484", "0.6679808", "0.6672968", "0.6665341...
0.0
-1
Test case number: 29 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test029() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume(0); assertNull(xPathLexer0.getXPath()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7423143", "0.7236803", "0.7175687", "0.7025669", "0.70142347", "0.69934595", "0.69794077", "0.69609755", "0.69452447", "0.69408387", "0.68870276", "0.6870218", "0.68625885", "0.6809592", "0.6797503", "0.67761177", "0.6774072", "0.6752933", "0.67508626", "0.67472136", "0.67...
0.0
-1
Test case number: 30 /Coverage entropy=1.7917594692280547
@Test(timeout = 4000) public void test030() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(""); // Undeclared exception! try { xPathLexer0.LA(0); fail("Expecting exception: StringIndexOutOfBoundsException"); } catch(StringIndexOutOfBoundsException e) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73573405", "0.7158661", "0.7022319", "0.7012989", "0.6972419", "0.69376945", "0.6901601", "0.68542475", "0.6841279", "0.6829524", "0.67957836", "0.6770959", "0.6757322", "0.67336345", "0.6726466", "0.6713278", "0.6704958", "0.6699671", "0.668937", "0.66707593", "0.6650796"...
0.0
-1
Test case number: 31 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test031() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); char char0 = xPathLexer0.LA(1073); assertEquals('\uFFFF', char0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7206907", "0.7034198", "0.69555384", "0.67892975", "0.677454", "0.6766129", "0.67387486", "0.6737825", "0.67363673", "0.67334676", "0.6681871", "0.6670178", "0.66580755", "0.6657863", "0.6645177", "0.664156", "0.6604663", "0.658638", "0.65800524", "0.6538957", "0.6538294",...
0.0
-1
Test case number: 32 /Coverage entropy=2.2718685126965625
@Test(timeout = 4000) public void test032() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("<"); xPathLexer0.consume((-1311)); // Undeclared exception! try { xPathLexer0.whitespace(); fail("Expecting exception: StringIndexOutOfBoundsException"); } ca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7417877", "0.72150296", "0.6960698", "0.69114214", "0.68704396", "0.68665093", "0.6830909", "0.680531", "0.6782925", "0.67598915", "0.6735138", "0.6728564", "0.6722217", "0.6688941", "0.668104", "0.665549", "0.65759414", "0.6573961", "0.6573713", "0.6573355", "0.65692973",...
0.0
-1
Test case number: 33 /Coverage entropy=2.1639556568820564
@Test(timeout = 4000) public void test033() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-3572)); // Undeclared exception! try { xPathLexer0.whitespace(); fail("Expecting exception: NullPointerException"); } catch(NullPointe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73016244", "0.71785796", "0.701551", "0.6871254", "0.68401694", "0.68258303", "0.68214715", "0.6820613", "0.6789607", "0.6781485", "0.676859", "0.67529", "0.674725", "0.67471725", "0.674413", "0.6736866", "0.6715909", "0.670631", "0.6681525", "0.6668856", "0.66577953", "...
0.0
-1
Test case number: 34 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test034() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-3572)); // Undeclared exception! try { xPathLexer0.slashes(); fail("Expecting exception: NullPointerException"); } catch(NullPointerEx...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7357316", "0.7222703", "0.7041825", "0.6951721", "0.6938212", "0.689494", "0.6888827", "0.68721604", "0.6865252", "0.6857013", "0.68532914", "0.6816319", "0.6802424", "0.678941", "0.67639685", "0.6746206", "0.6744787", "0.67402875", "0.6732342", "0.6728569", "0.671765", ...
0.0
-1
Test case number: 35 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test035() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); // Undeclared exception! try { xPathLexer0.setXPath((String) null); fail("Expecting exception: NullPointerException"); } catch(NullPointerException e) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.74974763", "0.7281045", "0.7147801", "0.71346444", "0.7056516", "0.7017714", "0.70102733", "0.70042205", "0.7002626", "0.6991774", "0.69848675", "0.69803286", "0.6959996", "0.6927615", "0.6909476", "0.68870485", "0.68794245", "0.68554366", "0.68548274", "0.679263", "0.6785...
0.0
-1
Test case number: 36 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test036() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-91)); // Undeclared exception! try { xPathLexer0.relationalOperator(); fail("Expecting exception: NullPointerException"); } catch(Null...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.75003606", "0.7351776", "0.70869946", "0.7059385", "0.7051654", "0.7022435", "0.7005667", "0.6984458", "0.697418", "0.69467145", "0.69450724", "0.694344", "0.6933639", "0.6921382", "0.69128203", "0.686584", "0.68342686", "0.6834009", "0.68138987", "0.6773396", "0.6756915",...
0.0
-1
Test case number: 37 /Coverage entropy=2.0794415416798357
@Test(timeout = 4000) public void test037() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("[Sdf yy*X>HdSr %<}"); xPathLexer0.consume((-1189)); // Undeclared exception! try { xPathLexer0.or(); fail("Expecting exception: StringIndexOutOfBoundsException"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7439303", "0.7299318", "0.70774746", "0.70563245", "0.6982963", "0.6974257", "0.6969972", "0.6962873", "0.69348943", "0.6920888", "0.69009906", "0.6895283", "0.68846", "0.6847107", "0.6833799", "0.6818429", "0.6811205", "0.68037695", "0.676031", "0.67459303", "0.6740714", ...
0.0
-1
Test case number: 38 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test038() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-2535)); // Undeclared exception! try { xPathLexer0.or(); fail("Expecting exception: NullPointerException"); } catch(NullPointerExcepti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7391054", "0.7225463", "0.7062261", "0.70534617", "0.7019792", "0.70058155", "0.6976073", "0.695002", "0.6947342", "0.690256", "0.6876788", "0.6868207", "0.6862065", "0.68575567", "0.6847389", "0.6842623", "0.6830686", "0.6800812", "0.6793789", "0.67434716", "0.6734262", ...
0.0
-1
Test case number: 39 /Coverage entropy=2.0794415416798357
@Test(timeout = 4000) public void test039() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("[ ("); xPathLexer0.consume((-663)); // Undeclared exception! try { xPathLexer0.operatorName(); fail("Expecting exception: StringIndexOutOfBoundsException"); }...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73857933", "0.7216915", "0.70358795", "0.6982751", "0.6950932", "0.6941329", "0.6930603", "0.6923182", "0.68749017", "0.6869802", "0.68676287", "0.6842234", "0.6828703", "0.68269193", "0.6799602", "0.67903966", "0.6772774", "0.6756528", "0.67523885", "0.6727343", "0.671391...
0.0
-1
Test case number: 40 /Coverage entropy=2.0794415416798357
@Test(timeout = 4000) public void test040() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("com.werken.saxpath.XPathLexer"); xPathLexer0.consume((-796)); // Undeclared exception! try { xPathLexer0.number(); fail("Expecting exception: StringIndexOutOfBoundsExcepti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73514235", "0.71251196", "0.7029289", "0.69905674", "0.6958436", "0.6931662", "0.68841815", "0.68749106", "0.6826996", "0.68189573", "0.6793022", "0.6769548", "0.6764855", "0.67460966", "0.67346954", "0.6734594", "0.67162806", "0.6691644", "0.6679024", "0.66020465", "0.658...
0.0
-1
Test case number: 41 /Coverage entropy=2.0794415416798357
@Test(timeout = 4000) public void test041() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("com.werken.saxpath.XPathLexer"); xPathLexer0.consume((-2521)); // Undeclared exception! try { xPathLexer0.nextToken(); fail("Expecting exception: StringIndexOutOfBoundsExc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.731225", "0.71517956", "0.69464004", "0.69152474", "0.6864693", "0.68573684", "0.68396336", "0.6832984", "0.6806807", "0.6799906", "0.6796874", "0.6774524", "0.6757184", "0.67198086", "0.6689242", "0.66798055", "0.667657", "0.6653683", "0.6649758", "0.6639835", "0.66105723...
0.0
-1
Test case number: 42 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test042() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-4759)); // Undeclared exception! try { xPathLexer0.nextToken(); fail("Expecting exception: NullPointerException"); } catch(NullPointer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7399133", "0.7225592", "0.69444644", "0.69158286", "0.688044", "0.68718743", "0.68718386", "0.6846492", "0.68218035", "0.6805855", "0.6760812", "0.6754457", "0.67395306", "0.67328435", "0.6727205", "0.67242885", "0.67094994", "0.67041236", "0.6698398", "0.6674786", "0.6668...
0.0
-1
Test case number: 43 /Coverage entropy=2.0794415416798357
@Test(timeout = 4000) public void test043() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("F#VsZ=,K/"); xPathLexer0.consume((-3281)); // Undeclared exception! try { xPathLexer0.mod(); fail("Expecting exception: StringIndexOutOfBoundsException"); } c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72534496", "0.71233517", "0.6954463", "0.69240606", "0.6848789", "0.6826214", "0.68129456", "0.68024945", "0.6790559", "0.67623824", "0.6745034", "0.67409045", "0.67376703", "0.67330736", "0.6728787", "0.6720357", "0.6705051", "0.6703527", "0.6683001", "0.66692555", "0.666...
0.0
-1
Test case number: 44 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test044() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-863)); // Undeclared exception! try { xPathLexer0.mod(); fail("Expecting exception: NullPointerException"); } catch(NullPointerExcepti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7211339", "0.7154959", "0.6869758", "0.68577164", "0.6822561", "0.6808369", "0.6760561", "0.6751464", "0.6751245", "0.67357063", "0.6724888", "0.6713769", "0.67073005", "0.66990846", "0.6684505", "0.66792625", "0.6675933", "0.665164", "0.6644639", "0.663884", "0.6587001", ...
0.0
-1
Test case number: 45 /Coverage entropy=2.0794415416798357
@Test(timeout = 4000) public void test045() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("hN!SM~8ux(wB"); xPathLexer0.consume((-1)); // Undeclared exception! try { xPathLexer0.literal(); fail("Expecting exception: StringIndexOutOfBoundsException"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71960515", "0.7073087", "0.69002086", "0.6824983", "0.67850214", "0.67645705", "0.67444533", "0.66752934", "0.6662625", "0.6656003", "0.6640276", "0.6611567", "0.6608392", "0.65993994", "0.6599319", "0.6565999", "0.6560424", "0.65592414", "0.65531147", "0.6543652", "0.6537...
0.0
-1
Test case number: 46 /Coverage entropy=1.945910149055313
@Test(timeout = 4000) public void test046() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); xPathLexer0.consume((-2568)); // Undeclared exception! try { xPathLexer0.literal(); fail("Expecting exception: NullPointerException"); } catch(NullPointerEx...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7304202", "0.7160091", "0.6989217", "0.6935542", "0.68930715", "0.6864995", "0.6826209", "0.68048656", "0.680415", "0.68000865", "0.67791665", "0.6770209", "0.6759161", "0.6756402", "0.6734161", "0.6726059", "0.6717321", "0.67112577", "0.66991615", "0.6676969", "0.6651634"...
0.0
-1