<commit_before>const fs = require('fs');
const ohm = require('ohm-js');
const assert = require('assert');

const jcaml = fs.readFileSync('JCaml.ohm');
const gram = ohm.grammar(jcaml);


describe('Arithmetic', () => {
    describe('3 + 1', () => {
        it('should be equivalent to result', () => {
            let match = gram.match('1 + 3');
            assert.ok(match.succeeded());
        });
    });
    describe('4 > 2', () => {
        it('should be equivalent to result', () => {
            let match = gram.match('4 > 2');
            assert.ok(match.succeeded());
        });
    });
  });
  describe('!5', () => {
    it('should be equivalent to result' , () => {
      let match = gram.match('!5');
      assert.ok(match.succeeded());
    });
  });
  describe('44^3', () => {
    it('should be equivalent to result' , () => {
      let match = gram.match('44^3');
      assert.ok(match.succeeded());
    });
  });
  describe('44^3', () => {
    it('should be equivalent to result' , () => {
      let match = gram.match('44^3');
      assert.ok(match.succeeded());<commit_msg>Fixed syntax error<commit_after>const fs = require('fs');
const ohm = require('ohm-js');
const assert = require('assert');

const jcaml = fs.readFileSync('JCaml.ohm');
const gram = ohm.grammar(jcaml);


describe('Arithmetic', () => {
  describe('3 + 1', () => {
    it('should be equivalent to result', () => {
      let match = gram.match('1 + 3');
      assert.ok(match.succeeded());
    });
  });
  describe('4 > 2', () => {
    it('should be equivalent to result', () => {
      let match = gram.match('4 > 2');
      assert.ok(match.succeeded());
    });
  });
  describe('!5', () => {
    it('should be equivalent to result' , () => {
      let match = gram.match('!5');
      assert.ok(match.succeeded());
    });
  });
  describe('44^3', () => {
    it('should be equivalent to result' , () => {
      let match = gram.match('44^3');
      assert.ok(match.succeeded());
    });
  });
  describe('44^3', () => {
    it('should be equivalent to result' , () => {
      let match = gram.match('44^3');
      assert.ok(match.succeeded());
{'fraction_non_alphanumeric': 0.22456633849038912, 'fraction_numerical': 0.02062822315986873, 'mean_word_length': 2.679310344827586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '1719603', 'n_tokens_mistral': 736, 'n_tokens_neox': 693, 'n_words': 141}