<commit_before># These fixtures use Advanced Features, including autogenerated IDs and label
# references for associations. Some associations for this fixture may be defined
# in a fixture on the opposite side of the association.
# See http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

DEFAULTS: &DEFAULTS
  admin_groups:  reviewers
  public:        1
  reader_groups: all_users
  review_status: <%= NameDescription.review_statuses[:unreviewed] %>
  source_type:   <%= NameDescription.source_types[:public] %>
  user:          rolf
  version:       1
  writer_groups: all_users

# Name with notes (not mergeable)
agaricus_campestras_desc: # 1
  <<: *DEFAULTS
  name: agaricus_campestras
  notes: This should... ¡prevent me from merging!
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

# Another name with notes (not mergeable)
agaricus_campestros_desc: # 2
  <<: *DEFAULTS
  name: agaricus_campestros
  notes: Need two to get an error
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

russula_brevipes_author_notes_desc: # 3
  <<: *DEFAULTS
  name: russula_brevipes_author_notes
  notes: Here are some notes

russula_cremoricolor_no_author_notes_desc: # 4
  <<: *DEFAULTS
  name: russula_cremoricolor_no_author_notes
  notes: Here are some notes

russula_cremoricolor_author_notes_desc: # 5
  <<: *DEFAULTS
  name: russula_cremoricolor_author_notes
  notes: Some different notes

peltigera_desc: # 6
  <<: *DEFAULTS
  name: peltigera
  user: dick
  version: 2
  reviewer: rolf
  review_status: <%= NameDescription.review_statuses[:vetted] %>
  review_status: 3
  ok_for_export: 1
  last_review: 2009-01-02 02:01:01
  license: ccnc30
  classification: "Kingdom: _Fungi_\r\nPhylum: _Ascomycota_\r\nClass: _Ascomycetes_\r\nOrder: _Lecanorales_\r\nFamily: _Peltigeraceae_"
  gen_desc: "Broad leafy lichens with soft, felty undersurface, generally with conspicuous veins and rhizines."
  diag_desc: "Large foliose lichens with either green algae or cyanobacterial photopartners; apothecia on the upper surface of the lobes; soredia, isidia, and/or lobules often present; undersurface ecorticate, often with raised veins and rhizines; upper surface smooth to often tomentose."
  distribution: Cosmopolitan.
  habitat: "Mostly found growing with or over mosses, on soil, base of tree trunks, logs and rocks, rarely on trees or limbs."
  look_alikes: "Other felt lichens such as _Lobaria_, _Pseudocyphellaria_, _Sticta_ and _Nephroma_ look superficially similar but never have well-developed veins or rhizines underneath."
  uses: "Good for making birds nests... if you're a bird."

suillus_desc: # 7
  <<: *DEFAULTS
  name: suillus
  user: dick
  gen_desc: A __Suillus__ by any other name would smell as sweet...

# A draft of Coprinus comatus owned by a member (katrina) of the EOL Project
draft_coprinus_comatus: # 8
  <<: *DEFAULTS
  name: coprinus_comatus
  user: katrina
  gen_desc: This is a general description of __C. comatus__.
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: EOL Project
  project: eol_project
  public: 0
  admin_groups: eol_admins, katrina_only
  authors: katrina
  reader_groups: eol_users, katrina_only
  writer_groups: eol_admins, katrina_only

# A draft of Agaricus campestris owned by an admin (mary) of the EOL Project
draft_agaricus_campestris: # 9
  <<: *DEFAULTS
  name: agaricus_campestris
  user: mary
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: EOL Project
  project: eol_project
  admin_groups: eol_admins, mary_only
  authors: mary
  reader_groups: eol_users, mary_only
  writer_groups: eol_admins, mary_only

# A draft of Boletus edulis owned by an admin (dick) of the Boletus Project
draft_boletus_edulis: # 10
  <<: *DEFAULTS
  name: boletus_edulis
  user: dick
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: Bolete Project
  project: bolete_project
  public: 0
  admin_groups: bolete_admins, dick_only
  authors: dick
  reader_groups: bolete_users, dick_only
  writer_groups: bolete_admins, dick_only

# A draft of Lactarius alpinus with a bad classification field
draft_lactarius_alpinus: # 11
  <<: *DEFAULTS
  name: lactarius_alpinus
  user: katrina
  classification: "**Domain**: Eukarya"
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: EOL Project
  project: eol_project
  public: 0
  admin_groups: eol_admins, katrina_only
  authors: katrina
  reader_groups: eol_users, katrina_only
  writer_groups: eol_admins, katrina_only

peltigera_alt_desc: # 12
  <<: *DEFAULTS
  name: peltigera
  ok_for_export: 1
  gen_desc: "Another general description of _Peltigera_."
  authors: rolf

peltigera_user_desc: # 13
  <<: *DEFAULTS
  name: peltigera
  user: mary
  ok_for_export: 1
  gen_desc: "Mary's general description of _Peltigera_."
  source_type: <%= NameDescription.source_types[:user] %>
  public: 0
  admin_groups: mary_only
  authors: mary
  reader_groups: mary_only, dick_only
  writer_groups: mary_only, dick_only

peltigera_source_desc: # 14
  <<: *DEFAULTS
  name: peltigera
  user: katrina
  ok_for_export: 1
  diag_desc: "<NAME>'s diagnostic description of _Peltigera_."
  source_type: <%= NameDescription.source_types[:source] %>
  source_name: Lichens of North America
  admin_groups: katrina_only
  authors: katrina
  writer_groups: katrina_only

coprinus_desc: # 15
  <<: *DEFAULTS
  name: coprinus
  authors: rolf
  editors: rolf, mary
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

coprinus_comatus_desc: # 16
  <<: *DEFAULTS
  name: coprinus_comatus
  authors: rolf
  editors: rolf, mary
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

mergeable_description_notes_desc: # 17<commit_msg>Adding another description edited by rolf was a big mistake!<commit_after># These fixtures use Advanced Features, including autogenerated IDs and label
# references for associations. Some associations for this fixture may be defined
# in a fixture on the opposite side of the association.
# See http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

DEFAULTS: &DEFAULTS
  admin_groups:  reviewers
  public:        1
  reader_groups: all_users
  review_status: <%= NameDescription.review_statuses[:unreviewed] %>
  source_type:   <%= NameDescription.source_types[:public] %>
  user:          rolf
  version:       1
  writer_groups: all_users

# Name with notes (not mergeable)
agaricus_campestras_desc: # 1
  <<: *DEFAULTS
  name: agaricus_campestras
  notes: This should... ¡prevent me from merging!
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

# Another name with notes (not mergeable)
agaricus_campestros_desc: # 2
  <<: *DEFAULTS
  name: agaricus_campestros
  notes: Need two to get an error
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

russula_brevipes_author_notes_desc: # 3
  <<: *DEFAULTS
  name: russula_brevipes_author_notes
  notes: Here are some notes

russula_cremoricolor_no_author_notes_desc: # 4
  <<: *DEFAULTS
  name: russula_cremoricolor_no_author_notes
  notes: Here are some notes

russula_cremoricolor_author_notes_desc: # 5
  <<: *DEFAULTS
  name: russula_cremoricolor_author_notes
  notes: Some different notes

peltigera_desc: # 6
  <<: *DEFAULTS
  name: peltigera
  user: dick
  version: 2
  reviewer: rolf
  review_status: <%= NameDescription.review_statuses[:vetted] %>
  review_status: 3
  ok_for_export: 1
  last_review: 2009-01-02 02:01:01
  license: ccnc30
  classification: "Kingdom: _Fungi_\r\nPhylum: _Ascomycota_\r\nClass: _Ascomycetes_\r\nOrder: _Lecanorales_\r\nFamily: _Peltigeraceae_"
  gen_desc: "Broad leafy lichens with soft, felty undersurface, generally with conspicuous veins and rhizines."
  diag_desc: "Large foliose lichens with either green algae or cyanobacterial photopartners; apothecia on the upper surface of the lobes; soredia, isidia, and/or lobules often present; undersurface ecorticate, often with raised veins and rhizines; upper surface smooth to often tomentose."
  distribution: Cosmopolitan.
  habitat: "Mostly found growing with or over mosses, on soil, base of tree trunks, logs and rocks, rarely on trees or limbs."
  look_alikes: "Other felt lichens such as _Lobaria_, _Pseudocyphellaria_, _Sticta_ and _Nephroma_ look superficially similar but never have well-developed veins or rhizines underneath."
  uses: "Good for making birds nests... if you're a bird."

suillus_desc: # 7
  <<: *DEFAULTS
  name: suillus
  user: dick
  gen_desc: A __Suillus__ by any other name would smell as sweet...

# A draft of Coprinus comatus owned by a member (katrina) of the EOL Project
draft_coprinus_comatus: # 8
  <<: *DEFAULTS
  name: coprinus_comatus
  user: katrina
  gen_desc: This is a general description of __C. comatus__.
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: EOL Project
  project: eol_project
  public: 0
  admin_groups: eol_admins, katrina_only
  authors: katrina
  reader_groups: eol_users, katrina_only
  writer_groups: eol_admins, katrina_only

# A draft of Agaricus campestris owned by an admin (mary) of the EOL Project
draft_agaricus_campestris: # 9
  <<: *DEFAULTS
  name: agaricus_campestris
  user: mary
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: EOL Project
  project: eol_project
  admin_groups: eol_admins, mary_only
  authors: mary
  reader_groups: eol_users, mary_only
  writer_groups: eol_admins, mary_only

# A draft of Boletus edulis owned by an admin (dick) of the Boletus Project
draft_boletus_edulis: # 10
  <<: *DEFAULTS
  name: boletus_edulis
  user: dick
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: Bolete Project
  project: bolete_project
  public: 0
  admin_groups: bolete_admins, dick_only
  authors: dick
  reader_groups: bolete_users, dick_only
  writer_groups: bolete_admins, dick_only

# A draft of Lactarius alpinus with a bad classification field
draft_lactarius_alpinus: # 11
  <<: *DEFAULTS
  name: lactarius_alpinus
  user: katrina
  classification: "**Domain**: Eukarya"
  source_type: <%= NameDescription.source_types[:project] %>
  source_name: EOL Project
  project: eol_project
  public: 0
  admin_groups: eol_admins, katrina_only
  authors: katrina
  reader_groups: eol_users, katrina_only
  writer_groups: eol_admins, katrina_only

peltigera_alt_desc: # 12
  <<: *DEFAULTS
  name: peltigera
  ok_for_export: 1
  gen_desc: "Another general description of _Peltigera_."
  authors: rolf

peltigera_user_desc: # 13
  <<: *DEFAULTS
  name: peltigera
  user: mary
  ok_for_export: 1
  gen_desc: "Mary's general description of _Peltigera_."
  source_type: <%= NameDescription.source_types[:user] %>
  public: 0
  admin_groups: mary_only
  authors: mary
  reader_groups: mary_only, dick_only
  writer_groups: mary_only, dick_only

peltigera_source_desc: # 14
  <<: *DEFAULTS
  name: peltigera
  user: katrina
  ok_for_export: 1
  diag_desc: "<NAME>'s diagnostic description of _Peltigera_."
  source_type: <%= NameDescription.source_types[:source] %>
  source_name: Lichens of North America
  admin_groups: katrina_only
  authors: katrina
  writer_groups: katrina_only

coprinus_desc: # 15
  <<: *DEFAULTS
  name: coprinus
  authors: katrina
  editors: katrina
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

coprinus_comatus_desc: # 16
  <<: *DEFAULTS
  name: coprinus_comatus
  authors: rolf
  editors: rolf, mary
  classification: "Kingdom: _Fungi_\r\nPhylum: _Basidiomycota_\r\nClass: _Basidiomycetes_\r\nOrder: _Agaricales_\r\nFamily: _Agaricaceae_"

mergeable_description_notes_desc: # 17
{'fraction_non_alphanumeric': 0.08060661007170526, 'fraction_numerical': 0.008736503750103024, 'mean_word_length': 5.0218362282878415, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 23, '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': '6420996', 'n_tokens_mistral': 4559, 'n_tokens_neox': 4250, 'n_words': 1135}