<commit_before>package controller

import skinny._
import skinny.validator._
import model._

object CompaniesController extends SkinnyResourceWithId[CompanyId] with ApplicationController {
  protectFromForgery()

  // TODO remove in 1.0.0
  // just for backward compatibility for 0.9.27 or older
  override def scalateExtension = "jade"

  implicit override val scalatraParamsIdTypeConverter = new TypeConverter[String, CompanyId] {
    def apply(s: String): Option[CompanyId] = Option(s).map(model.rawValueToId)
  }

  override def model = Company
  override def resourcesName = "companies"
  override def resourceName = "company"<commit_msg>Fixed test code error<commit_after>package controller

import skinny._
import skinny.validator._
import model._

object CompaniesController extends SkinnyResourceWithId[CompanyId] with ApplicationController {
  protectFromForgery()

  // TODO remove in 1.0.0
  // just for backward compatibility for 0.9.27 or older
  override def scalateExtension = "jade"

  implicit override val scalatraParamsIdTypeConverter = new skinny.TypeConverter[String, CompanyId] {
    def apply(s: String): Option[CompanyId] = Option(s).map(model.rawValueToId)
  }

  override def model = Company
  override def resourcesName = "companies"
  override def resourceName = "company"
{'fraction_non_alphanumeric': 0.07609531129900077, 'fraction_numerical': 0.010760953112990008, 'mean_word_length': 5.0, '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': '2367204', 'n_tokens_mistral': 367, 'n_tokens_neox': 349, 'n_words': 112}