<commit_before>rules:
  - name: commit title
    description: all commit titles must have a scope and be no more than 72 characters
    expression:  |-
      .commits all(((.title test "^[a-z/*_-]+: [[:alnum:] -'.:/_-]+$") and (.title length < 73)) or (.title test "^Revert"))

  - name: commit description
    description: all commits must have a description with each line having no more than 72 characters
    expression: |-
      .commits all((.description lines all(. length < 73) and (.description lines length > 0)) or (.title test "^Revert") or (.title test "^news"))<commit_msg>tailor: don't require commit descriptions<commit_after>rules:
  - name: commit title
    description: all commit titles must have a scope and be no more than 72 characters
    expression:  |-
      .commits all(((.title test "^[a-z/*_-]+: [[:alnum:] -'.:/_-]+$") and (.title length < 73)) or (.title test "^Revert"))

  - name: commit description
    description: all commit descriptions must have lines no longer than 72 characters
    expression: |-
      .commits all(.description lines all(. length < 73))
{'fraction_non_alphanumeric': 0.14051094890510948, 'fraction_numerical': 0.01551094890510949, 'mean_word_length': 3.3531746031746033, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, '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': '6300373', 'n_tokens_mistral': 342, 'n_tokens_neox': 298, 'n_words': 130}