<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>qspec.js example</title>
    <link rel="stylesheet" href="../lib/qunit-1.12.0.css">
  </head>
  <body>
    <div id="qunit"></div>
    <div id="qunit-fixture"></div>
    <script src="../lib/qunit-1.12.0.js"></script>
    <script src="../pavlov.js"></script>
    <script>
      describe('example', function() {
        var a, b;

        before(function() {
          a = 1;
        });

        //afterEach(function() {
        // i = -1;
        //});

        it('should demonstrate the basic usage', function() {
          assert(a).toBe(1); 
        });

        describe('nested example', function() {
          before(function() {
            b = 2;
          });
          it('should demonstrate nested usage 1', function() {
            assert(a).toBe(1);
            assert(b).toBe(2);
          });        <commit_msg>corrected example<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>qspec.js example</title>
    <link rel="stylesheet" href="../lib/qunit-1.12.0.css">
  </head>
  <body>
    <div id="qunit"></div>
    <div id="qunit-fixture"></div>
    <script src="../lib/qunit-1.12.0.js"></script>
    <script src="../qspec.0.1.0.js"></script>
    <script>
      describe('example', function() {
        var a, b;

        beforeEach(function() {
          a = 1;
        });

        afterEach(function() {
         i = -1;
        });

        it('should demonstrate the basic usage', function() {
          expect(a).toBe(1); 
        });

        describe('nested example', function() {
          beforeEach(function() {
            b = 2;
          });
          it('should demonstrate nested usage 1', function() {
            expect(a).toBe(1);
            expect(b).toBe(2);
          });        
{'fraction_non_alphanumeric': 0.19237057220708448, 'fraction_numerical': 0.01907356948228883, 'mean_word_length': 1.7609022556390976, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '6156040', 'n_tokens_mistral': 602, 'n_tokens_neox': 573, 'n_words': 109}