Skip to content

Question: How do I specify a rule which compares two facts? #17

@vivekkodira1

Description

@vivekkodira1

Ex: Say the facts are
{ "avg_def_density_tolerance_hit": "yes", "tot_developers": 900, "tot_defects": 1003, "open_stories": 12 }
And I want to write a rule that will pass if tot_defects > open_stories

Suggestion: If this is not easy to implement or you'd rather not support it, please consider enhancing the addOperator method to pass in the complete rule and all the facts: that way others can add the logic necessary.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions