<commit_before>package cls.util;

import cls.alg.ga.GA;
import cls.alg.ga.CanonicalGA;
import cls.alg.ga.CHC;
import cls.decode.Decoder;
import cls.decode.NumSetBitsDecoder;
import cls.decode.PositiveRealDecoder;
import cls.decode.RealDecoder;
import cls.fitness.Function;
import cls.fitness.IdentityFunction;
import cls.fitness.ReverseParabola;
import cls.util.Configuration;
import cls.util.GAResultSet;

public class GARunner
{
    private static boolean verbose = false;

    public static void main(String[] args)
    {
        Configuration config = configure(args);

        Function function = (Function) config.getAlgorithm(config.ALG_FITNESS);
        Decoder decoder = (Decoder) config.getAlgorithm(config.ALG_DECODER);
        decoder.setPrecision(config.getFPP());
        GA ga = (GA) config.getAlgorithm(config.ALG_GA);
        ga.setDecoder(decoder);
        ga.setFunction(function);
        ga.init();

        if (verbose)
            printBeginInfo(config);

        GAResultSet results = ga.run
        (
            config.getSizePopulation(),<commit_msg>Cleaned up static warning in GARunner class.<commit_after>package cls.util;

import cls.alg.ga.GA;
import cls.alg.ga.CanonicalGA;
import cls.alg.ga.CHC;
import cls.decode.Decoder;
import cls.decode.NumSetBitsDecoder;
import cls.decode.PositiveRealDecoder;
import cls.decode.RealDecoder;
import cls.fitness.Function;
import cls.fitness.IdentityFunction;
import cls.fitness.ReverseParabola;
import cls.util.Configuration;
import cls.util.GAResultSet;

public class GARunner
{
    private static boolean verbose = false;

    public static void main(String[] args)
    {
        Configuration config = configure(args);

        Function function = (Function) config
            .getAlgorithm(Configuration.ALG_FITNESS);
        Decoder decoder = (Decoder) config
            .getAlgorithm(Configuration.ALG_DECODER);
        decoder.setPrecision(config.getFPP());
        GA ga = (GA) config.getAlgorithm(Configuration.ALG_GA);
        ga.setDecoder(decoder);
        ga.setFunction(function);
        ga.init();

        if (verbose)
            printBeginInfo(config);

        GAResultSet results = ga.run
        (
            config.getSizePopulation(),
{'fraction_non_alphanumeric': 0.09991039426523297, 'fraction_numerical': 0.0, 'mean_word_length': 3.2777777777777777, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7028274', 'n_tokens_mistral': 677, 'n_tokens_neox': 676, 'n_words': 137}