pdd-cli 0.0.43__py3-none-any.whl → 0.0.45__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pdd/__init__.py +1 -1
- pdd/cli.py +2 -2
- pdd/cmd_test_main.py +9 -0
- pdd/data/language_format.csv +1 -0
- pdd/data/llm_model.csv +2 -2
- pdd/fix_code_loop.py +2 -2
- pdd/fix_error_loop.py +5 -2
- pdd/fix_verification_errors_loop.py +14 -1
- pdd/fix_verification_main.py +29 -8
- pdd/get_jwt_token.py +39 -7
- pdd/increase_tests.py +7 -0
- pdd/llm_invoke.py +9 -7
- pdd/prompts/auto_include_LLM.prompt +811 -9
- pdd/prompts/change_LLM.prompt +1 -3
- pdd/prompts/detect_change_LLM.prompt +460 -3
- pdd/prompts/extract_program_code_fix_LLM.prompt +7 -1
- pdd/prompts/fix_code_module_errors_LLM.prompt +13 -3
- pdd/prompts/fix_errors_from_unit_tests_LLM.prompt +0 -43
- pdd/prompts/increase_tests_LLM.prompt +4 -1
- pdd/prompts/insert_includes_LLM.prompt +1061 -6
- pdd/prompts/split_LLM.prompt +1 -62
- pdd/prompts/xml_convertor_LLM.prompt +3246 -7
- pdd/pytest_output.py +72 -20
- pdd/python_env_detector.py +151 -0
- pdd/summarize_directory.py +7 -1
- pdd/sync_determine_operation.py +396 -109
- pdd/sync_main.py +1 -1
- pdd/sync_orchestration.py +448 -28
- {pdd_cli-0.0.43.dist-info → pdd_cli-0.0.45.dist-info}/METADATA +4 -4
- {pdd_cli-0.0.43.dist-info → pdd_cli-0.0.45.dist-info}/RECORD +26 -25
- {pdd_cli-0.0.43.dist-info → pdd_cli-0.0.45.dist-info}/WHEEL +0 -0
- {pdd_cli-0.0.43.dist-info → pdd_cli-0.0.45.dist-info}/entry_points.txt +0 -0
- {pdd_cli-0.0.43.dist-info → pdd_cli-0.0.45.dist-info}/licenses/LICENSE +0 -0
- {pdd_cli-0.0.43.dist-info → pdd_cli-0.0.45.dist-info}/top_level.txt +0 -0
pdd/prompts/split_LLM.prompt
CHANGED
|
@@ -1,65 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
% Here are some examples of splitting prompts:
|
|
3
|
-
<examples>
|
|
4
|
-
|
|
5
|
-
<example_1>
|
|
6
|
-
<1_input_prompt><include>./context/split/1/initial_pdd_python.prompt</include></1_input_prompt>
|
|
7
|
-
<1_input_code><include>./context/split/1/pdd.py</include></1_input_code>
|
|
8
|
-
<1_example_code><include>./context/split/1/split_get_extension.py</include></1_example_code>
|
|
9
|
-
<1_sub_prompt><include>./context/split/1/sub_pdd_python.prompt</include></1_sub_prompt>
|
|
10
|
-
<1_modified_prompt><include>./context/split/1/final_pdd_python.prompt</include></1_modified_prompt>
|
|
11
|
-
</example_1>
|
|
12
|
-
|
|
13
|
-
<example_2>
|
|
14
|
-
<2_input_prompt><include>./context/split/2/initial_pdd_python.prompt</include></2_input_prompt>
|
|
15
|
-
<2_input_code><include>./context/split/2/pdd.py</include></2_input_code>
|
|
16
|
-
<2_example_code><include>./context/split/2/split_pdd_construct_output_path.py</include></2_example_code>
|
|
17
|
-
<2_sub_prompt><include>./context/split/2/sub_pdd_python.prompt</include></2_sub_prompt>
|
|
18
|
-
<2_modified_prompt><include>./context/split/2/final_pdd_python.prompt</include></2_modified_prompt>
|
|
19
|
-
</example_2>
|
|
20
|
-
|
|
21
|
-
<example_3>
|
|
22
|
-
<3_input_prompt><include>./context/split/3/initial_postprocess_python.prompt</include></3_input_prompt>
|
|
23
|
-
<3_input_code><include>./context/split/3/postprocess.py</include></3_input_code>
|
|
24
|
-
<3_example_code><include>./context/split/3/split_postprocess_find_section.py</include></3_example_code>
|
|
25
|
-
<3_sub_prompt><include>./context/split/3/sub_postprocess_python.prompt</include></3_sub_prompt>
|
|
26
|
-
<3_modified_prompt><include>./context/split/3/final_postprocess_python.prompt</include></3_modified_prompt>
|
|
27
|
-
</example_3>
|
|
28
|
-
|
|
29
|
-
<example_4>
|
|
30
|
-
<4_input_prompt><include>./context/split/4/initial_construct_paths_python.prompt</include></4_input_prompt>
|
|
31
|
-
<4_input_code><include>./context/split/4/construct_paths.py</include></4_input_code>
|
|
32
|
-
<4_example_code><include>./context/split/4/split_construct_paths_generate_output_filename.py</include></4_example_code>
|
|
33
|
-
<4_sub_prompt><include>./context/split/4/sub_construct_paths_python.prompt</include></4_sub_prompt>
|
|
34
|
-
<4_modified_prompt><include>./context/split/4/final_construct_paths_python.prompt</include></4_modified_prompt>
|
|
35
|
-
</example_4>
|
|
36
|
-
|
|
37
|
-
<example_5>
|
|
38
|
-
<5_input_prompt><include>context/split/5/cli_python.prompt</include></5_input_prompt>
|
|
39
|
-
<5_input_code><include>context/split/5/cli.py</include></5_input_code>
|
|
40
|
-
<5_example_code><include>context/split/5/split_track_cost.py</include></5_example_code>
|
|
41
|
-
<5_sub_prompt><include>context/split/5/track_cost_python.prompt</include></5_sub_prompt>
|
|
42
|
-
<5_modified_prompt><include>context/split/5/modified_cli_python.prompt</include></5_modified_prompt>
|
|
43
|
-
</example_5>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<example_6>
|
|
47
|
-
<6_input_prompt><include>context/split/6/cli_python.prompt</include></6_input_prompt>
|
|
48
|
-
<6_input_code><include>context/split/6/cli.py</include></6_input_code>
|
|
49
|
-
<6_example_code><include>context/split/6/split_conflicts.py</include></6_example_code>
|
|
50
|
-
<6_sub_prompt><include>context/split/6/conflicts_main_python.prompt</include></6_sub_prompt>
|
|
51
|
-
<6_modified_prompt><include>context/split/6/modified_cli_python.prompt</include></6_modified_prompt>
|
|
52
|
-
</example_6>
|
|
53
|
-
|
|
54
|
-
<example_7>
|
|
55
|
-
<7_input_prompt><include>context/split/7/cli_python.prompt</include></7_input_prompt>
|
|
56
|
-
<7_input_code><include>context/split/7/cli.py</include></7_input_code>
|
|
57
|
-
<7_example_code><include>context/split/7/split_trace_main.py</include></7_example_code>
|
|
58
|
-
<7_sub_prompt><include>context/split/7/trace_main_python.prompt</include></7_sub_prompt>
|
|
59
|
-
<7_modified_prompt><include>context/split/7/modified_cli_python.prompt</include></7_modified_prompt>
|
|
60
|
-
</example_7>
|
|
61
|
-
</examples>
|
|
62
|
-
</pdd>
|
|
1
|
+
|
|
63
2
|
|
|
64
3
|
<context>
|
|
65
4
|
% You are an expert LLM Prompt Engineer. Your goal is to split the input_prompt (a larger prompt) into a sub_prompt and modified_prompt (two smaller prompts) with no loss of functionality. This is to make it easier to generate and test the modules easier.
|