-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Summary**: The codebase is now fully refactored to use the new `open_and_save()`, `save_file()`, and `link_result()` functions from #66. The old functions have been removed. **Demo**: Wrote two new integration test files that pass. <img width="905" alt="Screenshot 2024-12-30 at 10 45 53" src="https://github.com/user-attachments/assets/ca197fe1-1a5b-4255-9ec7-515c7687caf1" /> <img width="1076" alt="Screenshot 2024-12-30 at 10 50 10" src="https://github.com/user-attachments/assets/a621b5eb-4619-4e27-a2a7-85c8a8ff501c" /> **Details** * Refactored `dbms/` and `benchmark/` to use the new files. Wrote tests for both too. * Moved path functions from `workspace.py` to `gymlib/symlinks_paths.py`. * This is important because agents will need access to the DBMS/benchmark paths. * Renamed all occurrences of `dpath/fpath/fordpath` to `path`. Renamed `dname/fname` to `dirname/filename`. * Names could refer to conceptual names so we add `dir/file` to the front to disambiguate. * Paths are not ambiguous though so we just call them paths. Whether they're a directory or file matters a little, but I think it's cleaner to just call them paths since that's the general standard.
- Loading branch information
1 parent
8511688
commit 34a47c0
Showing
37 changed files
with
1,006 additions
and
985 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dbgym_workspace_path: ../dbgym_benchmark_integtest_workspace/ |
Oops, something went wrong.