<commit_before>package maker.project

import java.io.File
import java.util.concurrent.ConcurrentHashMap
import maker.task._
import maker.task.compile._
import maker.task.tasks._
import maker.utils.FileUtils._
import maker.{PomUtils, Resource, ResourcePimps}
import org.slf4j.LoggerFactory
import sbt.ConsoleLogger
import sbt.inc.Analysis
import scala.collection.immutable.Nil
import com.typesafe.config.{ConfigFactory, Config}

/**
  * Corresponds to a module in IntelliJ
  */

class Module(
    val root : File,
    val projectRoot_ : File,
    val name : String,
    val config : Config = ConfigFactory.load(),
    val immediateUpstreamModules : List[Module] = Nil,
    val immediateUpstreamTestModules : List[Module] = Nil,
    val analyses : ConcurrentHashMap[File, Analysis] = Module.analyses
)
  extends BaseProject
  with TmuxIntegration
  with ResourcePimps
{

  def projectRoot = projectRoot_.asAbsoluteFile
  import Module.logger
  protected val upstreamModulesForBuild = List(this)

  val resourcesFile = file(root, "external-resources")

  def resources() : Seq[Resource]  = {
    <commit_msg>Add resource pimps to module<commit_after>package maker.project

import java.io.File
import java.util.concurrent.ConcurrentHashMap
import maker.task._
import maker.task.compile._
import maker.task.tasks._
import maker.utils.FileUtils._
import maker.{PomUtils, Resource, ResourcePimps}
import org.slf4j.LoggerFactory
import sbt.ConsoleLogger
import sbt.inc.Analysis
import scala.collection.immutable.Nil
import com.typesafe.config.{ConfigFactory, Config}

/**
  * Corresponds to a module in IntelliJ
  */

class Module(
    val root : File,
    val projectRoot_ : File,
    val name : String,
    val config : Config = ConfigFactory.load(),
    val immediateUpstreamModules : List[Module] = Nil,
    val immediateUpstreamTestModules : List[Module] = Nil,
    val analyses : ConcurrentHashMap[File, Analysis] = Module.analyses
)
  extends BaseProject
  with ResourcePimps
  with TmuxIntegration
  with ResourcePimps
{

  def projectRoot = projectRoot_.asAbsoluteFile
  import Module.logger
  protected val upstreamModulesForBuild = List(this)

  val resourcesFile = file(root, "external-resources")

  def resources() : Seq[Resource]  = {
    
{'fraction_non_alphanumeric': 0.0854853072128228, 'fraction_numerical': 0.0008904719501335708, 'mean_word_length': 4.440677966101695, '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': '2631598', 'n_tokens_mistral': 678, 'n_tokens_neox': 663, 'n_words': 176}