<commit_before>package core

import java.util.UUID
import spray.json.DefaultJsonProtocol

/**
 * A "typical" user value containing its identity, name and email. Notice
 * that we use the ``EmailAddress`` type alias from the ``core`` package object.
 *
 * @param id the identity
 * @param firstName the first name
 * @param lastName the last name
 * @param email the email address
 */
case class User(id: UUID, firstName: String, lastName: String, email: EmailAddress)

/**
 * The JSON formats for the users. Follow the ``json-pickler`` template to.
 */
trait UserFormats extends DefaultJsonFormats {
  implicit val userFormat = jsonFormat4(User)
}<commit_msg>Tidied up imports<commit_after>package core

import java.util.UUID

/**
 * A "typical" user value containing its identity, name and email. Notice
 * that we use the ``EmailAddress`` type alias from the ``core`` package object.
 *
 * @param id the identity
 * @param firstName the first name
 * @param lastName the last name
 * @param email the email address
 */
case class User(id: UUID, firstName: String, lastName: String, email: EmailAddress)

/**
 * The JSON formats for the users. Follow the ``json-pickler`` template to.
 */
trait UserFormats extends DefaultJsonFormats {
  implicit val userFormat = jsonFormat4(User)
}
{'fraction_non_alphanumeric': 0.09657320872274143, 'fraction_numerical': 0.001557632398753894, 'mean_word_length': 4.421940928270042, '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': '7086993', 'n_tokens_mistral': 358, 'n_tokens_neox': 362, 'n_words': 154}