<commit_before>%h1#content-title= @project.name

#content-actions
  = link_to_edit_project_models(@project, "Edit Datasets", :class => 'button-link')
  = link_to("Delete Project", project_path(@project), 
    :method => :delete, :class => 'button-link', :confirm => "There is no undo.\n Continue?" ) 
  = link_to("Import CSV", import_csv_path(@project), :class => 'button-link') 

//= render(:partial => 'layouts/sidebar') %>

#content-block
  - for dataset in @project.models
    - @item = dataset.new
    .content-row-block
      .dataset-name
        %h2= link_to dataset.public_name, project_yogo_data_index_path(@project, dataset)
        .description= tooltip(@project.dataset_description(dataset.name), 
                      dataset.public_name + ' Description',
                      200)
        .action-links
          = link_to("Browse All Data", project_yogo_data_index_path(@project, dataset), 
              :class => 'button-link')
          = link_to("Download CSV", project_yogo_data_index_path(@project, dataset, 
              :format => 'csv'), :class => 'button-link')
      .dataset-info
        .action-tabs
          %ul
            %li <a href="##{dataset.to_param}-dataset-details">Dataset Details</a>
            %li <a href="##{dataset.to_param}-query">Query</a>
            %li <a href="##{dataset.to_param}-quickview">Quickview</a>
          = render(:partial => 'yogo/models/dataset', :locals => {:dataset => dataset})
          = render(:partial => 'yogo/projects/build_query', :locals => {:dataset => dataset})
          = render(:partial => 'yogo/data/quickview', :locals => {:dataset => dataset})
<commit_msg>Use kefed editor instead of model editor<commit_after>%h1#content-title= @project.name

#content-actions
  = link_to("Edit Experimental Design", kefed_editor_project_url(@project), :class => 'button-link')
  = link_to("Delete Project", project_path(@project), 
    :method => :delete, :class => 'button-link', :confirm => "There is no undo.\n Continue?" ) 
  = link_to("Import CSV", import_csv_path(@project), :class => 'button-link') 

//= render(:partial => 'layouts/sidebar') %>

#content-block
  - for dataset in @project.models
    - @item = dataset.new
    .content-row-block
      .dataset-name
        %h2= link_to dataset.public_name, project_yogo_data_index_path(@project, dataset)
        .description= tooltip(@project.dataset_description(dataset.name), 
                      dataset.public_name + ' Description',
                      200)
        .action-links
          = link_to("Browse All Data", project_yogo_data_index_path(@project, dataset), 
              :class => 'button-link')
          = link_to("Download CSV", project_yogo_data_index_path(@project, dataset, 
              :format => 'csv'), :class => 'button-link')
      .dataset-info
        .action-tabs
          %ul
            %li <a href="##{dataset.to_param}-dataset-details">Dataset Details</a>
            %li <a href="##{dataset.to_param}-query">Query</a>
            %li <a href="##{dataset.to_param}-quickview">Quickview</a>
          = render(:partial => 'yogo/models/dataset', :locals => {:dataset => dataset})
          = render(:partial => 'yogo/projects/build_query', :locals => {:dataset => dataset})
          = render(:partial => 'yogo/data/quickview', :locals => {:dataset => dataset})

{'fraction_non_alphanumeric': 0.16316736652669467, 'fraction_numerical': 0.002999400119976005, 'mean_word_length': 2.9702380952380953, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5271103', 'n_tokens_mistral': 1025, 'n_tokens_neox': 992, 'n_words': 189}