<commit_before>package com.github.slackey

import org.json4s._
import org.json4s.jackson.JsonMethods.parse
import org.json4s.jackson.Serialization

package object codecs {
  implicit val formats = Serialization.formats(NoTypeHints)

  def extract[T](s: String)(implicit m: Manifest[T]): T =
    extract[T](parse(s))

  def extract[T](json: JValue)(implicit m: Manifest[T]): T =
    json.extract[T]

  def isHello(json: JObject) = json \ "type" match {<commit_msg>this should be private<commit_after>package com.github.slackey

import org.json4s._
import org.json4s.jackson.JsonMethods.parse
import org.json4s.jackson.Serialization

package object codecs {
  private implicit val formats = Serialization.formats(NoTypeHints)

  def extract[T](s: String)(implicit m: Manifest[T]): T =
    extract[T](parse(s))

  def extract[T](json: JValue)(implicit m: Manifest[T]): T =
    json.extract[T]

  def isHello(json: JObject) = json \ "type" match {
{'fraction_non_alphanumeric': 0.12725344644750794, 'fraction_numerical': 0.006362672322375398, 'mean_word_length': 5.012738853503185, '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': '5321386', 'n_tokens_mistral': 331, 'n_tokens_neox': 319, 'n_words': 74}