<commit_before>/* Equips is a java class that makes */

import java.util.ArrayList;

public class Equips {
    
    public static final String[] equip_desc = {"Savage", "Smart","Forntunate","Fast"}
    public static final String[] equip_type = {"Power", "Intelligence", "Luck", "Speed"};
    public static final String[] typeList = {"Helm", "Armor", "Boots", "Amulet", "Ring"};
    private int[] effects = new int[4];
    private String name;
    private String type;
    private int strength = 0;
    private int intelligence = 0;
    private int dexterity = 0;
    private int luck = 0;

    public Equip(int level) {
    	type = typeList[(int)(Math.random(4))]
    	Int num = (int)(Math.random(3))
    	
    	if (num == 0) {
    		strength += 2*level;
    	}
    	if (num == 1) {
    		intelligence += 2 * level;
    	}
    	if (num == 2) { 
    		luck += 2 * level;
    	}
    	else dexterity += 2 * level;
    	name = equip_desc[num] + " " + type + " of ";
    	num = (int)(Math.random(3));
    	if (num == 0) {
    		strength += 2 * level;
    	}
    	if (num == 1) {
    		intelligence += 2 * level;
    	}
    	if (num == 2) {
			luck += 2 * level;
    	}
    	else  {
    		dexterity += 2 * level;
    	}
    	name += equip_type[num];
/*get rid of dis
        name =  + " " + type + " of " + equip_type[(int)(Math.random(3))];
        this = level;
        if 
        */
    }
   
}
<commit_msg>Helper Equip Stats much better looking code<commit_after>/* Equips is a java class that makes */

import java.util.ArrayList;

public class Equips {
    
    public static final String[] equip_desc = {"Savage", "Smart","Forntunate","Fast"}
    public static final String[] equip_type = {"Power", "Intelligence", "Luck", "Speed"};
    public static final String[] typeList = {"Helm", "Armor", "Boots", "Amulet", "Ring"};
    private int[] effects = new int[4];
    private String name;
    private String type;
    private int strength = 0;
    private int intelligence = 0;
    private int dexterity = 0;
    private int luck = 0;

    public Equip(int level) {
    	type = typeList[(int)(Math.random(4))]
    	Int num = (int)(Math.random(3))
    	addStat(num,level);
    	name = equip_desc[num] + " " + type + " of ";
    	num = (int)(Math.random(3));
    	addStat(num,level);
    	name += equip_type[num];
    }
    
    public void addStat(int input, int level) {
        if (input == 0) {
    		strength += 2*level;
    	}
    	if (input == 1) {
    		intelligence += 2 * level;
    	}
    	if (input == 2) { 
    		luck += 2 * level;
    	}
    	else dexterity += 2 * level;
    }
   
}

{'fraction_non_alphanumeric': 0.15325375433192145, 'fraction_numerical': 0.014632268001540239, 'mean_word_length': 2.2844500632111253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4346607', 'n_tokens_mistral': 948, 'n_tokens_neox': 897, 'n_words': 253}