<commit_before>/*jshint trailing:true, white:true, indent:2, strict:true, curly:true,
  plusplus:true, immed:true, eqeqeq:true, forin:true, latedef:true,
  newcap:true, noarg:true, undef:true */
/*jslint bitwise: true, nomen: true, indent:2 */
/*global XVOWS:true, XT:true, XM:true, _:true, setTimeout:true,
clearTimeout:true, vows:true, assert:true */

(function () {
  "use strict";

  var createHash, updateHash, dueDate = new Date();
  dueDate.setDate(dueDate.getDate() + 30);

  createHash = {
    number: 'crud_test',
    name: 'Test CRUD operations',
    dueDate: dueDate
  };

  updateHash = {
    name: 'Test Update operation'
  };

  vows.describe('XM.Country CRUD test').addBatch({
    'CREATE': XVOWS.create('XM.Project', {
      '-> Set values': {
        topic: function (model) {
          model.set(createHash);
          return model;
        },
        'Last Error is null': function (model) {<commit_msg>Change test description.<commit_after>/*jshint trailing:true, white:true, indent:2, strict:true, curly:true,
  plusplus:true, immed:true, eqeqeq:true, forin:true, latedef:true,
  newcap:true, noarg:true, undef:true */
/*jslint bitwise: true, nomen: true, indent:2 */
/*global XVOWS:true, XT:true, XM:true, _:true, setTimeout:true,
clearTimeout:true, vows:true, assert:true */

(function () {
  "use strict";

  var createHash, updateHash, dueDate = new Date();
  dueDate.setDate(dueDate.getDate() + 30);

  createHash = {
    number: 'crud_test',
    name: 'Test CRUD operations',
    dueDate: dueDate
  };

  updateHash = {
    name: 'Test Update operation'
  };

  vows.describe('XM.Project CRUD test').addBatch({
    'CREATE': XVOWS.create('XM.Project', {
      '-> Set values': {
        topic: function (model) {
          model.set(createHash);
          return model;
        },
        'Last Error is null': function (model) {
{'fraction_non_alphanumeric': 0.15455035002692516, 'fraction_numerical': 0.004308023694130318, 'mean_word_length': 3.5763546798029555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1964078', 'n_tokens_mistral': 657, 'n_tokens_neox': 632, 'n_words': 148}