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

namespace ExtraLinq
{
    /// <summary>
    /// Represents the indexing strategy that
    /// <see cref="EnumerableExtensions.ElementAt{T}(IEnumerable{T}, int, IndexingStrategy)"/>
    /// uses to return an item from a collection.
    /// </summary>
    public enum IndexingStrategy
    {
        /// <summary>
        /// Clamps the index to the collection's lower and upper border.
        /// </summary>
        Clamp,

        /// <summary>
        /// Treats the collection as a cyclic one and returns the item at the position <c>index % itemCount</c>.
        /// </summary>
        Cyclic,

        /// <summary>
        /// Represents the lookup strategy used by
        /// <see cref="Enumerable.ElementAt{T}(IEnumerable{T}, int)" />.
        /// If the index is out of range or equal to the collection's item count,
        /// an <see cref="ArgumentOutOfRangeException"/> will be thrown.
        /// </summary>
        Regular
    }
}<commit_msg>Removed comment that does not belong in here<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace ExtraLinq
{
    /// <summary>
    /// Represents the indexing strategy that
    /// <see cref="EnumerableExtensions.ElementAt{T}(IEnumerable{T}, int, IndexingStrategy)"/>
    /// uses to return an item from a collection.
    /// </summary>
    public enum IndexingStrategy
    {
        /// <summary>
        /// Clamps the index to the collection's lower and upper border.
        /// </summary>
        Clamp,

        /// <summary>
        /// Treats the collection as a cyclic one and returns the item at the position <c>index % itemCount</c>.
        /// </summary>
        Cyclic,

        /// <summary>
        /// Represents the lookup strategy used by
        /// <see cref="Enumerable.ElementAt{T}(IEnumerable{T}, int)" />.
        /// </summary>
        Regular
    }
}
{'fraction_non_alphanumeric': 0.13125638406537282, 'fraction_numerical': 0.0, 'mean_word_length': 2.0514018691588785, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '3600702', 'n_tokens_mistral': 525, 'n_tokens_neox': 516, 'n_words': 175}