<commit_before>#include "MicroProject.h"
#include "Goal.h"
#include "FormationSubgoal.h"
#include <stdio.h>
#include <QtGui/QApplication.h>
using namespace BWAPI;
using namespace std;

void MicroAIModule::onStart()
{
	///Broodwar->printf("The map is %s, a %d player map",Broodwar->mapName().c_str(),Broodwar->getStartLocations().size());
	// Enable some cheat flags
    //Broodwar->printf("ON START !!\n");
    Broodwar->enableFlag(Flag::UserInput);
    Broodwar->setLocalSpeed(0);
	//Broodwar->enableFlag(Flag::CompleteMapInformation);
	BWTA::readMap();
	BWTA::analyze();
    this->eUnitsFilter = & EUnitsFilter::Instance();
    this->mapManager = & MapManager::Instance();
	this->objectManager = & ObjectManager::Instance();
    this->regions = & Regions::Instance();
    this->unitGroupManager = & UnitGroupManager::Instance();

	mm = new UnitsGroup();
<commit_msg>correct a bug introduced by Louis, Regions has a setDependencies now...<commit_after>#include "MicroProject.h"
#include "Goal.h"
#include "FormationSubgoal.h"
#include <stdio.h>
#include <QtGui/QApplication.h>
using namespace BWAPI;
using namespace std;

void MicroAIModule::onStart()
{
	///Broodwar->printf("The map is %s, a %d player map",Broodwar->mapName().c_str(),Broodwar->getStartLocations().size());
	// Enable some cheat flags
    //Broodwar->printf("ON START !!\n");
    Broodwar->enableFlag(Flag::UserInput);
    Broodwar->setLocalSpeed(0);
	//Broodwar->enableFlag(Flag::CompleteMapInformation);
	BWTA::readMap();
	BWTA::analyze();
    this->eUnitsFilter = & EUnitsFilter::Instance();
    this->mapManager = & MapManager::Instance();
	this->objectManager = & ObjectManager::Instance();
    this->regions = & Regions::Instance();
    this->unitGroupManager = & UnitGroupManager::Instance();
    regions->setDependencies(NULL, mapManager);

	mm = new UnitsGroup();

{'fraction_non_alphanumeric': 0.17263843648208468, 'fraction_numerical': 0.0010857763300760044, 'mean_word_length': 5.512367491166078, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 32, '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': '3353311', 'n_tokens_mistral': 609, 'n_tokens_neox': 592, 'n_words': 114}