<commit_before>{
    "name": "st2.person.joe",
    "description": "Sample rule dumping webhook payload to a file.",

    "trigger": {
        "type": "core.st2.webhook",
        "parameters": {
            "url": "person"
        }
    },

    "criteria": {
        "trigger.body.name": {
            "pattern": "Joe",
            "type": "equals"
         }
    },

    "action": {
        "action": "core.local",
        "parameters": {
            "cmd": "echo \"{{trigger}}\" >> /tmp/st2.persons.out"
        }
    },

    "enabled": true
}<commit_msg>Update rules in contrib to use new data model<commit_after>{
    "name": "st2.person.joe",
    "description": "Sample rule dumping webhook payload to a file.",

    "trigger": {
        "type": "core.st2.webhook",
        "parameters": {
            "url": "person"
        }
    },

    "criteria": {
        "trigger.body.name": {
            "pattern": "Joe",
            "type": "equals"
         }
    },

    "action": {
        "ref": "core.local",
        "parameters": {
            "cmd": "echo \"{{trigger}}\" >> /tmp/st2.persons.out"
        }
    },

    "enabled": true
}
{'fraction_non_alphanumeric': 0.18930762489044697, 'fraction_numerical': 0.0052585451358457495, 'mean_word_length': 1.6132723112128147, 'pattern_counts': {'":': 30, '<': 3, '<?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': '6626525', 'n_tokens_mistral': 376, 'n_tokens_neox': 361, 'n_words': 76}