<commit_before>- if current_user
  .col-md-2
  .col-md-8
    = link_to "Create API", services_new_path, :class => "form-control btn btn-default", :id => "new-api"
    -if params[:page] == "1" || !params[:page]
      -if current_user.organization
        %h2 Your Organization's APIs:
        %ul.service-list
          - @my_services.each do |s|
            %li
              %p
                = link_to "#{s.name}", "/services/#{s.slug}"
              %p
                = link_to "View data", "/services/#{s.slug}/records"
              %p.service-description
                = s.description
              %p
                Records Count: #{s.records.count}
              %p
                Created: #{s.created_at.strftime("%B %d, %Y")}
              %p
                Most Recent Update: #{s.created_at.strftime("%B %d, %Y")}
    -if !current_user.organization
      %h4
        %em
          You haven't created an Organization yet. Click
          %span "Create Organization"
          in the User Navbar to get started!
    -if current_user.organization
      -if current_user.organization.services.count == 0
        %h4
          %em
            You haven't created any API's yet. Click
            %span "Create API"
            to get started!
    %h2 APIs Available:
    %ul.service-list
      - @services.each do |s|<commit_msg>added update link to your services on service index<commit_after>- if current_user
  .col-md-2
  .col-md-8
    = link_to "Create API", services_new_path, :class => "form-control btn btn-default", :id => "new-api"
    -if params[:page] == "1" || !params[:page]
      -if current_user.organization
        %h2 Your Organization's APIs:
        %ul.service-list
          - @my_services.each do |s|
            %li
              %p
                = link_to "#{s.name}", "/services/#{s.slug}"
              %p
                = link_to "View data", "/services/#{s.slug}/records"
              %p
                = link_to "Update", "/services/#{s.slug}/edit"
              %p.service-description
                = s.description
              %p
                Records Count: #{s.records.count}
              %p
                Created: #{s.created_at.strftime("%B %d, %Y")}
              %p
                Most Recent Update: #{s.created_at.strftime("%B %d, %Y")}
    -if !current_user.organization
      %h4
        %em
          You haven't created an Organization yet. Click
          %span "Create Organization"
          in the User Navbar to get started!
    -if current_user.organization
      -if current_user.organization.services.count == 0
        %h4
          %em
            You haven't created any API's yet. Click
            %span "Create API"
            to get started!
    %h2 APIs Available:
    %ul.service-list
      - @services.each do |s|
{'fraction_non_alphanumeric': 0.1247327156094084, 'fraction_numerical': 0.005702066999287242, 'mean_word_length': 1.5564663023679417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1765811', 'n_tokens_mistral': 859, 'n_tokens_neox': 821, 'n_words': 221}