Create a basic belief node that can be used in further stages to create inferred belief and be inputs for other nodes. #32
Reference in New Issue
Block a user
Delete Branch "feat/basic-belief-nodes"
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?
To check this merge, follow the following checklist:
npx eslint --fixshows no linting errors.basic_belief: () => falseto true atconst NodesInPhase.Additional notes: Even though it is not completely in scope of this ticket, it could be said that this ticket should also take care of 'not being able to connect to a phase'. Note that implementing this right now means testing would be way harder. (Until we can use these basic, and later inferred beliefs as inputs to other notes.)
ref: N25B-390
assigned to @9828273
requested review from @j.gerla
marked the checklist item Up to date with dev as completed
marked the checklist item
npx eslint --fixshows no linting errors. as completedmarked the checklist item `npx jest (--maxWorkers 1) shows all tests pass. as completed
marked the checklist item Running the webpage shows the new belief node and its basic types, defined in the KB. as completed
marked the checklist item All the types are correctly formatted and show their own respective input. as completed
marked the checklist item Note that a belief can be attached to a phase but should never be part of a phase reduce itself. To test the reducing property you can currently go to NodeRegistry.ts and change
basic_belief: () => falseto true atconst NodesInPhase. as completedmarked the checklist item The added code is correctly documented as completed
marked the checklist item The added code makes sense as completed
"Object" is a default JavaScript/TypeScript data type. Change the name of the type to something like "DetectedObject" to prevent future issues
When you change from a text-input style belief to an emotion (dropdown selection), the reduced belief doesn't show the selected emotion if it is not changed from the initially shown value in the dropdown
this is not needed, we have a function for every type of connection event
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
The critical checkbox is part of a different merge request that isn't merged yet, and shouldn't be added through this request
Once comments are resolved and code from a different unmerged merge request is removed from this merge request, it can be considered approved
marked the checklist item Up to date with dev as incomplete
see threads
requested changes
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
added 6 commits
demob4df868e- Merge branch 'demo' into feat/basic-belief-nodesCompare with previous version
All of the checkbox threads should be resolved after I re-merged demo into this branch.
added 1 commit
bd2ffe62- chore: remove old connect function from basic beliefCompare with previous version
added 1 commit
8f1367ed- chore: emotion dropdown doesnt automatically assign new valueCompare with previous version
changed this line in version 7 of the diff
added 1 commit
9f26edb6- chore: dont use object, use detected object.Compare with previous version
added 1 commit
01d73b77- chore: fix one testCompare with previous version
resolved all threads
changed the description
marked the checklist item Up to date with demo as completed
resolved all threads
approved this merge request
resolved all threads
approved this merge request
mentioned in commit
9c80391fea