pdd-cli 0.0.20__py3-none-any.whl → 0.0.22__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.
Potentially problematic release.
This version of pdd-cli might be problematic. Click here for more details.
- pdd/cli.py +1 -1
- pdd/context_generator.py +1 -1
- pdd/data/llm_model.csv +1 -1
- pdd/edit_file.py +783 -0
- pdd/fix_error_loop.py +218 -66
- pdd/fix_errors_from_unit_tests.py +366 -206
- pdd/fix_main.py +28 -6
- pdd/increase_tests.py +6 -3
- pdd/mcp_config.json +7 -0
- pdd/preprocess.py +0 -26
- pdd/prompts/fix_errors_from_unit_tests_LLM.prompt +2 -2
- pdd/prompts/generate_test_LLM.prompt +11 -4
- {pdd_cli-0.0.20.dist-info → pdd_cli-0.0.22.dist-info}/METADATA +25 -17
- {pdd_cli-0.0.20.dist-info → pdd_cli-0.0.22.dist-info}/RECORD +18 -18
- {pdd_cli-0.0.20.dist-info → pdd_cli-0.0.22.dist-info}/WHEEL +1 -1
- pdd/preprocess copy.py +0 -234
- pdd/preprocess_copy_bahrat.py +0 -287
- {pdd_cli-0.0.20.dist-info → pdd_cli-0.0.22.dist-info}/entry_points.txt +0 -0
- {pdd_cli-0.0.20.dist-info → pdd_cli-0.0.22.dist-info}/licenses/LICENSE +0 -0
- {pdd_cli-0.0.20.dist-info → pdd_cli-0.0.22.dist-info}/top_level.txt +0 -0
pdd/cli.py
CHANGED
|
@@ -46,7 +46,7 @@ console = Console()
|
|
|
46
46
|
@click.option("--review-examples", is_flag=True,
|
|
47
47
|
help="Review and optionally exclude few-shot examples before command execution.")
|
|
48
48
|
@click.option('--local', is_flag=True, help='Run commands locally instead of in the cloud.')
|
|
49
|
-
@click.version_option(version="0.0.
|
|
49
|
+
@click.version_option(version="0.0.22")
|
|
50
50
|
@click.pass_context
|
|
51
51
|
def cli(
|
|
52
52
|
ctx,
|
pdd/context_generator.py
CHANGED
|
@@ -116,7 +116,7 @@ def context_generator(code_module: str, prompt: str, language: str = "python", s
|
|
|
116
116
|
llm_output=final_llm_output,
|
|
117
117
|
language=language,
|
|
118
118
|
strength=0.97,
|
|
119
|
-
temperature=
|
|
119
|
+
temperature=temperature,
|
|
120
120
|
verbose=verbose
|
|
121
121
|
)
|
|
122
122
|
total_cost += postprocess_cost
|
pdd/data/llm_model.csv
CHANGED
|
@@ -6,7 +6,7 @@ OpenAI,"deepseek-coder",0.14,0.28,1279,https://api.deepseek.com/beta,DEEPSEEK_AP
|
|
|
6
6
|
Google,"gemini-2.0-flash-thinking-exp-01-21",.1,.4,1291,,GOOGLE_API_KEY,,,8192,,False
|
|
7
7
|
GoogleVertexAI,"gemini-2.0-pro-exp-02-05",1.25,5,1299,,VERTEX_AI_API_KEY,,,8192,,False
|
|
8
8
|
Anthropic,claude-3-7-sonnet-20250219,3,15,1312,,ANTHROPIC_API_KEY,anthropic,claude-3-sonnet-20240229,64000,,False
|
|
9
|
-
Google,gemini-exp-
|
|
9
|
+
Google,gemini-2.5-pro-exp-03-25,1.25,5,1313,,GOOGLE_API_KEY,,,8192,,False
|
|
10
10
|
OpenAI,"deepseek-r1-distill-llama-70b-specdec",5,5,1314,https://api.groq.com/openai/v1,GROQ_API_KEY,autotokenizer,deepseek-coder-7b-instruct-v1.5,16384,,False
|
|
11
11
|
Ollama,"deepseek-r1:70b-llama-distill-q8_0",0.0,0.0,1315,,PWD,,,,,False
|
|
12
12
|
Ollama,deepseek-r1:32b-qwen-distill-fp16,0.0,0.0,1316,,PWD,,,,,False
|