<commit_before>= clear_break
.rbox.dashed.small.centered
  = link_to("Delete Experiment", yogo_project_path(@project), 
    :method => :delete, :class => 'button-link fright', 
    :confirm => "Are you sure you want to delete the #{@project.name} project?\nThere is no undo! Continue?" )
  = form_for(@project,:as => :project, :builder => YogoFormBuilder) do |f|
    = f.check_box(:is_private, :label => image_tag('icons/private_16.png') + " Private")
    = f.text_field(:investigator, :label => "Investigator: ")
    = f.text_area(:description, :label => "Experiment Description: ")

    - unless Yogo::Setting[:local_only]
      %h3.tight Experiment Users
      .rbox.tight
        %span.bold All Users:
        %ul.all-users
          - unless @project.roles.empty? 
            - @project.roles.users.each do |user|
              // TODO: The role-selection below is clumsy, optimize plz
              %li= user.name + ": " + @project.roles.select{|g| g.users.include?(user) }.map{|g| g.name }.join(', ')
    .form-element
      = f.submit('Update', :class => 'button-link')<commit_msg>remove the private option<commit_after>= clear_break
.rbox.dashed.small.centered
  = link_to("Delete Experiment", yogo_project_path(@project), 
    :method => :delete, :class => 'button-link fright', 
    :confirm => "Are you sure you want to delete the #{@project.name} project?\nThere is no undo! Continue?" )
  = form_for(@project,:as => :project, :builder => YogoFormBuilder) do |f|
    / = f.check_box(:is_private, :label => image_tag('icons/private_16.png') + " Private")
    = f.text_field(:investigator, :label => "Investigator: ")
    = f.text_area(:description, :label => "Experiment Description: ")

    - unless Yogo::Setting[:local_only]
      %h3.tight Experiment Users
      .rbox.tight
        %span.bold All Users:
        %ul.all-users
          - unless @project.roles.empty? 
            - @project.roles.users.each do |user|
              // TODO: The role-selection below is clumsy, optimize plz
              %li= user.name + ": " + @project.roles.select{|g| g.users.include?(user) }.map{|g| g.name }.join(', ')
    .form-element
      = f.submit('Update', :class => 'button-link')
{'fraction_non_alphanumeric': 0.16545123062898814, 'fraction_numerical': 0.0027347310847766638, 'mean_word_length': 3.079925650557621, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 21, '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': '2256534', 'n_tokens_mistral': 737, 'n_tokens_neox': 700, 'n_words': 156}