Dataset Viewer
Auto-converted to Parquet Duplicate
cohort
stringclasses
3 values
errors
int64
0
7
failures
int64
0
8
family
stringclasses
15 values
instruction_sha256
stringlengths
64
64
observed_pass_rate
float64
0
1
packaged_task_commit
stringclasses
2 values
passes
int64
0
8
qualified
bool
1 class
screening_attempts
int64
8
8
selected_split
stringclasses
1 value
source_repo
stringclasses
2 values
source_revision
stringclasses
2 values
task_id
stringlengths
17
21
upstream_task_id
stringlengths
17
17
⌀
valid_grades
int64
1
8
task_split
stringclasses
1 value
instruction
stringlengths
1.25k
6.12k
instruction_artifact
stringlengths
79
148
original16
0
8
null
e0b8b969dc154c3d6313174420b847a1af84be544c020c3c47e0f0f38c04b143
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-bandcentral-gemma4-31b-bash
e791ac6656b7c4a55de797d66b126a25dccc85bf
ds2-task_00687_c4c7ea
task_00687_c4c7ea
8
screening_only
Implement a CLI tool at `/app/topk` that reads a UTF-8 encoded CSV file and outputs the top K rows sorted by a specified numeric column, with precise tie-breaking and edge-case handling. **Input contract:** - The tool is invoked as: `python /app/topk <csv_path> <column_name> <K>` - The CSV file may be arbitrarily larg...
artifacts/historical-tars/workspace-agent-rl-openhands-retired-20261027-165101/source.tar/official_harbor/tasks/ds2-task_00687_c4c7ea/instruction.md
original16
0
7
null
6346fa2be16ab1c902401d9323da4b466abc43675abbf4da3040b6f295c849ea
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-bandcentral-gemma4-31b-bash
e791ac6656b7c4a55de797d66b126a25dccc85bf
ds2-task_12106_bd7f8d
task_12106_bd7f8d
8
screening_only
Create a command-line tool `/app/fixcalc` that performs arithmetic operations on fixed-point decimal numbers read from stdin and writes results to stdout. **Input format (stdin):** A text file where each non-empty line is one of: - A directive: `PRECISION <n>` where n is an integer between 0 and 10 inclusive (sets dec...
artifacts/historical-tars/workspace-agent-rl-openhands-retired-20261027-165101/source.tar/official_harbor/tasks/ds2-task_12106_bd7f8d/instruction.md
original16
0
8
null
b39b7ace53f8fc0b7ea56d8f038155f2877d23607cdf8c9d093152f4002be57c
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00002_aa2b6f
null
8
screening_only
Implement a command-line tool `/app/querylog` that parses a custom log file and prints matching records according to a time-range filter. **Input contract:** The tool is invoked as: ``` /app/querylog LOGFILE START STOP [--tz TZ] ``` - `LOGFILE`: path to a UTF-8 log file (may contain invalid UTF-8 bytes; must not cra...
artifacts/local-state/reward-grading-audit-20261028/upstream-termgrade/task_00002_aa2b6f/instruction.md
original16
0
8
null
34a7e29601be18b6720983388e33bcd1396e6fc8e270c3cc0d5920788345a635
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00004_88fabf
null
8
screening_only
Write a single Python script `/app/decode_tlv.py` that reads a binary file and decodes a stream of Type-Length-Value (TLV) records into a single JSON object written to stdout. **Goal:** Decode a binary TLV stream to JSON with zero errors on all valid inputs, and with specific error handling for invalid inputs as speci...
artifacts/local-state/reward-grading-audit-20261028/upstream-termgrade/task_00004_88fabf/instruction.md
round2_new100
0
7
versions
f0a494a8c7684ec581b476a3ee187845a3ce5b712407bc41aa0bc4c7c4a2dace
0.125
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00109_d82bc5
task_00109_d82bc5
8
screening_only
Implement a command-line tool at `/app/resolve.py` that reads a version range expression from stdin (one line), resolves it against a sorted list of versions provided as command-line arguments, and prints the highest satisfying version to stdout (or nothing if no version satisfies). Exit code 0 always (unless the tool ...
artifacts/local-state/task-registry-repo/tasks/task_00109_d82bc5/instruction.md
original16
1
5
null
b7fc624bd715cbc7e2bcb01e171b926aab10a86276bf0ed643d717d1701baf07
0.285714
ced9c90b75b5a13263265089091c11dc136dfbfd
2
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00137_41c355
null
7
screening_only
Create a backup tool `/app/backup` that generates a verified, timestamped backup of a directory and a restore tool `/app/restore` that restores the latest backup. Both are executable scripts (bash or python). **Backup tool** (`/app/backup`): - Takes exactly 2 arguments: `<source_directory> <output_directory>` - Create...
artifacts/local-state/task-registry-repo/tasks/task_00137_41c355/instruction.md
original16
0
7
null
a4d65ff1f6ebf85c7c14f39222881d7a77f1f08e0c635ea414997f5c7157802c
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00158_a21b36
null
8
screening_only
Implement a rate limiter that uses a hybrid token-bucket/sliding-window algorithm to enforce per-client request limits. **Goal:** Accept a stream of request events (one JSON object per line on stdin) and emit a stream of JSON decision objects (one per line on stdout). Each decision must state whether the request is AL...
artifacts/local-state/task-registry-repo/tasks/task_00158_a21b36/instruction.md
original16
0
8
null
d0d872d38a97b45bb92c50bad389049d075816d73202c9cb9be9e34729efcbcc
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00169_2e851e
null
8
screening_only
Implement a CLI tool `semver-resolve` that, given a semver range expression and a newline-separated list of version strings on stdin, outputs the "best" matching version according to semver precedence rules. The tool must handle the full semver 2.0.0 specification for both the range expressions and version strings. **...
artifacts/local-state/task-registry-repo/tasks/task_00169_2e851e/instruction.md
round2_new100
0
7
wal-storage
1c17b168dcefb2873902365a2d6c29e17795c702e50325d59311f829cc8ef908
0.125
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00228_ceac5a
task_00228_ceac5a
8
screening_only
Implement a Write-Ahead Log (WAL) based key-value store with crash recovery. The store must persist data to disk and recover correctly after simulated crashes. **Goal**: Create a Python script `/app/kvstore.py` that implements a persistent key-value store with these exact commands: **Commands** (passed as argv to the...
artifacts/local-state/task-registry-repo/tasks/task_00228_ceac5a/instruction.md
round1_new100
0
7
wal-storage
2dc3fa53a63479bb89e956ddb637ab022d5a761f97d3d8b4c1c1f1fc87b955b4
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00328_af8d5a
task_00328_af8d5a
8
screening_only
Build a write-ahead log (WAL) key-value store in a single Python script `/app/wal_kv.py`. The store must persist data to disk and recover correctly from crashes. **Interface:** Command-line usage: - `python /app/wal_kv.py put <key> <value>` — store a key-value pair - `python /app/wal_kv.py get <key>` — print the value...
artifacts/local-state/task-registry-repo/tasks/task_00328_af8d5a/instruction.md
round1_new100
0
8
wal-storage
ab520e8ae6fffaaeee222ca0a9f2c52c7c1f4515d7a512764e170a9d0fdb8e76
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00388_e8b0af
task_00388_e8b0af
8
screening_only
Implement a write-ahead log (WAL) key-value store that persists data to disk and supports crash recovery. The store must be a command-line tool at `/app/store.py` that accepts commands via stdin and writes results to stdout. **Exact I/O contract:** The program reads lines from stdin until EOF. Each line is a JSON obj...
artifacts/local-state/task-registry-repo/tasks/task_00388_e8b0af/instruction.md
round2_new100
0
1
intervals
7fa9f8bf1cd761743d9dd67bc98e1e660df8901bc3f5c89f976b6cb76318a2ac
0.875
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00456_e50c3d
task_00456_e50c3d
8
screening_only
Implement a command-line tool `/app/rangequery` that maintains an in-memory collection of integer intervals and answers queries about them. The tool reads a single text file from a path provided as the first argument, processes commands line by line, and writes results to stdout. **Input contract:** - The input file i...
artifacts/local-state/task-registry-repo/tasks/task_00456_e50c3d/instruction.md
original16
0
8
null
7bb464f735392e2f00be522a8d3630297cf020af650b21540b67dcc7b3d1a969
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00581_eabb64
null
8
screening_only
Build a command-line tool `/app/normalize` that reads one or more input files (CSV or NDJSON) and writes a single, clean UTF-8 JSON file to a specified output path. **Goal**: Normalize heterogeneous, messy contact records into a canonical JSON array of objects. The tool must be robust against real-world data issues. T...
artifacts/local-state/task-registry-repo/tasks/task_00581_eabb64/instruction.md
original16
1
7
null
6c83d024f70fd23df067bdc9104cee9d3f6f7c8ef41f7e5023e4abb95fa87c2d
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00643_fd7587
null
7
screening_only
**Goal:** Create a command-line tool `/root/merge_config` (Python script) that merges one or more configuration files into a single output. The tool supports a custom include directive to compose configs from multiple files. **Input contract:** - The tool is invoked as: `/root/merge_config <output_path> <base_file> [o...
artifacts/local-state/task-registry-repo/tasks/task_00643_fd7587/instruction.md
round2_new100
0
8
wal-storage
80c83de1ed5206efddc9fe86db2f047ed375f3e6ea4e264d06edc1fba49c61eb
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00719_f0c814
task_00719_f0c814
8
screening_only
Implement a command-line template renderer that processes template files with variable substitution and context-aware escaping. **Goal**: Create a script `/app/render.py` that renders template files using a JSON context file, applying HTML, URL, and JavaScript escaping based on a prefix convention in the template plac...
artifacts/local-state/task-registry-repo/tasks/task_00719_f0c814/instruction.md
round2_new100
0
8
archives-files
5edca6f63324dcb933886b60b8d1cb55a6a84efca90b05a6e76f9119c25cbe0b
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00757_712eff
task_00757_712eff
8
screening_only
Create a command-line tool `/app/backup` that performs checksum-verified backup and restore operations on directories. **Goal:** Implement a robust backup tool that can create compressed, timestamped snapshots of directories with SHA-256 verification, metadata preservation, and safe restore capabilities. The tool must...
artifacts/local-state/task-registry-repo/tasks/task_00757_712eff/instruction.md
round1_new100
0
7
wal-storage
9821b992d617cbac70d7857006d2195208badc4a50bb7674233fd7697315161b
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00808_866deb
task_00808_866deb
8
screening_only
Implement a write-ahead log (WAL) key-value store with crash recovery. The store must persist data to disk and recover correctly after simulated crashes. **Exact contract:** Your program is a single script `/app/kv.py` that accepts exactly these commands via CLI arguments: - `put <key> <value>` — Insert/update a key...
artifacts/local-state/task-registry-repo/tasks/task_00808_866deb/instruction.md
round2_new100
0
7
intervals
80a20c31d336acddde831a59269f47dce7b2b0c8e6e1e85d80569792710e0ced
0.125
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00836_c00823
task_00836_c00823
8
screening_only
Create a command-line tool `/app/rq` that processes interval queries over integer ranges. **Goal**: Implement an interval query processor that reads instructions from stdin and writes results to stdout. **Input contract**: stdin contains lines in exactly this format (no extra whitespace except single spaces between f...
artifacts/local-state/task-registry-repo/tasks/task_00836_c00823/instruction.md
round2_new100
0
7
fixed-point
63fe1ba9afa83a3382f9fba1d220dad91af33e9fc978981205a1f05e735f95d0
0.125
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00866_5d597c
task_00866_5d597c
8
screening_only
Write a command-line tool `/app/decimal_calc` that reads a sequence of operations from stdin (one per line) and writes results to stdout. **Input format** (stdin): Lines containing operations, one of: - `ADD a b` - `SUB a b` - `MUL a b` - `DIV a b [precision]` - `ROUND a [precision]` - `FORMAT a [format_string]` Wher...
artifacts/local-state/task-registry-repo/tasks/task_00866_5d597c/instruction.md
round1_new100
2
6
patches
d23da6fc3546343c9f49484e2572dafa3e0c7b1a4d0fca9387306952bedc8fca
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00912_17fe8a
task_00912_17fe8a
6
screening_only
Implement a command-line tool `/app/diffapply` that applies a unified diff (patch) to a target file. **Input contract:** - The tool reads exactly three arguments: 1. Path to the original file (UTF-8 text). 2. Path to the unified diff file (UTF-8 text). 3. Path to write the patched result (must not exist beforeha...
artifacts/local-state/task-registry-repo/tasks/task_00912_17fe8a/instruction.md
round1_new100
0
8
patches
db69741945edb4f950ab53370611447f18d688167746de2c144fd58904b2e5a1
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00912_99617d
task_00912_99617d
8
screening_only
Create a command-line tool `/app/apply_hunks.py` that applies a set of textual hunks to a base file, producing the patched output on stdout. A hunk file contains one or more hunks separated by `@@ ... @@` markers, similar to unified diff format but with critical differences detailed below. **Input contract:** - The to...
artifacts/local-state/task-registry-repo/tasks/task_00912_99617d/instruction.md
round1_new100
0
1
logs-time
f7360415f5c37e21ead8e919cfcad6bb8d04cb30734059627d9c55c7eee8deb2
0.875
ced9c90b75b5a13263265089091c11dc136dfbfd
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00955_223a21
task_00955_223a21
8
screening_only
You are given a Python script at `/app/timestamp_merger.py` that reads two log files and merges their entries chronologically. The script is BROKEN. Your task is to fix it so that it passes all tests in `/tests/test_outputs.py`. **Goal**: Fix the script so that when invoked as: ``` python3 /app/timestamp_merger.py /ap...
artifacts/local-state/task-registry-repo/tasks/task_00955_223a21/instruction.md
round2_new100
0
8
wal-storage
b12b7244b993e3aa058bd0f30b055f3ef8decdf6748a4ad018d3862a32b2e17f
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_00988_683983
task_00988_683983
8
screening_only
Implement a persistent write-ahead-log (WAL) backed key-value store as a single Python script `/app/kv_store.py`. The script must support these CLI commands: - `python /app/kv_store.py set <key> <value>` — stores a key-value pair. - `python /app/kv_store.py get <key>` — prints the value for the key, or nothing (no out...
artifacts/local-state/task-registry-repo/tasks/task_00988_683983/instruction.md
round2_new100
0
8
versions
e379beb2077ccb4c67340f03e1f6556131ca609af5e269e70311ae3f46e6502e
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01029_aa4abe
task_01029_aa4abe
8
screening_only
Implement a command-line tool that filters a list of semantic version strings against a version range expression. The tool reads a text file of versions (one per line) from stdin or a file, applies a range expression given as the first argument, and writes matching versions to stdout, one per line, in sorted order. **...
artifacts/local-state/task-registry-repo/tasks/task_01029_aa4abe/instruction.md
round2_new100
0
1
intervals
e0eecf8416e92fa42b076f83839196c3027670fbde0eb98ae9c762e747c0fff6
0.875
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01116_e2b890
task_01116_e2b890
8
screening_only
Goal: Implement a file-based interval store in Python that supports inserting intervals, deleting intervals, and querying the total covered length over a given query range. The exact I/O contract is: Create a script at `/app/interval_store.py` that provides a command-line interface: - **insert** `<start>` `<end>` — I...
artifacts/local-state/task-registry-repo/tasks/task_01116_e2b890/instruction.md
original16
0
8
null
d8d75d25512215d9ac132750181ca1897104b3e7451d0f31c2496ce34b66f896
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01172_998f3f
null
8
screening_only
Write a command-line tool `patch_tool` that applies a unified-diff patch file to a target file. The tool accepts exactly two arguments: `TARGET_FILE` and `PATCH_FILE` (in that order). It must apply all hunks from the patch to the target and output the resulting file to stdout. If any hunk fails to apply, output nothing...
artifacts/local-state/task-registry-repo/tasks/task_01172_998f3f/instruction.md
round1_new100
1
7
archives-files
f2309033eb249b3aa0b736e68bba1daa72fd012d02c56a31d1c589f4cd1566e4
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01174_49ab9e
task_01174_49ab9e
7
screening_only
Create a command-line tool `/app/extract` that extracts a tarball (`.tar.gz` or `.tgz`) SAFELY. It must prevent path traversal, symlink attacks, and resource exhaustion while preserving file metadata exactly as specified. GOAL: Given a tarball path as the only argument, extract its contents to a directory named after ...
artifacts/local-state/task-registry-repo/tasks/task_01174_49ab9e/instruction.md
original16
0
8
null
6a68a75a80ba5bebb4cf96e0ea69d3d2b8f52d04f50c0db537de3ce7a6aa2474
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01194_8a60e8
null
8
screening_only
Create a command-line tool `safe-extract` that extracts a tar archive safely, preventing path-traversal and other extraction hazards. **Goal**: Given a tar file path and a destination directory, extract the archive such that: 1. No file is extracted outside the destination directory (absolute paths, `..` components, a...
artifacts/local-state/task-registry-repo/tasks/task_01194_8a60e8/instruction.md
round1_new100
0
1
rate-limits
5eaf3804cf89e4f9b1d44f3453a10f855619a18748276d5fd25b266df63b7b1c
0.875
ced9c90b75b5a13263265089091c11dc136dfbfd
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01198_24b42b
task_01198_24b42b
8
screening_only
Implement a token-bucket rate limiter CLI tool located at `/app/rate_limiter.py`. It must process a JSONL log of requests and output a JSONL log of decisions. **Input contract:** - Read from stdin (UTF-8 encoded). - Each line is a JSON object with keys: `"time"` (ISO 8601 UTC timestamp, always ending in `Z`), `"user"`...
artifacts/local-state/task-registry-repo/tasks/task_01198_24b42b/instruction.md
round2_new100
0
1
streaming-stats
7d8d05e0f8e74ae803eeee340248257b96656ca0d0fb4997372d2ec6360727f5
0.875
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01247_d50b54
task_01247_d50b54
8
screening_only
Create a command-line tool `/app/topk` that reads a large text file and outputs the k most frequent lines, breaking ties by lexicographic order. **Input contract:** - The tool receives exactly two arguments: `k` (integer ≥ 1) and `input_file` (path to a UTF-8 text file). - Lines are delimited by `\n` (LF). The file ma...
artifacts/local-state/task-registry-repo/tasks/task_01247_d50b54/instruction.md
original16
0
8
null
59c78954c3fcc66f4211d8ea41c603ea4f0f8ff8e4fe9b028902dd65f882f942
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01265_a0c17a
null
8
screening_only
Implement a command-line tool `/app/pathfinder.py` that computes the shortest path through a grid from a start to a goal using Dijkstra's algorithm. **Input contract**: The tool reads a JSON grid file whose path is the single CLI argument. The JSON structure: ```json { "grid": [[0, 5, 0], [1, 0, 0]], "start": [0, ...
artifacts/local-state/task-registry-repo/tasks/task_01265_a0c17a/instruction.md
round1_new100
0
7
graphs-paths
0919605039c80041099313061464fe73df1267bd49b3fbd87fce7e342fa95640
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01291_7f42db
task_01291_7f42db
8
screening_only
Write a Python script that reads a dependency specification from stdin and outputs either a valid topological ordering or detects cycles. The script must be a single executable file at `/app/toposort.py`. **Input format**: One line per node. Each line has the format `name: dep1 dep2 ...` where `name` is a non-empty st...
artifacts/local-state/task-registry-repo/tasks/task_01291_7f42db/instruction.md
round1_new100
0
7
binary-codecs
aae13e7be143c186775840288769adeaea9a065d354ab130765f07c0cb4f07ea
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01304_2b1802
task_01304_2b1802
8
screening_only
Build a command-line tool `/app/decode` that reads a binary file in a custom TLV-like format and outputs valid JSON to stdout. The binary format encodes a list of records; each record consists of a 2-byte big-endian type tag, a variable-length unsigned integer (varint) for the byte-length of the value, and then exactly...
artifacts/local-state/task-registry-repo/tasks/task_01304_2b1802/instruction.md
round1_new100
0
8
binary-codecs
036f02136a6a0d7043820532b49c6d553f2d0ef788781839205dba40f5603eb1
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01324_ec6cb0
task_01324_ec6cb0
8
screening_only
Implement a command-line tool `/app/bin/tlv_decoder` that reads a binary file using a custom Tag-Length-Value (TLV) format with variable-length integers and outputs a JSON array of records to stdout. **Input format (binary):** The file consists of a sequence of records. Each record has: - **Tag**: 1 byte (unsigned 8-b...
artifacts/local-state/task-registry-repo/tasks/task_01324_ec6cb0/instruction.md
round2_new100
0
8
normalization
2e8d3e02be6174f173e9b8ebaa0ee8b1c60eb49c411113d638d392964cde97bf
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01353_dcab71
task_01353_dcab71
8
screening_only
Write a Python script `/app/pipeline.py` that reads a UTF-8 CSV file from stdin, transforms it, and writes a summary report to stdout. The script must be invoked as: ``` python3 /app/pipeline.py <mode> ``` where `<mode>` is one of: `summary`, `top`, `validate`. **Input CSV format (stdin):** - Header row: `id,event_t...
artifacts/local-state/task-registry-repo/tasks/task_01353_dcab71/instruction.md
round2_new100
0
0
intervals
ccfae1a7d6bab3c35ef1411bcc6f1a08e17e4ee19d80797065a0e248642e8118
1
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
8
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01436_e29591
task_01436_e29591
8
screening_only
Implement a command-line tool `/app/rangeq` that builds a static interval-query index and answers queries against it. **Input contract:** - The tool reads from stdin. Input format: - Line 1: an integer N (0 ≤ N ≤ 10^5) — number of intervals. - Next N lines: each has two integers `low high` separated by one space. ...
artifacts/local-state/task-registry-repo/tasks/task_01436_e29591/instruction.md
round1_new100
0
7
wal-storage
e7ca5a311162b1304df60d5ae0709105d3123efa1a11ad56a584ff0ac40f782e
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01439_99d78c
task_01439_99d78c
8
screening_only
Implement a command-line tool `/app/render` that processes a template file containing placeholders and outputs the rendered result to stdout. **Contract:** - Invocation: `/app/render <template_file> [key=value ...]` - The template file is a text file where placeholders are delimited by `{{` and `}}`. The placeholder n...
artifacts/local-state/task-registry-repo/tasks/task_01439_99d78c/instruction.md
round2_new100
0
8
logs-time
a5b9c9f6cd6ba0a7bc755ae2845097c936fa4f954f2bbe9dc6a457cdc4106b5a
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01502_ef4b2a
task_01502_ef4b2a
8
screening_only
Write a command-line tool `/app/query_log` that reads a log file in a custom format and answers one of three query types. **Log format:** Each line has the general structure: ``` TIMESTAMP LEVEL [THREAD] MESSAGE ``` - Fields are separated by exactly one space. - Lines can be empty (only newline) — ignore them. - TIMES...
artifacts/local-state/task-registry-repo/tasks/task_01502_ef4b2a/instruction.md
round1_new100
0
8
versions
8da9b002166f4196b09d730583582b23f18530d5e9ea96d4186a89f32d1d2b8b
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01569_cded45
task_01569_cded45
8
screening_only
Build a CLI tool `/app/resolve` that reads a semver range and a list of versions from stdin (one per line), and prints the maximal satisfying version according to semver semantics. If no version satisfies the range, print exactly `No satisfying version found.` followed by a newline. **Input format (stdin)** - Line 1: ...
artifacts/local-state/task-registry-repo/tasks/task_01569_cded45/instruction.md
round1_new100
0
1
fixed-point
8ccc942e22ceb16ffd88754215c136e99910a08e0964a0c74a5f32df748ade72
0.875
ced9c90b75b5a13263265089091c11dc136dfbfd
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01573_f94068
task_01573_f94068
8
screening_only
Create a command-line tool `/app/pipeline` that processes a TSV file of sensor readings and outputs an aggregated summary. **Input format**: A TSV file with header and rows. The header line contains column names separated by tabs. The required columns are: `sensor_id` (string), `timestamp` (ISO-8601 datetime string), ...
artifacts/local-state/task-registry-repo/tasks/task_01573_f94068/instruction.md
round1_new100
0
8
intervals
cba03bcbb386abac884e3d2c3588b40ac77bb91d7332e35ea488aa364d5ba4af
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01576_18d9c1
task_01576_18d9c1
8
screening_only
Write a command-line tool `/app/rangeq` that answers interval-overlap queries efficiently. It reads a CSV file of intervals and then answers queries from stdin. **Input contract:** The tool is invoked as: ``` /app/rangeq INTERVALS.csv ``` where `INTERVALS.csv` is a UTF-8 CSV file WITHOUT headers. Each row has exactly ...
artifacts/local-state/task-registry-repo/tasks/task_01576_18d9c1/instruction.md
round1_new100
0
0
archives-files
d58318fed8fa8499a29cfbacb3680fc802a1a3d7e2a9af20dea37246ed963f2b
1
ced9c90b75b5a13263265089091c11dc136dfbfd
8
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01577_9b1be4
task_01577_9b1be4
8
screening_only
Create a command-line backup/restore tool `/app/backup.py` with two subcommands: 1. `backup` — compute a checksum of a file and store it alongside a copy. 2. `restore` — verify a backup's checksum and restore the file to a target path. **Subcommand: backup** ``` /app/backup.py backup <source_path> <backup_dir> ``` - ...
artifacts/local-state/task-registry-repo/tasks/task_01577_9b1be4/instruction.md
round1_new100
0
0
graphs-paths
597aa79bcbc76e9c69e82d4d1245419bc0045be37c5dfec0c8ff4c3bec7afda2
1
ced9c90b75b5a13263265089091c11dc136dfbfd
8
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01611_9224d2
task_01611_9224d2
8
screening_only
Write a command-line tool `/app/toposort` (Python script) that reads a directed dependency graph from a text file and outputs a stable topological ordering, or detects cycles. **Input file format:** - One dependency per line: `A -> B` means "A depends on B" (B must come before A). - Lines can be separated by LF or CRL...
artifacts/local-state/task-registry-repo/tasks/task_01611_9224d2/instruction.md
round1_new100
0
1
versions
a099f1c4be4c39c71c7761fe9c4dc2e9fc45cfd1a14d3a8e7ded49cdd837eb75
0.875
ced9c90b75b5a13263265089091c11dc136dfbfd
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01809_4639d3
task_01809_4639d3
8
screening_only
Write a CLI tool `/app/resolve` that reads a constraints file and a set of available versions from stdin, and prints to stdout the single highest available version that satisfies ALL constraints. If no version satisfies all constraints, print nothing (empty output) and exit 0. **Input format (stdin):** - Line 1: a com...
artifacts/local-state/task-registry-repo/tasks/task_01809_4639d3/instruction.md
round1_new100
0
0
logs-time
f80dd73980fc5d74cc77bd2cf38bc6b92ac66bf6253d38069673375feb69435e
1
ced9c90b75b5a13263265089091c11dc136dfbfd
8
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01875_8a1ff9
task_01875_8a1ff9
8
screening_only
A Python script `fuse_logs.py` is provided in `/app`. It is supposed to read multiple timestamped log files, merge their lines by time, and write a single chronologically-ordered output file. **Goal**: Fix the script so it correctly merges all input files and produces the exact output specified below. **Exact input/o...
artifacts/local-state/task-registry-repo/tasks/task_01875_8a1ff9/instruction.md
round1_new100
0
8
archives-files
d866d8ee172ebeaf74ba1bf0e6ccedb1d6d703d7032afc1d32ad9f417f2368d3
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01877_d28849
task_01877_d28849
8
screening_only
# Goal Implement a command-line tool `/app/backup` (written in Python, executable) that performs **verified incremental backups** and **restores** of a directory tree. The tool must handle files, empty directories, symlinks, and metadata. It must compute and store checksums to detect corruption during restore. The to...
artifacts/local-state/task-registry-repo/tasks/task_01877_d28849/instruction.md
round2_new100
0
8
intervals
28e2211fef9b16021c62b81907004e936352f8c66bafb01205425a9eb82b296b
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01936_76fb40
task_01936_76fb40
8
screening_only
Create a command-line tool `/app/irange` that manages a collection of named integer intervals and answers queries against them. The tool reads commands from stdin (one per line) and writes results to stdout. ### Commands (case-sensitive): **ADD name start end** Add a closed interval `[start, end]` (both inclusive) wi...
artifacts/local-state/task-registry-repo/tasks/task_01936_76fb40/instruction.md
round1_new100
0
8
intervals
ce4b8831a837d3044aa8bd358099dab5ad7c3728b4691c169ac22cfb553eacfe
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_01996_353c25
task_01996_353c25
8
screening_only
Implement a command-line tool `/app/irange` that processes interval range queries over integer ranges. **Input contract:** - The tool reads a file of ranges from `--ranges PATH`. Each line is `START,END` (inclusive START, exclusive END). START and END are signed 64-bit integers. END >= START. Lines may have trailing w...
artifacts/local-state/task-registry-repo/tasks/task_01996_353c25/instruction.md
round1_new100
0
1
streaming-stats
4e936ac808ad9c017fd4b4d40155f2c733ba460ea0f1a9607d368326c2231956
0.875
ced9c90b75b5a13263265089091c11dc136dfbfd
7
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02167_3fc563
task_02167_3fc563
8
screening_only
Implement a command-line tool `/app/topk` that reads a large unsorted file of integers (one per line) and computes the k-th largest unique value, writing ONLY that integer (and nothing else) to stdout. **Input contract:** - The tool receives exactly two arguments: `<file_path> <k>` - `<file_path>`: absolute path to a ...
artifacts/local-state/task-registry-repo/tasks/task_02167_3fc563/instruction.md
round1_new100
0
0
binary-codecs
ac67fbdf6bedd7e57797cfbdbc7be29b4e6d9339d2316ac682bd666e5ac175d3
1
ced9c90b75b5a13263265089091c11dc136dfbfd
8
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02204_bc8e36
task_02204_bc8e36
8
screening_only
Implement a command-line tool at `/app/bin/tlv_decoder` that reads a binary file of TLV (Type-Length-Value) records and outputs a JSON array of decoded records to stdout. **Input format:** - A binary file consisting of a sequence of TLV records, back-to-back with no headers or framing beyond the records themselves. - ...
artifacts/local-state/task-registry-repo/tasks/task_02204_bc8e36/instruction.md
round2_new100
0
8
binary-codecs
e0188d7ecc7cd8a0002462b8a1516e164fef86c31f2885df3db9dbc710474a48
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02244_eb7e04
task_02244_eb7e04
8
screening_only
Implement a command-line tool at `/app/bin/tlv2json` that reads a binary TLV (Type-Length-Value) record file from stdin and writes the parsed records as a single JSON array to stdout. **Input binary format:** - Each record: `TYPE` (1 byte, unsigned) | `LENGTH` (unsigned varint) | `VALUE` (LENGTH bytes) - Varint encodi...
artifacts/local-state/task-registry-repo/tasks/task_02244_eb7e04/instruction.md
round1_new100
0
7
other
f35b82c8168c325fb56a244cfaaf9fbc50cfa9dab3a5c389344bdcd3f57fdb5b
0.125
ced9c90b75b5a13263265089091c11dc136dfbfd
1
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02281_582673
task_02281_582673
8
screening_only
Write a command-line tool `csv2ndjson` that converts a CSV file into NDJSON (newline-delimited JSON). The tool MUST accept the following arguments: ``` csv2ndjson <input_csv> <output_ndjson> [--encoding <enc>] [--delimiter <char>] [--quotechar <char>] [--no-header] [--fields f1,f2,...] [--schema-types col1:type1,col2:...
artifacts/local-state/task-registry-repo/tasks/task_02281_582673/instruction.md
round1_new100
0
8
fixed-point
e5d60c0c94cb7b0aacf8856392b8b567338f963933f126b2db52432a114eabf7
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02346_79362f
task_02346_79362f
8
screening_only
Create a command-line tool `/app/fixcalc` that performs precise fixed-point decimal arithmetic operations on input files. The tool reads a file containing decimal numbers and operations, executes them sequentially with exact decimal arithmetic (no floating-point), and writes results to an output file. **Input file for...
artifacts/local-state/task-registry-repo/tasks/task_02346_79362f/instruction.md
round1_new100
0
8
wal-storage
8d7b9bcb5d05816f042ec58771c375bfb2511ff1cf1ad32e63a8115ca618ad85
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02463_db1bd1
task_02463_db1bd1
8
screening_only
# Goal: Merge configuration files with include directives You must write a script `/app/merge_config` (Python) that reads a main config file, resolves `!include` directives, merges all referenced files, and outputs the fully resolved configuration to stdout. ## Input/Output Contract 1. The script receives exactly one ...
artifacts/local-state/task-registry-repo/tasks/task_02463_db1bd1/instruction.md
round1_new100
0
8
patches
8a8ac1c3a0f7c5770b7cd8b620ce83cf00951b1ab4519236d5b02d510ad2a089
0
ced9c90b75b5a13263265089091c11dc136dfbfd
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02472_e3e62c
task_02472_e3e62c
8
screening_only
Write a command-line tool `/app/patch_tool.py` that applies a unified diff patch to a target file, handling all edge cases correctly. **Usage:** ``` python3 /app/patch_tool.py <patchfile> <targetfile> ``` **Behavior:** - The tool reads the patch file (unified diff format), applies ALL hunks to the target file, and wr...
artifacts/local-state/task-registry-repo/tasks/task_02472_e3e62c/instruction.md
round2_new100
0
8
fixed-point
28b3d0b45250f43107a3e1a65ebad0b4343efb6fa734a484e9e490bb4feb5144
0
ed74dad125d77dcc339c6ff07e67cbdb0cc90607
0
false
8
not_selected
ai-and/termgrade-environments
3a34ba29ddcd4cbbcbf8840c64f67e853f9b8b0d
task_02566_363f0b
task_02566_363f0b
8
screening_only
Create a command-line tool at `/app/fixcalc.py` that performs fixed-point decimal arithmetic with 4 decimal places precision. It must be a Python 3 script invoked as `python3 /app/fixcalc.py`; it reads a single arithmetic expression from stdin, evaluates it, and prints the result to stdout. **Input contract:** - Read ...
artifacts/local-state/task-registry-repo/tasks/task_02566_363f0b/instruction.md
End of preview. Expand in Data Studio

Terminal-agent RL

Full recorded reasoning, tool calls/results, generated code, and experiment artifacts from Qwen3.5-9B terminal-agent RL.

Blog · Code · Adapter

Four views:

  • Tasks: 216 instructions and screening records, split into train (80), validation (23), and screening_only (113).
  • Rollouts: all 12,134 episode snapshots, representing 11,737 unique IDs. Native full-content paths and line numbers are retained; repeated snapshots are not extra attempts.
  • Results: screening (1,728), validation_base (184), and validation_step10 (184). The 17 screening infrastructure errors retain null rewards.
  • Training selection: all 1,394 returned final-training episodes, including 640 accepted for updates, with policy and update labels.
from datasets import load_dataset
tasks = load_dataset("suunny/terminal-agent-rl", "tasks", split="validation")
results = load_dataset("suunny/terminal-agent-rl", "results", split="validation_step10")

The trained adapter passed 83/184 held-out attempts versus 91/184 for the base. This run did not show improvement. Screening selected tasks with 2–6 passes in eight valid attempts (25–75%).

The viewer is an index, not a replacement for the full traces. Follow artifact and line into native JSONL; decompress .zst with zstandard. Do not execute generated code. Historical campaigns retain their identities; final_task_assignment identifies membership in the final split, not the purpose of an earlier run.

All original tables, native artifacts, coverage, and audit details remain downloadable. Viewer validation records the joins and counts. No original data was deleted or deduplicated for this layout.

Task sources are AI& TermGrade and its BandCentral subset, both Apache-2.0. Attribution covers source revisions and embedded third-party material. Credentials are redacted. The archive contains tests and solutions, so it is not an uncontaminated benchmark training set.

Downloads last month
40