<commit_before># encoding: utf-8

shared_examples 'IceNine::Freezer::Range.deep_freeze' do
  it 'returns the object' do
    should be(value)
  end

  it 'freezes the object' do
    expect { subject }.to change(value, :frozen?).from(false).to(true)
  end

  it 'freeze the first object in the Range' do
    expect(subject.begin).to be_frozen
  end

  it 'freeze the last object in the Range' do
    expect(subject.end).to be_frozen
  end

  it 'freezes instance variables in the Range' do
    value.instance_eval { @a = '1' }
    expect(subject.instance_variable_get(:@a)).to be_frozen<commit_msg>Change example descriptions to be more consistent<commit_after># encoding: utf-8

shared_examples 'IceNine::Freezer::Range.deep_freeze' do
  it 'returns the object' do
    should be(value)
  end

  it 'freezes the object' do
    expect { subject }.to change(value, :frozen?).from(false).to(true)
  end

  it 'freeze the first element in the Range' do
    expect(subject.begin).to be_frozen
  end

  it 'freeze the last element in the Range' do
    expect(subject.end).to be_frozen
  end

  it 'freezes instance variables in the Range' do
    value.instance_eval { @a = '1' }
    expect(subject.instance_variable_get(:@a)).to be_frozen
{'fraction_non_alphanumeric': 0.1008130081300813, 'fraction_numerical': 0.0032520325203252032, 'mean_word_length': 3.827450980392157, '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': '7381905', 'n_tokens_mistral': 427, 'n_tokens_neox': 404, 'n_words': 129}