Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

change runs to just 2

Talor Abramovich22dc1a25a5ae
diff --git a/config/ctf_crypto.yaml b/config/ctf_crypto.yaml
index d564246d..aa954e76 100644
--- a/config/ctf_crypto.yaml
+++ b/config/ctf_crypto.yaml
@@ -253,7 +253,7 @@ review_loop_config:
{traj}
traj_item_template: |
Step {i_step}: {response}
- max_samples: 3
+ max_samples: 2
gtc_classname: CTFPlanningGTC
gtc_config:
system_template: |
diff --git a/config/ctf_forensics.yaml b/config/ctf_forensics.yaml
index b2aa9acf..4348a959 100644
--- a/config/ctf_forensics.yaml
+++ b/config/ctf_forensics.yaml
@@ -252,7 +252,7 @@ review_loop_config:
{traj}
traj_item_template: |
Step {i_step}: {response}
- max_samples: 3
+ max_samples: 2
gtc_classname: CTFPlanningGTC
gtc_config:
system_template: |
diff --git a/config/ctf_misc.yaml b/config/ctf_misc.yaml
index 8086af43..9a2cb5cb 100644
--- a/config/ctf_misc.yaml
+++ b/config/ctf_misc.yaml
@@ -252,7 +252,7 @@ review_loop_config:
{traj}
traj_item_template: |
Step {i_step}: {response}
- max_samples: 3
+ max_samples: 2
gtc_classname: CTFPlanningGTC
gtc_config:
system_template: |
diff --git a/config/ctf_pwn.yaml b/config/ctf_pwn.yaml
index 23e8e657..760511d5 100644
--- a/config/ctf_pwn.yaml
+++ b/config/ctf_pwn.yaml
@@ -252,7 +252,7 @@ review_loop_config:
{traj}
traj_item_template: |
Step {i_step}: {response}
- max_samples: 3
+ max_samples: 2
gtc_classname: CTFPlanningGTC
gtc_config:
system_template: |
diff --git a/config/ctf_rev.yaml b/config/ctf_rev.yaml
index 4fd16274..969be536 100644
--- a/config/ctf_rev.yaml
+++ b/config/ctf_rev.yaml
@@ -252,7 +252,7 @@ review_loop_config:
{traj}
traj_item_template: |
Step {i_step}: {response}
- max_samples: 3
+ max_samples: 2
gtc_classname: CTFPlanningGTC
gtc_config:
system_template: |
diff --git a/config/ctf_web.yaml b/config/ctf_web.yaml
index a96645f1..46026619 100644
--- a/config/ctf_web.yaml
+++ b/config/ctf_web.yaml
@@ -252,7 +252,7 @@ review_loop_config:
{traj}
traj_item_template: |
Step {i_step}: {response}
- max_samples: 3
+ max_samples: 2
gtc_classname: CTFPlanningGTC
gtc_config:
system_template: |