<commit_before>tosca_definitions_version: cloudify_1_0

imports:
    - http://www.getcloudify.org/spec/cloudify/3.1/types.yaml

plugins:
    diamond:
        derived_from: cloudify.plugins.manager_plugin

inputs:
    diamond_config: {}

node_types:
    monitor_type:
        derived_from: cloudify.types.base

node_templates:
    node:
        type: monitor_type

        interfaces:
            cloudify.interfaces.monitor_lifecycle:
                - start:
                    mapping: diamond.diamond_agent.tasks.install
                    properties:
                        diamond_config: { get_input: diamond_config }
                - stop: diamond.diamond_agent.tasks.uninstall
<commit_msg>modified DSL version<commit_after>tosca_definitions_version: cloudify_dsl_1_0

imports:
    - http://www.getcloudify.org/spec/cloudify/3.1/types.yaml

plugins:
    diamond:
        derived_from: cloudify.plugins.manager_plugin

inputs:
    diamond_config: {}

node_types:
    monitor_type:
        derived_from: cloudify.types.base

node_templates:
    node:
        type: monitor_type

        interfaces:
            cloudify.interfaces.monitor_lifecycle:
                - start:
                    mapping: diamond.diamond_agent.tasks.install
                    properties:
                        diamond_config: { get_input: diamond_config }
                - stop: diamond.diamond_agent.tasks.uninstall

{'fraction_non_alphanumeric': 0.07643312101910828, 'fraction_numerical': 0.005661712668082095, 'mean_word_length': 2.1076923076923078, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6536755', 'n_tokens_mistral': 421, 'n_tokens_neox': 401, 'n_words': 60}