<commit_before>package leo.modules.phase

import leo.agents.impl._
import leo.agents.{PriorityController, FifoController, AgentController}
import leo.modules.normalization._
import leo.modules.calculus._
import leo.modules.calculus.splitting.ClauseHornSplit

object PreprocessPhase extends CompletePhase {
  override val name = "PreprocessPhase"
  override protected val agents: Seq[AgentController] = List(new FifoController(new NormalClauseAgent(DefExpansion)), new FifoController(new NormalClauseAgent(Simplification)), new FifoController(new NormalClauseAgent(NegationNormal)),new FifoController(new NormalClauseAgent(Skolemization)), new FifoController(new NormalClauseAgent(PrenexNormal)), new FifoController(MetaVarAgent))
}

object SimplificationPhase extends CompletePhase {
  override val name = "PreprocessPhase"
  override protected val agents: Seq[AgentController] = List(new FifoController(new NormalClauseAgent(DefExpansion)), new FifoController(new NormalClauseAgent(Simplification)))
}

object ExhaustiveClausificationPhase extends CompletePhase {
  override val name = "ClausificationPhase"
  override protected val agents : Seq[AgentController] = List(new FifoController(ClausificationAgent))
}

object SplitPhase extends CompletePhase {
  override val name = "SplitPhase"
  override protected val agents: Seq[AgentController] = List(new FifoController(new SplittingAgent(ClauseHornSplit)))
}

object ParamodPhase extends CompletePhase {
  override val name : String = "ParamodPhase"
  override protected val agents: Seq[AgentController] = List(new PriorityController(new NewParamodAgent(NewParamod)),
    new PriorityController(FormulaSelectionAgent),
    new PriorityController(new NewParamodAgent(NewPropParamod)),
    new PriorityController(UnificationAgent)
    /*new PriorityController(new ParamodulationAgent(Paramodulation, IdComparison)), new PriorityController(new ParamodulationAgent(PropParamodulation, IdComparison))*/,
    new PriorityController(ClausificationAgent),
    new PriorityController(PrimSubstAgent),
    new PriorityController(BoolExtAgent),
    new PriorityController(FuncExtAgent))
}
<commit_msg>added restricted factorization agent to paramodphase<commit_after>package leo.modules.phase

import leo.agents.impl._
import leo.agents.{PriorityController, FifoController, AgentController}
import leo.modules.normalization._
import leo.modules.calculus._
import leo.modules.calculus.splitting.ClauseHornSplit

object PreprocessPhase extends CompletePhase {
  override val name = "PreprocessPhase"
  override protected val agents: Seq[AgentController] = List(new FifoController(new NormalClauseAgent(DefExpansion)), new FifoController(new NormalClauseAgent(Simplification)), new FifoController(new NormalClauseAgent(NegationNormal)),new FifoController(new NormalClauseAgent(Skolemization)), new FifoController(new NormalClauseAgent(PrenexNormal)), new FifoController(MetaVarAgent))
}

object SimplificationPhase extends CompletePhase {
  override val name = "PreprocessPhase"
  override protected val agents: Seq[AgentController] = List(new FifoController(new NormalClauseAgent(DefExpansion)), new FifoController(new NormalClauseAgent(Simplification)))
}

object ExhaustiveClausificationPhase extends CompletePhase {
  override val name = "ClausificationPhase"
  override protected val agents : Seq[AgentController] = List(new FifoController(ClausificationAgent))
}

object SplitPhase extends CompletePhase {
  override val name = "SplitPhase"
  override protected val agents: Seq[AgentController] = List(new FifoController(new SplittingAgent(ClauseHornSplit)))
}

object ParamodPhase extends CompletePhase {
  override val name : String = "ParamodPhase"
  override protected val agents: Seq[AgentController] = List(new PriorityController(new NewParamodAgent(NewParamod)),
    new PriorityController(FormulaSelectionAgent),
    new PriorityController(new NewParamodAgent(NewPropParamod)),
    new PriorityController(UnificationAgent)
    /*new PriorityController(new ParamodulationAgent(Paramodulation, IdComparison)), new PriorityController(new ParamodulationAgent(PropParamodulation, IdComparison))*/,
    new PriorityController(ClausificationAgent),
    new PriorityController(PrimSubstAgent),
    new PriorityController(RestrFactAgent),
    new PriorityController(BoolExtAgent),
    new PriorityController(FuncExtAgent))
}

{'fraction_non_alphanumeric': 0.07576104371709773, 'fraction_numerical': 0.0, 'mean_word_length': 8.180672268907562, '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': '5519637', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1138, 'n_words': 273}