<commit_before>.nested-fields
  .row
    .col-md-6
      = f.input :sourceable_id, :collection => GrantPurchase.sources({organization_id: @asset.organization_id, active: true}), :required => true, :label => GrantPurchase.label
    .col-md-5
      = f.input :pcnt_purchase_cost, :label => 'Pcnt', :wrapper => :vertical_append do
        = f.input_field :pcnt_purchase_cost, :class => 'form-control funding-pcnt', :max => 100, :step => 0.001
        %span.input-group-addon
          %i.fa.fa-percent

    .col-md-1
      = link_to_remove_association f, :class => 'btn btn-xs btn-warning remove_grant_purchase', :style => 'margin-top: 27px;' do
        %i.fa.fa-trash-o

<commit_msg>[#150223873] only positive percents<commit_after>.nested-fields
  .row
    .col-md-6
      = f.input :sourceable_id, :collection => GrantPurchase.sources({organization_id: @asset.organization_id, active: true}), :required => true, :label => GrantPurchase.label
    .col-md-5
      = f.input :pcnt_purchase_cost, :label => 'Pcnt', :wrapper => :vertical_append do
        = f.input_field :pcnt_purchase_cost, :class => 'form-control funding-pcnt', :min => 1, :max => 100, :step => 0.001
        %span.input-group-addon
          %i.fa.fa-percent

    .col-md-1
      = link_to_remove_association f, :class => 'btn btn-xs btn-warning remove_grant_purchase', :style => 'margin-top: 27px;' do
        %i.fa.fa-trash-o


{'fraction_non_alphanumeric': 0.15698924731182795, 'fraction_numerical': 0.024372759856630826, 'mean_word_length': 3.217522658610272, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 24, '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': '4932784', 'n_tokens_mistral': 523, 'n_tokens_neox': 489, 'n_words': 97}