<commit_before>package wdl4s.cwl

import io.circe.Decoder
import io.circe._


object Implicits {

  implicit val cwlTypeDecoder = Decoder.enumDecoder(CwlType)
  implicit val cwlVersionDecoder = Decoder.enumDecoder(CwlVersion)
  implicit val scatterMethodDecoder = Decoder.enumDecoder(ScatterMethod)
  implicit val linkMergeMethodDecoder = Decoder.enumDecoder(LinkMergeMethod)

  implicit val cwlTypeEncoder = Encoder.enumEncoder(CwlType)
  implicit val cwlVersionEncoder = Encoder.enumEncoder(CwlVersion)
  implicit val scatterMethodEncoder = Encoder.enumEncoder(ScatterMethod)
  implicit val linkMergeMethodEncoder = Encoder.enumEncoder(LinkMergeMethod)

  implicit def enumerationEncoder[V <: Enumeration#Value]: Encoder[V] = (value: V) => Json.fromString(value.toString)
}
<commit_msg>Fix wdl4s cross compilation<commit_after>package wdl4s.cwl

import io.circe.Decoder
import io.circe._


object Implicits {

  implicit val cwlTypeDecoder = Decoder.enumDecoder(CwlType)
  implicit val cwlVersionDecoder = Decoder.enumDecoder(CwlVersion)
  implicit val scatterMethodDecoder = Decoder.enumDecoder(ScatterMethod)
  implicit val linkMergeMethodDecoder = Decoder.enumDecoder(LinkMergeMethod)

  implicit val cwlTypeEncoder = Encoder.enumEncoder(CwlType)
  implicit val cwlVersionEncoder = Encoder.enumEncoder(CwlVersion)
  implicit val scatterMethodEncoder = Encoder.enumEncoder(ScatterMethod)
  implicit val linkMergeMethodEncoder = Encoder.enumEncoder(LinkMergeMethod)

  implicit def enumerationEncoder[V <: Enumeration#Value]: Encoder[V] = Encoder.instance((value: V) => Json.fromString(value.toString))
}

{'fraction_non_alphanumeric': 0.07649253731343283, 'fraction_numerical': 0.0018656716417910447, 'mean_word_length': 6.848780487804878, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5097776', 'n_tokens_mistral': 479, 'n_tokens_neox': 484, 'n_words': 99}