<commit_before>#include "jesus.h"

#define CONFIG_NAME "jesus-config"
#define CONFIG_VERSION "0.1"
#define CONFIG_KEY CONFIG_NAME"-"CONFIG_VERSION
static Eet_Data_Descriptor *edd;

Jesus_Config *config;

Jesus_Config*
_config_standart_new()
{
   Jesus_Config *config;

   config = calloc(1, sizeof(Jesus_Config));
   config->mime_type_open = eina_hash_string_small_new(NULL);

   return config;
}

void
_config_free(Jesus_Config *config)
{
    eina_hash_free(config->mime_type_open);
    free(config);
}

void
_config_read()<commit_msg>jesus: bump config version to avoid crashes in openwith<commit_after>#include "jesus.h"

#define CONFIG_NAME "jesus-config"
#define CONFIG_VERSION "0.2"
#define CONFIG_KEY CONFIG_NAME"-"CONFIG_VERSION
static Eet_Data_Descriptor *edd;

Jesus_Config *config;

Jesus_Config*
_config_standart_new()
{
   Jesus_Config *config;

   config = calloc(1, sizeof(Jesus_Config));
   config->mime_type_open = eina_hash_string_small_new(NULL);

   return config;
}

void
_config_free(Jesus_Config *config)
{
    eina_hash_free(config->mime_type_open);
    free(config);
}

void
_config_read()
{'fraction_non_alphanumeric': 0.10682226211849193, 'fraction_numerical': 0.005385996409335727, 'mean_word_length': 6.287581699346405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4392867', 'n_tokens_mistral': 429, 'n_tokens_neox': 401, 'n_words': 75}