Question: How do I specify a rule which compares two facts?
See original GitHub issueEx: 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.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Comparing and Contrasting - UNC Writing Center
This handout will help you determine if an assignment is asking for comparing and contrasting, generate similarities and differences, and decide a focus....
Read more >Comparing Numbers (Rules to Compare Numbers & Examples)
This rule is applicable when two numbers are having the same number of digits. In such cases, we need to check the digit...
Read more >HOW TO CRAFT AN EFFECTIVE CASE COMPARISON
Rule -based reasoning applies a rule directly to a set of facts. ... case (component 2), compares the facts of the precedential case...
Read more >Illogical Comparisons: The Weirdest Topic on SAT Writing
Illogical comparisons happen when you compare things that aren't equal. Make sure you have strategies for this weird SAT grammar rule!
Read more >Excel: Compare two columns for matches and differences
Use a formula to determine which cells to format. Create a rule with a simple formula like =$B2=$A2 (assuming that row 2 is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the quick fix, @CacheControl. Everything seems to be working great now.
@taurenk thanks for reporting this, I’ve published a bug fix in 1.5.1. Looks like there was a gap in our test suite, which has now been remedied. Please let me know if you run in to any other issues.