<commit_before>#include <iostream>
#include <string>

void run_part_one() {
}
void run_part_two() {
}


int main(int argc, char* argv[]) {
    if (argc > 1) {
        if (std::string(argv[1]) == "--part_two") {
            run_part_two();
        } else {
            std::cout << "Usage: day12 [--part_two]" << std::endl;
            return -1;
        }
    } else {
        run_part_one();
    }
}
<commit_msg>added runtime code for day 12 part one<commit_after>#include <iostream>
#include <string>

#include "JSONAnalysis.hpp"

void run_part_one() {
    std::string json_string;
    std::cin >> json_string;
    std::cout << get_sum_of_numbers(json_string) << std::endl;
}
void run_part_two() {
}


int main(int argc, char* argv[]) {
    if (argc > 1) {
        if (std::string(argv[1]) == "--part_two") {
            run_part_two();
        } else {
            std::cout << "Usage: day12 [--part_two]" << std::endl;
            return -1;
        }
    } else {
        run_part_one();
    }
}

{'fraction_non_alphanumeric': 0.17082917082917082, 'fraction_numerical': 0.011988011988011988, 'mean_word_length': 2.2745098039215685, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 11, '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': '4460751', 'n_tokens_mistral': 365, 'n_tokens_neox': 355, 'n_words': 76}