<commit_before>/* 
 * Copyright (C) 2000  Neotonic
 *
 * All Rights Reserved.
 */

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

#include "neo_err.h"
#include "neo_misc.h"
#include "ulist.h"

int NERR_PASS = -1;
int NERR_ASSERT = 0;
int NERR_NOT_FOUND = 0;
int NERR_DUPLICATE = 0;
int NERR_NOMEM = 0;
int NERR_PARSE = 0;
int NERR_OUTOFRANGE = 0;
int NERR_SYSTEM = 0;
int NERR_IO = 0;

static NEOERR *FreeList = NULL;
static ULIST *Errors = NULL;
static int Inited = 0;

static NEOERR *_err_alloc(void)
{
  NEOERR *err;<commit_msg>add NERR_LOCK<commit_after>/* 
 * Copyright (C) 2000  Neotonic
 *
 * All Rights Reserved.
 */

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

#include "neo_err.h"
#include "neo_misc.h"
#include "ulist.h"

int NERR_PASS = -1;
int NERR_ASSERT = 0;
int NERR_NOT_FOUND = 0;
int NERR_DUPLICATE = 0;
int NERR_NOMEM = 0;
int NERR_PARSE = 0;
int NERR_OUTOFRANGE = 0;
int NERR_SYSTEM = 0;
int NERR_IO = 0;
int NERR_LOCK = 0;

static NEOERR *FreeList = NULL;
static ULIST *Errors = NULL;
static int Inited = 0;

static NEOERR *_err_alloc(void)
{
  NEOERR *err;
{'fraction_non_alphanumeric': 0.12827461607949414, 'fraction_numerical': 0.026196928635953028, 'mean_word_length': 4.226415094339623, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1250322', 'n_tokens_mistral': 513, 'n_tokens_neox': 476, 'n_words': 131}