<commit_before>import Dispatch
import Foundation

extension DispatchTimeInterval {
    // ** Note: We cannot simply divide the time interval because DispatchTimeInterval associated value type is Int
    public var divided: DispatchTimeInterval {
        switch self {
        case let .seconds(val): return val < 2 ? .milliseconds(Int(Float(val)/2*1000)) : .seconds(val/2)
        case let .milliseconds(val): return .milliseconds(val/2)
        case let .microseconds(val): return .microseconds(val/2)
        case let .nanoseconds(val): return .nanoseconds(val/2)
        case .never: return .never
        @unknown default: fatalError("Unknown DispatchTimeInterval value")
        }
    }

    var description: String {
        switch self {
        case let .seconds(val): return val == 1 ? "\(Float(val)) second" : "\(Float(val)) seconds"
        case let .milliseconds(val): return "\(Float(val)/1000) seconds"
        case let .microseconds(val): return "\(Float(val)/1000000) seconds"
        case let .nanoseconds(val): return "\(Float(val)/1000000000) seconds"
        default: fatalError("Unknown DispatchTimeInterval value")
        }
    }<commit_msg>Make it more readable a bit<commit_after>import Dispatch
import Foundation

extension DispatchTimeInterval {
    // ** Note: We cannot simply divide the time interval because DispatchTimeInterval associated value type is Int
    public var divided: DispatchTimeInterval {
        switch self {
        case let .seconds(val): return val < 2 ? .milliseconds(Int(Float(val)/2*1000)) : .seconds(val/2)
        case let .milliseconds(val): return .milliseconds(val/2)
        case let .microseconds(val): return .microseconds(val/2)
        case let .nanoseconds(val): return .nanoseconds(val/2)
        case .never: return .never
        @unknown default: fatalError("Unknown DispatchTimeInterval value")
        }
    }

    var description: String {
        switch self {
        case let .seconds(val): return val == 1 ? "\(Float(val)) second" : "\(Float(val)) seconds"
        case let .milliseconds(val): return "\(Float(val)/1_000) seconds"
        case let .microseconds(val): return "\(Float(val)/1_000_000) seconds"
        case let .nanoseconds(val): return "\(Float(val)/1_000_000_000) seconds"
        default: fatalError("Unknown DispatchTimeInterval value")
        }
    }
{'fraction_non_alphanumeric': 0.11499148211243612, 'fraction_numerical': 0.027257240204429302, 'mean_word_length': 3.092334494773519, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '5099533', 'n_tokens_mistral': 701, 'n_tokens_neox': 647, 'n_words': 199}