<commit_before>
-module(wallaroo_sup).

-behaviour(supervisor).

%% API
-export([start_link/0]).

%% Supervisor callbacks
-export([init/1]).
-define(SERVER, ?MODULE).

%% Helper macro for declaring children of supervisor
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).

%% ===================================================================
%% API functions
%% ===================================================================

start_link() ->
    Result = supervisor:start_link({local, ?SERVER}, ?MODULE, []),
    error_logger:info_msg("WALLAROO SUP start_link result ~p~n", [Result]),
    Result.

%% ===================================================================
%% Supervisor callbacks
%% ===================================================================

init(_) ->
    error_logger:info_msg("in WALLAROO SUP init callback ~n", []),
    Server = ?CHILD(wallaroo, worker),
    Children = [Server],
    RestartStrategy = {one_for_one, 1, 60},<commit_msg>wallaroo supervisor now starts config process<commit_after>
-module(wallaroo_sup).

-behaviour(supervisor).

%% API
-export([start_link/0]).

%% Supervisor callbacks
-export([init/1]).
-define(SERVER, ?MODULE).

%% Helper macro for declaring children of supervisor
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).

%% ===================================================================
%% API functions
%% ===================================================================

start_link() ->
    Result = supervisor:start_link({local, ?SERVER}, ?MODULE, []),
    error_logger:info_msg("WALLAROO SUP start_link result ~p~n", [Result]),
    Result.

%% ===================================================================
%% Supervisor callbacks
%% ===================================================================

init(_) ->
    error_logger:info_msg("in WALLAROO SUP init callback ~n", []),
    APIServer = ?CHILD(wallaroo, worker),
    ConfigServer = ?CHILD(wallaroo_config, worker),
    Children = [APIServer, ConfigServer],
    RestartStrategy = {one_for_one, 1, 60},
{'fraction_non_alphanumeric': 0.38465204957102, 'fraction_numerical': 0.008579599618684462, 'mean_word_length': 6.523297491039426, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2860422', 'n_tokens_mistral': 617, 'n_tokens_neox': 559, 'n_words': 124}