<commit_before>#include <stdio.h>
#include <unistd.h>
#include <gc.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include <stdlib.h>

typedef struct {} Unit;

void init_gc(void) {
  GC_INIT();
}

void* malloc_gc(size_t sz) {
  return GC_MALLOC(sz);
}

bool le_i64(long x, long y) {
  return x <= y;
}

bool ge_i64(long x, long y) {
  return x >= y;
}

bool lt_i64(long x, long y) {
  return x < y;
}

bool gt_i64(long x, long y) {
  return x > y;
}

long sub_i64(long x, long y) {
  return x - y;
}

long add_i64(long x, long y) {
  return x + y;
}

long mul_i64(long x, long y) {
  return x * y;
}

double mul_double(double x, double y) { return x * y; }

bool eq_i64(long x, long y) {
  return x == y;
}

bool neq_i64(long x, long y) {
  return x != y;
}

bool or(bool x, bool y) {
  return x || y;
}

bool and(bool x, bool y) {
  return x && y;
}

bool not(bool x) { return !x; }

Unit unit = {};

Unit print(char* str) {
  printf("%s", str);
  return unit;
}

Unit println(char* str) {
  printf("%s\n", str);
  return unit;
}

Unit print_int(long n) {
  printf("%ld", n);<commit_msg>update lib.c<commit_after>#include <stdio.h>
#include <unistd.h>
#include <gc.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include <stdlib.h>

/* Unit type */
typedef struct {} Unit;

/* GC */
void init_gc(void) {
  GC_INIT();
}

void* malloc_gc(size_t sz) {
  return GC_MALLOC(sz);
}

/* operators */

long add_i64(long x, long y) { return x + y; }
long sub_i64(long x, long y) { return x - y; }
long mul_i64(long x, long y) { return x * y; }
long div_i64(long x, long y) { return x / y; }
long mod_i64(long x, long y) { return x % y; }
double add_double(double x, double y) { return x + y; }
double sub_double(double x, double y) { return x - y; }
double mul_double(double x, double y) { return x * y; }
double div_double(double x, double y) { return x / y; }
bool eq_i64(long x, long y) { return x == y; }
bool neq_i64(long x, long y) { return x != y; }
bool lt_i64(long x, long y) { return x < y; }
bool gt_i64(long x, long y) { return x > y; }
bool le_i64(long x, long y) { return x <= y; }
bool ge_i64(long x, long y) { return x >= y; }
bool eq_i8(char x, char y) { return x == y; }
bool neq_i8(char x, char y) { return x != y; }
bool lt_i8(char x, char y) { return x < y; }
bool gt_i8(char x, char y) { return x > y; }
bool le_i8(char x, char y) { return x <= y; }
bool ge_i8(char x, char y) { return x >= y; }
bool eq_i1(bool x, bool y) { return x == y; }
bool neq_i1(bool x, bool y) { return x != y; }
bool lt_i1(bool x, bool y) { return x < y; }
bool gt_i1(bool x, bool y) { return x > y; }
bool le_i1(bool x, bool y) { return x <= y; }
bool ge_i1(bool x, bool y) { return x >= y; }
bool eq_double(double x, double y) { return x == y; }
bool neq_double(double x, double y) { return x != y; }
bool lt_double(double x, double y) { return x < y; }
bool gt_double(double x, double y) { return x > y; }
bool le_double(double x, double y) { return x <= y; }
bool ge_double(double x, double y) { return x >= y; }

bool or(bool x, bool y) {
  return x || y;
}

bool and(bool x, bool y) {
  return x && y;
}

bool not(bool x) { return !x; }

Unit unit = {};

Unit print(char* str) {
  printf("%s", str);
  return unit;
}

Unit println(char* str) {
  printf("%s\n", str);
  return unit;
}

Unit print_int(long n) {
  printf("%ld", n);
{'fraction_non_alphanumeric': 0.1663189269746647, 'fraction_numerical': 0.015499254843517139, 'mean_word_length': 3.3527885862516213, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '7079288', 'n_tokens_mistral': 1454, 'n_tokens_neox': 1418, 'n_words': 482}