<commit_before>package org.ajoberstar.semver.vcs.gradle

import org.ajoberstar.semver.vcs.Scope
import org.ajoberstar.semver.vcs.Stage
import org.ajoberstar.semver.vcs.Vcs
import org.ajoberstar.semver.vcs.Versioner

import java.util.function.Supplier

class SemverExtension {
    Supplier<Versioner> versionerSupplier

    Vcs vcs

    boolean enforcePrecedence = true

    Scope defaultScope = Scope.MINOR

    SortedSet<Stage> stages = [] as SortedSet

    Stage defaultStage

    SemverExtension stages(Stage... stages) {
        return stages(stages as List)
    }
<commit_msg>Call stages(Iterable) from stages(Stage[]).<commit_after>package org.ajoberstar.semver.vcs.gradle

import org.ajoberstar.semver.vcs.Scope
import org.ajoberstar.semver.vcs.Stage
import org.ajoberstar.semver.vcs.Vcs
import org.ajoberstar.semver.vcs.Versioner

import java.util.function.Supplier

class SemverExtension {
    Supplier<Versioner> versionerSupplier

    Vcs vcs

    boolean enforcePrecedence = true

    Scope defaultScope = Scope.MINOR

    SortedSet<Stage> stages = [] as SortedSet

    Stage defaultStage

    SemverExtension stages(Stage... stages) {
        return this.stages(stages as List)
    }

{'fraction_non_alphanumeric': 0.0835421888053467, 'fraction_numerical': 0.0, 'mean_word_length': 3.869918699186992, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1224429', 'n_tokens_mistral': 405, 'n_tokens_neox': 388, 'n_words': 77}