<commit_before><% creators = @asset_version.creators.collect{|creator| creator.last_name.capitalize + ', ' + creator.first_name.capitalize} %>
<%= render :partial => "datacite_doi/multiple_entries",
           :locals => {:objects => creators,
                       :field_name => 'creator',
                       :metadata_path => "metadata[creators][creator][creatorName]",
                       :description => "Input the creator names, with the format: Last name, First name"
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'title',
                       :description => "Input the title of the asset",
                       :field => text_area_tag("titles[title]", @asset_version.title, :class => "title_text_entry")
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'publisher',
                       :description => "Input the publisher",
                       :field => text_field_tag("publisher", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'publication year',
                       :description => "Input the publication year",
                       :field => text_field_tag("publicationYear", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/multiple_entries",
           :locals => {:objects => [],
                       :field_name => 'subject',
                       :metadata_path => "metadata[subjects][subject]",
                       :description => "Input the subjects of the asset, e.g. System Biology"
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'language',
                       :description => "Input the language, e.g. eng",
                       :field => text_field_tag("language", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'resource type',
                       :description => "Input the asset type, e.g. Dataset",
                       :field => text_field_tag("resourceType", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'version',
                       :description => "Input the version",
                       :field => text_field_tag("version", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'Description',
                       :description => "Input the description",
                       :field => text_area_tag("descriptions[description]", @asset_version.description, :class => "large_text_entry")
           } %><commit_msg>forget metadata in the params<commit_after><% creators = @asset_version.creators.collect{|creator| creator.last_name.capitalize + ', ' + creator.first_name.capitalize} %>
<%= render :partial => "datacite_doi/multiple_entries",
           :locals => {:objects => creators,
                       :field_name => 'creator',
                       :metadata_path => "metadata[creators][creator][creatorName]",
                       :description => "Input the creator names, with the format: Last name, First name"
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'title',
                       :description => "Input the title of the asset",
                       :field => text_area_tag("metadata[titles][title]", @asset_version.title, :class => "title_text_entry")
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'publisher',
                       :description => "Input the publisher",
                       :field => text_field_tag("metadata[publisher]", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'publication year',
                       :description => "Input the publication year",
                       :field => text_field_tag("metadata[publicationYear]", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/multiple_entries",
           :locals => {:objects => [],
                       :field_name => 'subject',
                       :metadata_path => "metadata[subjects][subject]",
                       :description => "Input the subjects of the asset, e.g. System Biology"
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'language',
                       :description => "Input the language, e.g. eng",
                       :field => text_field_tag("metadata[language]", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'resource type',
                       :description => "Input the asset type, e.g. Dataset",
                       :field => text_field_tag("metadata[resourceType]", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'version',
                       :description => "Input the version",
                       :field => text_field_tag("metadata[version]", nil, :size => 40)
           } %>

<%= render :partial => "datacite_doi/single_entry",
           :locals => {:field_name => 'Description',
                       :description => "Input the description",
                       :field => text_area_tag("metadata[descriptions][description]", @asset_version.description, :class => "large_text_entry")
           } %>
{'fraction_non_alphanumeric': 0.15082427218519817, 'fraction_numerical': 0.00350754121360926, 'mean_word_length': 2.0318979266347688, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 131, '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': '3387544', 'n_tokens_mistral': 1625, 'n_tokens_neox': 1479, 'n_words': 328}