<commit_before>﻿using System;

namespace MarginTrading.Client
{
    public class Program
    {
        public static void Main(string[] args)
        {
            bool TestBot = true;
            string TestBotSettingsFile = null;
            bool autorun = false;            
            for (int i = 0; i< args.Length; i++)
            {

                if (args[i].ToLower() == "-h" || args[i].ToLower() == "--help")
                {
                    Console.WriteLine("-h\t--help Show this help");
                    Console.WriteLine("-b\t--bot Run test bot. Usage: -b [json configuration file]");
                    Console.ReadKey();
                    return;
                }               
                if (args[i].ToLower() == "-a" || args[i].ToLower() == "--autorun")
                {
                    autorun = true;                    
                }
                if (args[i].ToLower() == "-c" || args[i].ToLower() == "--client")
                {
                    TestBot = false;
                    //try { TestBotSettingsFile = args[++i]; }
                    //catch { TestBotSettingsFile = ""; }
                }
            }
            if (TestBot)
            {
                BotConsole.StartBot(TestBotSettingsFile, autorun);
            }
            else
            {<commit_msg>Reverted arguments,  -b to start bot test instead of default MtClient<commit_after>﻿using System;

namespace MarginTrading.Client
{
    public class Program
    {
        public static void Main(string[] args)
        {
            bool TestBot = false;
            string TestBotSettingsFile = null;
            bool autorun = false;            
            for (int i = 0; i< args.Length; i++)
            {

                if (args[i].ToLower() == "-h" || args[i].ToLower() == "--help")
                {
                    Console.WriteLine("-h\t--help Show this help");
                    Console.WriteLine("-b\t--bot Run test bot. Usage: -b [json configuration file]");
                    Console.ReadKey();
                    return;
                }               
                if (args[i].ToLower() == "-a" || args[i].ToLower() == "--autorun")
                {
                    autorun = true;                    
                }
                if (args[i].ToLower() == "-b" || args[i].ToLower() == "--bot")
                {
                    TestBot = true;
                    if (args.Length > i + 1 && !args[i + 1].StartsWith('-'))
                    {
                        try { TestBotSettingsFile = args[++i]; }
                        catch { TestBotSettingsFile = ""; }
                    }
                }
            }
            if (TestBot)
            {
                BotConsole.StartBot(TestBotSettingsFile, autorun);
            }
            else
            {
{'fraction_non_alphanumeric': 0.12727910238429171, 'fraction_numerical': 0.001402524544179523, 'mean_word_length': 1.0007012622720897, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '3850719', 'n_tokens_mistral': 747, 'n_tokens_neox': 703, 'n_words': 160}