<commit_before>%%% -*-mode:erlang;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
%%% ex: set ft=erlang fenc=utf-8 sts=4 ts=4 sw=4 et:
%%%
%%% Copyright 2015 <NAME>. All Rights Reserved.
%%%

%%% Common Test includes
-include_lib("common_test/include/ct.hrl").
%%% Include this library's name macro
-include("app.hrl").

%%% Application setup
-define(ctApplicationSetup(),
    [application:set_env(Application, Key, Value, [{persistent, true}]) || {Application, Key, Value} <-
        [{sync, growl, none},
        {sync, log, none},
        {sasl, errlog_type, error},
        {sasl, error_logger_mf_dir, false},
        {lager, colored, true},
        {lager, handlers, [
            {lager_console_backend, [info, {lager_default_formatter, ["[", date, " ", time, "] severity=", severity, " module=", {module, "gen_rpc"}, " pid=\"", pid, "\" ", message, "\n"]}]},
            {lager_common_test_backend, [error, {lager_default_formatter, ["[", date, " ", time, "] severity=", severity, " module=", {module, "gen_rpc"}, " pid=\"", pid, "\" ", message, "\n"]}]}
        ]}
    ]]
).

%%% Node definitions
-define(NODE, 'gen_rpc_master@127.0.0.1').
-define(SLAVE, 'gen_rpc_slave@127.0.0.1').
-define(SLAVE_IP, '127.0.0.1').
-define(SLAVE_NAME, 'gen_rpc_slave').

-define(restart_application(), 
    begin
        ok = application:stop(?APP),
        ok = application:unload(?APP),
        ok = application:start(?APP)
    end  
).<commit_msg>reorder function of similar nature together<commit_after>%%% -*-mode:erlang;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
%%% ex: set ft=erlang fenc=utf-8 sts=4 ts=4 sw=4 et:
%%%
%%% Copyright 2015 <NAME>. All Rights Reserved.
%%%

%%% Common Test includes
-include_lib("common_test/include/ct.hrl").
%%% Include this library's name macro
-include("app.hrl").

%%% Node definitions
-define(NODE, 'gen_rpc_master@127.0.0.1').
-define(SLAVE, 'gen_rpc_slave@127.0.0.1').
-define(SLAVE_IP, '127.0.0.1').
-define(SLAVE_NAME, 'gen_rpc_slave').

%%% Application setup
-define(ctApplicationSetup(),
    [application:set_env(Application, Key, Value, [{persistent, true}]) || {Application, Key, Value} <-
        [{sync, growl, none},
        {sync, log, none},
        {sasl, errlog_type, error},
        {sasl, error_logger_mf_dir, false},
        {lager, colored, true},
        {lager, handlers, [
            {lager_console_backend, [info, {lager_default_formatter, ["[", date, " ", time, "] severity=", severity, " module=", {module, "gen_rpc"}, " pid=\"", pid, "\" ", message, "\n"]}]},
            {lager_common_test_backend, [error, {lager_default_formatter, ["[", date, " ", time, "] severity=", severity, " module=", {module, "gen_rpc"}, " pid=\"", pid, "\" ", message, "\n"]}]}
        ]}
    ]]
).

-define(restart_application(), 
    begin
        ok = application:stop(?APP),
        ok = application:unload(?APP),
        ok = application:start(?APP)
    end  
).
{'fraction_non_alphanumeric': 0.2111337406653089, 'fraction_numerical': 0.019687712152070606, 'mean_word_length': 3.707667731629393, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '7529203', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1052, 'n_words': 207}