Commit 35f03f2
Rename output logs file and agent's output trajectory file (#230)
* Pull changes from #107 and #212
* Add a workspace class. Refactoring + tests
* Refactor SWE-Bench and make sure all 500 tasks can be solved.
* Rename output logs file and agent's output trajectory file
* Pass revision id to parent class
* Tests should check for default SWE-bench/SWE-bench_Verified
* Make sure we apply any changes needed for setting up the environment.
* Rename RemoteWorkspace -> Workspace
* Fix typos.
* Use better delimiter for here-document + add explantion to workspace.write_file
* Show with hidden files when listing file with workspace
* Fix interact_with_pdb test
* Raises if git diff fails
* Rename log to trajectory
* fix test, now log file is named debug_gym.log
---------
Co-authored-by: Matheus Pereira <matpereira@microsoft.com>
Co-authored-by: Xingdi (Eric) Yuan <xingdi-eric-yuan@users.noreply.github.com>1 parent 0adba71 commit 35f03f2
File tree
4 files changed
+12
-13
lines changed- debug_gym
- agents
- scripts
- tests
4 files changed
+12
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | | - | |
368 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
369 | 370 | | |
370 | | - | |
371 | | - | |
372 | | - | |
| 371 | + | |
373 | 372 | | |
374 | 373 | | |
375 | 374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
| 554 | + | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
| 142 | + | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments