<commit_before># Seeds the database with BioVeL-specific data

# Seeds workflow categories
workflow_categories = ['Taxonomic Refinement', 'Ecological Niche Modelling', 'Metagenomics', 'Phylogenetics', 'Population Modelling', 'Ecosystem Functioning and Valuation', 'Other']

WorkflowCategory.delete_all

workflow_categories.each do |category|
  WorkflowCategory.create!(name: category)
end

# Seeds workflow input port types
workflow_input_port_types = ['Data', 'Parameter']

WorkflowInputPortType.delete_all

workflow_input_port_types.each do |type|
  WorkflowInputPortType.create!(name: type)
end

# Seeds workflow output port types
workflow_output_port_types = ['Result', 'Error/Log']

WorkflowOutputPortType.delete_all

workflow_output_port_types.each do |type|
  WorkflowOutputPortType.create!(name: type)
end<commit_msg>A minor tweak to workflow categories.<commit_after># Seeds the database with BioVeL-specific data

# Seeds workflow categories
workflow_categories = ['Taxonomic Refinement', 'Ecological Niche Modelling', 'Metagenomics', 'Phylogenetics', 'Population Modelling', 'Ecosystem Modelling', 'Other']

WorkflowCategory.delete_all

workflow_categories.each do |category|
  WorkflowCategory.create!(name: category)
end

# Seeds workflow input port types
workflow_input_port_types = ['Data', 'Parameter']

WorkflowInputPortType.delete_all

workflow_input_port_types.each do |type|
  WorkflowInputPortType.create!(name: type)
end

# Seeds workflow output port types
workflow_output_port_types = ['Result', 'Error/Log']

WorkflowOutputPortType.delete_all

workflow_output_port_types.each do |type|
  WorkflowOutputPortType.create!(name: type)
end
{'fraction_non_alphanumeric': 0.09107358262967431, 'fraction_numerical': 0.0, 'mean_word_length': 7.68586387434555, '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': '1911384', 'n_tokens_mistral': 519, 'n_tokens_neox': 498, 'n_words': 126}