<commit_before>////
///  ProfileBadge.swift
//

enum ProfileBadge: String {
    case featured
    case community
    case experimental
    case staff
    case spam
    case nsfw

    var name: String {
        switch self {
        case .featured:
            return InterfaceString.Badges.Featured
        case .community:
            return InterfaceString.Badges.Community
        case .experimental:
            return InterfaceString.Badges.Experimental
        case .staff:
            return InterfaceString.Badges.Staff
        case .spam:
            return InterfaceString.Badges.Spam
        case .nsfw:
            return InterfaceString.Badges.Nsfw
        }
    }

    var link: String {
        switch self {
        case .staff:
            return InterfaceString.Badges.StaffLink
        default:
            return InterfaceString.Badges.LearnMore
        }
    }

    var url: URL? {
        switch self {
        case .featured:
            return URL(string: "https://ello.co/wtf/help/featured-users/")
        case .community:
            return URL(string: "https://ello.co/wtf/resources/community-directory/")
        case .staff:
            return URL(string: "https://ello.co/wtf/about/the-people-of-ello/")
        default:
            return nil
        }
    }

    var image: InterfaceImage {
        switch self {
        case .featured:
            return .badgeFeatured
        case .community:
            return .badgeCommunity
        case .experimental:
            return .badgeExperimental
        case .staff:
            return .badgeStaff
        case .spam:
            return .badgeSpam
        case .nsfw:
            return .badgeNsfw
        }
    }
}
<commit_msg>fix badge links<commit_after>////
///  ProfileBadge.swift
//

enum ProfileBadge: String {
    case featured
    case community
    case experimental
    case staff
    case spam
    case nsfw

    var name: String {
        switch self {
        case .featured:
            return InterfaceString.Badges.Featured
        case .community:
            return InterfaceString.Badges.Community
        case .experimental:
            return InterfaceString.Badges.Experimental
        case .staff:
            return InterfaceString.Badges.Staff
        case .spam:
            return InterfaceString.Badges.Spam
        case .nsfw:
            return InterfaceString.Badges.Nsfw
        }
    }

    var link: String {
        switch self {
        case .staff:
            return InterfaceString.Badges.StaffLink
        default:
            return InterfaceString.Badges.LearnMore
        }
    }

    var url: URL? {
        switch self {
        case .spam, .nsfw:
            return nil
        default:
            return URL(string: "https://ello.co/wtf/help/badges/")
        }
    }

    var image: InterfaceImage {
        switch self {
        case .featured:
            return .badgeFeatured
        case .community:
            return .badgeCommunity
        case .experimental:
            return .badgeExperimental
        case .staff:
            return .badgeStaff
        case .spam:
            return .badgeSpam
        case .nsfw:
            return .badgeNsfw
        }
    }
}

{'fraction_non_alphanumeric': 0.0750778816199377, 'fraction_numerical': 0.0, 'mean_word_length': 1.443683409436834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4869629', 'n_tokens_mistral': 910, 'n_tokens_neox': 850, 'n_words': 213}