<commit_before>package sales.goods.generator;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import sales.goods.repository.GoodsRepository;

import javax.annotation.PostConstruct;
import java.io.IOException;

/**
 * Created by volodya on 23.07.15.
 */

@Component
public class Fixtures {

    @Autowired
    private GoodsRepository repository;

    @PostConstruct
    public void init() throws IOException {
        GoodsGenerator generator = new GoodsGenerator();
        generator.init("goodsresource");
        for (int i = 0; i < 1; i++) {
            repository.save(generator.generateList());
        }
    }
}
<commit_msg>fixed generator<commit_after>package sales.goods.generator;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import sales.goods.repository.GoodsRepository;

import javax.annotation.PostConstruct;
import java.io.IOException;

/**
 * Created by volodya on 23.07.15.
 */
@Component
public class Fixtures {

    @Autowired
    private GoodsRepository repository;

    @PostConstruct
    public void init() throws IOException {
        GoodsGenerator generator = new GoodsGenerator();
        generator.init("goodsresource");
        for (int i = 0; i < 50; i++) {
            repository.save(generator.generateList());
        }
    }
}

{'fraction_non_alphanumeric': 0.10344827586206896, 'fraction_numerical': 0.01221264367816092, 'mean_word_length': 3.537459283387622, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2552966', 'n_tokens_mistral': 392, 'n_tokens_neox': 382, 'n_words': 89}