<commit_before>package com.github.bjoernpetersen.musicbot.api.config

import com.github.bjoernpetersen.musicbot.spi.plugin.Plugin
import kotlin.reflect.KClass

sealed class ConfigScope(private val scopeString: String) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other !is ConfigScope) return false
        if (scopeString != other.scopeString) return false
        return true
    }

    override fun hashCode(): Int {
        return scopeString.hashCode()
    }

    override fun toString(): String {
        return scopeString
    }
}

class PluginConfigScope<T : Plugin>(type: KClass<T>) : ConfigScope(type.qualifiedName!!)
class GenericConfigScope(type: KClass<out Any>) : ConfigScope(type.qualifiedName!!)
object MainConfigScope : ConfigScope("Main")<commit_msg>Change signature of PluginConfigScope<commit_after>package com.github.bjoernpetersen.musicbot.api.config

import kotlin.reflect.KClass

sealed class ConfigScope(private val scopeString: String) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other !is ConfigScope) return false
        if (scopeString != other.scopeString) return false
        return true
    }

    override fun hashCode(): Int {
        return scopeString.hashCode()
    }

    override fun toString(): String {
        return scopeString
    }
}

class PluginConfigScope(type: KClass<out Any>) : ConfigScope(type.qualifiedName!!)
class GenericConfigScope(type: KClass<out Any>) : ConfigScope(type.qualifiedName!!)
object MainConfigScope : ConfigScope("Main")
{'fraction_non_alphanumeric': 0.09888059701492537, 'fraction_numerical': 0.0, 'mean_word_length': 3.8905775075987843, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '2407376', 'n_tokens_mistral': 461, 'n_tokens_neox': 447, 'n_words': 120}