<commit_before>package com.joescii

import java.io._

import org.scalatest._
import org.scalatest.concurrent.ScalaFutures
import org.scalatest.time.{Millis, Seconds, Span}

import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Future

package object sbtjs {
  import implicits._

  type Result = Future[(Int, List[String])]

  val separator = System.getProperty("file.separator")
  val windows = System.getProperty("os.name").matches("(?i).*win.*")
  val cd = new File(".")

  implicit class EnhancedString(val s:String) extends AnyVal {
    def /(child:String):String = s + separator + child
  }

  def echo(str:String) = new {
    def > (f:File):Unit = {
      val out = new PrintStream(new FileOutputStream(f))
      out.print(str)
      out.close()
    }
  }

  def copy(from:File, to:File):Unit = new FileOutputStream(to).getChannel().transferFrom( new FileInputStream(from).getChannel, 0, Long.MaxValue )

  class SbtJsTestSpec(project:String) extends WordSpec with ShouldMatchers with ScalaFutures {
    import build.BuildInfo._

    implicit val defaultPatience = PatienceConfig(timeout = Span(20, Seconds), interval = Span(500, Millis))

    var result:Result = Future.failed(new Exception)

    val dir = cd / "test-projects" / project

    def copyPluginJar():Unit = {<commit_msg>Lowering the timeout tolerance<commit_after>package com.joescii

import java.io._

import org.scalatest._
import org.scalatest.concurrent.ScalaFutures
import org.scalatest.time.{Millis, Seconds, Span}

import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Future

package object sbtjs {
  import implicits._

  type Result = Future[(Int, List[String])]

  val separator = System.getProperty("file.separator")
  val windows = System.getProperty("os.name").matches("(?i).*win.*")
  val cd = new File(".")

  implicit class EnhancedString(val s:String) extends AnyVal {
    def /(child:String):String = s + separator + child
  }

  def echo(str:String) = new {
    def > (f:File):Unit = {
      val out = new PrintStream(new FileOutputStream(f))
      out.print(str)
      out.close()
    }
  }

  def copy(from:File, to:File):Unit = new FileOutputStream(to).getChannel().transferFrom( new FileInputStream(from).getChannel, 0, Long.MaxValue )

  class SbtJsTestSpec(project:String) extends WordSpec with ShouldMatchers with ScalaFutures {
    import build.BuildInfo._

    implicit val defaultPatience = PatienceConfig(timeout = Span(8, Seconds), interval = Span(500, Millis))

    var result:Result = Future.failed(new Exception)

    val dir = cd / "test-projects" / project

    def copyPluginJar():Unit = {
{'fraction_non_alphanumeric': 0.11981914091936699, 'fraction_numerical': 0.004144687264506406, 'mean_word_length': 4.247035573122529, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '665088', 'n_tokens_mistral': 846, 'n_tokens_neox': 822, 'n_words': 197}