<commit_before>- content_for :calendar
  == render "calendar"

= render partial: "alert_dialog", locals: {id: "get_evaluation_id", title: "The evaluation is not found", body: "Please select another day"}

.row
  .col-md-12.page-element
    .row
      .col-md-12
        .page-title-header = @endpoint.name
    .row
      .col-md-12
        == yield :calendar
    .page-title-body
      - if !@prev_evaluation.nil?
        a href="/endpoints/#{@endpoint.id}/#{@prev_evaluation[:id]}"
          = @prev_evaluation[:created_at].getutc
          | &nbsp; <<

      - if !@prev_evaluation.nil? && !@next_evaluation.nil?
        span &nbsp;&nbsp;&nbsp;

      - if !@next_evaluation.nil?
        a href="/endpoints/#{@endpoint.id}/#{@next_evaluation[:id]}"
          | >> &nbsp;
          = @next_evaluation[:created_at].getutc

      .row
        .col-xs-12.col-sm-6
          - unless @endpoint.issue_id.nil?
            h2.page-title-header
              | Forum
            a href="https://github.com/#{Rails.application.secrets.github_repo}/issues?q=is:open+label:%22#{@endpoint.id.to_s}%22"
              = "Discussion About #{@endpoint.name}"
            br
            br
            = link_to "Create Issue About #{@endpoint.name}", issues_form_path(@endpoint), remote: true, class: 'p'
            .modal.fade#user-modal[tabindex="-1" role="dialog" aria-hidden="true"]
          h2.page-title-header
            | Basic Information
          table.table.table-bordered
            thead
              tr
                th Name
                th Value
            tbody
              tr
                td
                  | Endpoint URI
                td
                  a href=@endpoint.url
                    = @endpoint.url
              tr
                td
                  | Site Description
                td
                  = link_to @endpoint.description_url, @endpoint.description_url unless @endpoint.description_url.nil?
              tr
                td
                  .umakadata-tooltip
                    | Organization Information
                    span.small
                      | data specified by dcterms:publisher in VoID
                td
                  = @publisher
              tr
                td
                  .umakadata-tooltip
                    | License Information
                    span.small
                      | data specified by dcterms:license in VoID
                td
                  = @license
              tr
                td
                  .umakadata-tooltip
                    | Supported Language
                    span.small
                      | data specified by sd:supportedLanguage in Service Description
                td
                  = format_text(@supported_language)
              tr
                td
                  | SERVICE clause
                td
                  = @evaluation.support_service_clause.to_s
              tr
                td
                  .umakadata-tooltip
                    | GRAPH clause
                    span.small
                      | true if the query using 'GRAPH' clause returns result, otherwise false.
                td
                  = @evaluation.support_graph_clause.to_s
              tr
                td
                  .umakadata-tooltip
                    | Rank
                    span.small
                      | ranked as shown in the following table
                      table
                        thead<commit_msg>add data scale<commit_after>- content_for :calendar
  == render "calendar"

= render partial: "alert_dialog", locals: {id: "get_evaluation_id", title: "The evaluation is not found", body: "Please select another day"}

.row
  .col-md-12.page-element
    .row
      .col-md-12
        .page-title-header = @endpoint.name
    .row
      .col-md-12
        == yield :calendar
    .page-title-body
      - if !@prev_evaluation.nil?
        a href="/endpoints/#{@endpoint.id}/#{@prev_evaluation[:id]}"
          = @prev_evaluation[:created_at].getutc
          | &nbsp; <<

      - if !@prev_evaluation.nil? && !@next_evaluation.nil?
        span &nbsp;&nbsp;&nbsp;

      - if !@next_evaluation.nil?
        a href="/endpoints/#{@endpoint.id}/#{@next_evaluation[:id]}"
          | >> &nbsp;
          = @next_evaluation[:created_at].getutc

      .row
        .col-xs-12.col-sm-6
          - unless @endpoint.issue_id.nil?
            h2.page-title-header
              | Forum
            a href="https://github.com/#{Rails.application.secrets.github_repo}/issues?q=is:open+label:%22#{@endpoint.id.to_s}%22"
              = "Discussion About #{@endpoint.name}"
            br
            br
            = link_to "Create Issue About #{@endpoint.name}", issues_form_path(@endpoint), remote: true, class: 'p'
            .modal.fade#user-modal[tabindex="-1" role="dialog" aria-hidden="true"]
          h2.page-title-header
            | Basic Information
          table.table.table-bordered
            thead
              tr
                th Name
                th Value
            tbody
              tr
                td
                  | Endpoint URI
                td
                  a href=@endpoint.url
                    = @endpoint.url
              tr
                td
                  | Site Description
                td
                  = link_to @endpoint.description_url, @endpoint.description_url unless @endpoint.description_url.nil?
              tr
                td
                  .umakadata-tooltip
                    | Organization Information
                    span.small
                      | data specified by dcterms:publisher in VoID
                td
                  = @publisher
              tr
                td
                  .umakadata-tooltip
                    | License Information
                    span.small
                      | data specified by dcterms:license in VoID
                td
                  = @license
              tr
                td
                  .umakadata-tooltip
                    | Supported Language
                    span.small
                      | data specified by sd:supportedLanguage in Service Description
                td
                  = format_text(@supported_language)
              tr
                td
                  | SERVICE clause
                td
                  = @evaluation.support_service_clause.to_s
              tr
                td
                  .umakadata-tooltip
                    | GRAPH clause
                    span.small
                      | true if the query using 'GRAPH' clause returns result, otherwise false.
                td
                  = @evaluation.support_graph_clause.to_s
              tr
                td
                  .umakadata-tooltip
                    | Data scale
                    span.small
                      | a number represents the scale of data.
                      br
                      | The value is determined by a formula, x = log<sub>10</sub>N where N is the number of data entries.
                td
                  = (n = @evaluation.number_of_statements) ? format('%.1f', Math.log10(n)) : '-'
              tr
                td
                  .umakadata-tooltip
                    | Rank
                    span.small
                      | ranked as shown in the following table
                      table
                        thead
{'fraction_non_alphanumeric': 0.08506085328340243, 'fraction_numerical': 0.00494850876019794, 'mean_word_length': 1.0726164079822615, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '961067', 'n_tokens_mistral': 1956, 'n_tokens_neox': 1811, 'n_words': 411}