<commit_before>package com.beust.kobalt.api

import com.beust.kobalt.TaskResult

/**
 * Plugins that can implement the "task" run should implement this interface.
 */
interface IRunContributor : IContributor {
    companion object {
        const val DEFAULT_POSITIVE_AFFINITY = 100
    }

    /**
     * @return an integer indicating your affinity for running the current project. The runner with
     * the highest affinity is selected to run it.
     */
    fun runAffinity(project: Project, context: KobaltContext) : Int

    /**
     * Run the project.
     */
    fun run(project: Project, context: KobaltContext) : TaskResult
}

<commit_msg>Better documentation. <commit_after>package com.beust.kobalt.api

import com.beust.kobalt.TaskResult

/**
 * Plugins that can run a project (task "run") should implement this interface.
 */
interface IRunContributor : IContributor {
    companion object {
        /**
         * The recommended default affinity if your plug-in can run this project. Use a higher
         * number if you expect to compete against other runners and you'd like to win over them.
         */
        const val DEFAULT_POSITIVE_AFFINITY = 100
    }

    /**
     * @return an integer indicating your affinity for running the current project. The runner with
     * the highest affinity is selected to run it.
     */
    fun runAffinity(project: Project, context: KobaltContext) : Int

    /**
     * Run the project.
     */
    fun run(project: Project, context: KobaltContext) : TaskResult
}


{'fraction_non_alphanumeric': 0.07874015748031496, 'fraction_numerical': 0.003937007874015748, 'mean_word_length': 2.841309823677582, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5040890', 'n_tokens_mistral': 443, 'n_tokens_neox': 415, 'n_words': 155}