code generator utils

This commit is contained in:
zachary62
2025-05-23 01:15:49 -04:00
parent 769b58c929
commit ac4381cae9
5 changed files with 82 additions and 3 deletions
@@ -65,9 +65,9 @@ flowchart TD
- Used by all LLM-powered nodes for generating tests, code, and analysis
2. **Execute Python Code** (`utils/code_executor.py`)
- *Input*: function_code (str), test_case (dict)
- *Output*: test_result (dict with passed, failed, error details)
- Used by RunTests batch node to safely execute generated code against individual test cases
- *Input*: function_code (str), input (dict/list/any)
- *Output*: output (any), error (str)
- Used by RunTests batch node to safely execute generated code against individual input
## Node Design