<commit_before>#include <pebble.h>

#include "graphix.h"

static Window *s_main_window;
static Layer *s_canvas_layer;

void __load(Window* window)
{
	Layer* window_layer = window_get_root_layer(window);
	GRect window_bounds = layer_get_bounds(window_layer);
	
	s_canvas_layer = layer_create(GRect(0,0,window_bounds.size.w,window_bounds.size.h));
	layer_add_child(window_layer,s_canvas_layer);
	
	layer_set_update_proc(s_canvas_layer,canvas_update_proc);
}

void __unload(Window* window)
{
	layer_destroy(s_canvas_layer);
}

void graphix(uint32_t max_health , unit32_t curr_health , uint32_t prev_dmg)
{
	graphics_context_set_stroke_color(GColorBlack);
	s_main_window = window_create();
	window_set_window_handlers(s_main_window,(WindowHandlers){
		.load = __load;
		.unload = __unload;
	});
	window_stack_push(s_main_window,true);
}<commit_msg>corrected "unit32_t" to "uint32_t"<commit_after>#include <pebble.h>

#include "graphix.h"

static Window *s_main_window;
static Layer *s_canvas_layer;

void __load(Window* window)
{
	Layer* window_layer = window_get_root_layer(window);
	GRect window_bounds = layer_get_bounds(window_layer);
	
	s_canvas_layer = layer_create(GRect(0,0,window_bounds.size.w,window_bounds.size.h));
	layer_add_child(window_layer,s_canvas_layer);
	
	layer_set_update_proc(s_canvas_layer,canvas_update_proc);
}

void __unload(Window* window)
{
	layer_destroy(s_canvas_layer);
}

void graphix(uint32_t max_health , uint32_t curr_health , uint32_t prev_dmg)
{
	graphics_context_set_stroke_color(GColorBlack);
	s_main_window = window_create();
	window_set_window_handlers(s_main_window,(WindowHandlers){
		.load = __load;
		.unload = __unload;
	});
	window_stack_push(s_main_window,true);
}
{'fraction_non_alphanumeric': 0.10649502633118783, 'fraction_numerical': 0.011702750146284377, 'mean_word_length': 8.395604395604396, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '710038', 'n_tokens_mistral': 680, 'n_tokens_neox': 652, 'n_words': 89}