<commit_before>#include <Halide.h>
#include <stdio.h>

using namespace Halide;

int main(int argc, char **argv) {
    Func f, g, h, j;
    Var x, y;       
    f(x, y) = x + y;
    g(x, y) = cast<float>(f(x, y) + f(x+1, y));
    h(x, y) = f(x, y) + g(x, y);
    j(x, y) = h(x, y) * 2;

    f.compute_root();
    g.compute_root();
    h.compute_root();

    const char *result_file = "compile_to_lowered_stmt.stmt";
    j.compile_to_lowered_stmt(result_file);

    assert(access("compile_to_lowered_stmt.stmt", F_OK) == 0 && "Output file not created.");

    printf("Success!\n");<commit_msg>Check for unistd in compile_to_lowered_stmt<commit_after>#include <Halide.h>
#include <stdio.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif

using namespace Halide;

int main(int argc, char **argv) {
    Func f, g, h, j;
    Var x, y;
    f(x, y) = x + y;
    g(x, y) = cast<float>(f(x, y) + f(x+1, y));
    h(x, y) = f(x, y) + g(x, y);
    j(x, y) = h(x, y) * 2;

    f.compute_root();
    g.compute_root();
    h.compute_root();

    const char *result_file = "compile_to_lowered_stmt.stmt";
    j.compile_to_lowered_stmt(result_file);

    #ifndef _MSC_VER
    assert(access("compile_to_lowered_stmt.stmt", F_OK) == 0 && "Output file not created.");
    #endif

    printf("Success!\n");
{'fraction_non_alphanumeric': 0.18266978922716628, 'fraction_numerical': 0.00468384074941452, 'mean_word_length': 3.259136212624585, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '2342157', 'n_tokens_mistral': 551, 'n_tokens_neox': 532, 'n_words': 125}