<commit_before>require Logger

defmodule Serverboards.Plugin.Init.Supervisor do
  @moduledoc """
  Supervisor for init proceses, keep them running always.
  """
  use Supervisor

  def start_link(options \\ []) do
    {:ok, pid} = Supervisor.start_link(__MODULE__,[], options)
    #Logger.debug("Start init supervisor: #{inspect pid}")

    for c <- Serverboards.Plugin.Registry.filter_component( type: "init" ) do
      c = Serverboards.Plugin.Init.from_component(c)
      start_init(c)<commit_msg>Cleanup comment<commit_after>require Logger

defmodule Serverboards.Plugin.Init.Supervisor do
  @moduledoc """
  Supervisor for init proceses, keep them running always.
  """
  use Supervisor

  def start_link(options \\ []) do
    {:ok, pid} = Supervisor.start_link(__MODULE__,[], options)
    #Logger.debug("Start init supervisor: #{inspect pid}")

    for c <- Serverboards.Plugin.Registry.filter_component( type: "init" ) do
      c = Serverboards.Plugin.Init.from_component(c)
      start_init(c)
{'fraction_non_alphanumeric': 0.12287712287712288, 'fraction_numerical': 0.0, 'mean_word_length': 4.164948453608248, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5564067', 'n_tokens_mistral': 314, 'n_tokens_neox': 306, 'n_words': 74}