Skip to content

Conversation

@robinvandernoord
Copy link

Added Rust as a language since the bigcode/humanevalpack also contains it.
The test runner is based on the Go one, except everything is written to lib.rs because that's what Rust prefers.
Also reformatted the CodeRunner logic to using a dictionary so it's easier to maintain.


Second attempt, I had some issues initializing the cargo template (copied from go but ran into race conditions/deadlock) but that should be fixed now by using a lockfile via Python.

* feat: add Rust test runner support

* fix: remove unused `tests` folder in Rust test runner

* fix: prevent `cargo init` from running multiple times and generating an error by moving it to the init

* docs: include Rust as supported language

* fix: don't initialize runner class early, only once we're ready to run it

* fix: revert previous refactorings because they break when running Rust in parallel

* fix: intialize cargo (once) using a lockfile (pure-python instead of flock)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant