<commit_before>#!/usr/bin/env python3

import sys
import os

def get_main_cpp_app():

    contents = ""

    contents += "\n"
    contents += "#include <iostream>\n"
    contents += "\n"
    contents += "int main(int argc, char *argv[]){\n"
    contents += "\n"
    contents += "    (void)argc; (void)argv;\n"
    contents += "    std::cout << \"test for echo\" << std::endl;\n"
    contents += "\n"
    contents += "    return 0;\n"
    contents += "\n"
    contents += "}\n"
    contents += "\n"

    return contents

def get_cpp_compiler_flags_debug_gcc():

    contents = []

    contents.append("-g")
    contents.append("-Wall")
    contents.append("-Wextra")
    contents.append("-Werror")
    contents.append("-pedantic")
    contents.append("-Weffc++")
    contents.append("-fPIC")
    contents.append("-fsanitize=address")
    contents.append("-D_GLIBCXX_DEBUG")

    return contents

def get_cpp_compiler_flags_release_gcc():

    contents = []

    contents.append("-O2")<commit_msg>standard_cpp: traded std::cout for std::printf<commit_after>#!/usr/bin/env python3

import sys
import os

def get_main_cpp_app():

    contents = ""

    contents += "\n"
    contents += "#include <cstdio>\n"
    contents += "\n"
    contents += "int main(int argc, char *argv[]){\n"
    contents += "\n"
    contents += "    (void)argc; (void)argv;\n"
    contents += "    std::printf(\"test for echo\\n\");\n"
    contents += "\n"
    contents += "    return 0;\n"
    contents += "\n"
    contents += "}\n"
    contents += "\n"

    return contents

def get_cpp_compiler_flags_debug_gcc():

    contents = []

    contents.append("-g")
    contents.append("-Wall")
    contents.append("-Wextra")
    contents.append("-Werror")
    contents.append("-pedantic")
    contents.append("-Weffc++")
    contents.append("-fPIC")
    contents.append("-fsanitize=address")
    contents.append("-D_GLIBCXX_DEBUG")

    return contents

def get_cpp_compiler_flags_release_gcc():

    contents = []

    contents.append("-O2")
{'fraction_non_alphanumeric': 0.18050721034311287, 'fraction_numerical': 0.0029835902536051715, 'mean_word_length': 2.9684418145956606, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '1271075', 'n_tokens_mistral': 674, 'n_tokens_neox': 674, 'n_words': 129}