<commit_before>funcs:
  - name: isNotAbbr
    type: asserter
    body: |
      function(receiverName, typeName) {
        rc = receiverName.toLowerCase()
        tn = typeName.toLowerCase()
        if(rc.length > 2) 
          return true
        for (i = 0; i < rc.length; i++) {
          if(tn.indexOf(rc[i]) == -1)
            return true
        }
        return false
      }

tenets:
  - name:  receiver-name-short-reflect-identity
    flows:
      codelingo/review:<commit_msg>Use identical equal in js function<commit_after>funcs:
  - name: isNotAbbr
    type: asserter
    body: |
      function(receiverName, typeName) {
        rc = receiverName.toLowerCase()
        tn = typeName.toLowerCase()
        if(rc.length > 2) 
          return true
        for (i = 0; i < rc.length; i++) {
          if(tn.indexOf(rc[i]) === -1)
            return true
        }
        return false
      }

tenets:
  - name:  receiver-name-short-reflect-identity
    flows:
      codelingo/review:
{'fraction_non_alphanumeric': 0.1159274193548387, 'fraction_numerical': 0.006048387096774193, 'mean_word_length': 1.7893258426966292, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4643895', 'n_tokens_mistral': 324, 'n_tokens_neox': 327, 'n_words': 70}