<commit_before>
-module(state_mon).
-author(<EMAIL>).

-export([start/0]).
-export([init/0]).

-include("include/state_mon.hrl").

start() ->
	register(?MODULE, Pid=spawn(?MODULE, init, [])),
	{ok, Pid}.

init() ->
	debug:log("state_mon: initializing"),
	loop([]).

loop(State) ->
	debug:log("LOOP~n~p", [State]),
	receive
		#state_change{sender=_Sender, objtype=ObjType, obj=Obj, prev_state=PrevState, new_state=NewState} ->
			debug:log("~p:~p changed: ~p -> ~p", [ObjType, Obj, PrevState, NewState]),
			loop(State);
		M ->
			debug:log("UNKNOWN: ~p", [M]),
			loop(State)
	end.
<commit_msg>remove debug output<commit_after>
-module(state_mon).
-author(<EMAIL>).

-export([start/0]).
-export([init/0]).

-include("include/state_mon.hrl").

start() ->
	register(?MODULE, Pid=spawn(?MODULE, init, [])),
	{ok, Pid}.

init() ->
	debug:log("state_mon: initializing"),
	loop([]).

loop(State) ->
	receive
		#state_change{sender=_Sender, objtype=ObjType, obj=Obj, prev_state=PrevState, new_state=NewState} ->
			debug:log("~p:~p changed: ~p -> ~p", [ObjType, Obj, PrevState, NewState]),
			loop(State);
		M ->
			debug:log("UNKNOWN: ~p", [M]),
			loop(State)
	end.
{'fraction_non_alphanumeric': 0.23189655172413792, 'fraction_numerical': 0.0034482758620689655, 'mean_word_length': 4.953846153846154, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3281403', 'n_tokens_mistral': 494, 'n_tokens_neox': 467, 'n_words': 80}