Fork me on GitHub
#clara
<
2019-12-12
>
bartuka13:12:42

I have being caught in infinite-loops some times while using clara and I would like to know if there is any way to handle this issue?

bartuka13:12:29

Every time it happened was due to error in logic, but would be great to have an exception for that or something

bartuka13:12:03

it's possible to see how many times each rule was called during that session?

ethanc14:12:11

> it’s possible to see how many times each rule was called during that session? Im not sure that there is a way to see the number of executions of a rule, but i do believe that the inspect namespace: https://github.com/cerner/clara-rules/blob/master/src/main/clojure/clara/tools/inspect.cljc has some tooling around explanations of rules firing. Additionally, I believe Will has been playing around with the idea of capturing scenarios that behave like infinite loops: https://github.com/cerner/clara-rules/pull/425

👏 4
bartuka15:12:55

@ethanc thanks for pointing the right directions o/