<commit_before>package org.schoellerfamily.gedbrowser.analytics.test;

import org.schoellerfamily.gedbrowser.analytics.CalendarProvider;
import org.schoellerfamily.gedbrowser.analytics.CalendarProviderStub;
import org.schoellerfamily.gedbrowser.analytics.order.test.OrderAnalyzerTestHelper;
import org.schoellerfamily.gedbrowser.datamodel.util.GedObjectBuilder;
import org.schoellerfamily.gedbrowser.reader.GedObjectCreator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author <NAME>
 */
@Configuration
public class TestConfiguration {

    /**
     * @return provides the "today" for use in comparisons
     */
    public CalendarProvider provider() {
        return new CalendarProviderStub();
    }

    /**
     * @return the helper
     */
    @Bean
    public OrderAnalyzerTestHelper helper() {
        return new OrderAnalyzerTestHelper();
    }

    /**<commit_msg>add missing bean annotation<commit_after>package org.schoellerfamily.gedbrowser.analytics.test;

import org.schoellerfamily.gedbrowser.analytics.CalendarProvider;
import org.schoellerfamily.gedbrowser.analytics.CalendarProviderStub;
import org.schoellerfamily.gedbrowser.analytics.order.test.OrderAnalyzerTestHelper;
import org.schoellerfamily.gedbrowser.datamodel.util.GedObjectBuilder;
import org.schoellerfamily.gedbrowser.reader.GedObjectCreator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author <NAME>
 */
@Configuration
public class TestConfiguration {

    /**
     * @return provides the "today" for use in comparisons
     */
    @Bean
    public CalendarProvider provider() {
        return new CalendarProviderStub();
    }

    /**
     * @return the helper
     */
    @Bean
    public OrderAnalyzerTestHelper helper() {
        return new OrderAnalyzerTestHelper();
    }

    /**
{'fraction_non_alphanumeric': 0.09511434511434512, 'fraction_numerical': 0.0, 'mean_word_length': 4.303030303030303, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1799240', 'n_tokens_mistral': 541, 'n_tokens_neox': 527, 'n_words': 96}