<commit_before>---
  meta:
    author: "<NAME>"
    description: None
    enabled: true
    name: 942460.yaml
  tests:
  -
    test_title: 942460-1
    desc: "Repetitive Non-Word Characters"
    stages:
    -
      stage:
        input:
          dest_addr: 127.0.0.1
          port: 80
          headers:
            Host: localhost
          method: POST
          uri: "/"
          data: "var=foo...."
          version: HTTP/1.1
        output:
          log_contains: id "942460"
  -
    test_title: 942460-2
    desc: "Repetitive Non-Word Characters negative test only 3 characters"
    stages:
    -
      stage:
        input:
          dest_addr: 127.0.0.1
          port: 80
          headers:
            Host: localhost
          method: POST
          uri: "/"
          data: "var=foo..."
          version: HTTP/1.1
        output:
          no_log_contains: id "942460"
<commit_msg>Add pos and neg testcase for 942460<commit_after>---
  meta:
    author: "<NAME>"
    description: None
    enabled: true
    name: 942460.yaml
  tests:
  -
    test_title: 942460-1
    desc: "Repetitive Non-Word Characters"
    stages:
    -
      stage:
        input:
          dest_addr: 127.0.0.1
          port: 80
          headers:
            Host: localhost
          method: POST
          uri: "/"
          data: "var=foo...."
          version: HTTP/1.1
        output:
          log_contains: id "942460"
  -
    test_title: 942460-2
    desc: "Repetitive Non-Word Characters negative test only 3 characters"
    stages:
    -
      stage:
        input:
          dest_addr: 127.0.0.1
          port: 80
          headers:
            Host: localhost
          method: POST
          uri: "/"
          data: "var=foo..."
          version: HTTP/1.1
        output:
          no_log_contains: id "942460"
{'fraction_non_alphanumeric': 0.1011544804837823, 'fraction_numerical': 0.061572292468389224, 'mean_word_length': 1.3096446700507614, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '6648807', 'n_tokens_mistral': 643, 'n_tokens_neox': 570, 'n_words': 146}