<commit_before>#include <stdio.h>
#include <iostream>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <pthread.h>
#include <cstdlib>
#include <fstream>
#include <vector>
using namespace std;

extern pthread_mutex_t mtx; //used for file locks

//used to pass parameters
class Admin;
struct Parameter
{
	Admin* pThis;
	int ID;
};

//log format
struct Log
{
	string Name;
	time_t rawTime;
	char Content[100];<commit_msg>Version 0.0.20 Add errno.h<commit_after>#include <stdio.h>
#include <iostream>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <pthread.h>
#include <cstdlib>
#include <fstream>
#include <vector>
#include <errno.h>
using namespace std;

extern pthread_mutex_t mtx; //used for file locks

//used to pass parameters
class Admin;
struct Parameter
{
	Admin* pThis;
	int ID;
};

//log format
struct Log
{
	string Name;
	time_t rawTime;
	char Content[100];
{'fraction_non_alphanumeric': 0.14507299270072993, 'fraction_numerical': 0.009124087591240875, 'mean_word_length': 4.961956521739131, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, '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': '5969886', 'n_tokens_mistral': 435, 'n_tokens_neox': 419, 'n_words': 120}