<commit_before>//
//  BoundArray.swift
//  SwiftRebound
//
//  Created by <NAME> on 24/07/2016.
//
//

import Foundation

///
/// Represents a replacement in an array
///
public struct ArrayReplacement<TBoundType> {
    /// The range of indexes that have been replaced (start, length)
    let range: CountableRange<Int>;
    
    /// The data that is being replaced
    let replacedData: [TBoundType];
    
    /// The replacement data for the range
    let newData: [TBoundType];
}
<commit_msg>These should be public<commit_after>//
//  BoundArray.swift
//  SwiftRebound
//
//  Created by <NAME> on 24/07/2016.
//
//

import Foundation

///
/// Represents a replacement in an array
///
public struct ArrayReplacement<TBoundType> {
    /// The range of indexes that have been replaced (start, length)
    public let range: CountableRange<Int>;
    
    /// The data that is being replaced
    public let replacedData: [TBoundType];
    
    /// The replacement data for the range
    public let newData: [TBoundType];
}

{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.01568627450980392, 'mean_word_length': 2.5824561403508772, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4212174', 'n_tokens_mistral': 321, 'n_tokens_neox': 300, 'n_words': 106}