<commit_before>package org.allenai.sbt.core

import sbt._
import sbt.Keys._

/** Declares common settings to encourage
  * consistency accross projects
  */
trait CoreSettings {
  val Dependencies = CoreDependencies

  object publishToRepos {
    val sonatype =
      publishTo := {
        if (isSnapshot.value)
          Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
        else
          Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
      }

    val ai2 = {
      val ai2NexusHost = "utility.allenai.org"
      val ai2NexusUrl = s"http://${ai2NexusHost}:8081/nexus/content/repositories/"
      publishTo := {
        if (isSnapshot.value)
          Some("snapshots" at ai2NexusUrl + "snapshots")
        else
          Some("releases" at ai2NexusUrl + "releases")
      }
    }
  }

  object resolverRepos {
    // needed for spray-json:
    val spray = "spray" at "http://repo.spray.io/"

    object typesafe {
      val releases = "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"
    }

    object allenAi {
      val snapshots =
        "AllenAI Snapshots" at "http://utility.allenai.org:8081/nexus/content/repositories/snapshots"

      val releases =
        "AllenAI Releases" at "http://utility.allenai.org:8081/nexus/content/repositories/releases"
    }

    val defaults = Seq(
      spray,
      typesafe.releases)
  }
}

object CoreSettings extends CoreSettings<commit_msg>Add public repo url.<commit_after>package org.allenai.sbt.core

import sbt._
import sbt.Keys._

/** Declares common settings to encourage
  * consistency accross projects
  */
trait CoreSettings {
  val Dependencies = CoreDependencies

  object publishToRepos {
    val sonatype =
      publishTo := {
        if (isSnapshot.value)
          Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
        else
          Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
      }

    object ai2 {
      val ai2NexusUrl = "http://utility.allenai.org:8081/nexus"
      val ai2RepoUrl = s"${ai2NexusHost}/content/repositories/"
      val public = {
        publishTo := {
          if (isSnapshot.value)
            Some("snapshots" at ai2RepoUrl + "snapshots")
          else
            Some("releases" at ai2RepoUrl + "releases")
        }
      }

      val public = {
        publishTo := {
          if (isSnapshot.value)
            Some("snapshots" at ai2RepoUrl + "public-snapshots")
          else
            Some("releases" at ai2RepoUrl + "public-releases")
        }
      }
    }
  }

  object resolverRepos {
    // needed for spray-json:
    val spray = "spray" at "http://repo.spray.io/"

    object typesafe {
      val releases = "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"
    }

    object allenAi {
      val snapshots =
        "AllenAI Snapshots" at "http://utility.allenai.org:8081/nexus/content/repositories/snapshots"

      val releases =
        "AllenAI Releases" at "http://utility.allenai.org:8081/nexus/content/repositories/releases"
    }

    val defaults = Seq(
      spray,
      typesafe.releases)
  }
}

object CoreSettings extends CoreSettings
{'fraction_non_alphanumeric': 0.1138537488429497, 'fraction_numerical': 0.012341869793273681, 'mean_word_length': 2.4018887722980065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2975071', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1020, 'n_words': 206}