<commit_before>@Travis.Urls =
  plainTextLog: (id) ->
    "#{Travis.config.api_endpoint}/jobs/#{id}/log.txt?deansi=true"

  githubPullRequest: (slug, pullRequestNumber) ->
    "#{Travis.config.source_endpoint}/#{slug}/pull/#{pullRequestNumber}"

  githubCommit: (slug, sha) ->
    "#{Travis.config.source_endpoint}/#{slug}/commit/#{sha}"

  githubRepo: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}"

  githubWatchers: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}/watchers"

  githubNetwork: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}/network"

  githubAdmin: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}/settings/hooks#travis_minibucket"

  statusImage: (slug, branch) ->
    "#{location.protocol}//#{location.host}/#{slug}.svg" + if branch then "?branch=#{encodeURIComponent(branch)}" else ''

  ccXml: (slug) ->
    "#{Travis.config.api_endpoint}/repos/#{slug}/cc.xml"

  email: (email) ->
    "mailto:#{email}"

  gravatarImage: (email, size) ->
    "https://www.gravatar.com/avatar/#{md5(email)}?s=#{size}&d=#{encodeURIComponent(Travis.config.avatar_default_url)}"<commit_msg>[pro-merge] Feature flip url helpers that need token in travis-pro<commit_after>@Travis.Urls =
  plainTextLog: (id) ->
    "#{Travis.config.api_endpoint}/jobs/#{id}/log.txt?deansi=true"

  githubPullRequest: (slug, pullRequestNumber) ->
    "#{Travis.config.source_endpoint}/#{slug}/pull/#{pullRequestNumber}"

  githubCommit: (slug, sha) ->
    "#{Travis.config.source_endpoint}/#{slug}/commit/#{sha}"

  githubRepo: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}"

  githubWatchers: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}/watchers"

  githubNetwork: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}/network"

  githubAdmin: (slug) ->
    "#{Travis.config.source_endpoint}/#{slug}/settings/hooks#travis_minibucket"

  statusImage: (slug, branch) ->
    if Travis.config.pro
      token = Travis.__container__.lookup('controller:currentUser').get('token')
      "#{location.protocol}//#{location.host}/#{slug}.svg?token=#{token}" + if branch then "&branch=#{branch}" else ''
    else
      "#{location.protocol}//#{location.host}/#{slug}.svg" + if branch then "?branch=#{encodeURIComponent(branch)}" else ''

  ccXml: (slug) ->
    if Travis.config.pro
      token = Travis.__container__.lookup('controller:currentUser').get('token')
      "##{Travis.config.api_endpoint}/repos/#{slug}/cc.xml?token=#{token}"
    else
      "#{Travis.config.api_endpoint}/repos/#{slug}/cc.xml"

  email: (email) ->
    "mailto:#{email}"

  gravatarImage: (email, size) ->
    "https://www.gravatar.com/avatar/#{md5(email)}?s=#{size}&d=#{encodeURIComponent(Travis.config.avatar_default_url)}"
{'fraction_non_alphanumeric': 0.20636663007683864, 'fraction_numerical': 0.0007317965605561653, 'mean_word_length': 4.5682281059063135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 3}, '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': '2962700', 'n_tokens_mistral': 972, 'n_tokens_neox': 1039, 'n_words': 111}