Datasets:
task_id stringlengths 5 5 | language stringclasses 8
values | split stringclasses 1
value | prompt stringclasses 10
values |
|---|---|---|---|
js-01 | javascript | train | The automated tests of this Node.js package currently fail. Run `node --test` from the repository root to see the failures. Change the package non-test source code so that the whole suite passes. The test files are the specification: do not edit, delete or skip any test (they are restored and hash-checked before gradin... |
js-02 | javascript | train | The automated tests of this Node.js package currently fail. Run `node --test` from the repository root to see the failures. Change the package non-test source code so that the whole suite passes. The test files are the specification: do not edit, delete or skip any test (they are restored and hash-checked before gradin... |
ts-01 | typescript | train | This TypeScript package currently fails both its type check and its tests. Run `tsc --noEmit -p .` and `node --test` from the repository root (Node runs the .ts files directly with type stripping; there is no build step and no npm install). Change the non-test source so that both pass. The test files and tsconfig.json ... |
ts-02 | typescript | train | The automated tests of this TypeScript package currently fail. Run `node --test` from the repository root (Node runs the .ts files directly with type stripping; there is no build step and no npm install; `tsc --noEmit -p .` must keep passing). Change the non-test source so that the whole suite passes. The test files ar... |
rx-02 | react | train | The automated tests of this React (JSX) package currently fail. Run `bun test` from the repository root (react and react-dom/server are vendored in node_modules; there is no npm install and no network; the components are rendered to static markup in the tests). Change the non-test source so that the whole suite passes.... |
rx-03 | react | train | This React (JSX) package has a Field and a SignupForm component. test/signup.test.jsx already contains tests for behaviour that is not implemented yet: a new `src/validate.js` exporting `validate(values, rules)`, error output and ARIA attributes on `Field`, and an error summary in `SignupForm`. Run `bun test` from the ... |
tf-02 | go | train | The automated tests of this project currently fail. Run `go test -count=1 ./...` from the repository root to see the failures. Change the project's non-test source code so that the whole suite passes. The test files are the specification: do not edit, delete or skip any test (they are restored and hash-checked before g... |
tf-03 | go | train | The automated tests of this project currently fail. Run `go test -count=1 ./...` from the repository root to see the failures. Change the project's non-test source code so that the whole suite passes. The test files are the specification: do not edit, delete or skip any test (they are restored and hash-checked before g... |
rb-01 | ruby | train | The automated tests of this Ruby library currently fail. Run `ruby -Ilib -Itest test/all_test.rb` from the repository root to see the failures (minitest from the standard library; no gems to install, no network). Change the library's non-test source under lib/ so that the whole suite passes. The test files are the spec... |
rb-02 | ruby | train | The automated tests of this Ruby library currently fail. Run `ruby -Ilib -Itest test/all_test.rb` from the repository root to see the failures (minitest from the standard library; no gems to install, no network). Change the library's non-test source under lib/ so that the whole suite passes. The test files are the spec... |
py-01 | python | train | The automated tests of this Python package currently fail. Run `python3 -I -B -m unittest discover -s tests -t .` from the repository root to see the failures (standard library unittest only; there is no pip and no network). Change the package non-test source so that the whole suite passes. The test files are the speci... |
py-02 | python | train | The automated tests of this Python package currently fail. Run `python3 -I -B -m unittest discover -s tests -t .` from the repository root to see the failures (standard library unittest only; there is no pip and no network). Change the package non-test source so that the whole suite passes. The test files are the speci... |
rs-01 | rust | train | The automated tests of this Rust crate currently fail. Run `cargo test --offline` from the repository root to see the failures (the crate has no dependencies; there is no network). Change the crate's non-test source so that the whole suite passes. The test files are the specification: do not edit, delete or skip any te... |
rs-02 | rust | train | The automated tests of this Rust crate currently fail. Run `cargo test --offline` from the repository root to see the failures (the crate has no dependencies; there is no network). Change the crate's non-test source so that the whole suite passes. The test files are the specification: do not edit, delete or skip any te... |
jv-01 | java | train | The automated tests of this Java project currently fail. Run `./scripts/javatest.sh` from the repository root (it compiles src/ with javac and runs the tests with a tiny built-in runner; there is no Maven, no JUnit and no network). Change the non-test source under src/main so that the whole suite passes. The tests, the... |
jv-02 | java | train | The automated tests of this Java project currently fail. Run `./scripts/javatest.sh` from the repository root (it compiles src/ with javac and runs the tests with a tiny built-in runner; there is no Maven, no JUnit and no network). Change the non-test source under src/main so that the whole suite passes. The tests, the... |
Strim test-fix: multi-language repo repair
16 small real-world-style repositories, each with a bug or missing behavior. The agent gets a task description and a shell-like action API (list, read, grep, write, edit, bash, finish) over the public source files and must repair the code. The protected test files, build configuration and reference solutions are not in the agent workspace.
| Language | Task ids |
|---|---|
| JavaScript | js-01, js-02 |
| TypeScript | ts-01, ts-02 |
| React (Bun) | rx-02, rx-03 |
| Go | tf-02, tf-03 |
| Ruby | rb-01, rb-02 |
| Python | py-01, py-02 |
| Rust | rs-01, rs-02 |
| Java | jv-01, jv-02 |
tasks.jsonl has one task per line: task_id, language, split, prompt. It holds no tests, solutions or expected test names.
What it teaches
Reading an unfamiliar codebase, locating a defect from a behavioral description, making a minimal correct source edit, and doing so across eight languages and toolchains without access to the tests.
Reward
Call finish to end the episode; this runs the hidden grader once on the final workspace. The reward is 1.0 only if the task's full hidden test suite passes, verified by a grader-owned runner that reports each expected test over a nonce-authenticated channel, and 0.0 otherwise (any failing test, tampering with protected paths, a crash or timeout). Intermediate steps give 0.0. Episodes also end after 100 steps or 600 seconds. Edits outside the files and directories a correct fix touches are discarded before grading.
Use
The environment is an OpenEnv server image (ghcr.io/megasoft1978/strim-envs-grader:v1, port 8000). Reset takes task_id. In the OpenEnv Arena the per-episode container is the isolation boundary: agent commands run as the server user, can read the grader manifests and expected test names, and have network access. Do not treat the reward as hardened against a determined adversary.
License and source
MIT. The environment source code is available on request (the repository is private). Fixtures keep the licenses recorded in their task metadata.
- Downloads last month
- 21