<commit_before>public struct ImplicitReturnConfiguration: RuleConfiguration, Equatable {
    public enum ReturnKind: String, CaseIterable {
        case closure
        case function
        case getter
    }

    public static let defaultIncludedKinds = Set(ReturnKind.allCases)

    private(set) var severityConfiguration = SeverityConfiguration(.warning)

    private(set) var includedKinds = Self.defaultIncludedKinds

    public var consoleDescription: String {
        let includedKinds = self.includedKinds.map { $0.rawValue }
        return severityConfiguration.consoleDescription +
            ", included: [\(includedKinds.joined(separator: ", "))]"
    }

    public init(includedKinds: Set<ReturnKind> = Self.defaultIncludedKinds) {
        self.includedKinds = includedKinds
    }
<commit_msg>Sort implicit return configuration description (#3823)<commit_after>public struct ImplicitReturnConfiguration: RuleConfiguration, Equatable {
    public enum ReturnKind: String, CaseIterable {
        case closure
        case function
        case getter
    }

    public static let defaultIncludedKinds = Set(ReturnKind.allCases)

    private(set) var severityConfiguration = SeverityConfiguration(.warning)

    private(set) var includedKinds = Self.defaultIncludedKinds

    public var consoleDescription: String {
        let includedKinds = self.includedKinds.map { $0.rawValue }
        return severityConfiguration.consoleDescription +
            ", included: [\(includedKinds.sorted().joined(separator: ", "))]"
    }

    public init(includedKinds: Set<ReturnKind> = Self.defaultIncludedKinds) {
        self.includedKinds = includedKinds
    }

{'fraction_non_alphanumeric': 0.07932692307692307, 'fraction_numerical': 0.003605769230769231, 'mean_word_length': 3.5867768595041323, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1922717', 'n_tokens_mistral': 453, 'n_tokens_neox': 420, 'n_words': 99}