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

namespace BugReport.Util
{
    public static class Extensions
    {
        public static bool EqualsIgnoreCase(this string str1, string str2)
        {
            return str1.Equals(str2, StringComparison.OrdinalIgnoreCase);
        }
        public static bool ContainsIgnoreCase(this IEnumerable<string> strs, string str)
        {
            return strs.Where(s => s.EqualsIgnoreCase(str)).Any();
        }

        public static bool None<T>(this IEnumerable<T> items)
        {
            return items.None();
        }
    }
}
<commit_msg>Fix infinite recursion in IEnumerable<T>.None() (#69)<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace BugReport.Util
{
    public static class Extensions
    {
        public static bool EqualsIgnoreCase(this string str1, string str2)
        {
            return str1.Equals(str2, StringComparison.OrdinalIgnoreCase);
        }
        public static bool ContainsIgnoreCase(this IEnumerable<string> strs, string str)
        {
            return strs.Where(s => s.EqualsIgnoreCase(str)).Any();
        }

        public static bool None<T>(this IEnumerable<T> items)
        {
            return !items.Any();
        }
    }
}

{'fraction_non_alphanumeric': 0.09418070444104135, 'fraction_numerical': 0.007656967840735069, 'mean_word_length': 2.46684350132626, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 12, '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': '7192594', 'n_tokens_mistral': 366, 'n_tokens_neox': 361, 'n_words': 89}