<commit_before>import lua.Table;

import Main.Global.*;

typedef TODO = Dynamic;
typedef ItemName = String;
typedef Vector = TODO;
typedef Location = Vector;

@:native("_G")
extern class Global {
    static function GetBot():Unit;
    static function GetTeam():Team;
    static function GetTeamMember(team:Team, number:Int):TODO;
    static function DotaTime():Float;
    static function GameTime():Float;
    static function RealTime():Float;
    static function GetUnitToUnitDistance(a:Unit, b:Unit):Float;
    static function GetUnitToLocationDistance(unit:Unit, location:Location):Void;
    static function GetWorldBounds():Void;
    static function IsLocationPassable():Bool;
    static function GetHeightLevel():Int;
    static function GetLocationAlongLane():Void;
    static function GetNeutralSpawners():Void;

    static function GetItemCost(item:ItemName):Int;
    static function IsItemPurchasedFromSecretShop(item:ItemName):Bool;
    static function IsItemPurchasedFromSideShop(item:ItemName):Bool;

    static function GetItemStockCount():Void;
    static function GetPushLaneDesire():Void;
    static function GetDefendLaneDesire():Void;
    static function GetFarmLaneDesire():Void;
    static function GetRoamDesire():Void;
    static function GetRoamTarget():Void;
    static function GetRoshanDesire():Void;
    static function GetGameState():Int;
    static function GetGameStateTimeRemaining():Float;
    static function GetGameMode():Int;
    static function GetHeroPickState():Int;
    static function IsPlayerInHeroSelectionControl():Void;
    static function SelectHero(player:Int, hero:HeroName):Void;
    static function GetSelectedHeroName():Void;
    static function IsInCMBanPhase():Void;
    static function IsInCMPickPhase():Void;
    static function GetCMPhaseTimeRemaining():Void;
    static function GetCMCaptain():Void;
    static function SetCMCaptain():Void;
    static function IsCMBannedHero(hero:HeroName):Bool;
    static function IsCMPickedHero(hero:HeroName):Bool;
    static function CMBanHero(hero:HeroName):Void;
    static function CMPickHero(hero:HeroName):Void;
    static function RandomInt(min:Int, max:Int):Int;
    static function RandomFloat(min:Float, max:Float):Float;
    static function RandomYawVector():Void;
    static function RollPercentage():Void;
    static function Min(a:Float, b:Float):Float;
    static function Max(a:Float, b:Float):Float;
    static function Clamp(value:Float, min:Float, max:Float):Float;
    static function RemapVal():Void;
    static function RemapValClamped():Void;
    static function DebugDrawLine(origin:Vector, target:Vector, r:Int, g:Int, b:Int, ztest:Bool, duration:Float):Void;
    static function DebugDrawCircle(center:Vector, rgb:Vector, a:Float, rad:Float, ztest:Bool, duration:Float):Void;
    static function DebugDrawText(origin:Vector, text:String, viewCheck:Bool, duration:Float):Void;
    static function GetUnitPotentialValue():Int;

    static var BOT_MODE_NONE(default,never):BotMode;<commit_msg>more stuff<commit_after>import lua.Table;

import Main.Global.*;

typedef TODO = Dynamic;
typedef ItemName = String;
typedef Vector = TODO;
typedef Location = Vector;

@:native("_G")
extern class Global {
    static function GetBot():Unit;
    static function GetTeam():Team;
    static function GetTeamMember(team:Team, number:Int):TODO;
    static function DotaTime():Float;
    static function GameTime():Float;
    static function RealTime():Float;
    static function GetUnitToUnitDistance(a:Unit, b:Unit):Float;
    static function GetUnitToLocationDistance(unit:Unit, location:Location):Void;
    static function GetWorldBounds():Void;
    static function IsLocationPassable():Bool;
    static function GetHeightLevel():Int;
    static function GetLocationAlongLane():Void;
    static function GetNeutralSpawners():Void;

    static function GetItemCost(item:ItemName):Int;
    static function IsItemPurchasedFromSecretShop(item:ItemName):Bool;
    static function IsItemPurchasedFromSideShop(item:ItemName):Bool;

    static function GetItemStockCount():Void;
    static function GetPushLaneDesire():Void;
    static function GetDefendLaneDesire():Void;
    static function GetFarmLaneDesire():Void;
    static function GetRoamDesire():Void;
    static function GetRoamTarget():Void;
    static function GetRoshanDesire():Void;
    static function GetGameState():Int;
    static function GetGameStateTimeRemaining():Float;
    static function GetGameMode():Int;
    static function GetHeroPickState():Int;
    static function IsPlayerInHeroSelectionControl():Void;
    static function SelectHero(player:Int, hero:HeroName):Void;
    static function GetSelectedHeroName():HeroName;
    static function IsInCMBanPhase():Bool;
    static function IsInCMPickPhase():Bool;
    static function GetCMPhaseTimeRemaining():Void;
    static function GetCMCaptain():Void;
    static function SetCMCaptain():Void;
    static function IsCMBannedHero(hero:HeroName):Bool;
    static function IsCMPickedHero(hero:HeroName):Bool;
    static function CMBanHero(hero:HeroName):Void;
    static function CMPickHero(hero:HeroName):Void;
    static function RandomInt(min:Int, max:Int):Int;
    static function RandomFloat(min:Float, max:Float):Float;
    static function RandomYawVector():Void;
    static function RollPercentage():Void;
    static function Min(a:Float, b:Float):Float;
    static function Max(a:Float, b:Float):Float;
    static function Clamp(value:Float, min:Float, max:Float):Float;
    static function RemapVal():Void;
    static function RemapValClamped():Void;
    static function DebugDrawLine(origin:Vector, target:Vector, r:Int, g:Int, b:Int, ztest:Bool, duration:Float):Void;
    static function DebugDrawCircle(center:Vector, rgb:Vector, a:Float, rad:Float, ztest:Bool, duration:Float):Void;
    static function DebugDrawText(origin:Vector, text:String, viewCheck:Bool, duration:Float):Void;
    static function GetUnitPotentialValue():Int;

    static var BOT_MODE_NONE(default,never):BotMode;
{'fraction_non_alphanumeric': 0.10097990367048663, 'fraction_numerical': 0.0, 'mean_word_length': 6.018648018648019, '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': '7094597', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1751, 'n_words': 406}