File size: 1,000 Bytes
8d9acf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
name: "CodeDebugCriticWithPlan_Flow"
verbose: True
description: "ToDo: add description"

early_exit_key: null

input_data_transformations: []
input_keys:
  - "problem_description"
  - "input_description"
  - "output_description"
  - "io_examples_and_explanation"
  - "public_tests_individual_io"
  - "code"
  - "plan"

output_data_transformations:
  - _target_: flows.data_transformations.KeyRename
    old_key2new_key:
      raw_response.testing_results_summary: "testing_results_summary"
      raw_response.all_tests_passed: "all_tests_passed"
      raw_response.code_feedback: "code_feedback"
output_keys:
  - "testing_results_summary"
  - "all_tests_passed"
  - "code_feedback"

subflows_config:
  - _target_: flows.flow_verse.instantiate_flow
    repository_id: ${oc.env:CC_FLOWS}
    class_name: CF_CodeTesting
    overrides:
      name: "CodeTestingCritic"
  - _target_: flows.flow_verse.instantiate_flow
    repository_id: ${oc.env:CC_FLOWS}
    class_name: CF_CodeCriticWrongAttemptWithPlan