<commit_before>#include <string>
const std::string configjson =
"{\n"
"    \"source\": {\n"
"        \"colors\": {\n"
"            \"text_color\": \"black\",\n"
"            \"string\": \"#CC0000\",\n"
"            \"namespace_ref\": \"#990099\",\n"
"            \"type\": \"#0066FF\",\n"
"            \"keyword\": \"blue\",\n"
"            \"comment\": \"grey\",\n"
"            \"own\": \"pink\",\n"
"            \"diagnostic_warning\": \"orange\",\n"
"            \"diagnostic_error\": \"red\"\n"
"        },\n"
"        \"syntax\": {\n"
"            \"43\": \"type\",\n"
"            \"46\": \"namespace_ref\",\n"
"            \"109\": \"string\",\n"
"            \"702\": \"keyword\",\n"
"            \"703\": \"own\",\n"
"            \"705\": \"comment\"\n"
"        },\n"
"        \"visual\": {\n"
"            \"background\": \"white\",\n"
"            \"background_selected\": \"blue\",\n"
"            \"background_tooltips\": \"yellow\",\n"
"            \"font\": \"Monospace\",\n"
"            \"show_line_numbers\": 1,\n"
"            \"highlight_current_line\": 1\n"
"        },\n"
"        \"tab_size\": 2,\n"
"        \"tab_char\": \"<space>\"\n"
"    },\n"
"    \"keybindings\": {\n"
"        \"new_file\": \"<primary>n\",\n"
"        \"open_folder\": \"<primary><alt>o\",\n"
"        \"open_file\": \"<primary>o\",\n"
"        \"save\": \"<primary>s\",\n"
"        \"save_as\": \"<primary><shift>s\",\n"
"        \"quit\": \"<primary>q\",\n"
"        \"split_window\": \"<primary><alt>s\",\n"
"        \"close_tab\": \"<primary>w\",\n"
"        \"edit_copy\": \"<primary>c\",\n"
"        \"edit_cut\": \"<primary>x\",\n"
"        \"edit_paste\": \"<primary>v\",\n"
"        \"edit_undo\": \"<primary>z\",\n"
"        \"edit_redo\": \"<primary><shift>z\",\n"
"        \"edit_find\": \"<primary>f\",\n"
"        \"source_goto_line\": \"<primary>g\",\n"
"        \"source_center_cursor\": \"<primary>l\",\n"
"        \"source_goto_declaration\": \"<primary>d\",\n"
"        \"source_goto_method\": \"<primary>m\",\n"
"        \"source_rename\": \"<primary>r\",\n"
"        \"compile_and_run\": \"<primary>Return\",\n"
"        \"compile\": \"<primary><shift>Return\",\n"
"        \"run_command\": \"<alt>Return\",\n"
"        \"kill_last_running\": \"<primary>Escape\",\n"
"        \"force_kill_last_running\": \"<primary><shift>Escape\"\n"
"    },\n"
"    \"project\": {\n"
"        \"make_command\": \"make -j 2\"\n"
"    },\n"
"    \"directoryfilter\": {\n"
"        \"ignore\": [\n"
"            \"cmake\",\n"
"            \"#\",\n"
"            \"~\",\n"
"            \".idea\",\n"
"            \".so\",\n"
"            \"in-lowercase.pls\"\n"
"        ],\n"
"        \"exceptions\": [\n"
"            \"cmakelists.txt\",\n"
"            \"in-lowercase.pls\"\n"
"        ]\n"
"    }\n"
"}\n";

const std::string menuxml =
"<ui>\n"
"  <menubar name=\"MenuBar\">\n"
"    <menu action=\"FileMenu\">\n"
"      <menuitem action=\"FileNewFile\"/>\n"
"      <menu action=\"FileNewProject\">\n"
"        <menuitem action=\"FileNewProjectCpp\"/>\n"
"      </menu>\n"<commit_msg>Remvoed -j 2 from make_command, since my virtual box ran out of memory.<commit_after>#include <string>
const std::string configjson =
"{\n"
"    \"source\": {\n"
"        \"colors\": {\n"
"            \"text_color\": \"black\",\n"
"            \"string\": \"#CC0000\",\n"
"            \"namespace_ref\": \"#990099\",\n"
"            \"type\": \"#0066FF\",\n"
"            \"keyword\": \"blue\",\n"
"            \"comment\": \"grey\",\n"
"            \"own\": \"pink\",\n"
"            \"diagnostic_warning\": \"orange\",\n"
"            \"diagnostic_error\": \"red\"\n"
"        },\n"
"        \"syntax\": {\n"
"            \"43\": \"type\",\n"
"            \"46\": \"namespace_ref\",\n"
"            \"109\": \"string\",\n"
"            \"702\": \"keyword\",\n"
"            \"703\": \"own\",\n"
"            \"705\": \"comment\"\n"
"        },\n"
"        \"visual\": {\n"
"            \"background\": \"white\",\n"
"            \"background_selected\": \"blue\",\n"
"            \"background_tooltips\": \"yellow\",\n"
"            \"font\": \"Monospace\",\n"
"            \"show_line_numbers\": 1,\n"
"            \"highlight_current_line\": 1\n"
"        },\n"
"        \"tab_size\": 2,\n"
"        \"tab_char\": \"<space>\"\n"
"    },\n"
"    \"keybindings\": {\n"
"        \"new_file\": \"<primary>n\",\n"
"        \"open_folder\": \"<primary><alt>o\",\n"
"        \"open_file\": \"<primary>o\",\n"
"        \"save\": \"<primary>s\",\n"
"        \"save_as\": \"<primary><shift>s\",\n"
"        \"quit\": \"<primary>q\",\n"
"        \"split_window\": \"<primary><alt>s\",\n"
"        \"close_tab\": \"<primary>w\",\n"
"        \"edit_copy\": \"<primary>c\",\n"
"        \"edit_cut\": \"<primary>x\",\n"
"        \"edit_paste\": \"<primary>v\",\n"
"        \"edit_undo\": \"<primary>z\",\n"
"        \"edit_redo\": \"<primary><shift>z\",\n"
"        \"edit_find\": \"<primary>f\",\n"
"        \"source_goto_line\": \"<primary>g\",\n"
"        \"source_center_cursor\": \"<primary>l\",\n"
"        \"source_goto_declaration\": \"<primary>d\",\n"
"        \"source_goto_method\": \"<primary>m\",\n"
"        \"source_rename\": \"<primary>r\",\n"
"        \"compile_and_run\": \"<primary>Return\",\n"
"        \"compile\": \"<primary><shift>Return\",\n"
"        \"run_command\": \"<alt>Return\",\n"
"        \"kill_last_running\": \"<primary>Escape\",\n"
"        \"force_kill_last_running\": \"<primary><shift>Escape\"\n"
"    },\n"
"    \"project\": {\n"
"        \"make_command\": \"make\"\n"
"    },\n"
"    \"directoryfilter\": {\n"
"        \"ignore\": [\n"
"            \"cmake\",\n"
"            \"#\",\n"
"            \"~\",\n"
"            \".idea\",\n"
"            \".so\",\n"
"            \"in-lowercase.pls\"\n"
"        ],\n"
"        \"exceptions\": [\n"
"            \"cmakelists.txt\",\n"
"            \"in-lowercase.pls\"\n"
"        ]\n"
"    }\n"
"}\n";

const std::string menuxml =
"<ui>\n"
"  <menubar name=\"MenuBar\">\n"
"    <menu action=\"FileMenu\">\n"
"      <menuitem action=\"FileNewFile\"/>\n"
"      <menu action=\"FileNewProject\">\n"
"        <menuitem action=\"FileNewProjectCpp\"/>\n"
"      </menu>\n"
{'fraction_non_alphanumeric': 0.30556892954581927, 'fraction_numerical': 0.010913176055207831, 'mean_word_length': 1.6075313807531382, 'pattern_counts': {'":': 114, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1716124', 'n_tokens_mistral': 2346, 'n_tokens_neox': 2275, 'n_words': 319}