<commit_before>#include <stdint.h>
#include <clib.h>
#include <Point.h>
#include <Square.h>
#include <c_string.h>
#include <c_syscall.h>
#include <Stack.h>
#define CENTRE_X 384
#define CENTRE_Y 512

void initializeFractal(Square * s);
Stack * step();

int fractalMain(uint64_t argc, uint8_t** argv) {
	uint32_t size=256;
	uint8_t i=7;

	if(argc){
		if(argc!=1) return 1;
		if(c_strcmp("big",argv[0])==0){
			size=512;
			i=8;
		} else if(c_strcmp("small",argv[0])==0){
		} else {
			return 1;
		}
		exit();
	}

	initializeFractal(newSquare(CENTRE_X,CENTRE_Y,size,size));

	Stack * s;
	while(i){
		sleep(18*2);
		s = step();
		i--;
	}
	sleep(18*2);
	clear_screen();
	Square * sq;
	while(!isEmpty(s)){
		sq = pop(s);
		deleteSquare(sq);
	}
	free(s);

	return 0;
}
<commit_msg>fractal gloriously running gabenlike on its own process<commit_after>#include <stdint.h>
#include <clib.h>
#include <Point.h>
#include <Square.h>
#include <c_string.h>
#include <c_syscall.h>
#include <Stack.h>
#define CENTRE_X 384
#define CENTRE_Y 512

void initializeFractal(Square * s);
Stack * step();

int fractalMain(uint64_t argc, uint8_t** argv) {
	uint32_t size=256;
	uint8_t i=7;

	if(argc){
		if(argc!=1) return 1;
		if(c_strcmp("big",argv[0])==0){
			size=512;
			i=8;
		} else if(c_strcmp("small",argv[0])==0){
		} else {
			return 1;
		}
		exit();
	}

	initializeFractal(newSquare(CENTRE_X,CENTRE_Y,size,size));

	Stack * s;
	while(i){
		sleep(18*2);
		s = step();
		i--;
	}
	sleep(18*2);
	clear_screen();
	Square * sq;
	while(!isEmpty(s)){
		sq = pop(s);
		deleteSquare(sq);
	}
	free(s);

	exit();
}

{'fraction_non_alphanumeric': 0.1889168765743073, 'fraction_numerical': 0.04219143576826197, 'mean_word_length': 4.4604810996563575, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4502385', 'n_tokens_mistral': 800, 'n_tokens_neox': 728, 'n_words': 138}