<commit_before>-module(tts_user_sup).
-behaviour(supervisor).

-export([start_link/0]).
-export([init/1]).

-export([add_user/1]).

start_link() ->
	supervisor:start_link({local, ?MODULE}, ?MODULE, []).

add_user(User) ->
    supervisor:start_child(?MODULE,[User]).

init([]) ->
    User = #{ 
      id => user, 
      start => {tts_user,start_link,[]}, 
      restart => transient
     },
	Procs = [User],
    Flags = #{ strategy => simple_one_for_one  },
	{ok, {Flags, Procs}}.<commit_msg>don't pass any User info on startup<commit_after>-module(tts_user_sup).
-behaviour(supervisor).

-export([start_link/0]).
-export([init/1]).

-export([add_user/0]).

start_link() ->
	supervisor:start_link({local, ?MODULE}, ?MODULE, []).

add_user() ->
    supervisor:start_child(?MODULE,[]).

init([]) ->
    User = #{ 
      id => user, 
      start => {tts_user,start_link,[]}, 
      restart => transient
     },
	Procs = [User],
    Flags = #{ strategy => simple_one_for_one  },
	{ok, {Flags, Procs}}.
{'fraction_non_alphanumeric': 0.20983935742971888, 'fraction_numerical': 0.006024096385542169, 'mean_word_length': 3.51131221719457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '3584555', 'n_tokens_mistral': 383, 'n_tokens_neox': 364, 'n_words': 59}