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

namespace Sharpy.Types {
    ///<summary>
    ///     This class is responsible for Filtering and selecting random items
    ///     All filters used in this project are derived from this class.
    /// </summary>
    public class Filter<TSource> : IEnumerable<TSource> {
        /// <summary>
        ///    Takes the IEnumerable and turns it into a lazy array which gets used only if needed.
        /// </summary>
        /// <param name="enumerable"></param>
        /// <exception cref="ArgumentException"></exception>
        internal Filter(IEnumerable<TSource> enumerable) {
            // ReSharper disable PossibleMultipleEnumeration
            if (!enumerable.Any()) throw new ArgumentException("Sequence Is empty");<commit_msg>Filter is now an internal Class<commit_after>using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

namespace Sharpy.Types {
    ///<summary>
    ///     This class is responsible for Filtering and selecting random items
    ///     All filters used in this project are derived from this class.
    /// </summary>
    internal class Filter<TSource> : IEnumerable<TSource> {
        /// <summary>
        ///    Takes the IEnumerable and turns it into a lazy array which gets used only if needed.
        /// </summary>
        /// <param name="enumerable"></param>
        /// <exception cref="ArgumentException"></exception>
        internal Filter(IEnumerable<TSource> enumerable) {
            // ReSharper disable PossibleMultipleEnumeration
            if (!enumerable.Any()) throw new ArgumentException("Sequence Is empty");
{'fraction_non_alphanumeric': 0.10710128055878929, 'fraction_numerical': 0.0, 'mean_word_length': 2.7047413793103448, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '1320032', 'n_tokens_mistral': 418, 'n_tokens_neox': 411, 'n_words': 148}