<commit_before><?php

function IncludeModule( $dir, $module )
{
  $file = $dir."/".$module.".php";

  if (!file_exists($file))
    return null;

  include_once($dir.".php");
  include_once($file);
  return new $module;
}

function LoadModule( $dir, $module, $force_raw = false )
{
  $module = IncludeModule($dir, $module);
  return new phoxy_sys_api($module, $force_raw);
}<commit_msg>Fixing little mistake, when using modules in different directory<commit_after><?php

function IncludeModule( $dir, $module )
{
  $file = $dir."/".$module.".php";

  if (!file_exists($file))
    return null;

  include_once("api.php");
  include_once($file);
  return new $module;
}

function LoadModule( $dir, $module, $force_raw = false )
{
  $module = IncludeModule($dir, $module);
  return new phoxy_sys_api($module, $force_raw);
}
{'fraction_non_alphanumeric': 0.17216117216117216, 'fraction_numerical': 0.0, 'mean_word_length': 4.857142857142857, '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': '166722', 'n_tokens_mistral': 290, 'n_tokens_neox': 282, 'n_words': 66}