File size: 2,196 Bytes
2046dde | 1 2 3 4 5 6 7 | dataset_index,text,true_label,predicted_label,correct,error_type,probability_secure_communication,probability_unrelated
0,"public FtpOperations(FTPClient client, FTPClientConfig clientConfig) { this.client = client; this.clientConfig = clientConfig; }",unrelated,secure_communication,False,true_unrelated_predicted_secure_communication,0.5913175940513611,0.40868234634399414
1,protected FTPClient createFtpClient() throws Exception { FTPClient client = new FTPClient(); ClassResolver cr = getCamelContext().getClassResolver(); client.setParserFactory(new CamelFTPParserFactory(cr)); return client; },unrelated,secure_communication,False,true_unrelated_predicted_secure_communication,0.9586323499679565,0.04136771708726883
5,"protected void extractAndSetFtpClientParameters(Map<String, Object> parameters, FtpEndpoint<FTPFile> answer) { if (PropertiesHelper.hasProperties(parameters, ""ftpClient."")) { Map<String, Object> param = PropertiesHelper.extractProperties(parameters, ""ftpClient.""); answer.setFtpClientParameters(param); } }",unrelated,secure_communication,False,true_unrelated_predicted_secure_communication,0.995826780796051,0.004173241555690765
37,@Override protected @Nullable SslInfo initSslInfo() { Channel channel = ((Connection) this.request).channel(); SslHandler sslHandler = channel.pipeline().get(SslHandler.class); if (sslHandler == null && channel.parent() != null) { sslHandler = channel.parent().pipeline().get(SslHandler.class); } if (sslHandler != null) { SSLSession session = sslHandler.engine().getSession(); return new DefaultSslInfo(session); } return null; },unrelated,secure_communication,False,true_unrelated_predicted_secure_communication,0.9969082474708557,0.0030917252879589796
51,"private static final Recycler<CertFactoryHandle> CERT_FACTORIES = new Recycler<CertFactoryHandle>() { @Override protected CertFactoryHandle newObject(Handle<CertFactoryHandle> handle) { try { return new CertFactoryHandle(CertificateFactory.getInstance(""X.509""), handle); } catch (CertificateException e) { throw new IllegalStateException(e); } } };",unrelated,secure_communication,False,true_unrelated_predicted_secure_communication,0.9966496825218201,0.003350302577018738
|