Lexpedite / blawx

A user-friendly web-based tool for Rules as Code.
MIT License
100 stars 9 forks source link

Negations over certain predicates don't terminate #454

Open Gauntlet173 opened 1 year ago

Gauntlet173 commented 1 year ago

This may be something that is a problem with s(CASP), and not possible to do anything about, but it should be noted here either way.

If your code uses certain predicates, like date math, and then you ask a question with the "there is no evidence that" negation as failure block, and s(CASP) attempts to reverse the calculation, it does not terminate. It's not clear if it is crashing ungracefully, or if it is getting caught in an infinite loop.

It may not be a problem that we can solve, but we might be able to come up with a more graceful failure mode.