MCPcopy Index your code
hub / github.com/twitter/communitynotes / get_rule_id

Method get_rule_id

scoring/src/scoring/scoring_rules.py:110–112  ·  view source on GitHub ↗

Returns the RuleID uniquely identifying this ScoringRule.

(self)

Source from the content-addressed store, hash-verified

108 self._dependencies = dependencies
109
110 def get_rule_id(self) -> RuleID:
111 """Returns the RuleID uniquely identifying this ScoringRule."""
112 return self._ruleID
113
114 def get_name(self) -> str:
115 """Returns a string combining the name and version to uniquely name the logic of the ScoringRule."""

Callers 1

apply_scoring_rulesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected