<commit_before>package com.twitter.finagle.builder

import java.util.concurrent.TimeUnit
import java.net.InetSocketAddress

import org.jboss.netty.channel.ChannelPipelineFactory

import com.twitter.util.Duration

class IncompleteSpecification(message: String) extends Exception(message)

trait Codec {
  val clientPipelineFactory: ChannelPipelineFactory
  val serverPipelineFactory: ChannelPipelineFactory
}

object StatsReporter4J {
  val ostrich = Ostrich()
  val logger = JavaLogger()
}

trait StatsReceiver {
  def observer(prefix: String, label: String): (Seq[String], Int, Int) => Unit
}

object Timeout {
  val Eternity = Timeout(Long.MaxValue, TimeUnit.MILLISECONDS)
}

case class Timeout(value: Long, unit: TimeUnit) {
  def duration = Duration.fromTimeUnit(value, unit)
}
<commit_msg>remove Timeout.Eternity. it is unused, and overflows.<commit_after>package com.twitter.finagle.builder

import java.util.concurrent.TimeUnit
import java.net.InetSocketAddress

import org.jboss.netty.channel.ChannelPipelineFactory

import com.twitter.util.Duration

class IncompleteSpecification(message: String) extends Exception(message)

trait Codec {
  val clientPipelineFactory: ChannelPipelineFactory
  val serverPipelineFactory: ChannelPipelineFactory
}

object StatsReporter4J {
  val ostrich = Ostrich()
  val logger = JavaLogger()
}

trait StatsReceiver {
  def observer(prefix: String, label: String): (Seq[String], Int, Int) => Unit
}

case class Timeout(value: Long, unit: TimeUnit) {
  def duration = Duration.fromTimeUnit(value, unit)
}

{'fraction_non_alphanumeric': 0.08932038834951456, 'fraction_numerical': 0.0012944983818770227, 'mean_word_length': 5.901785714285714, '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': '5827929', 'n_tokens_mistral': 469, 'n_tokens_neox': 463, 'n_words': 116}