<commit_before><?php

define("ROOT_DIR", __dir__ . DIRECTORY_SEPARATOR);

function sendGridLoader($string)
{
  if ($string == 'SendGrid' || stripos($string, 'SendGrid\\') === 0)
  {
    $file = str_replace('\\', '/', "$string.php");
    var_dump( ROOT_DIR . $file);exit; 
    include_once ROOT_DIR . $file;
  }
}

spl_autoload_register("sendGridLoader");<commit_msg>senggrid loader funciona<commit_after><?php

define("ROOT_DIR", __dir__ . DIRECTORY_SEPARATOR);

function sendGridLoader($string)
{
  if ($string == 'SendGrid' || stripos($string, 'SendGrid\\') === 0)
  {
    $file = str_replace('\\', '/', "$string.php");
    include_once ROOT_DIR . $file;
  }
}

spl_autoload_register("sendGridLoader");
{'fraction_non_alphanumeric': 0.19318181818181818, 'fraction_numerical': 0.002840909090909091, 'mean_word_length': 4.8264462809917354, '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': '489211', 'n_tokens_mistral': 259, 'n_tokens_neox': 255, 'n_words': 42}