<commit_before>//
// semver.c
//
// Copyright (c) 2015 <NAME>
// MIT licensed
//

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "semver.h"

#define DELIMITER    "."
#define PR_DELIMITER "-"
#define MT_DELIMITER "+"
#define SLICE_SIZE   50
#define MAX_SIZE     sizeof(char) * 255
#define NUMBERS      "0123456789"
#define ALPHA        "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define DELIMITERS   DELIMITER PR_DELIMITER MT_DELIMITER
#define VALID_CHARS  NUMBERS ALPHA DELIMITERS

const int MAX_SAFE_INT = (unsigned int) -1 >> 1;<commit_msg>refactor: make constant static<commit_after>//
// semver.c
//
// Copyright (c) 2015 <NAME>
// MIT licensed
//

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "semver.h"

#define DELIMITER    "."
#define PR_DELIMITER "-"
#define MT_DELIMITER "+"
#define SLICE_SIZE   50
#define MAX_SIZE     sizeof(char) * 255
#define NUMBERS      "0123456789"
#define ALPHA        "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define DELIMITERS   DELIMITER PR_DELIMITER MT_DELIMITER
#define VALID_CHARS  NUMBERS ALPHA DELIMITERS

static const int MAX_SAFE_INT = (unsigned int) -1 >> 1;
{'fraction_non_alphanumeric': 0.11669505962521294, 'fraction_numerical': 0.03577512776831346, 'mean_word_length': 4.2690582959641254, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '7597957', 'n_tokens_mistral': 509, 'n_tokens_neox': 451, 'n_words': 107}