Skip to content

Commit 5bd0400

Browse files
authored
Update README.md
1 parent 57d6455 commit 5bd0400

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,34 +70,43 @@ export DEEPSEEK_API_KEY="your-deepseek-key"
7070
### Running PhoenixRepair
7171

7272
#### Phase 1: Multi-Location Sets Sampling
73-
Rename run_batch(locate).py to run_batch.py
7473
```bash
75-
sweagent run-batch \
74+
sweagent run-locate \
7675
--config config/locate.yaml \
77-
--agent.model.name "" \
78-
--agent.model.api_base "" \
79-
--agent.model.per_instance_cost_limit 2.30 \
76+
--agent.model.name "" \ # Please enter the model name, for example "deepseek-chat"
77+
--agent.model.api_base "" \ # Please enter the url, for example "https://api.deepseek.com/v1"
78+
--agent.model.per_instance_cost_limit 3.00 \
8079
--instances.type swe_bench \
8180
--instances.subset verified \
8281
--instances.split test \
8382
--enable_multi_sampling=True \
84-
--num_samples=5 \
83+
--num_samples=5 \ # The Number of sequential samples per task
84+
--num_workers=25 \ # The number of tasks executed in parallel
85+
--enable_best_sample_selection=False \
86+
--comparison_model_name="" \ # Please enter the model name, for example "deepseek-chat"
87+
--comparison_api_key="" \ # Please enter the api_key
88+
--comparison_api_base="" \ # Please enter the url, for example "https://api.deepseek.com/v1"
8589
```
8690

8791
#### Phase 2: Iterative Reflection & Refinement
8892

8993
```bash
9094
sweagent run-batch \
91-
--config config/default.yaml \
92-
--agent.model.name "" \
93-
--agent.model.api_base "" \
94-
--agent.model.per_instance_cost_limit 2.30 \
95+
--config config/default.yaml \
96+
--agent.model.name "" \ # Please enter the model name, for example "deepseek-chat"
97+
--agent.model.api_base "" \ # Please enter the url, for example "https://api.deepseek.com/v1"
98+
--agent.model.per_instance_cost_limit 3.00 \
9599
--instances.type swe_bench \
96100
--instances.subset verified \
97101
--instances.split test \
98102
--enable_multi_sampling=True \
99103
--num_samples=3 \
104+
--comparison_model_name="" \ # Please enter the model name, for example "deepseek-chat"
105+
--comparison_api_key="" \ # Please enter the api_key
106+
--comparison_api_base="" \ # Please enter the url, for example "https://api.deepseek.com/v1"
107+
--deduplicated_patches_root "" # Please enter the absolute path obtained in Phase 1, for example "/home/PheenixPepair/trajectories/root/locate__openai--GLM-4.7__t-0.70__p-1.00__c-0.00___swe_bench_verified_test"
100108
```
101109

102110

103111

112+

0 commit comments

Comments
 (0)