<commit_before>class LSystem {
  constructor (axiom, productionRules) {
    if (!(Symbol.iterator in productionRules)) {
      throw new Error('LSystem: productionRules (argument 1) must be iterable')
    }

    productionRules = new Map(productionRules)

    const alphabet = Array.from(productionRules.keys()),
      constants = []

    if (alphabet.indexOf(axiom) === -1) {
      throw new Error('LSystem: axiom (argument 0) has to be in productionRules')
    }<commit_msg>fixing standard rule violation<commit_after>class LSystem {
  constructor (axiom, productionRules) {
    if (!(Symbol.iterator in productionRules)) {
      throw new Error('LSystem: productionRules (argument 1) must be iterable')
    }

    productionRules = new Map(productionRules)

    const alphabet = Array.from(productionRules.keys())
    const constants = []

    if (alphabet.indexOf(axiom) === -1) {
      throw new Error('LSystem: axiom (argument 0) has to be in productionRules')
    }
{'fraction_non_alphanumeric': 0.11213991769547325, 'fraction_numerical': 0.006172839506172839, 'mean_word_length': 3.7463414634146344, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5027334', 'n_tokens_mistral': 280, 'n_tokens_neox': 265, 'n_words': 82}