<commit_before>package coursier.clitests

import java.io._
import java.nio.charset.Charset
import java.nio.file.Files

import scala.util.Properties

import coursier.clitests.util.TestAuthProxy
import coursier.dependencyString
import utest._

import scala.util.Properties

abstract class BootstrapTests extends TestSuite {

  def launcher: String
  def acceptsDOptions: Boolean = true
  def acceptsJOptions: Boolean = true

  def overrideProguarded: Option[Boolean] =
    None

  def enableNailgunTest: Boolean =
    true

  def hasDocker: Boolean =
    Properties.isLinux

  private val extraOptions =
    overrideProguarded match {
      case None        => Nil
      case Some(value) => Seq(s"--proguarded=$value")
    }

  val tests = Tests {
    test("simple") {
      TestUtil.withTempDir { tmpDir0 =>
        val tmpDir = os.Path(tmpDir0)
        os.proc(
          launcher,
          "bootstrap",<commit_msg>Clean-up<commit_after>package coursier.clitests

import java.io._
import java.nio.charset.Charset
import java.nio.file.Files

import scala.util.Properties

import coursier.clitests.util.TestAuthProxy
import coursier.dependencyString
import utest._

abstract class BootstrapTests extends TestSuite {

  def launcher: String
  def acceptsDOptions: Boolean = true
  def acceptsJOptions: Boolean = true

  def overrideProguarded: Option[Boolean] =
    None

  def enableNailgunTest: Boolean =
    true

  def hasDocker: Boolean =
    Properties.isLinux

  private val extraOptions =
    overrideProguarded match {
      case None        => Nil
      case Some(value) => Seq(s"--proguarded=$value")
    }

  val tests = Tests {
    test("simple") {
      TestUtil.withTempDir { tmpDir0 =>
        val tmpDir = os.Path(tmpDir0)
        os.proc(
          launcher,
          "bootstrap",
{'fraction_non_alphanumeric': 0.08180300500834725, 'fraction_numerical': 0.0022259321090706734, 'mean_word_length': 3.0956719817767655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7393215', 'n_tokens_mistral': 556, 'n_tokens_neox': 537, 'n_words': 135}