<commit_before>import pyblish.api


class SelectAssemblies(pyblish.api.Action):
    label = "Select Assemblies"
    on = "failed"

    def process(self, context, plugin):
        from maya import cmds
        cmds.select(plugin.assemblies)


class ValidateMindbenderSingleAssembly(pyblish.api.InstancePlugin):
    """Each asset must have a single top-level group

    The given instance is test-exported, along with construction
    history to test whether more than 1 top-level DAG node would
    be included in the exported file.

    """

    label = "Validate Single Assembly"
    order = pyblish.api.ValidatorOrder
    optional = True<commit_msg>remove temp fix from 570ea2c commit<commit_after>import pyblish.api


class SelectAssemblies(pyblish.api.Action):
    label = "Select Assemblies"
    on = "failed"

    def process(self, context, plugin):
        from maya import cmds
        cmds.select(plugin.assemblies)


class ValidateMindbenderSingleAssembly(pyblish.api.InstancePlugin):
    """Each asset must have a single top-level group

    The given instance is test-exported, along with construction
    history to test whether more than 1 top-level DAG node would
    be included in the exported file.

    """

    label = "Validate Single Assembly"
    order = pyblish.api.ValidatorOrder
{'fraction_non_alphanumeric': 0.07131901840490798, 'fraction_numerical': 0.004601226993865031, 'mean_word_length': 3.453924914675768, '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': '3949529', 'n_tokens_mistral': 381, 'n_tokens_neox': 365, 'n_words': 124}