<commit_before>VISH.Editor.IMSQTI = (function(V,$,undefined){
	
	var init = function(){
	};
	
	var isCompliantXMLFile = function(fileXML){
		var contains;
		var schema;

		var xmlDoc = $.parseXML( fileXML ),
		var xml = $( xmlDoc );
		
		if($(xml).find('assessmentItem').length != 0){
			$(xml).find('assessmentItem').each(function(){
				$(this.attributes).each(function(index,attribute){
					if(attribute.name == "xsi:schemaLocation"){
						if(((attribute.textContent).indexOf("http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1.xsd")) != -1){
							schema = true;
						} else {
							schema = false;<commit_msg>Minor bug fixed<commit_after>VISH.Editor.IMSQTI = (function(V,$,undefined){
	
	var init = function(){
	};
	
	var isCompliantXMLFile = function(fileXML){
		var contains;
		var schema;

		var xmlDoc = $.parseXML( fileXML );
		var xml = $(xmlDoc);
		
		if($(xml).find('assessmentItem').length != 0){
			$(xml).find('assessmentItem').each(function(){
				$(this.attributes).each(function(index,attribute){
					if(attribute.name == "xsi:schemaLocation"){
						if(((attribute.textContent).indexOf("http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1.xsd")) != -1){
							schema = true;
						} else {
							schema = false;
{'fraction_non_alphanumeric': 0.18357487922705315, 'fraction_numerical': 0.00966183574879227, 'mean_word_length': 3.8365758754863815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3422203', 'n_tokens_mistral': 516, 'n_tokens_neox': 414, 'n_words': 65}