<commit_before>package org.scalatest

// shouldImplied in Example indicates we need to insert a should in front of the example name when
// showing it to the user
private[scalatest] object NodeFamily {
  
  case class SharedExample(exampleRawName: String, f: () => Unit)
  
  sealed abstract class Node(parentOption: Option[Branch], val level: Int)

  abstract class Branch(parentOption: Option[Branch], override val level: Int) extends Node(parentOption, level) {
    var subNodes: List[Node] = Nil
  }

  case class Trunk extends Branch(None, -1)

  case class Example(
    parent: Branch,
    exampleFullName: String,
    exampleRawName: String,
    specText: String,
    override val level: Int,
    f: () => Unit
  ) extends Node(Some(parent), level)

  case class Description(
    parent: Branch,
    descriptionName: String,
    override val level: Int
  ) extends Branch(Some(parent), level)

  protected[scalatest] def getPrefix(branch: Branch): String = {<commit_msg>dropped old comment<commit_after>package org.scalatest

private[scalatest] object NodeFamily {
  
  case class SharedExample(exampleRawName: String, f: () => Unit)
  
  sealed abstract class Node(parentOption: Option[Branch], val level: Int)

  abstract class Branch(parentOption: Option[Branch], override val level: Int) extends Node(parentOption, level) {
    var subNodes: List[Node] = Nil
  }

  case class Trunk extends Branch(None, -1)

  case class Example(
    parent: Branch,
    exampleFullName: String,
    exampleRawName: String,
    specText: String,
    override val level: Int,
    f: () => Unit
  ) extends Node(Some(parent), level)

  case class Description(
    parent: Branch,
    descriptionName: String,
    override val level: Int
  ) extends Branch(Some(parent), level)

  protected[scalatest] def getPrefix(branch: Branch): String = {
{'fraction_non_alphanumeric': 0.09482288828337875, 'fraction_numerical': 0.0010899182561307902, 'mean_word_length': 4.114206128133705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2633811', 'n_tokens_mistral': 534, 'n_tokens_neox': 525, 'n_words': 182}