<commit_before>package co.poynt.postman;

import java.util.ArrayList;
import java.util.List;

public class PostmanRunResult {
	public int totalRequest = 0;
	public int failedRequest = 0;
	public int totalTest = 0;
	public int failedTest = 0;
	
	public List<String> failedRequestName = new ArrayList<String>();
	public List<String> failedTestName = new ArrayList<String>();
	
	@Override
	public String toString() {
		String s = "Total Requests = " + totalRequest + "\n";
		s += "Failed Requests = " + failedRequest + "\n";
		s += "Total Tests = " + totalTest + "\n";
		s += "Failed Tests = " + failedTest + "\n";
		s += "Failed Request Names: " + failedRequestName + "\n";
		s += "Failed Test Names: " + failedTestName + "\n";	
		return s;
	}
	
	public boolean isSuccessful() {
		return failedRequest > 0 || failedTest > 0;
	}
}<commit_msg>Fixed result successful logic! (squirrel)<commit_after>package co.poynt.postman;

import java.util.ArrayList;
import java.util.List;

public class PostmanRunResult {
	public int totalRequest = 0;
	public int failedRequest = 0;
	public int totalTest = 0;
	public int failedTest = 0;
	
	public List<String> failedRequestName = new ArrayList<String>();
	public List<String> failedTestName = new ArrayList<String>();
	
	@Override
	public String toString() {
		String s = "Total Requests = " + totalRequest + "\n";
		s += "Failed Requests = " + failedRequest + "\n";
		s += "Total Tests = " + totalTest + "\n";
		s += "Failed Tests = " + failedTest + "\n";
		s += "Failed Request Names: " + failedRequestName + "\n";
		s += "Failed Test Names: " + failedTestName + "\n";	
		return s;
	}
	
	public boolean isSuccessful() {
		return failedRequest == 0 && failedTest == 0;
	}
}
{'fraction_non_alphanumeric': 0.1411007025761124, 'fraction_numerical': 0.00702576112412178, 'mean_word_length': 3.896848137535817, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7054390', 'n_tokens_mistral': 574, 'n_tokens_neox': 533, 'n_words': 168}