<commit_before>package de.tototec.sbuild

import java.io.File

object TargetRefs {
  implicit def fromString(string: String): TargetRefs = TargetRefs(TargetRef(string))
  implicit def fromFile(file: File): TargetRefs = TargetRefs(TargetRef("file:" + file.getPath))
  implicit def fromTargetRef(targetRef: TargetRef): TargetRefs = TargetRefs(targetRef)
  implicit def fromTarget(target: Target): TargetRefs = TargetRefs(TargetRef(target.name))
  implicit def fromSeq(targetRefs: Seq[TargetRef]): TargetRefs = TargetRefs(targetRefs: _*)
}

case class TargetRefs(val targetRefs: TargetRef*) {
  def /(targetRefs: TargetRefs): TargetRefs = TargetRefs((this.targetRefs ++ targetRefs.targetRefs): _*)
  def /(targetRef: TargetRef): TargetRefs = TargetRefs((targetRefs ++ Seq(targetRef)): _*)
  def /(file: File): TargetRefs = TargetRefs((targetRefs ++ Seq(TargetRef(file))): _*)
  def /(string: String): TargetRefs = TargetRefs((targetRefs ++ Seq(TargetRef(string))): _*)

  override def toString: String = targetRefs.map { _.name }.mkString(" / ")
}
<commit_msg>Changed concatenation operator to tilde (~).<commit_after>package de.tototec.sbuild

import java.io.File

object TargetRefs {
  implicit def fromString(string: String): TargetRefs = TargetRefs(TargetRef(string))
  implicit def fromFile(file: File): TargetRefs = TargetRefs(TargetRef("file:" + file.getPath))
  implicit def fromTargetRef(targetRef: TargetRef): TargetRefs = TargetRefs(targetRef)
  implicit def fromTarget(target: Target): TargetRefs = TargetRefs(TargetRef(target.name))
  implicit def fromSeq(targetRefs: Seq[TargetRef]): TargetRefs = TargetRefs(targetRefs: _*)
}

case class TargetRefs(val targetRefs: TargetRef*) {
  def ~(targetRefs: TargetRefs): TargetRefs = TargetRefs((this.targetRefs ++ targetRefs.targetRefs): _*)
  def ~(targetRef: TargetRef): TargetRefs = TargetRefs((targetRefs ++ Seq(targetRef)): _*)
  def ~(file: File): TargetRefs = TargetRefs((targetRefs ++ Seq(TargetRef(file))): _*)
  def ~(string: String): TargetRefs = TargetRefs((targetRefs ++ Seq(TargetRef(string))): _*)

  override def toString: String = targetRefs.map { _.name }.mkString(" ~ ")
}

{'fraction_non_alphanumeric': 0.137995337995338, 'fraction_numerical': 0.0, 'mean_word_length': 6.609929078014185, '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': '3109731', 'n_tokens_mistral': 705, 'n_tokens_neox': 708, 'n_words': 151}