<commit_before>describe Level, '::new' do
  it { described_class.new.should be_instance_of described_class }

  it "accepts properties hash" do
    properties = {
      background: [1, 0.5, 1, 0.51]
    }
    instance = described_class.new(properties)

    expect(instance.background).to eq properties[:background]
  end
end<commit_msg>fixed Level::new spec<commit_after>describe Level, '::new' do
  it { described_class.new.should be_instance_of described_class }

  it "accepts properties hash" do
    properties = {
      background: [1, 0.5, 1]
    }
    instance = described_class.new(properties)

    expect(instance.background.to_a).to eq properties[:background]
  end
end
{'fraction_non_alphanumeric': 0.10751104565537556, 'fraction_numerical': 0.016200294550810016, 'mean_word_length': 3.927536231884058, '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': '3193965', 'n_tokens_mistral': 221, 'n_tokens_neox': 208, 'n_words': 52}