<commit_before>
void asserter_crash_if_not_equal(int, int, int);
void asserter_crash_if_equal(int, int, int);
unsigned int bitset_empty(void);

unsigned int bitgraph_empty(void);
unsigned int bitgraph_edge_add(unsigned int, unsigned int, unsigned int);
unsigned int bitgraph_neighbors_get(unsigned int, unsigned int);

int runner_main(void)
{
	// bitgraph_empty tests
	asserter_crash_if_not_equal(bitgraph_empty(), 0, __LINE__);

	// bitgraph_edge_add tests
	asserter_crash_if_equal(bitgraph_edge_add(bitgraph_empty(), 0, 0), bitgraph_empty(), __LINE__);

	// bitgraph_neighbors_get tests
	asserter_crash_if_not_equal(bitgraph_neighbors_get(bitgraph_empty(), 0), bitset_empty(), __LINE__);
	asserter_crash_if_equal(bitgraph_neighbors_get(bitgraph_edge_add(bitgraph_empty(), 0, 0), 0), bitset_empty(), __LINE__);

	return 0;
}

<commit_msg>[BITGRAPH] FAIL: check if neighbor is present in returned set<commit_after>
void asserter_crash_if(int, int);
void asserter_crash_if_not_equal(int, int, int);
void asserter_crash_if_equal(int, int, int);
unsigned int bitset_empty(void);
int bitset_is_in(unsigned int, unsigned int);

unsigned int bitgraph_empty(void);
unsigned int bitgraph_edge_add(unsigned int, unsigned int, unsigned int);
unsigned int bitgraph_neighbors_get(unsigned int, unsigned int);

int runner_main(void)
{
	// bitgraph_empty tests
	asserter_crash_if_not_equal(bitgraph_empty(), 0, __LINE__);

	// bitgraph_edge_add tests
	asserter_crash_if_equal(bitgraph_edge_add(bitgraph_empty(), 0, 0), bitgraph_empty(), __LINE__);

	// bitgraph_neighbors_get tests
	asserter_crash_if_not_equal(bitgraph_neighbors_get(bitgraph_empty(), 0), bitset_empty(), __LINE__);
	asserter_crash_if_equal(bitgraph_neighbors_get(bitgraph_edge_add(bitgraph_empty(), 0, 0), 0), bitset_empty(), __LINE__);
	asserter_crash_if(! bitset_is_in(bitgraph_neighbors_get(bitgraph_edge_add(bitgraph_empty(), 0, 1), 0), 1), __LINE__);

	return 0;
}


{'fraction_non_alphanumeric': 0.10493506493506494, 'fraction_numerical': 0.01038961038961039, 'mean_word_length': 9.136842105263158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7100112', 'n_tokens_mistral': 742, 'n_tokens_neox': 702, 'n_words': 138}