<commit_before>// Convenient setting that allows writing `set scalaVersion := dotty.value` in sbt shell to switch from Scala to Dotty
val dotty = settingKey[String]("dotty version")
dotty in ThisBuild := "0.2.0-RC1"

val commonSettings = Seq(
  organization := "ch.epfl.scala",
  version := "0.4.0-SNAPSHOT",
  resolvers += "scala-pr" at "https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots",
  scalaVersion := "2.12.2-ebe1180-SNAPSHOT", // from https://github.com/scala/scala/pull/5742
  scalaBinaryVersion := { if (!scalaVersion.value.startsWith("2.12.")) scalaBinaryVersion.value else "2.12" },
  crossScalaVersions := scalaVersion.value :: "2.13.0-M1" :: dotty.value :: Nil,
  scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Yno-imports", "-language:higherKinds"/*, "-opt:l:classpath"*/),
  scalacOptions ++= {
    if (!isDotty.value)
      Seq("-opt-warnings") // This option does not exist in Dotty
    else
      Seq()
  },
  testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a"),
  fork in Test := true,
  parallelExecution in Test := false
)

val collections =<commit_msg>Bump dotty version to get typing improvements<commit_after>// Convenient setting that allows writing `set scalaVersion := dotty.value` in sbt shell to switch from Scala to Dotty
val dotty = settingKey[String]("dotty version")
dotty in ThisBuild := "0.3.0-bin-20170808-a662424-NIGHTLY"

val commonSettings = Seq(
  organization := "ch.epfl.scala",
  version := "0.4.0-SNAPSHOT",
  resolvers += "scala-pr" at "https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots",
  scalaVersion := "2.12.2-ebe1180-SNAPSHOT", // from https://github.com/scala/scala/pull/5742
  scalaBinaryVersion := { if (!scalaVersion.value.startsWith("2.12.")) scalaBinaryVersion.value else "2.12" },
  crossScalaVersions := scalaVersion.value :: "2.13.0-M1" :: dotty.value :: Nil,
  scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Yno-imports", "-language:higherKinds"/*, "-opt:l:classpath"*/),
  scalacOptions ++= {
    if (!isDotty.value)
      Seq("-opt-warnings") // This option does not exist in Dotty
    else
      Seq()
  },
  testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a"),
  fork in Test := true,
  parallelExecution in Test := false
)

val collections =
{'fraction_non_alphanumeric': 0.17400598546387344, 'fraction_numerical': 0.031209918768704575, 'mean_word_length': 4.086956521739131, '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': '7672120', 'n_tokens_mistral': 867, 'n_tokens_neox': 816, 'n_words': 182}