<commit_before>package utils;

import java.util.HashMap;
import java.util.Map;

import models.OrdenDeCompra.Fertilizante;

public class FertilizantesUtil {
	public static final String SUPERFOSFATO_TRIPLE_SPT = "Superfosfato Triple (SPT)";
	public static final String SUPERFOSFATO_SIMPLE = "Superfosfato Simple";
	public static final String FOSFATO_MONOAMONICO_MAP = "Fosfato Monoamonico (MAP)";
	public static final String FOSFATO_DIAMONICO_DAP = "Fosfato Diamonico (DAP)";//se usa en fertilizacion labor para seleccionar el default
	
	public static final Double porcN_NO3=0.2259;//necesario para convertir de ppm Nitratos NO3 a kgN
	//public static final Double porcP_PO4=0.3231;// la informacion que estoy ingresando esta en ppm P no P204 
	
	public static final Double porcN_MO=0.04;
	public static final Double porcMO_DISP_Campania=0.02;
	
	public static Map<String,Fertilizante> fertilizantes = new HashMap<String,Fertilizante>();
	//http://semillastodoterreno.com/2013/03/concentracion-de-n-p-y-k-en-los-fertilizantes/
	static{																		//N-P-K-S kg cada 100kg de producto 
//		fertilizantes.put(FOSFATO_DIAMONICO_DAP,new Fertilizante(FOSFATO_DIAMONICO_DAP,0.1472,0.0));	//18-46-0-2
//		fertilizantes.put(FOSFATO_MONOAMONICO_MAP,new Fertilizante(FOSFATO_MONOAMONICO_MAP,0.1664,0.0));//11-52-0-2
//		fertilizantes.put(SUPERFOSFATO_SIMPLE,new Fertilizante(SUPERFOSFATO_SIMPLE,0.576,0.0));		//0-(18~21)-0-0
//		fertilizantes.put(SUPERFOSFATO_TRIPLE_SPT,new Fertilizante(SUPERFOSFATO_TRIPLE_SPT,0.1472,0.0));//0-(44~53)-0-0
		
//								%N			%P
//Amonaco anhidro 							82	
//Nitrato de amonio							33.5	
//Sulfato de amonio							21	
//Fosfato diamnico			 18 a 21		21		20
//Fosfato monoamnico			11			23
//Nitrato de Calcio				15	
//Cianamida clcica			 20 a 22		22	
//Nitrato de Potasio			13	
//Nitrato de Sodio				16	
//Urea							46	
//Urea - Amonio Nitrato (UAN)	32				
		
		//Nitrogenados
fertilizantes.put("Amonaco anhidro",new Fertilizante("Amonaco anhidro",82,0.0,0.0,0.0));//ok
fertilizantes.put("Nitrato de amonio",new Fertilizante("Nitrato de amonio",35,0.0,0.0,0.0));//ok
fertilizantes.put("Sulfato de amonio",new Fertilizante("Sulfato de amonio",20.5,0.0,0.0,24.0));//ok
fertilizantes.put("UAN",new Fertilizante("UAN",31,0.0,0.0,0.0));//ok
fertilizantes.put("Urea",new Fertilizante("Urea",46,0.0,0.0,0.0));//ok
		//Fosfatados
//acido fosforico
fertilizantes.put("Fosfato diamnico",new Fertilizante("Fosfato diamnico",18,20,0.0,0));//ok
fertilizantes.put("Fosfato monoamnico",new Fertilizante("Fosfato monoamnico",11,23,0.0,0));//ok
fertilizantes.put("Fosfato monopotsico",new Fertilizante("Fosfato monopotsico",0,23,29,0));//ok
fertilizantes.put("Superfosfato simple",new Fertilizante("Superfosfato simple",0.0,9,0.0,12));//ok
fertilizantes.put("Superfosfato triple",new Fertilizante("Superfosfato triple",0.0,20,0.0,0.0));//ok
		//Potasicos
fertilizantes.put("Cloruro de potasio",new Fertilizante("Cloruro de potasio",0.0,0.0,50,0.0));//ok
fertilizantes.put("Nitrato de potasio",new Fertilizante("Nitrato de potasio",13,0.0,36,0.0));//ok
fertilizantes.put("Sulfato de potasio",new Fertilizante("Sulfato de potasio",0.0,0.0,42,18));//ok
		//Azufrados
fertilizantes.put("Yeso Agricola",new Fertilizante("Yeso Agricola",0.0,0.0,0,17));//ok S=17 Ca=22
		//Calcicos
//fertilizantes.put("Nitrato de calcio",new Fertilizante("Nitrato de calcio",15,0.0,0.0,0.0));19Ca 15N
//fertilizantes.put("Superfosfato de calcio",new Fertilizante("Superfosfato de calcio",0.0,17,0.0,0.0));
	}
	
}<commit_msg>convertir fertilizacionUtil a utf8<commit_after>package utils;

import java.util.HashMap;
import java.util.Map;

import models.OrdenDeCompra.Fertilizante;

public class FertilizantesUtil {
	public static final String SUPERFOSFATO_TRIPLE_SPT = "Superfosfato Triple (SPT)";
	public static final String SUPERFOSFATO_SIMPLE = "Superfosfato Simple";
	public static final String FOSFATO_MONOAMONICO_MAP = "Fosfato Monoamonico (MAP)";
	public static final String FOSFATO_DIAMONICO_DAP = "Fosfato Diamonico (DAP)";//se usa en fertilizacion labor para seleccionar el default
	
	public static final Double porcN_NO3=0.2259;//necesario para convertir de ppm Nitratos NO3 a kgN
	//public static final Double porcP_PO4=0.3231;// la informacion que estoy ingresando esta en ppm P no P204 
	
	public static final Double porcN_MO=0.04;
	public static final Double porcMO_DISP_Campania=0.02;
	
	public static Map<String,Fertilizante> fertilizantes = new HashMap<String,Fertilizante>();
	//http://semillastodoterreno.com/2013/03/concentracion-de-n-p-y-k-en-los-fertilizantes/
	static{																		//N-P-K-S kg cada 100kg de producto 
//		fertilizantes.put(FOSFATO_DIAMONICO_DAP,new Fertilizante(FOSFATO_DIAMONICO_DAP,0.1472,0.0));	//18-46-0-2
//		fertilizantes.put(FOSFATO_MONOAMONICO_MAP,new Fertilizante(FOSFATO_MONOAMONICO_MAP,0.1664,0.0));//11-52-0-2
//		fertilizantes.put(SUPERFOSFATO_SIMPLE,new Fertilizante(SUPERFOSFATO_SIMPLE,0.576,0.0));		//0-(18~21)-0-0
//		fertilizantes.put(SUPERFOSFATO_TRIPLE_SPT,new Fertilizante(SUPERFOSFATO_TRIPLE_SPT,0.1472,0.0));//0-(44~53)-0-0
		
		
//								%N			%P
//<NAME> 							82	
//Nitrato de amonio							33.5	
//Sulfato de amonio							21	
//Fosfato diaminico			 18 a 21		21		20
//Fosfato monoaminico			11			23
//Nitrato de Calcio				15	
//Cianamida calcica			 20 a 22		22	
//Nitrato de Potasio			13	
//Nitrato de Sodio				16	
//Urea							46	
//Urea - Amonio Nitrato (UAN)	32				
		
		//Nitrogenados
fertilizantes.put("Amoníaco anhidro",new Fertilizante("Amoníaco anhidro",82,0.0,0.0,0.0));//ok
fertilizantes.put("Nitrato de amonio",new Fertilizante("Nitrato de amonio",35,0.0,0.0,0.0));//ok
fertilizantes.put("Sulfato de amonio",new Fertilizante("Sulfato de amonio",20.5,0.0,0.0,24.0));//ok
fertilizantes.put("UAN",new Fertilizante("UAN",31,0.0,0.0,0.0));//ok
fertilizantes.put("Urea",new Fertilizante("Urea",46,0.0,0.0,0.0));//ok
		//Fosfatados
//acido fosforico
fertilizantes.put("Fosfato diamónico",new Fertilizante("Fosfato diamónico",18,20,0.0,0));//ok
fertilizantes.put("Fosfato monoamónico",new Fertilizante("Fosfato monoamónico",11,23,0.0,0));//ok
fertilizantes.put("Fosfato monopotásico",new Fertilizante("Fosfato monopotósico",0,23,29,0));//ok
fertilizantes.put("Superfosfato simple",new Fertilizante("Superfosfato simple",0.0,9,0.0,12));//ok
fertilizantes.put("Superfosfato triple",new Fertilizante("Superfosfato triple",0.0,20,0.0,0.0));//ok
		//Potasicos
fertilizantes.put("Cloruro de potasio",new Fertilizante("Cloruro de potasio",0.0,0.0,50,0.0));//ok
fertilizantes.put("Nitrato de potasio",new Fertilizante("Nitrato de potasio",13,0.0,36,0.0));//ok
fertilizantes.put("Sulfato de potasio",new Fertilizante("Sulfato de potasio",0.0,0.0,42,18));//ok
		//Azufrados
fertilizantes.put("<NAME>",new Fertilizante("Yes<NAME>",0.0,0.0,0,17));//ok S=17 Ca=22
		//Calcicos
//fertilizantes.put("Nitrato de calcio",new Fertilizante("Nitrato de calcio",15,0.0,0.0,0.0));19Ca 15N
//fertilizantes.put("Superfosfato de calcio",new Fertilizante("Superfosfato de calcio",0.0,17,0.0,0.0));
	}
	
}
{'fraction_non_alphanumeric': 0.14977973568281938, 'fraction_numerical': 0.07147932357538724, 'mean_word_length': 4.914285714285715, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '4615533', 'n_tokens_mistral': 3486, 'n_tokens_neox': 3182, 'n_words': 492}