<commit_before>package coursier
package test

import utest._
import scala.async.Async.{async, await}

import coursier.test.compatibility._

object CentralTests extends TestSuite {

  val repositories = Seq[Repository](
    repository.mavenCentral
  )

  val tests = TestSuite {
    'logback{
      async {
        val dep = Dependency(Module("ch.qos.logback", "logback-classic"), "1.1.3")
        val res0 =
          await(resolve(Set(dep), fetchFrom(repositories))
            .runF)

        val res = res0.copy(
          projectsCache = Map.empty, errors = Map.empty // No validating these here
        )

        val expected = Resolution(
          rootDependencies = Set(dep.withCompileScope),
          dependencies = Set(
            dep.withCompileScope,
            Dependency(Module("ch.qos.logback", "logback-core"), "1.1.3").withCompileScope,
            Dependency(Module("org.slf4j", "slf4j-api"), "1.7.7").withCompileScope
          )
        )

        assert(res == expected)
      }
    }
    'asm{
      async {
        val dep = Dependency(Module("org.ow2.asm", "asm-commons"), "5.0.2")
        val res0 =
          await(resolve(Set(dep), fetchFrom(repositories))
            .runF)

        val res = res0.copy(
          projectsCache = Map.empty, errors = Map.empty // No validating these here
        )

        val expected = Resolution(
          rootDependencies = Set(dep.withCompileScope),
          dependencies = Set(
            dep.withCompileScope,
            Dependency(Module("org.ow2.asm", "asm-tree"), "5.0.2").withCompileScope,
            Dependency(Module("org.ow2.asm", "asm"), "5.0.2").withCompileScope
          )
        )

        assert(res == expected)
      }
    }
  }

}<commit_msg>Cleaning<commit_after>package coursier
package test

import utest._
import scala.async.Async.{async, await}

import coursier.test.compatibility._

object CentralTests extends TestSuite {

  val repositories = Seq[Repository](
    repository.mavenCentral
  )

  val tests = TestSuite {
    'logback{
      async {
        val dep = Dependency(Module("ch.qos.logback", "logback-classic"), "1.1.3")
        val res = await(resolve(Set(dep), fetchFrom(repositories)).runF)
          .copy(projectsCache = Map.empty, errors = Map.empty) // No validating these here

        val expected = Resolution(
          rootDependencies = Set(dep.withCompileScope),
          dependencies = Set(
            dep.withCompileScope,
            Dependency(Module("ch.qos.logback", "logback-core"), "1.1.3").withCompileScope,
            Dependency(Module("org.slf4j", "slf4j-api"), "1.7.7").withCompileScope))

        assert(res == expected)
      }
    }
    'asm{
      async {
        val dep = Dependency(Module("org.ow2.asm", "asm-commons"), "5.0.2")
        val res = await(resolve(Set(dep), fetchFrom(repositories)).runF)
          .copy(projectsCache = Map.empty, errors = Map.empty) // No validating these here

        val expected = Resolution(
          rootDependencies = Set(dep.withCompileScope),
          dependencies = Set(
            dep.withCompileScope,
            Dependency(Module("org.ow2.asm", "asm-tree"), "5.0.2").withCompileScope,
            Dependency(Module("org.ow2.asm", "asm"), "5.0.2").withCompileScope))

        assert(res == expected)
      }
    }
  }

}
{'fraction_non_alphanumeric': 0.13204703044920107, 'fraction_numerical': 0.015073861923424782, 'mean_word_length': 2.308075772681954, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1557864', 'n_tokens_mistral': 1060, 'n_tokens_neox': 994, 'n_words': 192}