<commit_before>﻿using AdventOfCode.Day01;
using AdventOfCode.Day02;
using AdventOfCode.Day03;
using AdventOfCode.Day05;
using AdventOfCode.Day07;
using AdventOfCode.Day08;
using AdventOfCode.Day09;
using AdventOfCode.Day11;
using AdventOfCode.Day12;
using AdventOfCode.Day13;
using AdventOfCode.Shared;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using AdventOfCode.Day14;

namespace AdventConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            List<IAdventDay> advent = new List<IAdventDay>();
            advent.Add(new Day01());
            advent.Add(new Day02());
            advent.Add(new Day03());
            //advent.Add(new Day04()); // this one is very slow
            advent.Add(new Day05());
            //advent.Add(new Day06()); // slow
            advent.Add(new Day07());
            advent.Add(new Day08());
            advent.Add(new Day09());
            //advent.Add(new Day10());
            advent.Add(new Day11());
            advent.Add(new Day12());
            advent.Add(new Day13());
            advent.Add(new Day14());

            var stopwatch = new Stopwatch();
            foreach (var adventDay in advent)
            {
                Console.WriteLine();
                Console.WriteLine($"**** {adventDay.GetType().Name}: {adventDay.PuzzleName} ****");
                Console.WriteLine($"*");
                stopwatch.Restart();
                var resultPartOne = adventDay.SolvePartOne();
                stopwatch.Stop();
                Console.WriteLine($"*  part one) {resultPartOne} [{stopwatch.ElapsedMilliseconds} ms]");

                stopwatch.Restart();
                var resultPartTwo = adventDay.SolvePartTwo();
                stopwatch.Stop();
                Console.WriteLine($"*  part two) {resultPartTwo} [{stopwatch.ElapsedMilliseconds} ms]");
                Console.WriteLine($"*");
                Console.WriteLine($"************************");
                Console.WriteLine();
                Console.WriteLine();
            }<commit_msg>Commented slow day13, made Program class public and static.<commit_after>﻿using AdventOfCode.Day01;
using AdventOfCode.Day02;
using AdventOfCode.Day03;
using AdventOfCode.Day05;
using AdventOfCode.Day07;
using AdventOfCode.Day08;
using AdventOfCode.Day09;
using AdventOfCode.Day11;
using AdventOfCode.Day12;
using AdventOfCode.Day14;
using AdventOfCode.Shared;
using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace AdventConsole
{
    public static class Program
    {
        static void Main(string[] args)
        {
            List<IAdventDay> advent = new List<IAdventDay>();
            advent.Add(new Day01());
            advent.Add(new Day02());
            advent.Add(new Day03());
            //advent.Add(new Day04()); // this one is very slow
            advent.Add(new Day05());
            //advent.Add(new Day06()); // slow
            advent.Add(new Day07());
            advent.Add(new Day08());
            advent.Add(new Day09());
            //advent.Add(new Day10()); // slow
            advent.Add(new Day11());
            advent.Add(new Day12());
            //advent.Add(new Day13()); // slow
            advent.Add(new Day14());

            var stopwatch = new Stopwatch();
            foreach (var adventDay in advent)
            {
                Console.WriteLine();
                Console.WriteLine($"**** {adventDay.GetType().Name}: {adventDay.PuzzleName} ****");
                Console.WriteLine($"*");
                stopwatch.Restart();
                var resultPartOne = adventDay.SolvePartOne();
                stopwatch.Stop();
                Console.WriteLine($"*  part one) {resultPartOne} [{stopwatch.ElapsedMilliseconds} ms]");

                stopwatch.Restart();
                var resultPartTwo = adventDay.SolvePartTwo();
                stopwatch.Stop();
                Console.WriteLine($"*  part two) {resultPartTwo} [{stopwatch.ElapsedMilliseconds} ms]");
                Console.WriteLine($"*");
                Console.WriteLine($"************************");
                Console.WriteLine();
                Console.WriteLine();
            }
{'fraction_non_alphanumeric': 0.1400189214758751, 'fraction_numerical': 0.023651844843897825, 'mean_word_length': 2.0534296028880865, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7213979', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1130, 'n_words': 242}