The Big One #43
Reference in New Issue
Block a user
Delete Branch "feat/reset-experiment-and-phase"
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?
Three big topics in this merge request:
To verify, perform extensive system testing using the scripts in the knowledge base. For this, use the
devbranch in the RI and thefeat/monitoringpagein the UI.Since this is such a large merge request, it doesn't make sense to have individual checkmarks for each bit of functionality, so just start threads on whatever is on your mind.
requested review from @9828273
changed the description
changed the description
added 1 commit
db64eaeb- fix: failing tests and warningsCompare with previous version
requested review from @s.o.h.luijkx and removed review request for @9828273
requested review from @9828273 and removed review request for @s.o.h.luijkx
changed the description
Consider adding relevant information in Docstrings for these functions (not at these lines); some functionality is not completely clear from just the function name (and the scattered AST terms can be hard to read and understand at first glance).
Quick docstring would be nice.
Quick docstring would help:)
Quick docstring please:)
Small docstring explaining what a default loop is would help readability
Tiny docstring could help:)
Compact docstring helps
Magic number (2000), consider adding to the environment variables, or add indications for developers to be able to change and find this more easily.
Maybe include a small comment about how the SpeechAction gets handled as a Goal/Plan in the AgentSpeak file, rather than returning it as a 'DO_ACTION' statement type.
left review comments
marked the checklist item Pipeline (tests) pass as completed
marked the checklist item Style checks pass as completed
marked the checklist item Tests are up to date (new code is covered) as completed
marked the checklist item Code makes sense as completed
Consider changing this into an environment variable, or having a less hard-coded variant of selecting the correct file.
Consider adding docstrings
Consider a quick docstring
Small docstring por favor
Small docstring s'il vous plaît
Un po' docstring per favore
Consider putting two tabs before this patch of prompt. Not sure if this is to make it more readable, however, its technically part of the
_infer_beliefsfunction.Consider putting two tabs before this patch of prompt. Not sure if this is to make it more readable, however, its technically part of the
_infer_goalfunction.Consider adding a (few) comment(s), and possible changing "retval" to "return_value" or something to make this more easy to read and understand when going over it.
Pylance doesn't like the fact that JSONLike is this broad - resulting in potential type mismatches where it is used...
Consider
(dict[str, bool | None] | None, result)in case you're confident about the LLM return format (after the function is called)Of course, if this is too much work, or pollutes the code quality, feel free to ignore this comment.
Could be leftover debug- You can delete or modify this (to make it more sophisticated than "handling rn")
I've added some comments about asserting phase is not None. In the case of the loops, you can also opt for
or []if you prefer that.Add docstrings please
The user_interupt_agent and folder shouldn't be on the same level as the other folders. It should be in, for example, the communication folder.
You can add an early return or other functionality to account for the unbound
belief_namethat would otherwise be send to the bdi core.Outdated docstring
approved this merge request
mentioned in merge request !45
changed this line in version 3 of the diff
added 1 commit
b9df47b7- docs: add docstrings to AgentSpeak stuffCompare with previous version
Adding tabs here would send those tabs to the LLM. This is fine.
Adding tabs here would send those tabs to the LLM. This is fine.
Depending on the given
schema, the output really can be any of those types.changed this line in version 4 of the diff
changed this line in version 4 of the diff
added 1 commit
d8dc558d- docs: update existing docstrings and add new docsCompare with previous version
All these
not Noneassertions don't really help the problem. It'll give the same error during runtime, even if the type checker is happy. Alternative is adding early returns if it is None.changed this line in version 5 of the diff
changed this line in version 5 of the diff
changed this line in version 5 of the diff
added 1 commit
650050fa- chore: move magic numbers to env and cleanupCompare with previous version
added 9 commits
devbc1fa2ea- Merge branch 'dev' into feat/reset-experiment-and-phaseCompare with previous version
marked the checklist item Documentation is up to date as completed
Added early return for
_transition_phase, assertions with messages in the two functions that should only get called whenself._phaseis not None.resolved all threads
added 2 commits
4f927bc0- fix: make DOS from other agents impossible7dd47c9d- Merge remote-tracking branch 'origin/feat/reset-experiment-and-phase' into...Compare with previous version
resolved all threads
approved this merge request
mentioned in commit
da0f48e96d