<commit_before>package com.castlefrog.agl.domains.backgammon;

import java.util.List;

import com.castlefrog.agl.SimulatorProvider;
import com.castlefrog.agl.Simulators;

public final class BackgammonSimulatorProvider implements SimulatorProvider {
    static {
        Simulators.registerProvider("backgammon", BackgammonSimulatorProvider.getInstance());
    }

    private BackgammonSimulatorProvider() {
    }

    public static BackgammonSimulatorProvider getInstance() {
        return new BackgammonSimulatorProvider();
    }

    public BackgammonSimulator newSimulator(List<String> params) {
        return BackgammonSimulator.create(new BackgammonState());
    }
}
<commit_msg>updated backgammon simulator provider to be singleton<commit_after>package com.castlefrog.agl.domains.backgammon;

import java.util.List;

import com.castlefrog.agl.SimulatorProvider;
import com.castlefrog.agl.Simulators;

public final class BackgammonSimulatorProvider implements SimulatorProvider {
    private static BackgammonSimulatorProvider instance_;

    static {
        Simulators.registerProvider("backgammon", BackgammonSimulatorProvider.getInstance());
    }

    private BackgammonSimulatorProvider() {}

    public static BackgammonSimulatorProvider getInstance() {
        if (instance_ == null) {
            instance_ = new BackgammonSimulatorProvider();
        }
        return instance_;
    }

    public BackgammonSimulator newSimulator(List<String> params) {
        return BackgammonSimulator.create(new BackgammonState());
    }
}

{'fraction_non_alphanumeric': 0.0783678756476684, 'fraction_numerical': 0.0, 'mean_word_length': 4.364583333333333, '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': '1221383', 'n_tokens_mistral': 457, 'n_tokens_neox': 441, 'n_words': 81}