<commit_before>require 'rails_helper'
describe Project do
  let!(:project) { build(:project) }
  let!(:user) { build(:user) }
  let!(:faculty_project) { build(:faculty_project) }
  let!(:staff_project) { build(:staff_project) }

  it "project should belong to Project class" do
    expect(project.class.name).to eq("Project")
  end

  it "project should have a name of 'Create tests'" do
    expect(project.name).to eq("Create tests")
  end

  it "should have correct attributes" do
    [:name, :summary, :hypothesis].each do |attribute|
      expect(project).to have_attribute(attribute)
    end
  end

  it "user" do
    expect(faculty_user.position.title).to eq("faculty")
  end

  it "faculty projects have the correct creator position" do
    expect(faculty_project.creator.position.title).to eq("faculty")
  end

  it "staff projects have the correct creator" do
    expect(staff_project.creator.position.title).to eq("staff")
  end
end
<commit_msg>remove debugging test that had been partially removed<commit_after>require 'rails_helper'
describe Project do
  let!(:project) { build(:project) }
  let!(:user) { build(:user) }
  let!(:faculty_project) { build(:faculty_project) }
  let!(:staff_project) { build(:staff_project) }

  it "project should belong to Project class" do
    expect(project.class.name).to eq("Project")
  end

  it "project should have a name of 'Create tests'" do
    expect(project.name).to eq("Create tests")
  end

  it "should have correct attributes" do
    [:name, :summary, :hypothesis].each do |attribute|
      expect(project).to have_attribute(attribute)
    end
  end

  it "faculty projects have the correct creator position" do
    expect(faculty_project.creator.position.title).to eq("faculty")
  end

  it "staff projects have the correct creator" do
    expect(staff_project.creator.position.title).to eq("staff")
  end
end

{'fraction_non_alphanumeric': 0.11811865312667023, 'fraction_numerical': 0.0, 'mean_word_length': 4.318181818181818, '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': '6583985', 'n_tokens_mistral': 589, 'n_tokens_neox': 568, 'n_words': 167}