<commit_before>#include <iostream>
#include <time.h>

#include "map/Level.h"
#include "map/filters/FloodFillFilter.h"

int main()
{
	std::cout << "Default Level:" << std::endl;
	Level lwalls(40, 80);
	lwalls.printLevel();
	std::cout << std::endl << std::endl;

	std::cout << "Flood-filled room:" << std::endl;
	Level room(40, 80);
	FloodFillFilter fill;
	fill.setStart(1,1);
	fill.setEnd(room.getWidth()-2, room.getHeight()-2);
	fill.setTile(FloorTile);
	fill.apply(room);
	room.printLevel();
	std::cout << std::endl << std::endl;

	//std::cout << "CaveGenerator:" << std::endl;
	//CaveGenerator cave;
	//cave.setSeed(time(NULL));
	//Level lcave(40, 80);
	//lcave.printLevel();
	//std::cout << std::endl << std::endl;

	//std::cout << "DungeonBSPGenerator:" << std::endl;
	//DungeonBSPGenerator dungeon;
	//dungeon.setSeed(time(NULL));
	//Level ldungeon(40, 80);
	//ldungeon.printLevel();
	//std::cout << std::endl << std::endl;

	return 0;
}<commit_msg>TestLevel uses DrunkardWalkFilter to make cave.<commit_after>#include <iostream>
#include <time.h>

#include "map/Level.h"
#include "map/filters/FloodFillFilter.h"
#include "map/filters/DrunkardsWalkFilter.h"

int main()
{
	std::cout << "Default Level:" << std::endl;
	Level walls(40, 80);
	walls.printLevel();
	std::cout << std::endl << std::endl;

	std::cout << "Flood-filled room:" << std::endl;
	Level room(40, 80);
	FloodFillFilter fill;
	fill.setStart(1,1);
	fill.setEnd(room.getWidth()-2, room.getHeight()-2);
	fill.setTile(FloorTile);
	fill.apply(room);
	room.printLevel();
	std::cout << std::endl << std::endl;

	std::cout << "A drunkard's walk cave:" << std::endl;
	Level cave(40, 80);
	DrunkardsWalkFilter walk;
	walk.setSeed(time(NULL));
	walk.apply(cave);
	cave.printLevel();
	std::cout << std::endl << std::endl;

	//std::cout << "DungeonBSPGenerator:" << std::endl;
	//DungeonBSPGenerator dungeon;
	//dungeon.setSeed(time(NULL));
	//Level ldungeon(40, 80);
	//ldungeon.printLevel();
	//std::cout << std::endl << std::endl;

	return 0;
}
{'fraction_non_alphanumeric': 0.21546134663341646, 'fraction_numerical': 0.020947630922693267, 'mean_word_length': 5.115853658536586, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 7, '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': '474402', 'n_tokens_mistral': 830, 'n_tokens_neox': 782, 'n_words': 145}