<commit_before>import unittest
from hermes.GrammarFileParser import GrammarFileParser
from hermes.Grammar import Grammar
from GrammarTest import GrammarTest

class Ast2Test(GrammarTest):
  def setUp(self):
    self.loadGrammarFile('grammars/ast2.zgr', 'START')

  def test_firstSets(self):
    self.assertFirst({<commit_msg>maxdiff++<commit_after>import unittest
from hermes.GrammarFileParser import GrammarFileParser
from hermes.Grammar import Grammar
from GrammarTest import GrammarTest

class Ast2Test(GrammarTest):
  def setUp(self):
    self.maxDiff = None
    self.loadGrammarFile('grammars/ast2.zgr', 'START')

  def test_firstSets(self):
    self.assertFirst({
{'fraction_non_alphanumeric': 0.08682634730538923, 'fraction_numerical': 0.005988023952095809, 'mean_word_length': 6.193548387096774, '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': '6565196', 'n_tokens_mistral': 225, 'n_tokens_neox': 222, 'n_words': 47}