<commit_before>#!/bin/bash ../test_wrapper.sh

require_relative './app_models_test_base'
require_relative './../app_lib/delta_maker'

class AvatarTest < AppModelsTestBase

  test 'FB7E81',
  "an avatar's kata is the kata it was created with" do

    #set_storer_class('FakeStorer')

    kata = make_kata
    avatar = kata.start_avatar
    assert_equal kata.id, avatar.kata.id
  end

  #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  test 'FB7D2B',
  "an avatar's' initial visible_files are:",
  '1. the language visible_files,',
  '2. the exercise instructions,',
  '3. empty output' do
    kata = make_kata({ :language => default_language_name })<commit_msg>switched first test to use FakeStorer<commit_after>#!/bin/bash ../test_wrapper.sh

require_relative './app_models_test_base'
require_relative './../app_lib/delta_maker'

class AvatarTest < AppModelsTestBase

  test 'FB7E81',
  "an avatar's kata is the kata it was created with" do

    set_storer_class('FakeStorer')
    assert_equal 'StubRunner', runner.class.name

    kata = make_kata
    avatar = kata.start_avatar
    assert_equal kata.id, avatar.kata.id
  end

  #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  test 'FB7D2B',
  "an avatar's' initial visible_files are:",
  '1. the language visible_files,',
  '2. the exercise instructions,',
  '3. empty output' do
    kata = make_kata({ :language => default_language_name })
{'fraction_non_alphanumeric': 0.1506276150627615, 'fraction_numerical': 0.011157601115760111, 'mean_word_length': 2.6146095717884132, 'pattern_counts': {'":': 0, '<': 5, '<?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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2862053', 'n_tokens_mistral': 547, 'n_tokens_neox': 519, 'n_words': 116}