feat: added an inferred belief node to the editor #42
Reference in New Issue
Block a user
Delete Branch "feat/add-inferred-belief-node"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added an inferred belief node to the editor,
It has an AND and an OR mode for inference.
to test:
ref: N25B-433
assigned to @j.gerla
requested review from @9828273
marked the checklist item Run 'npx jest' to verify tests and coverage as completed
marked the checklist item Run 'npx eslint --fix' as completed
marked the checklist item Run 'npx vite' and verify that the node behaves as expected in the editor: as completed
marked the checklist item Only beliefs and other inferred beliefs can connect to the inputs of an inferred belief node as completed
marked the checklist item You can toggle the node between and and or mode as completed
There's currently a bug that sometimes allows both the creation of a loop, and the connection of the same belief to both inputs-
After the (inferred) belief has a valid connection, you can drag the end of this connection to whatever end you'd like.
Note that this is most likely a bug that has made it into the UI prior to this merge request.
However, it might be a good idea to fix it. (In a different branch, if needed.)
marked the checklist item It is properly reduced, sent to, and then parsed by the CB as completed
added 1 commit
0ba02609- fix: fixed reconnect being able to circumvent connection rulesCompare with previous version
added 11 commits
demo7c9c0e15- Merge branch 'demo' into feat/add-inferred-belief-nodeCompare with previous version
The bug is now fixed
resolved all threads
added 1 commit
d83791f0- feat: changed drag drop name of inferredBeliefCompare with previous version
marked the checklist item Inferred beliefs cannot be connected in a way that causes a loop to be created as completed
marked the checklist item You cannot connect the same belief to both inputs of an inferred belief as completed
Currently, the Tooltip just makes use of the type (not the label), so the belief ends up showing "basic_belief" and the updated AND/OR node still shows "inferred_belief". Not really that big of a deal, and not a high priority. You can opt to quickly correct this, but I will still approve of the rest. Well done!
resolved all threads
approved this merge request
resolved all threads
approved this merge request
mentioned in commit
f9e0eb95f8