<commit_before>var assert = require('assert');
var freeze = require('../lib/deep-freeze');

describe('deep-freeze', function () {
    describe('init', function() {
        var person = {};
        var expectedPerson = {};

        beforeEach(function() {
            person = {
                name: 'John',
                surname: 'Johnson',
                age: 26,
                address: {
                    street: '1st Street',
                    city: 'Los Angeles',
                    country: 'USA'
                },
                vehicles: [
                    'BMW',
                    'Ferrari',
                    'Lamborghini'<commit_msg>Fix anonymous function declaration coding style in deep-freeze.js tests<commit_after>var assert = require('assert');
var freeze = require('../lib/deep-freeze');

describe('deep-freeze', function () {
    describe('init', function () {
        var person = {};
        var expectedPerson = {};

        beforeEach(function() {
            person = {
                name: 'John',
                surname: 'Johnson',
                age: 26,
                address: {
                    street: '1st Street',
                    city: 'Los Angeles',
                    country: 'USA'
                },
                vehicles: [
                    'BMW',
                    'Ferrari',
                    'Lamborghini'
{'fraction_non_alphanumeric': 0.12256669069935111, 'fraction_numerical': 0.004325883201153569, 'mean_word_length': 1.1755485893416928, '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': '767137', 'n_tokens_mistral': 360, 'n_tokens_neox': 327, 'n_words': 77}