<commit_before>package kata2;

import java.util.HashMap;

public class Kata2 {

    public static void main(String[] args) {
        int[] vec = {2,2,11,4,2,6,11,2,3,5,11,5};
        HashMap<Integer,Integer> map = new HashMap<>();
        
        for (int i = 0; i < vec.length; i++) {
            Integer frec = map.get(vec[i]);
            System.out.println(map.get(vec[i]));
            if(frec != null) {
                map.put(vec[i], frec+1 );
            }else{
                map.put(vec[i], 1);
            }
            
            for (Integer key : vec) {
                
            }
        }
    }
    
    
}<commit_msg>Kata2 main superclass<commit_after>package kata2;

import java.util.HashMap;

public class Kata2 {

    public static void main(String[] args) {
        int[] vec = {2,2,11,4,2,6,11,2,3,5,11,5};
        HashMap<Integer,Integer> map = new HashMap<>();
        
        for (int i = 0; i < vec.length; i++) {
            Integer frec = map.get(vec[i]);
            if(frec != null) {
                map.put(vec[i], frec+1 );
            }else{
                map.put(vec[i], 1);
            }
            
            for (Integer key : map.keySet()) {
                System.out.println(map.get(key));
            }
        }
    }
    
    
}
{'fraction_non_alphanumeric': 0.15151515151515152, 'fraction_numerical': 0.031857031857031856, 'mean_word_length': 1.3807763401109057, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '3070782', 'n_tokens_mistral': 442, 'n_tokens_neox': 427, 'n_words': 84}