clara

http://www.clara-rules.org/
2018-05-09T16:26:53.000564Z

@ben.borders the :condition-matches in session inspection might be of interest as well: https://github.com/cerner/clara-rules/blob/0.18.0/src/main/clojure/clara/tools/inspect.cljc#L183

1👍
jimbob 2018-05-09T16:28:38.000346Z

great point!

2018-05-09T16:31:10.000223Z

So that should be the matches on constraints that don’t depend on joins - if you do [Fact (and (= field 1) (< field2 ?binding-from-ancestor))] you’re forcing those constraints together in Clara’s view, where [Fact (= field 1) (< field2 ?binding-from-ancestor)] keeps them separate

2018-05-09T16:31:40.000470Z

The latter is also better for perf reasons, Clara can optimize it more

2018-05-09T16:32:07.000844Z

Also note that :condition-matches doesn’t work for accumulator conditions yet: https://github.com/cerner/clara-rules/issues/293