<commit_before>{
    "id": "groovy_cheat_sheet",
    "name": "Groovy",
    "description": "Groovy cheat Sheet",
    "metadata": {
        "sourceName": "Groovy-Language",
        "sourceUrl": "http://www.groovy-lang.org/syntax.html"
    },
    "template_type": "code",
    "section_order": [
        "Type List",
        "Operators",
        "Comparison Operators",
        "Truth Condition",
        "Loops"
        ],
  "sections": {
  "Type List":[{
      "key":"java.lang.String",
      "val":"Strings"
    }, {
      "key":"java.lang.Character",
      "val":"Single Unicode Character"
    }, {
      "key":"java.lang.Boolean",
      "val":"Boolean type"
    }, {
      "key":"java.lang.Byte",
      "val":"Eight-bit integer"
    }, {
      "key":"java.lang.Integer",
      "val":"32-bit integer"
    }, {
      "key":"java.lang.Float",
      "val":"32-bit floating point number"
    }, {
      "key":"java.lang.Double",
      "val":"64-bit doulbe precision floating point number"
    }, {
      "key":"java.math.BigDecimal",
      "val":"Uncapped floating point number"
    }, {
      "key":"java.util.List",
      "val":"Contain values of any type"
    }, {
      "key":"java.util.Map",
      "val":"No need for quotes"
    }
  ],
  "Operators": [{
    "key":"+",
    "val":"a.plus(b)"
  }, {
    "key":"-",
    "val":"a.minus(b)"
  }, {
    "key":"*",
    "val":"a.multipy(b)"
  }, {
    "key":"/",
    "val":"a.div(b)"
  }, {
    "key":"%",
    "val":"a.mod(b)"
  }, {
    "key":"**",
    "val":"a.power(b)"
  }, {
    "key":"&",
    "val":"a.and(b)"
  }, {
    "key":"a in b",
    "val":"b.isCase(a)"
  }, {
    "key":"<<",
    "val":"a.leftShift(b)"
  }, {
    "key":">>",
    "val":"a.rightShift(b)"
  }, {
    "key":"++",
    "val":"a.next()"
  }, {
    "key":"--",
    "val":"a.previous()"
  }
  ],

    "Comparison Operators": [{
      "key":"a == b",
      "val":"Value based equality"
    }, {
      "key":"a != b",
      "val":"Value based inequality"
    }, {
      "key":"a < b",
      "val":"Less than"
    }, {
      "key":"a <= b",
      "val":"Less than or equal"
    }, {
      "key":"a <=> b",
      "val":"Compare "
    }, {
      "key":"a =~ b",
      "val":"Regex pattern match"
    }, {
      "key":"a?.b",
      "val":"Null-safe navigation"
    }, {
      "key":"a ?: b",
      "val":"Elvis operator"
    }
    ],

  "Truth Condition": [{
    "key":"String",
    "val":"False if empty or null"
  },{
    "key":"Number",
    "val":"False if zero or null"
  },{
    "key":"Collection",
    "val":"False if zero or null"
  },{
    "key":"Map",
    "val":"False if zero or null"
  },{
    "key":"Matcher (=~)",
    "val":"False if no match found"
  }
  ],
  "Loops":[{
    "key":"[for (<var> in <value>) {...}]",
    "val":"Basic for loop"
  },{
    "key":"[for (int i = 0; i < 10; i += 2) {...}]",
    "val":"For loop similar to java"
  },{
    "key":"[while (<expr>) {...}]",
    "val":"Basic while loop"
  }
  ]
}
}<commit_msg>All changes added<commit_after>{
    "id": "groovy_cheat_sheet",
    "name": "Groovy",
    "metadata": {
        "sourceName": "Groovy-Lang",
        "sourceUrl": "http://www.groovy-lang.org/syntax.html"
    },
    "template_type": "code",
    "section_order": [
        "Type List",
        "Operators",
        "Comparison Operators",
        "Truth Condition",
        "Loops"
        ],
  "sections": {
  "Type List":[{
      "key":"java.lang.String",
      "val":"Strings"
    }, {
      "key":"java.lang.Character",
      "val":"Single Unicode Character"
    }, {
      "key":"java.lang.Boolean",
      "val":"Boolean type"
    }, {
      "key":"java.lang.Byte",
      "val":"Eight-bit integer"
    }, {
      "key":"java.lang.Integer",
      "val":"32-bit integer"
    }, {
      "key":"java.lang.Float",
      "val":"32-bit floating point number"
    }, {
      "key":"java.lang.Double",
      "val":"64-bit doulbe precision floating point number"
    }, {
      "key":"java.math.BigDecimal",
      "val":"Uncapped floating point number"
    }, {
      "key":"java.util.List",
      "val":"Contain values of any type"
    }, {
      "key":"java.util.Map",
      "val":"No need for quotes"
    }
  ],
  "Operators": [{
      "key":"Addition",
      "val":"a.plus(b)"
    }, {
      "key":"Subtraction",
      "val":"a.minus(b)"
    }, {
      "key":"Multiplication",
      "val":"a.multipy(b)"
    }, {
      "key":"Division",
      "val":"a.div(b)"
    }, {
      "key":"Modulo Operator",
      "val":"a.mod(b)"
    }, {
      "key":"Power-of Operator",
      "val":"a.power(b)"
    }, {
      "key":"Logical AND",
      "val":"a.and(b)"
    }, {
      "key":"a in b",
      "val":"b.isCase(a)"
    }, {
      "key":"Shift Left",
      "val":"a.leftShift(b)"
    }, {
      "key":"Shift Right",
      "val":"a.rightShift(b)"
    }, {
      "key":"Increment",
      "val":"a.next()"
    }, {
      "key":"Decrement",
      "val":"a.previous()"
    }
    ],

  "Comparison Operators": [{
      "key":"a == b",
      "val":"Value based equality"
    }, {
      "key":"a != b",
      "val":"Value based inequality"
    }, {
      "key":"a < b",
      "val":"Less than"
    }, {
      "key":"a <= b",
      "val":"Less than or equal"
    }, {
      "key":"a <=> b",
      "val":"Compare "
    }, {
      "key":"a =~ b",
      "val":"Regex pattern match"
    }, {
      "key":"a?.b",
      "val":"Null-safe navigation"
    }, {
      "key":"a ?: b",
      "val":"Elvis operator"
    }
    ],

  "Truth Condition": [{
    "key":"String",
    "val":"False if empty or null"
    },{
    "key":"Number",
    "val":"False if zero or null"
    },{
    "key":"Collection",
    "val":"False if zero or null"
    },{
    "key":"Map",
    "val":"False if zero or null"
    },{
    "key":"Matcher (=~)",
    "val":"False if no match found"
    }
    ],
  "Loops":[{
    "key":"[for (<var> in <value>) {...}]",
    "val":"Basic for loop"
    },{
    "key":"[for (int i = 0; i < 10;   i += 2) {...}]",
    "val":"For loop similar to java"
    },{
    "key":"[while (<expr>) {...}]  ",
    "val":"Basic while loop"
    }
    ]
}
}
{'fraction_non_alphanumeric': 0.2507408626934475, 'fraction_numerical': 0.0032927230819888046, 'mean_word_length': 2.0359820089955023, 'pattern_counts': {'":': 179, '<': 19, '<?xml version=': 0, '>': 13, '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': '965763', 'n_tokens_mistral': 2279, 'n_tokens_neox': 2208, 'n_words': 389}