<commit_before>#include <stdio.h>
#include "klist.h"
#include "dbg.h"

#include "stl.h"
#include "poly.h"

typedef struct s_bsp_node {
	klist_t(poly) *polygons;
	struct s_bsp_node *divider;

	struct s_bsp_node *front;
	struct s_bsp_node *back;
} bsp_node_t;

bsp_node_t *alloc_bsp_node(void) {
	bsp_node_t *node = NULL;
	check_mem(node = calloc(1, sizeof(bsp_node_t)));
	return node;
error:
	return NULL;<commit_msg>Divider is a polygon<commit_after>#include <stdio.h>
#include "klist.h"
#include "dbg.h"

#include "stl.h"
#include "poly.h"

typedef struct s_bsp_node {
	klist_t(poly) *polygons;
	poly_t *divider;

	struct s_bsp_node *front;
	struct s_bsp_node *back;
} bsp_node_t;

bsp_node_t *alloc_bsp_node(void) {
	bsp_node_t *node = NULL;
	check_mem(node = calloc(1, sizeof(bsp_node_t)));
	return node;
error:
	return NULL;
{'fraction_non_alphanumeric': 0.13285024154589373, 'fraction_numerical': 0.0024154589371980675, 'mean_word_length': 5.851239669421488, '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': '2169303', 'n_tokens_mistral': 386, 'n_tokens_neox': 375, 'n_words': 77}