<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace CustomQueryExpression
{
    public static class Program
    {
        public static string Where(this string[] s, Func<string, bool> predicate)
        {
            return "Where?";
        }

        static void Main(string[] args)
        {
            string[] array = { "Ironman", "Hulk", "Thor" };
            var sequence = (IEnumerable<string>)array;

            var q1 = from a in array
                     where a.Length > 4
                     select a;
            foreach (var e in q1)
                Console.WriteLine(e);

            var q2 = from a in sequence
                     where a.Length > 4
                     select a;
            foreach (var e in q2)
                Console.WriteLine(e);
        }
    }
}
<commit_msg>refactor<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace CustomQueryExpression
{
    public static class Program
    {
        static void Main(string[] args)
        {
            string[] array = { "Ironman", "Hulk", "Thor" };
            var sequence = (IEnumerable<string>)array;

            var q1 = from a in array
                     where a.Length > 4
                     select a;
            foreach (var e in q1)
                Console.WriteLine(e);

            var q2 = from a in sequence
                     where a.Length > 4
                     select a;
            foreach (var e in q2)
                Console.WriteLine(e);
        }

        public static string Where(this string[] s, Func<string, bool> predicate)
        {
            return "Where?";
        }
    }
}

{'fraction_non_alphanumeric': 0.08589669181659895, 'fraction_numerical': 0.006964596633778294, 'mean_word_length': 1.3140939597315435, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3730544', 'n_tokens_mistral': 468, 'n_tokens_neox': 435, 'n_words': 138}