Lexpedite / blawx

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

Variable constraints not used in Scenario Editor NLG #420

Open Gauntlet173 opened 1 year ago

Gauntlet173 commented 1 year ago

Variable constraints are not being communicated from the reasoner API, and so are not being used in NLG. This causes Scenario editor to say things like "there is no evidence that section is overriden by any section", when it SHOULD be saying things like "there is no evidence that section is overriden by any section other than ...".

The problem is not in scenario editor. The information simply doesn't exist in the output of the reasoner, and that might be a result of changes to how that information was returned from the s(CASP) library, so this issue may depend on #268 and #378 .

Gauntlet173 commented 1 year ago

Those two issues have been resolved. Getting the constraints to show up in the text is now primarily useful in the context of #495 , because that can be used to make the explanation less repetitive. but it should probably be done only if required to accomplish the objectives of #495.