<commit_before>%% yaws port
{port, 5280}.
%% log dir, used only for yaws
{log_dir, "log/"}.
%% values: debug, info, warning, error, critical
{log_level, debug}.
%% pidfile
{pidfile, "log/ucengine.pid"}.
%% yaws cache
{cache_refresh, 0}.
{long_polling_timeout, 60}.
%% Session timeout
{presence_timeout, 150}.
{timeout_refresh, 1}.
%% yaws root dir
{root, "priv/www/"}.
%% admin setup
{admin, [{uid, "root"}, {auth, "password"}, {credential, "root"}]}.

%%
{bricks,
 [{"twitter", "da<PASSWORD>"},
  {"document", "4efb7c6f7edf5c6392e1b107dde0621140fca97f"},
  {"erlyvideo", "da93ae03c1280f82709f857ffa22f0a30c26fa9c"},
  {"translation", "d713ab03c0280f82709f865ffa2240a38c26f09b"}]}.


{hosts, [
         {"localhost", [{data, "data/files"}]}
]}.

{roles,
    [{"default", [{"add", "presence", []},
                  {"delete", "presence", []},
                  {"get",    "infos",    []},
                  {"get",    "meeting",  []},
                  {"list",   "meeting",  []},
                  {"add",    "roster",   []},
                  {"delete", "roster",   []},
                  {"add",    "file",     []},
                  {"list",    "file",     []},
                  {"get",    "file",     []},
                  {"all",    "event",    []},
                  {"view",    "video",    []},
                  {"check", "access",    []}]},
    {"owner", [{"share", "document", []},
               {"delete", "file", []},
               {"publish", "video", []},
               {"update", "meeting", []},
               {"add", "user.role", [{"role", "speaker"}]},
               {"delete", "user.role", [{"role", "speaker"}]}]},
    {"speaker", [{"share", "document", []},
                 {"publish", "video", []},
                 {"delete", "file", []}]}]}.

{db, mnesia}.
%{db, mongodb}.
{mongodb, [{size, 10},
           {host, "127.0.0.1"},
           {port, 27017},
           {database, "ucengine"}]}.

{search, erlang}.
{metrics, false}.
%{search, solr}.
{solr, [{host, "http://localhost:8983/solr"}]}.<commit_msg>Remove metrics from the default config file.<commit_after>%% yaws port
{port, 5280}.
%% log dir, used only for yaws
{log_dir, "log/"}.
%% values: debug, info, warning, error, critical
{log_level, debug}.
%% pidfile
{pidfile, "log/ucengine.pid"}.
%% yaws cache
{cache_refresh, 0}.
{long_polling_timeout, 60}.
%% Session timeout
{presence_timeout, 150}.
{timeout_refresh, 1}.
%% yaws root dir
{root, "priv/www/"}.
%% admin setup
{admin, [{uid, "root"}, {auth, "password"}, {credential, "root"}]}.

%%
{bricks,
 [{"twitter", "da3<PASSWORD>"},
  {"document", "4efb7c6f7edf5c6392e1b107dde0621140fca97f"},
  {"erlyvideo", "da93ae03c1280f82709f857ffa22f0a30c26fa9c"},
  {"translation", "d713ab03c0280f82709f865ffa2240a38c26f09b"}]}.


{hosts, [
         {"localhost", [{data, "data/files"}]}
]}.

{roles,
    [{"default", [{"add", "presence", []},
                  {"delete", "presence", []},
                  {"get",    "infos",    []},
                  {"get",    "meeting",  []},
                  {"list",   "meeting",  []},
                  {"add",    "roster",   []},
                  {"delete", "roster",   []},
                  {"add",    "file",     []},
                  {"list",    "file",     []},
                  {"get",    "file",     []},
                  {"all",    "event",    []},
                  {"view",    "video",    []},
                  {"check", "access",    []}]},
    {"owner", [{"share", "document", []},
               {"delete", "file", []},
               {"publish", "video", []},
               {"update", "meeting", []},
               {"add", "user.role", [{"role", "speaker"}]},
               {"delete", "user.role", [{"role", "speaker"}]}]},
    {"speaker", [{"share", "document", []},
                 {"publish", "video", []},
                 {"delete", "file", []}]}]}.

{db, mnesia}.
%{db, mongodb}.
{mongodb, [{size, 10},
           {host, "127.0.0.1"},
           {port, 27017},
           {database, "ucengine"}]}.

{search, erlang}.
%{search, solr}.
{solr, [{host, "http://localhost:8983/solr"}]}.
{'fraction_non_alphanumeric': 0.24645129711209007, 'fraction_numerical': 0.04968184043073911, 'mean_word_length': 2.1414296694850115, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '2710497', 'n_tokens_mistral': 1558, 'n_tokens_neox': 1415, 'n_words': 277}