<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.name.gsub(",", "")}%22"
              = "Discussion About #{@endpoint.name}"
          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
                  .umakadata-tooltip
                    | Support for GraphClause
                    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
                          tr
                            th Umaka Rank
                            th Umaka Score
                        tbody
                          tr
                            td A
                            td 81 - 100
                          tr
                            td B
                            td 61 - 80
                          tr
                            td C
                            td 41 - 60
                          tr
                            td D
                            td 21 - 40
                          tr
                            td E
                            td 0 - 20
                td
                  = "Rank " + show_rank(@evaluation.rank) + " ( " + @evaluation.score.to_s + " ) "
              tr
                td
                  .umakadata-tooltip
                    | CORS
                    span.small
                      | true if response header of endpoint contains 'access-control-allow-origin: *', otherwise false.
                td
                  = @cors

              tr
                td
                  | URI indexed
                td
                  = @uri_indexed
              tr
                td
                  | Last Checked
                td
                  = @evaluation.created_at.getutc
          | Please see&nbsp;
          a href="/umaka-score.html" data-no-turbolink=true this document
          | &nbsp;for more details about Umaka Score.

        .col-xs-12.col-sm-6
          canvas#radar[width="400" height="300" data-endpoint-id=@<EMAIL> data-evaluation-id=@evaluation.id]

        .col-xs-12.col-sm-12
          canvas#score_history[width="800" height="300"]

      .row
        .col-xs-24.col-sm-12<commit_msg>Add `viewer_url` field to Endpoint's Basic information<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.name.gsub(",", "")}%22"
              = "Discussion About #{@endpoint.name}"
          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
                  .umakadata-tooltip
                    | Support for GraphClause
                    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
                          tr
                            th Umaka Rank
                            th Umaka Score
                        tbody
                          tr
                            td A
                            td 81 - 100
                          tr
                            td B
                            td 61 - 80
                          tr
                            td C
                            td 41 - 60
                          tr
                            td D
                            td 21 - 40
                          tr
                            td E
                            td 0 - 20
                td
                  = "Rank " + show_rank(@evaluation.rank) + " ( " + @evaluation.score.to_s + " ) "
              tr
                td
                  .umakadata-tooltip
                    | CORS
                    span.small
                      | true if response header of endpoint contains 'access-control-allow-origin: *', otherwise false.
                td
                  = @cors

              tr
                td
                  | URI indexed
                td
                  = @uri_indexed
              tr
                td
                  | Last Checked
                td
                  = @evaluation.created_at.getutc
              tr
                td
                  | Class Structure
                td
                  = link_to @endpoint.viewer_url, @endpoint.viewer_url unless @endpoint.viewer_url.nil?
          | Please see&nbsp;
          a href="/umaka-score.html" data-no-turbolink=true this document
          | &nbsp;for more details about Umaka Score.

        .col-xs-12.col-sm-6
          canvas#radar[width="400" height="300" data-endpoint-id=@endpoint.id data-evaluation-id=@evaluation.id]

        .col-xs-12.col-sm-12
          canvas#score_history[width="800" height="300"]

      .row
        .col-xs-24.col-sm-12
{'fraction_non_alphanumeric': 0.07769798523838022, 'fraction_numerical': 0.011569918212647117, 'mean_word_length': 0.8700111898545319, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '917090', 'n_tokens_mistral': 2601, 'n_tokens_neox': 2364, 'n_words': 537}