<commit_before>package opticnav.ardd;

import org.apache.commons.math3.random.RandomGenerator;
import org.apache.commons.math3.random.Well1024a;

import opticnav.ardd.net.ARDListener;
import opticnav.ardd.net.AdminListener;

public class DaemonDriver {
    public static void main(String[] args) throws Exception {
        int adminPort = opticnav.ardd.protocol.Protocol.DEFAULT_ADMIN_PORT;
        int ardPort   = opticnav.ardd.protocol.Protocol.DEFAULT_ARD_PORT;
        
        ARDPendingList   pending   = new ARDPendingList();
        ARDPersistedList persisted = new ARDPersistedList();
        RandomGenerator  randomGen = new Well1024a();
        
        ARDListsManager ardListsManager;
        ardListsManager = new ARDListsManager(pending, persisted, randomGen);
        
        AdminListener adminServer = new AdminListener(adminPort, ardListsManager);
        ARDListener   ardServer   = new ARDListener(ardPort, ardListsManager);
        new Thread(adminServer).start();
        new Thread(ardServer).start();
    }
}<commit_msg>ardd: Using ISAACRandom() generator, as it's a cryptographically secure PRNG<commit_after>package opticnav.ardd;

import org.apache.commons.math3.random.ISAACRandom;
import org.apache.commons.math3.random.RandomGenerator;

import opticnav.ardd.net.ARDListener;
import opticnav.ardd.net.AdminListener;

public class DaemonDriver {
    public static void main(String[] args) throws Exception {
        int adminPort = opticnav.ardd.protocol.Protocol.DEFAULT_ADMIN_PORT;
        int ardPort   = opticnav.ardd.protocol.Protocol.DEFAULT_ARD_PORT;
        
        ARDPendingList   pending   = new ARDPendingList();
        ARDPersistedList persisted = new ARDPersistedList();
        RandomGenerator  randomGen = new ISAACRandom();
        
        ARDListsManager ardListsManager;
        ardListsManager = new ARDListsManager(pending, persisted, randomGen);
        
        AdminListener adminServer = new AdminListener(adminPort, ardListsManager);
        ARDListener   ardServer   = new ARDListener(ardPort, ardListsManager);
        new Thread(adminServer).start();
        new Thread(ardServer).start();
    }
}
{'fraction_non_alphanumeric': 0.08198239925891616, 'fraction_numerical': 0.00555812876331635, 'mean_word_length': 3.518828451882845, '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': '7387833', 'n_tokens_mistral': 646, 'n_tokens_neox': 604, 'n_words': 127}