Run C2Rust on C datasets to get Rust datasets - #35
Open
souryadey wants to merge 59 commits into
Open
Conversation
TODO edit for CRUST-Bench
and move custome xceptions inside classes
Contributor
Author
|
This PR is now ready! |
Contributor
|
Please edit the history of this branch to remove the commits that add the zip files |
since this is tracked separately by Git
- Rearrange arguments in GEPA methods - Make seed prompt an argument - Separate run and evaluate blocks in main - Set up run using GPT-5.4 as both task and reflection LMs
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recreating #24 since the branch name was changed from
c2rust-output-datasettosourya/c2rust-output-datasetfor clarity.This PR introduces a script that can run C2Rust in bulk on datasets of C projects and produce datasets of Rust projects. At the moment, 3 datasets are supported:
Public-Tests/B01_synthetic/in the test corpus.Public-Tests/B01_organic/in the test corpus.datasets/CBenchin CRUST-Bench, i.e. all the C projects that CRUST-Bench contains.The resulting Rust datasets are produced in the newly created
converted_rust_projects/folder. They are not pushed to Git, instead, their zips are uploaded here. Seeconverted_rust_projects/READMEfor more details.