<commit_before>FactoryGirl.define do

  factory :user, :aliases => [:owner] do
    name '<NAME>'
    email '<EMAIL>'
  end

  factory :service do
    user
    provider 'developer'
    sequence(:uid) {|n| "user_#{n}"}
    name '<NAME>'
    email '<EMAIL>'
  end

  factory :tournament do
    owner
    sequence(:name) {|n| "Tournament #{n}"}
  end

  factory :rank do
    user
    tournament
    mu 25.0
    sigma 25.0 / 3.0
  end

  factory :invite do
    owner
    tournament
    email '<EMAIL>'
    sequence(:code) {|n| "code_#{n}"}
    expires_at { 1.day.from_now }
  end

  factory :game do
    tournament
  end

  factory :game_rank do
    rank
    game
  end

end<commit_msg>Without acts as list game rank factory needs position generated<commit_after>FactoryGirl.define do

  factory :user, :aliases => [:owner] do
    name '<NAME>'
    email '<EMAIL>'
  end

  factory :service do
    user
    provider 'developer'
    sequence(:uid) {|n| "user_#{n}"}
    name '<NAME>'
    email '<EMAIL>'
  end

  factory :tournament do
    owner
    sequence(:name) {|n| "Tournament #{n}"}
  end

  factory :rank do
    user
    tournament
    mu 25.0
    sigma 25.0 / 3.0
  end

  factory :invite do
    owner
    tournament
    email '<EMAIL>'
    sequence(:code) {|n| "code_#{n}"}
    expires_at { 1.day.from_now }
  end

  factory :game do
    tournament
  end

  factory :game_rank do
    rank
    game
    sequence(:position) {|n| n}
  end

end
{'fraction_non_alphanumeric': 0.12119113573407202, 'fraction_numerical': 0.012465373961218837, 'mean_word_length': 2.448687350835322, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '3347031', 'n_tokens_mistral': 538, 'n_tokens_neox': 511, 'n_words': 153}