TestCodeFlowModule / TestCodeFlow.yaml
Tachi67's picture
Upload 7 files
e8c208d
raw
history blame
1.4 kB
name: "TestCodeFlow"
description: "Test the code generated by InteractiveCodeGenFlow"
_target_: Tachi67.TestCodeFlowModule.TestCodeFlow.instantiate_from_default_config
memory_files: ???
input_interface:
- "code"
output_interface:
- "test_results"
subflows_config:
MemoryReading:
_target_: Tachi67.MemoryReadingFlowModule.MemoryReadingAtomicFlow.instantiate_from_default_config
TestCodeFileEdit:
_target_: TestCodeFileEditAtomicFlow.TestCodeFileEditAtomicFlow.instantiate_from_default_config
CodeTesting:
_target_: CodeTestingAtomicFlow.CodeTestingAtomicFlow.instantiate_from_default_config
early_exit_key: "EARLY_EXIT"
topology:
- goal: "Read in necessary memory"
input_interface:
_target_: flows.interfaces.KeyInterface
additional_transformations:
- _target_: flows.data_transformations.KeyMatchInput
flow: MemoryReading
reset: false
- goal: "Write the code & instructions for testing to a temp file"
input_interface:
_target_: flows.interfaces.KeyInterface
additional_transformations:
- _target_: flows.data_transformations.KeyMatchInput
flow: TestCodeFileEdit
reset: false
- goal: "Test the code"
input_interface:
_target_: flows.interfaces.KeyInterface
additional_transformations:
- _target_: flows.data_transformations.KeyMatchInput
flow: CodeTesting
reset: false