Skip to content

Run C2Rust on C datasets to get Rust datasets - #35

Open
souryadey wants to merge 59 commits into
mainfrom
sourya/c2rust-output-dataset
Open

Run C2Rust on C datasets to get Rust datasets#35
souryadey wants to merge 59 commits into
mainfrom
sourya/c2rust-output-dataset

Conversation

@souryadey

@souryadey souryadey commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Recreating #24 since the branch name was changed from c2rust-output-dataset to sourya/c2rust-output-dataset for 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/CBench in 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. See converted_rust_projects/README for more details.

@souryadey

Copy link
Copy Markdown
Contributor Author

This PR is now ready!

@spernsteiner

spernsteiner commented Jan 8, 2026

Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants