<commit_before>public class GradleExercise {

	public static void main(String[] args){
		if(args[2] != (int)args[2]){
			System.out.println("Second argument must be a 32-bit int.");
			System.exit(2);		
		}
		if(args[1].equals("triangle"){
			System.out.println(triangle(args[2]);
		}
		else if(args[1].equals("lazy"){
			System.out.println(lazy(args[2]);			
		}
		else{
			System.out.println("First argument must be \"lazy\" or\"triangle\".");
			System.exit(1);
		}
	}
	
	public static int triangle(int n){
		int sum = 0;
		for(int i = n; i > 0; i--){
			sum += i;
		}
		return sum;
	}
	
	public static int lazy(int n){
		return (n * n + n + 2) / 2;		
	}

}<commit_msg>fix again<commit_after>public class GradleExercise {

	public static void main(String[] args){
		if(args[2] != (int)args[2]){
			System.out.println("Second argument must be a 32-bit int.");
			System.exit(2);		
		}
		if(args[1].equals("triangle"){
			System.out.println(triangle(args[2]));
		}
		else if(args[1].equals("lazy"){
			System.out.println(lazy(args[2]));			
		}
		else{
			System.out.println("First argument must be \"lazy\" or\"triangle\".");
			System.exit(1);
		}
	}
	
	public static int triangle(int n){
		int sum = 0;
		for(int i = n; i > 0; i--){
			sum += i;
		}
		return sum;
	}
	
	public static int lazy(int n){
		return (n * n + n + 2) / 2;		
	}

}
{'fraction_non_alphanumeric': 0.1880597014925373, 'fraction_numerical': 0.020895522388059702, 'mean_word_length': 3.0149700598802394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5429714', 'n_tokens_mistral': 608, 'n_tokens_neox': 512, 'n_words': 121}