File size: 1,404 Bytes
e8c208d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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