<commit_before>﻿namespace Zafiro.Core
{
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Linq;

    public static class EnumerableExtensions
    {
        public static string AsCommaSeparatedList<T>(this IEnumerable<T> enumerable)
        {
            return string.Join(",", enumerable.Select(node => node.ToString()));
        }

        public static IEnumerable<T> DropLast<T>(this IEnumerable<T> source, int n)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            if (n < 0)
            {
                throw new ArgumentOutOfRangeException(nameof(n), "Argument n should be non-negative.");<commit_msg>Cleanup<commit_after>﻿namespace Zafiro.Core
{
    using System;
    using System.Collections.Generic;
    using System.Linq;

    public static class EnumerableExtensions
    {
        public static string AsCommaSeparatedList<T>(this IEnumerable<T> enumerable)
        {
            return string.Join(",", enumerable.Select(node => node.ToString()));
        }

        public static IEnumerable<T> DropLast<T>(this IEnumerable<T> source, int n)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            if (n < 0)
            {
                throw new ArgumentOutOfRangeException(nameof(n), "Argument n should be non-negative.");
{'fraction_non_alphanumeric': 0.09838274932614555, 'fraction_numerical': 0.0013477088948787063, 'mean_word_length': 2.132911392405063, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2472946', 'n_tokens_mistral': 399, 'n_tokens_neox': 386, 'n_words': 95}