dataset_index,text,true_label,predicted_label,correct,error_type,probability_input_validation,probability_unrelated 1,"@Override public boolean isValid(Float value, ConstraintValidatorContext context) { if ( value == null ) { return true; } return NumberSignHelper.signum( value, InfinityNumberComparatorHelper.GREATER_THAN ) < 0; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0004934293101541698,0.9995065927505493 3,"@Override public boolean validateObject( PooledObject connection ) { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04152_VALIDATING, connection ) ); } return validator.validate( connection.getObject() ); }",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.9981310963630676,0.00186887476593256 6,"@Override public boolean isValid(Float value, ConstraintValidatorContext context) { if ( value == null ) { return true; } return NumberSignHelper.signum( value, InfinityNumberComparatorHelper.LESS_THAN ) > 0; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0004919250495731831,0.9995080232620239 10,"@Message(id = 29, value = ""Constraint factory returned null when trying to create instance of %s."") ValidationException getConstraintValidatorFactoryMustNotReturnNullException(@FormatWith(ClassObjectFormatter.class) Class> validatorClass);",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.9981630444526672,0.0018370068864896894 18,"@Override public boolean isValid(Map map, ConstraintValidatorContext constraintValidatorContext) { if ( map == null ) { return true; } int size = map.size(); return size >= min && size <= max; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005930535844527185,0.9994069337844849 19,"@LogMessage(level = WARN) @Message(id = 271, value = ""Using `@Valid` on a container (%1$s) is deprecated. You should apply the annotation on the type argument(s). Affected element: %2$s"") void deprecatedUseOfValidOnContainer(@FormatWith(ClassObjectFormatter.class) Class valueType, Object context);",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.9980403780937195,0.001959622837603092 20,"@LogMessage(level = WARN) @Message(id = 272, value = ""Using `@Valid` on a container is deprecated. You should apply the annotation on the type argument(s). (%1$s) can potentially be a container at runtime. Affected element: %2$s"") void potentiallyDeprecatedUseOfValidOnContainer(@FormatWith(ClassObjectFormatter.class) Class valueType, Object context);",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.9980251789093018,0.0019748774357140064 22,"@Override public boolean isValid(CharSequence value, ConstraintValidatorContext constraintValidatorContext) { if ( value == null ) { return true; } int length = value.length(); return length >= min && length <= max; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.013626660220324993,0.9863733053207397 37,"public PKMACBuilder setIterationCount(int iterationCount) { if (iterationCount < 100) { throw new IllegalArgumentException(""iteration count must be at least 100""); } checkIterationCountCeiling(iterationCount); this.iterationCount = iterationCount; return this; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0004844584909733385,0.9995155334472656 45,"public MayoPrivateKeyParameters(MayoParameters params, byte[] seed_sk) { super(true, params); if (seed_sk.length != params.getCskBytes()) { throw new IllegalArgumentException(""'seed_sk' has invalid length""); } this.seed_sk = Arrays.clone(seed_sk); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0004936579498462379,0.9995063543319702 47,"public static boolean mkdirs( File f) { if (Constants.isOSX) { Pattern pat = Pattern.compile(""^(/Volumes/[^/]+)""); Matcher matcher = pat.matcher(f.getParent()); if (matcher.find()) { String sVolume = matcher.group(); File fVolume = newFile(sVolume); if (!fVolume.isDirectory()) { Logger.log(new LogEvent(LOGID, LogEvent.LT_WARNING, sVolume + "" is not mounted or not available."")); return false; } } } return f.mkdirs(); }",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.9981462955474854,0.0018537157448008657 48,"static ASN1ObjectIdentifier getDigestOID(String alg) { ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)forMic.get(Strings.toLowerCase(alg)); if (oid == null) { throw new IllegalArgumentException(""unknown micalg passed: "" + alg); } return oid; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005577669362537563,0.9994422793388367 58,"private void validatePathPseudoHeader(final String method, final String scheme, final String path) throws ProtocolException { if (URIScheme.HTTP.name().equalsIgnoreCase(scheme) || URIScheme.HTTPS.name().equalsIgnoreCase(scheme)) { if (TextUtils.isBlank(path)) { throw new ProtocolException(""':path' pseudo-header field must not be empty for 'http' or 'https' URIs""); } else { final boolean isRoot = path.startsWith(""/""); if (Method.OPTIONS.isSame(method)) { if (!""*"".equals(path) && !isRoot) { throw new ProtocolException(""OPTIONS request for an 'http' or 'https' URI must have a ':path' pseudo-header field with a value of '*' or '/'""); } } else { if (!isRoot) { throw new ProtocolException(""':path' pseudo-header field for 'http' or 'https' URIs must start with '/'""); } } } } }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.1332388073205948,0.8667611479759216 71,"@Override public void doTag() throws JspException, IOException { Encode.forUri(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005434787017293274,0.9994564652442932 74,"@Override public void doTag() throws JspException, IOException { Encode.forHtml(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005660169990733266,0.9994339346885681 76,"private boolean equivalentStrings(String s1, String s2) { String value = canonicalize(s1); String oValue = canonicalize(s2); if (!value.equals(oValue)) { value = stripInternalSpaces(value); oValue = stripInternalSpaces(oValue); if (!value.equals(oValue)) { return false; } } return true; }",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.9981354475021362,0.0018644689116626978 79,"@Override public void doTag() throws JspException, IOException { Encode.forXmlComment(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0006016989354975522,0.9993983507156372 80,"PolicyFactory( Map policies, Set textContainers, Map globalAttrPolicies, HtmlStreamEventProcessor preprocessor, HtmlStreamEventProcessor postprocessor) { this.policies = policies; this.textContainers = textContainers; this.globalAttrPolicies = globalAttrPolicies; this.preprocessor = preprocessor; this.postprocessor = postprocessor; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0006560651818290353,0.9993439316749573 81,"@Override public void doTag() throws JspException, IOException { Encode.forUriComponent(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005336343892849982,0.9994663596153259 82,"@Override public void doTag() throws JspException, IOException { Encode.forXml(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005690690595656633,0.9994309544563293 85,"public HtmlPolicyBuilder withPostprocessor(HtmlStreamEventProcessor pp) { this.postprocessor = HtmlStreamEventProcessor.Processors.compose( this.postprocessor, pp); return this; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005119030829519033,0.999488115310669 86,"@Override public void doTag() throws JspException, IOException { Encode.forXmlAttribute(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0006018767016939819,0.9993981122970581 87,"@Override public void doTag() throws JspException, IOException { Encode.forXmlContent(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005860140081495047,0.9994139671325684 88,"@Override public void doTag() throws JspException, IOException { Encode.forCssString(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0006773995701223612,0.9993226528167725 90,"@Override public void doTag() throws JspException, IOException { Encode.forJavaScriptAttribute(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005539414123632014,0.9994460940361023 95,"public HtmlPolicyBuilder withPreprocessor(HtmlStreamEventProcessor pp) { this.preprocessor = HtmlStreamEventProcessor.Processors.compose( this.preprocessor, pp); return this; }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005130906356498599,0.9994869232177734 97,"public static final String CONFIG_NO_PW_WHITELIST = ""Password Disabled Whitelist"";",unrelated,input_validation,False,true_unrelated_predicted_input_validation,0.996841311454773,0.0031586799304932356 101,"@Override public void doTag() throws JspException, IOException { Encode.forHtmlContent(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0005838244105689228,0.9994162321090698 102,"@Override public void doTag() throws JspException, IOException { Encode.forCssUrl(getJspContext().getOut(), _value); }",input_validation,unrelated,False,true_input_validation_predicted_unrelated,0.0009083918994292617,0.999091625213623