<commit_before>package models.domain

case object CarersAllowance extends Section.Identifier {
  val id = "s1"
}

case class Benefits(benefitsAnswer: String = "") extends QuestionGroup(Benefits) with BooleanConfirmation
{
  val answer: Boolean = benefitsAnswer match {
    case Benefits.noneOfTheBenefits => false
    case _ => true
  }
}

object Benefits extends QuestionGroup.Identifier {
  val id = s"${CarersAllowance.id}.g1"

  val pip = "PIP"
  val dla = "DLA"
  val aa = "AA"
  val caa = "CAA"
  val afip = "AFIP"
  val noneOfTheBenefits = "NOB" // None of the benefits
}

case class Hours(answerYesNo: String = "") extends QuestionGroup(Hours) with BooleanConfirmation {
  val answer: Boolean = answerYesNo match {
    case "yes" => true
    case _ => false
  }
}

object Hours extends QuestionGroup.Identifier {
  val id = s"${CarersAllowance.id}.g2"
}

case class Over16(answerYesNo: String = "") extends QuestionGroup(Over16) with BooleanConfirmation
{
  val answer: Boolean = answerYesNo match {
    case "yes" => true
    case _ => false
  }
}

object Over16 extends QuestionGroup.Identifier {
  val id = s"${CarersAllowance.id}.g3"
}<commit_msg>US1025 - value for None of the benefits changed to None<commit_after>package models.domain

case object CarersAllowance extends Section.Identifier {
  val id = "s1"
}

case class Benefits(benefitsAnswer: String = "") extends QuestionGroup(Benefits) with BooleanConfirmation
{
  val answer: Boolean = benefitsAnswer match {
    case Benefits.noneOfTheBenefits => false
    case _ => true
  }
}

object Benefits extends QuestionGroup.Identifier {
  val id = s"${CarersAllowance.id}.g1"

  val pip = "PIP"
  val dla = "DLA"
  val aa = "AA"
  val caa = "CAA"
  val afip = "AFIP"
  val noneOfTheBenefits = "NONE" // None of the benefits
}

case class Hours(answerYesNo: String = "") extends QuestionGroup(Hours) with BooleanConfirmation {
  val answer: Boolean = answerYesNo match {
    case "yes" => true
    case _ => false
  }
}

object Hours extends QuestionGroup.Identifier {
  val id = s"${CarersAllowance.id}.g2"
}

case class Over16(answerYesNo: String = "") extends QuestionGroup(Over16) with BooleanConfirmation
{
  val answer: Boolean = answerYesNo match {
    case "yes" => true
    case _ => false
  }
}

object Over16 extends QuestionGroup.Identifier {
  val id = s"${CarersAllowance.id}.g3"
}
{'fraction_non_alphanumeric': 0.10376958915713681, 'fraction_numerical': 0.010165184243964422, 'mean_word_length': 3.9414225941422596, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '3619206', 'n_tokens_mistral': 776, 'n_tokens_neox': 748, 'n_words': 223}