<commit_before>package leo.modules

import leo.datastructures.{Term, Clause}
import leo.modules.output.SuccessSZS

/**
 * Created by lex on 20.05.15.
 */
package object calculus {
  trait CalculusRule {
    def name: String
    def inferenceStatus: Option[SuccessSZS] = None
  }

  trait CalculusHintRule[Hint] extends CalculusRule {
    type HintType = Hint
  }

  trait UnaryCalculusRule[Res] extends (Clause => Res) with CalculusRule {
    def canApply(cl: Clause): Boolean
  }
<commit_msg>added polyadic calculus rule trait<commit_after>package leo.modules

import leo.datastructures.{Term, Clause}
import leo.modules.output.SuccessSZS

/**
 * Created by lex on 20.05.15.
 */
package object calculus {
  trait CalculusRule {
    def name: String
    def inferenceStatus: Option[SuccessSZS] = None
  }

  trait CalculusHintRule[Hint] extends CalculusRule {
    type HintType = Hint
  }

  trait UnaryCalculusRule[Res] extends (Clause => Res) with CalculusRule {
    def canApply(cl: Clause): Boolean
  }

  trait PolyadicCalculusRule[Res] extends ((Clause, Set[Clause]) => Res) with CalculusRule {
    def canApply(cl: Clause, cls: Set[Clause]): Boolean
  }

{'fraction_non_alphanumeric': 0.09732988802756244, 'fraction_numerical': 0.0103359173126615, 'mean_word_length': 4.03030303030303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '6195894', 'n_tokens_mistral': 411, 'n_tokens_neox': 377, 'n_words': 102}