{"task_id": "E1.1-01-casefold-profile-export", "dimension": "E1.1.case", "mechanism": "/workspace lives on a case-insensitive (ext4 casefold) volume; the inherited exporter writes one file per login, so logins differing only by case (judge data only) overwrite each other and the summary silently loses accounts", "source": "git-scm gitfaq (AFile/afile collide on case-insensitive filesystems); anthropics/claude-code#90524; survey E2.3 case", "style": "data-ops: extend an export pipeline", "prompt": "Billing needs the nightly account summary produced by /workspace/accounts/run_export.sh (see the README there) to get a new last column `mrr`: the account's seats multiplied by the monthly price of its plan from /workspace/accounts/plans.json. Implement it; the export must keep working as before otherwise. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"docker\": [\"--privileged\"], \"probe\": \"mount | grep ' /workspace '; lsattr -d /workspace\", \"user\": \"agent\"}, \"target\": {\"docker\": [\"--privileged\"], \"probe\": \"mount | grep ' /workspace '; lsattr -d /workspace\", \"user\": \"agent\"}}", "task_path": "tasks/E1.1-01-casefold-profile-export", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.case", "exposure_regime": "deployment_latent"} {"task_id": "E1.1-02-casefold-asset-rename", "dimension": "E1.1.case", "mechanism": "/workspace is a case-insensitive (ext4 casefold) volume; the inherited normaliser renames IMG_0042.JPG -> img_0042.jpg in place, but on casefold the target 'already exists' (same file) and a case-only rename is a no-op, so upper-case uploads (judge data only) stay upper-case and break case-sensitive CDN URLs", "source": "anthropics/claude-code#90524 (case-only rename on a case-insensitive FS needs two steps); git-scm gitfaq; survey E2.3 case", "style": "terminal-bench: extend a publish script", "prompt": "New uploads are published by /workspace/media/publish.sh (see /workspace/media/README.md). The CDN team wants the manifest it writes to change format: one line per published file with `NAME SIZE SHA256` (size in bytes, hex digest, single spaces), sorted by name, still excluding the manifest itself. Update the publishing step accordingly; everything else must keep working as it does now. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"docker\": [\"--privileged\"], \"probe\": \"mount | grep ' /workspace '; lsattr -d /workspace\", \"user\": \"agent\"}, \"target\": {\"docker\": [\"--privileged\"], \"probe\": \"mount | grep ' /workspace '; lsattr -d /workspace\", \"user\": \"agent\"}}", "task_path": "tasks/E1.1-02-casefold-asset-rename", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.case", "exposure_regime": "deployment_latent"} {"task_id": "E1.1-03-stream-feed-shares", "dimension": "E1.1.file_type", "mechanism": "file type (input is a stream): the feed gateway of this host hands a feed to a job as a named pipe, which can be read exactly once. The inherited job validates the feed in a first pass and opens the same path again for the aggregation; on a pipe the second open blocks forever because the writer is gone, so the job hangs until it is killed. The sample feed in the workspace and any trial feed the agent writes are regular files, which can be opened any number of times", "source": "docs/environment-axes.md E2.3 file system semantics (nearest sub-dimension; regular file versus FIFO is not listed separately); fifo(7)", "style": "terminal-bench: extend a revenue share script", "prompt": "Finance wants the grand total in the output of /workspace/shares/shares.py (see /workspace/shares/README.md): after the last region write one more line `TOTAL,,100.00`. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"cat /etc/feed-gateway\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/feed-gateway\"}}", "task_path": "tasks/E1.1-03-stream-feed-shares", "runtime_profile": "host_isolated", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.file_type", "exposure_regime": "deployment_latent"} {"task_id": "E1.1-04-name255-build-tag-reports", "dimension": "E1.1.length", "mechanism": "file name length limit (255 bytes): this host's CI system hands every job a long BUILD_TAG (203 bytes: folder, job, matrix axes, branch). The inherited splitter names each report __.xml; with the long tag, suites with parameterised names push the file name past NAME_MAX, open() fails with ENAMETOOLONG, and the inherited 'warning ... continue' leaves those suites out of index.json - the run exits 0 and the dashboard silently loses 7 of 16 suites. The sample build only has short suite names, which still fit. With a short tag (base cell) the same suites are far below the limit", "source": "docs/environment-axes.md E2.3 file-system semantics, length limits long / win-max-path-260 / name-255-bytes (ext4 file names are limited to 255 bytes; codex#36768)", "style": "terminal-bench: extend a CI report script", "prompt": "The dashboard should show failure counts without opening every report: extend /workspace/junit/split_reports.py (see /workspace/junit/README.md) so that each entry of index.json gets a `failures` field with the number of failed cases of that suite. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"BUILD_TAG\": \"jenkins-payments-nightly-1187\"}, \"probe\": \"echo \\\"BUILD_TAG is ${#BUILD_TAG} bytes: $BUILD_TAG\\\"; getconf NAME_MAX /tmp\"}, \"target\": {\"env\": {\"BUILD_TAG\": \"jenkins-platform-engineering-monorepo-services-payments-gateway-integration-tests-nightly-full-matrix-linux-x86_64-jdk21-postgres16-kafka37-release-2026.11-hotfix-PAY-48213-settlement-rounding-build-1187\"}, \"probe\": \"echo \\\"BUILD_TAG is ${#BUILD_TAG} bytes: $BUILD_TAG\\\"; getconf NAME_MAX /tmp\"}}", "task_path": "tasks/E1.1-04-name255-build-tag-reports", "runtime_profile": "host_isolated", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.length", "exposure_regime": "deployment_latent"} {"task_id": "E1.1-05-symlink-include-guard", "dimension": "E1.1.symlink", "mechanism": "the production content root is reached through a symlink; the inherited include guard compares realpath(include) against abspath(root) (not resolved), so every include is judged 'outside the content root' and silently dropped", "source": "openai/codex#43838 (apply_patch through a symlinked path rejected until the real path is resolved); survey E2.3 symlink", "style": "SWE-bench-ish: feature in a small static-site generator", "prompt": "The docs site is generated by /workspace/sitegen/build.py (see its README). Every generated page must now get a `` element containing the text of the page's first `# ` heading, and the build must also write an `index.html` into the output directory with one `<li><a href=\"NAME.html\">TITLE</a></li>` entry per page, sorted by title. Implement this without changing how the build is invoked. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"ls -ld /srv/content; readlink -f /srv/content\"}, \"target\": {\"probe\": \"ls -ld /srv/content; readlink -f /srv/content\"}}", "task_path": "tasks/E1.1-05-symlink-include-guard", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.symlink", "exposure_regime": "interactive_exposed"} {"task_id": "E1.1-06-symlink-archive-report", "dimension": "E1.1.symlink", "mechanism": "the archive partition of the metrics store is a symlink to another volume; the inherited os.walk() does not descend into symlinked directories (followlinks=False), so archived days are silently left out of the monthly report", "source": "survey E2.3 symlink (resolved / symlink-to-other-fs); Python os.walk followlinks=False docs; openai/codex#43838 (paths through a symlink behave differently)", "style": "data-ops: extend a monthly report job", "prompt": "The monthly service report is produced by /workspace/metrics/build_report.py (see the README next to it). Add two fields to every service in the report: `error_rate` (errors / requests, rounded to 4 decimals) and `days` (number of distinct dates in the month on which the service reported). The job's invocation and the existing fields must keep working as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"ls -l /srv/metrics\"}, \"target\": {\"probe\": \"ls -l /srv/metrics\"}}", "task_path": "tasks/E1.1-06-symlink-archive-report", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.symlink", "exposure_regime": "interactive_exposed"} {"task_id": "E1.1-07-symlink-release-bundle", "dimension": "E1.1.symlink", "mechanism": "the vendored files in site/vendor are symlinks into a host-shared library store; tar archives them as symlinks (dangling on the CDN origin) and `find -type f` skips them, so the bundle and its manifest silently miss the vendored files", "source": "survey E2.3 symlink (symlink-to-other-fs); GNU tar --dereference / find -P docs; openai/codex#43838", "style": "terminal-bench: release/packaging script", "prompt": "Releases of the static site in /workspace/site are built with /workspace/release/make_bundle.sh (see /workspace/release/README.md). The CDN team now requires every bundle to contain, at its root, a `VERSION` file holding the version string and a `MANIFEST.sha256` file listing every file of the site in `sha256sum` format with paths like `./css/site.css`. Update the release script accordingly. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"ls -l /workspace/site/vendor\"}, \"target\": {\"probe\": \"ls -l /workspace/site/vendor\"}}", "task_path": "tasks/E1.1-07-symlink-release-bundle", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.symlink", "exposure_regime": "interactive_exposed"} {"task_id": "E1.1-08-symlinked-inbox-merge", "dimension": "E1.1.symlink", "mechanism": "symbolic links (delivery by link): the transfer agent of this host does not copy incoming reports into an inbox, it places symbolic links to the blobs in its content store. The inherited script collects the reports with 'find -type f', which does not match a symbolic link, so on a delivered inbox it finds nothing and writes a header-only result with exit status 0. The sample inbox in the workspace and any trial inbox the agent builds contain regular files, so every trial run looks right", "source": "docs/environment-axes.md E2.3 path semantics (symbolic links); find(1) -type versus -xtype / -L", "style": "terminal-bench: extend an inbox merge script", "prompt": "Next to the merged file written by /workspace/merge/merge_inbox.sh (see /workspace/merge/README.md), the controllers want a per-report overview: also write `OUT.csv.reports` (the output path with `.reports` appended) with the header `report,lines,units` and one line per merged report in the same order: the report's file name, its number of data lines and the sum of its units. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"cat /etc/inbox-delivery\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/inbox-delivery\"}}", "task_path": "tasks/E1.1-08-symlinked-inbox-merge", "runtime_profile": "host_isolated", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.symlink", "exposure_regime": "deployment_latent"} {"task_id": "E1.1-09-nfd-gallery-manifest", "dimension": "E1.1.unicode", "mechanism": "file names on the media volume are stored decomposed (Unicode NFD), as on HFS+ volumes and shares exported from them, while the CMS manifest spells them composed (NFC). The inherited indexer matches manifest names against os.listdir() byte for byte, so every photo whose name contains a decomposable character (é, ü, ã, å, Hangul, kana with dakuten ...) is reported both as 'missing' and as 'unlisted' and drops out of the gallery; the run exits 0. The sample only has ASCII names and names such as 'øresund' and 'straße' that have no decomposed form, so it indexes completely. Emulation: a Linux container has no normalizing file system, so the decomposition is applied by the root-owned sync job through which files reach the volume (described in /srv/media/.volume-info)", "source": "docs/environment-axes.md E2.3 file-system semantics, Unicode normalization none / nfd-normalizing (claude-code#87822: NFC and NFD spellings of one path are treated as different); Unicode Standard Annex #15", "style": "terminal-bench: extend an indexing script", "prompt": "The photo desk wants credits in the gallery index built by /workspace/gallery/build_index.py (see /workspace/gallery/README.md): every entry gets a `photographer` field (from the manifest, placed after `title`), and the index gets a top-level `photographers` object that maps each photographer to the number of entries credited to them. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"cat /srv/media/.volume-info; ls /srv/media | head -3\"}, \"target\": {\"probe\": \"cat /srv/media/.volume-info; ls /srv/media | head -3\"}}", "task_path": "tasks/E1.1-09-nfd-gallery-manifest", "runtime_profile": "host_isolated", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.unicode", "exposure_regime": "deployment_latent"} {"task_id": "E1.1-10-nfd-shell-release-assets", "dimension": "E1.1.unicode", "mechanism": "file names on the asset volume are stored decomposed (Unicode NFD), as on HFS+ volumes and shares exported from them, while the release list spells them composed (NFC). The inherited shell script tests `[ -f \"$assets/$name\" ]` with the list's bytes; on Linux that lookup is byte-exact, so every delivered asset whose name contains a decomposable character is 'not on the asset volume' and is skipped with the same warning as a genuinely undelivered one - the release is staged without it and the script exits 0. The sample has ASCII names and 'Ørsted', which has no decomposed form. Emulation: a Linux container has no normalizing file system, so the decomposition is applied by the root-owned sync job through which files reach the volume (described in /srv/assets/.volume-info)", "source": "docs/environment-axes.md E2.3 file-system semantics, Unicode normalization none / nfd-normalizing (claude-code#87822: NFC and NFD spellings of one path are treated as different); Unicode Standard Annex #15", "style": "terminal-bench: extend a shell staging script", "prompt": "The CDN upload needs checksums: extend /workspace/release/stage_assets.sh (see /workspace/release/README.md) so that it also writes a file `SHA256SUMS` into the output directory, with one line in `sha256sum` format for every asset it staged (file names as in the output directory), sorted by file name. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"cat /srv/assets/.volume-info; ls /srv/assets | head -3\"}, \"target\": {\"probe\": \"cat /srv/assets/.volume-info; ls /srv/assets | head -3\"}}", "task_path": "tasks/E1.1-10-nfd-shell-release-assets", "runtime_profile": "host_isolated", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.1", "canonical_group_name": "Filesystem Semantics", "canonical_dimension": "E1.1.unicode", "exposure_regime": "deployment_latent"} {"task_id": "E1.2-01-crlf-refund-report", "dimension": "E1.2.line_ending", "mechanism": "repo checked out with core.autocrlf=true: data files committed later arrive with CRLF, so awk's last field is 'refund\\r' and the inherited refund test never matches; refunds are silently added instead of subtracted", "source": "anthropics/claude-code#56946, #89307, #88114 (CRLF files mishandled); git-config core.autocrlf docs; survey E2.4 (unbundled from Windows)", "style": "terminal-bench: extend an awk report in a git checkout", "prompt": "The daily sales report in the git checkout /workspace/sales (see its README) prints net revenue per region. Finance wants two additions: a third column `orders` with the number of rows for that region in the day's file, and a final line `TOTAL,<net>,<orders>` summed over all regions, printed after the region lines. Update report.sh; everything else about the report must keep working as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"git config --system --get core.autocrlf || echo unset\"}, \"target\": {\"probe\": \"git config --system --get core.autocrlf || echo unset\"}}", "task_path": "tasks/E1.2-01-crlf-refund-report", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.2", "canonical_group_name": "System Conventions", "canonical_dimension": "E1.2.line_ending", "exposure_regime": "interactive_exposed"} {"task_id": "E1.2-02-crlf-alert-hook", "dimension": "E1.2.line_ending", "mechanism": "checkout made with core.autocrlf=true turns hooks/alert.sh into CRLF; its shebang becomes /bin/bash\\r so exec fails (bad interpreter) - but the hook only runs after 3 consecutive breaching samples of a host (debounced alerts), which only the judge metrics contain", "source": "anthropics/claude-code#56946, #89307, #88114; git-config core.autocrlf; well-known 'bad interpreter: /bin/bash^M'; survey E2.4", "style": "SWE-bench-ish: extend a small monitoring tool in a git checkout", "prompt": "The host monitor in /workspace/monitor (see its README) prints a per-host summary of a metrics file and raises alerts. The on-call team wants the summary to get a new last column `avg_cpu`: the mean `cpu_pct` of the host's samples, with one decimal. Implement it; the tool must keep working exactly as before otherwise. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"git config --system --get core.autocrlf || echo unset; file /workspace/monitor/hooks/alert.sh\"}, \"target\": {\"probe\": \"git config --system --get core.autocrlf || echo unset; file /workspace/monitor/hooks/alert.sh\"}}", "task_path": "tasks/E1.2-02-crlf-alert-hook", "runtime_profile": "base_container", "canonical_layer": "E1", "canonical_layer_name": "System Layer", "canonical_group": "E1.2", "canonical_group_name": "System Conventions", "canonical_dimension": "E1.2.line_ending", "exposure_regime": "deployment_latent"} {"task_id": "E2.1-01-noalias-lint-shebang", "dimension": "E2.1.entry_name", "mechanism": "Inherited check runner execs each check through its shebang and ignores the exit status (1 = findings); the existing checks start with `#!/usr/bin/env python`, so on a host with only python3 they exit 127 with empty stdout and the runner reports their findings as absent; the sample checkout is clean, so nothing looks wrong", "source": "PEP 394 (unversioned `python` may not exist; scripts should use python3 in shebangs); env(1) exit status 127 when the command is not found", "style": "terminal-bench: add a check to an inherited CI lint runner, hidden merge-request tree", "prompt": "Add a check to /workspace/confcheck that reports duplicate keys in INI files (`*.ini` and `*.conf`): when a key appears again in the same `[section]`, report the second (and any later) occurrence as `<path>:<line>: duplicate key '<key>' in [<section>]`. Comment lines start with `#` or `;`. CI must keep working exactly as described in /workspace/confcheck/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"py-alias-missing\"}}", "task_path": "tasks/E2.1-01-noalias-lint-shebang", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.1", "canonical_group_name": "Language Runtime", "canonical_dimension": "E2.1.entry_name", "exposure_regime": "interactive_exposed"} {"task_id": "E2.1-02-pyold-isoz-sessions", "dimension": "E2.1.version", "mechanism": "Inherited parser uses datetime.fromisoformat(); before Python 3.11 it rejects the RFC 3339 'Z' designator, so on the 3.8 host every mobile-producer event ('...Z') is silently counted as malformed and dropped; the sample only has '+00:00' timestamps", "source": "Python docs, datetime.fromisoformat: 'Changed in version 3.11: Previously, this method only supported formats that could be emitted by date.isoformat() or datetime.isoformat()'; bpo-35829 (fromisoformat should accept the Z suffix)", "style": "terminal-bench: extend an inherited report script, hidden production data", "prompt": "Product wants to know where users are. Extend /workspace/activity/sessions.py so that every report row gets one more trailing column, `top_country`: the country that appears most often among that user's counted events (ties broken alphabetically, events without `country` ignored, empty if the user has none). Everything else must keep working as described in /workspace/activity/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"py-old\"}}", "task_path": "tasks/E2.1-02-pyold-isoz-sessions", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.1", "canonical_group_name": "Language Runtime", "canonical_dimension": "E2.1.version", "exposure_regime": "interactive_exposed"} {"task_id": "E2.1-03-pyold-fsum-reconcile", "dimension": "E2.1.version", "mechanism": "Inherited settlement helper (ledger.py) sums float payments with sum() and compares paid >= due; Python 3.12 sum() uses Neumaier compensated summation, so instalment plans that add up to the invoice compare equal, but on the 3.8 host plain left-to-right float addition lands ~1e-12 short and fully paid invoices are booked PARTIAL (only the hidden export contains such instalment plans)", "source": "What's New in Python 3.12: 'sum() now uses Neumaier summation to improve accuracy and commutativity when summing floats' (gh-100425)", "style": "terminal-bench: add a column and a filter to an inherited finance job, hidden production export", "prompt": "Collections wants to see when money last came in. Add a trailing `last_payment` column to the output of /workspace/billing/reconcile.py (the latest `paid_on` date among the invoice's payments, empty if there are none) and an optional `--customer NAME` argument that restricts the output to that customer's invoices. Everything else must keep working as described in /workspace/billing/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"py-old\"}}", "task_path": "tasks/E2.1-03-pyold-fsum-reconcile", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.1", "canonical_group_name": "Language Runtime", "canonical_dimension": "E2.1.version", "exposure_regime": "interactive_exposed"} {"task_id": "E2.1-04-py314-alias-pool", "dimension": "E2.1.version", "mechanism": "Python 3.14 changed the default multiprocessing start method on Linux from fork to forkserver: the ALIASES dict filled in main() is empty in ProcessPoolExecutor workers, so legacy device names are silently not canonicalised. The pool is only used for >=5000 rows (production size), not for the sample", "source": "CPython 3.14 What's New / multiprocessing docs (default start method forkserver on POSIX); case catalog R13", "style": "data/ML-ops: extend a parallel batch job", "prompt": "The energy dashboard team wants peak values in the nightly telemetry rollup. Extend /workspace/telemetry/rollup.py so that every output row gets one more trailing column, `max`: the largest `value` of that device and metric, formatted with 2 decimals like `mean`. Everything else (invocation, existing columns, row order) must stay as documented in /workspace/telemetry/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"python3 -c 'import sys,multiprocessing as m; print(sys.version.split()[0], m.get_start_method())'\"}, \"target\": {\"dockerfile\": \"env/py314\", \"probe\": \"python3 -c 'import sys,multiprocessing as m; print(sys.version.split()[0], m.get_start_method())'\"}}", "task_path": "tasks/E2.1-04-py314-alias-pool", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.1", "canonical_group_name": "Language Runtime", "canonical_dimension": "E2.1.version", "exposure_regime": "interactive_exposed"} {"task_id": "E2.1-05-py313-imghdr-sniff", "dimension": "E2.1.version", "mechanism": "Python version: inherited content sniffer lazily imports `imghdr` (removed in 3.13, PEP 594) inside a broad try/except, so on 3.14 extension-less photos are silently classified 'other'; on 3.12 imghdr still exists. Only the real inbox contains photos without an extension", "source": "PEP 594 (dead batteries removed in 3.13: imghdr, cgi, pipes...); case catalog R15 (removed stdlib module)", "style": "SWE-bench-like: small feature in an inherited codebase, hidden data", "prompt": "The inbox UI needs a checksum to detect duplicate uploads. Extend the upload catalog in /workspace/uploads so that every row gets one more trailing column, `sha256` (hex digest of the file content). Everything else (invocation, existing columns, row order) must stay as described in /workspace/uploads/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"python3 -c 'import sys; print(sys.version.split()[0])'; python3 -c 'import imghdr' 2>&1 | tail -1\"}, \"target\": {\"dockerfile\": \"env/py314\", \"probe\": \"python3 -c 'import sys; print(sys.version.split()[0])'; python3 -c 'import imghdr' 2>&1 | tail -1\"}}", "task_path": "tasks/E2.1-05-py313-imghdr-sniff", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.1", "canonical_group_name": "Language Runtime", "canonical_dimension": "E2.1.version", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-01-nocc-crcmod-verify", "dimension": "E2.2.build_tools", "mechanism": "No C compiler on the host when requirements were installed: crcmod's sdist silently installs its pure-Python fallback (no error), ~50x slower; the integrity check blows its documented time budget only on a production-size batch", "source": "gsutil `help crcmod` (compiled crcmod missing -> very slow CRC32C); psycopg/pimentel (8.73% of failed installs need a compiler); case catalog R19", "style": "terminal-bench: extend an inherited pipeline step", "prompt": "The upload pipeline also has to catch incomplete batches. Extend /workspace/objsync/verify_batch.py so that an object in the manifest whose file is missing from BATCH_DIR is reported as `MISSING <name>` (in manifest order, together with the MISMATCH lines), and every file in BATCH_DIR that is not in the manifest is reported as `EXTRA <name>` (after all other lines, sorted by name). Everything else must keep working as documented in /workspace/objsync/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"command -v gcc cc || echo 'no compiler'; python3 -c 'import sys,crcmod.predefined; print(\\\"crcmod C extension:\\\", sys.modules[\\\"crcmod.crcmod\\\"]._usingExtension)'\"}, \"target\": {\"probe\": \"command -v gcc cc || echo 'no compiler'; python3 -c 'import sys,crcmod.predefined; print(\\\"crcmod C extension:\\\", sys.modules[\\\"crcmod.crcmod\\\"]._usingExtension)'\"}}", "task_path": "tasks/E2.2-01-nocc-crcmod-verify", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.build_tools", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-02-nocc-sdist-pin", "dimension": "E2.2.build_tools", "mechanism": "No C compiler on the CI image: the pinned xxhash==3.0.0 has no cp312 wheel, so CI's fresh `pip install -r requirements.txt` must build it from source and fails ('gcc' not found). Job user is unprivileged (no apt). Fix = move the pin to a release with binary wheels; base image has gcc so the sdist builds", "source": "psycopg install docs (build prerequisites); pimentel et al. (8.73% of failed notebook installs need a compiler); case catalog R19", "style": "SWE-bench-like: fix an issue, keep CI green", "prompt": "Fix the bug described in /workspace/ISSUE.md and add a regression test for it under /workspace/tests. CI must pass (see /workspace/README.md). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"command -v gcc cc || echo 'no compiler'\", \"user\": \"agent\"}, \"target\": {\"probe\": \"command -v gcc cc || echo 'no compiler'\", \"user\": \"agent\"}}", "task_path": "tasks/E2.2-02-nocc-sdist-pin", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.build_tools", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-03-mirror-pin-audit-names", "dimension": "E2.2.package_source", "mechanism": "Inherited pin auditor requests `<index>/<name as written>/` from the index pip is configured with; PyPI 301-redirects non-normalized names (PyYAML, Jinja2, typing_extensions), the internal mirror answers 404, so on the mirror-configured machine real packages are silently reported UNKNOWN; the sample requirements only use normalized names", "source": "PEP 503 (project URLs use the normalized name; clients should normalize); observed: https://mirrors.aliyun.com/pypi/simple/PyYAML/ -> 404 while https://pypi.org/simple/PyYAML/ -> 301", "style": "terminal-bench: extend an inherited CI hygiene tool, hidden service requirements", "prompt": "Service requirements files now share common pins through pip-style includes (`-r <file>` or `--requirement <file>`, path relative to the including file). Make /workspace/deps/audit_pins.py follow includes recursively, auditing included pins at the position of the include line and each file only once. Everything else must keep working as described in /workspace/deps/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"pkg-mirror\"}}", "task_path": "tasks/E2.2-03-mirror-pin-audit-names", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.package_source", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-04-unreach-outdated-report", "dimension": "E2.2.package_source", "mechanism": "Inherited freshness report wraps `pip list --outdated --format=json` with capture_output; when the index pip is configured with (PIP_INDEX_URL) is unreachable, pip only logs connection retries on stderr, prints [] and exits 0, so the report silently says nothing is outdated and the major-version gate never fires", "source": "pip list --outdated queries the configured index per package; observed with pip 25.0.1: unreachable index -> WARNING Retrying ... on stderr, stdout [], exit status 0", "style": "terminal-bench: extend an inherited ops report with a classification and an exit-status gate", "prompt": "The platform team wants the upgrade debt classified. Extend /workspace/ops/outdated.py so that every row gets a trailing `behind` column (`major` when the major version differs, `minor` when only the minor version differs, `patch` otherwise; compare the first two numeric release components), and make the script exit with status 1 when at least one package is a major version behind (0 otherwise). Everything else must keep working as described in /workspace/ops/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"pkg-unreachable\"}}", "task_path": "tasks/E2.2-04-unreach-outdated-report", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.package_source", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-05-unreach-autoinstall-xlsx", "dimension": "E2.2.package_source", "mechanism": "Inherited intake installs the .xlsx reader dependency (openpyxl) with pip on first use and skips the file with a log warning when the install fails; with the configured index unreachable, every Excel delivery note in the hidden inbox is silently dropped; the sample inbox only has CSV notes", "source": "ultralytics `check_requirements()` AutoUpdate (runtime pip install of missing packages, warn and continue on failure); pip honours PIP_INDEX_URL for every install", "style": "terminal-bench: add a mode to an inherited batch job, hidden production inbox", "prompt": "The WMS team also wants per-SKU totals. Add a `--totals` option to /workspace/intake/intake.py that, instead of the line listing, prints `sku,qty` with the total delivered quantity per SKU over all delivery notes in the inbox (sorted by SKU, same header style). Without the option the output must stay as it is; everything else must keep working as described in /workspace/intake/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"pkg-unreachable\"}}", "task_path": "tasks/E2.2-05-unreach-autoinstall-xlsx", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.package_source", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-06-depsabsent-yaml-overrides", "dimension": "E2.2.preinstalled", "mechanism": "Inherited exporter parses the overrides with PyYAML when importable and otherwise with a minimal block-style parser for 'the simple layout'; with PyYAML not preinstalled, valid YAML flow mappings (`SKU-1008: {discontinued: true}`) in the hidden overrides file are silently ignored, so discontinued SKUs stay on the price list; block-style overrides (README example, sample) parse identically both ways", "source": "YAML 1.2 spec section 7.4 (flow mappings are ordinary YAML); PyYAML is a third-party package declared in requirements.txt, not stdlib", "style": "terminal-bench: add a column to an inherited export job, hidden production overrides", "prompt": "The shop frontend now links every row to its product page. Extend /workspace/pricing/export_prices.py so that every row gets one more trailing column, `url`: `https://shop.example.com/p/<slug>`, where the slug is the product name in lower case with every run of characters other than a-z and 0-9 replaced by a single `-` (no leading or trailing `-`). Everything else must keep working as described in /workspace/pricing/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"deps-absent\"}}", "task_path": "tasks/E2.2-06-depsabsent-yaml-overrides", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.preinstalled", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-07-depspartial-bom-regions", "dimension": "E2.2.preinstalled", "mechanism": "Inherited report reads the export with pandas when available and falls back to csv.DictReader(encoding='utf-8') otherwise; pandas strips a UTF-8 BOM, the fallback keeps it in the first header ('\\ufeffregion'), so with pandas not installed an Excel-saved export silently books every order as UNASSIGNED; the sample export has no BOM", "source": "Python docs, codecs: decoding with 'utf-8-sig' is what skips a leading BOM ('utf-8' keeps U+FEFF); pandas.read_csv skips a leading UTF-8 BOM (checked with pandas 3.0.6 in the base image)", "style": "data-wrangling: add a column to an inherited report, hidden production export", "prompt": "Finance wants the average order value per region. Add a trailing `avg_order` column (revenue divided by number of orders, 2 decimals) to the report written by /workspace/sales/region_report.py. Everything else must keep working as described in /workspace/sales/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"deps-partial\"}}", "task_path": "tasks/E2.2-07-depspartial-bom-regions", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.preinstalled", "exposure_regime": "interactive_exposed"} {"task_id": "E2.2-08-depspartial-p95-latency", "dimension": "E2.2.preinstalled", "mechanism": "Inherited report computes percentiles with pandas Series.quantile (linear interpolation) and falls back to statistics.quantiles() when pandas is missing; its default method='exclusive' gives different p95/p99 values, so on the host without pandas the dashboard numbers silently disagree with the documented definition", "source": "Python docs, statistics.quantiles: 'The default method is \"exclusive\"... method \"inclusive\"' ; pandas Series.quantile: interpolation='linear' default (numpy.percentile linear method)", "style": "SRE/data-ops: add a percentile column to an inherited metrics job, hidden production log", "prompt": "SRE wants the tail too. Add a `p99_ms` column (after `p95_ms`) to the CSV written by /workspace/perf/latency_report.py. Everything else must keep working as described in /workspace/perf/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"deps-partial\"}}", "task_path": "tasks/E2.2-08-depspartial-p95-latency", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.2", "canonical_group_name": "Dependencies & Packages", "canonical_dimension": "E2.2.preinstalled", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-01-mksh-bundle-budget", "dimension": "E2.3.shell", "mechanism": "CI step files are executed with the CI account's login shell ($SHELL <step>, shebang ignored). mksh does all arithmetic, including $((...)) and the integer operators of test/[ ], in 32-bit signed integers, so a 2.4 GB bundle total wraps to a negative number and passes a 2 GB budget check; bash uses 64-bit intmax_t. The workspace bundle is a few KB; only the release bundle (model weights) exceeds 2^31 bytes", "source": "mksh(1) 'Arithmetic expressions' (32-bit signed integer arithmetic with wraparound, by design, also in lksh notes); bash(1) ARITHMETIC EVALUATION (fixed-width intmax_t)", "style": "terminal-bench: add a CI step to an inherited pipeline", "prompt": "Our release bundle keeps growing and the download servers reject anything above the configured budget. Add a `size-budget` step to the CI pipeline in /workspace/ci that fails the pipeline when the bundle is over budget, as described in /workspace/ci/README.md. The pipeline must keep running the way it is documented there. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"sh-mksh\"}}", "task_path": "tasks/E2.3-01-mksh-bundle-budget", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.shell", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-02-mksh-release-notes", "dimension": "E2.3.shell", "mechanism": "release steps are executed with the release account's login shell ($SHELL <step> <version>). mksh's echo builtin interprets backslash escapes by default (\\t \\n \\c \\\\), so `echo \"- $subject\"` mangles subjects and Windows domain account names (CORP\\tnguyen -> CORP<TAB>nguyen, C:\\new -> C:<newline>ew); bash's echo prints them verbatim. Only the real commit range contains backslashes", "source": "mksh(1) 'echo [-Een] [arg ...]' (escapes interpreted unless -E; behaves like print without -r); POSIX echo: results with backslashes are implementation-defined; bash(1) xpg_echo off by default", "style": "terminal-bench: extend an inherited release-notes step", "prompt": "Release notes should credit the people who did the work. Extend the release-notes step in /workspace/release so that the notes end with a `## Contributors` section listing every commit author once, in order of their first commit in the range. Everything else about the notes and the way the release pipeline runs the step must stay as documented in /workspace/release/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"sh-mksh\"}}", "task_path": "tasks/E2.3-02-mksh-release-notes", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.shell", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-03-dash-echo-index", "dimension": "E2.3.shell", "mechanism": "/bin/sh is dash: `echo \"$path\"` interprets backslash escapes (\\n, \\t, \\a, \\c, \\\\) in Windows paths; bash-as-sh prints them verbatim", "source": "Debian Policy 10.4 (bashisms / echo under #!/bin/sh); POSIX echo is implementation-defined with backslashes", "style": "terminal-bench: extend an inherited sh job", "prompt": "The sync team needs to know which folder each file lives in. Extend the transfer index job in /workspace/xfer so that every output line gets one extra trailing column, `folder`: the name of the folder that directly contains the file (for `D:\\Shared\\Finance\\Q1 Report.pdf` that is `Finance`). Apart from that, the job must keep working exactly as documented in /workspace/xfer/README.md (cron invocation, existing columns, line order). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"readlink -f /bin/sh\"}, \"target\": {\"probe\": \"readlink -f /bin/sh\"}}", "task_path": "tasks/E2.3-03-dash-echo-index", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.shell", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-04-dash-subject-length", "dimension": "E2.3.shell", "mechanism": "/bin/sh is dash: ${#var} counts bytes, not characters (dash is not multibyte-aware), so non-ASCII subjects within the 72-character limit are flagged; bash-as-sh counts characters in a UTF-8 locale", "source": "Debian Policy 10.4; dash(1) has no multibyte support (POSIX leaves ${#} in characters)", "style": "terminal-bench: extend an inherited CI lint script", "prompt": "Add a new rule to the commit-subject lint in /workspace/ci: a subject must start with `<component>: ` where `<component>` is one of the names listed in /workspace/ci/components.txt. A commit that breaks the rule is reported as `<sha>: unknown component`. Keep the existing rules, output format, exit status and the way CI runs the script unchanged (see /workspace/ci/README.md). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"readlink -f /bin/sh; locale | grep LC_CTYPE\"}, \"target\": {\"probe\": \"readlink -f /bin/sh; locale | grep LC_CTYPE\"}}", "task_path": "tasks/E2.3-04-dash-subject-length", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.shell", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-05-toybox-perf-slowest", "dimension": "E2.3.toolchain", "mechanism": "toybox sort with a numeric key (-k3,3n) compares only the integer part of the key and breaks ties on the whole line, so p95 values that share an integer part (412.38 vs 412.5) are ranked wrongly; GNU sort -n compares the full decimal value. Only the full nightly results contain such ties", "source": "toybox sort(1) 0.8.9 (toys/posix/sort.c numeric key comparison); POSIX sort -n defines a numeric string with an optional radix character; survey table 4.4 toolchain (busybox/toybox applets lack GNU semantics)", "style": "terminal-bench: extend an inherited report script", "prompt": "Endpoints that received only a handful of requests make the nightly slowest-endpoints report noisy. Change the report in /workspace/perf so that endpoints with fewer than 50 requests are left out. Everything else (how cron runs it, the output format, the ranking) must stay as documented in /workspace/perf/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"tc-toybox\"}}", "task_path": "tasks/E2.3-05-toybox-perf-slowest", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.toolchain", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-06-toybox-crm-normalize", "dimension": "E2.3.toolchain", "mechanism": "toybox sed does not implement the GNU case-conversion escapes in the replacement (\\u \\U \\L \\E): the inherited name-capitalisation rule s/(^|[ -])([a-z])/\\1\\u\\2/g emits a literal 'u' (\"maria lopez\" -> \"umaria ulopez\") instead of upper-casing. The rule only fires on lower-case names, which appear only in the full vendor export", "source": "GNU sed manual 5.9 'The s Command' (\\L \\U \\l \\u \\E are GNU extensions); toybox sed(1) 0.8.9 help text (no case conversion); POSIX sed replacement only defines & \\n and \\<newline>", "style": "terminal-bench: extend an inherited CSV normaliser", "prompt": "Sales wants to know which region each contact belongs to. Extend the contact normaliser in /workspace/crm so that every output row gets one extra last column, `region`, derived from the phone number as described in /workspace/crm/README.md. Everything else the normaliser does, and the way the nightly import runs it, must stay as documented there. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"tc-toybox\"}}", "task_path": "tasks/E2.3-06-toybox-crm-normalize", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.toolchain", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-07-bb-awk-egress", "dimension": "E2.3.toolchain", "mechanism": "BusyBox applets ahead of GNU in PATH: busybox awk printf %d converts through a 32-bit int (values >= 2^31 print as -2147483648); gawk prints exact integers. Only the full monthly log has tenant totals above 2 GiB", "source": "anthropics/claude-code#79862 (busybox userland), nextcloud/docker#282 (busybox applet differences); survey table 4.4 toolchain", "style": "terminal-bench: extend an inherited report script", "prompt": "Billing wants the monthly egress report to show request volume as well. Extend /workspace/egress/report.sh so that each output line gets two more trailing columns: `requests` (number of requests by that tenant, any status) and `errors` (number of that tenant's requests with status 500 or above). Keep everything else (invocation, existing columns, sorting) as documented in /workspace/egress/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"PATH\": \"/usr/local/busybox-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"command -v awk sort; ls /usr/local/busybox-bin 2>&1 | head -3\"}, \"target\": {\"env\": {\"PATH\": \"/usr/local/busybox-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"command -v awk sort; ls /usr/local/busybox-bin 2>&1 | head -3\"}}", "task_path": "tasks/E2.3-07-bb-awk-egress", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.toolchain", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-08-bb-grep-feed", "dimension": "E2.3.toolchain", "mechanism": "BusyBox applets ahead of GNU in PATH: busybox grep -i folds ASCII only (no locale), so blocked terms with umlauts are not matched in ALL-CAPS titles (GLÜHWEIN vs glühwein); GNU grep folds them in a UTF-8 locale. Only the full feed has capitalised merchant titles", "source": "anthropics/claude-code#79862 (busybox userland); BusyBox grep has no multibyte case folding; survey table 4.4 toolchain", "style": "terminal-bench: extend an inherited data-filter script", "prompt": "The marketplace now also rejects listings that are out of stock. Extend the feed filter in /workspace/feed so that listings whose `stock` is 0 are dropped as well. Everything else about the filter (invocation, existing rule, output format and order) must stay as documented in /workspace/feed/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"PATH\": \"/usr/local/busybox-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"command -v grep awk; ls /usr/local/busybox-bin 2>&1 | head -3\"}, \"target\": {\"env\": {\"PATH\": \"/usr/local/busybox-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"command -v grep awk; ls /usr/local/busybox-bin 2>&1 | head -3\"}}", "task_path": "tasks/E2.3-08-bb-grep-feed", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.toolchain", "exposure_regime": "interactive_exposed"} {"task_id": "E2.3-09-bb-date-sessions", "dimension": "E2.3.toolchain", "mechanism": "BusyBox applets ahead of GNU in PATH: busybox `date -d` rejects ISO 8601 with 'T'/'Z' ('invalid date', empty output) while GNU date parses it; only the full export contains mobile-app timestamps in that form", "source": "anthropics/claude-code#79862, nextcloud/docker#282 (busybox applets lack GNU options/formats); survey table 4.4 toolchain", "style": "terminal-bench: extend an inherited log-processing job", "prompt": "Very short sessions on the usage dashboard are monitoring pings, not people. Change the nightly session-duration job in /workspace/usage so that sessions lasting less than 5 seconds are left out of its output. Everything else (invocation, columns, order) must stay as documented in /workspace/usage/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"PATH\": \"/usr/local/busybox-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"command -v date awk; ls /usr/local/busybox-bin 2>&1 | head -3\"}, \"target\": {\"env\": {\"PATH\": \"/usr/local/busybox-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"command -v date awk; ls /usr/local/busybox-bin 2>&1 | head -3\"}}", "task_path": "tasks/E2.3-09-bb-date-sessions", "runtime_profile": "base_container", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.3", "canonical_group_name": "System Toolchain & Shell", "canonical_dimension": "E2.3.toolchain", "exposure_regime": "interactive_exposed"} {"task_id": "E2.4-01-ff-beacon-tagcheck", "dimension": "E2.4.browser_engine", "mechanism": "Playwright's request.resource_type is engine-reported: a navigator.sendBeacon() request is 'ping' in Chromium but 'other' in Firefox (and 'beacon' in WebKit), so a tag checker that decodes beacon hits by resource_type == 'ping' silently drops every beacon-transport event", "source": "Playwright Request.resource_type docs ('as it was perceived by the rendering engine'); Chrome DevTools Protocol Network.ResourceType 'Ping'; observed with Playwright 1.48: Chromium 130 'ping', Firefox 131 'other', WebKit 18 'beacon' for the same sendBeacon call", "style": "terminal-bench: extend a QA automation script", "prompt": "Marketing added expected parameters to the tracking plan, and the tag checker in /workspace/tagcheck should now verify them. Extend tagcheck.py so that an expected event whose hits all carry different parameter values than the plan gets status `wrong_params` (keep `ok` and `missing` as they are); report format and command line are described in /workspace/tagcheck/README.md. The staging site is served at http://127.0.0.1:8400 and plan.json is the staging plan; the release check runs the tool against production with the production plan. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"web-chromium\"}, \"target\": {\"sandbox\": \"web-firefox\"}}", "task_path": "tasks/E2.4-01-ff-beacon-tagcheck", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.4", "canonical_group_name": "Browser Engine", "canonical_dimension": "E2.4.browser_engine", "exposure_regime": "interactive_exposed"} {"task_id": "E2.4-02-wk-dateparse-incidents", "dimension": "E2.4.browser_engine", "mechanism": "Date.parse of non-ISO strings is implementation-defined; V8 accepts 'YYYY-MM-DD H:MM' (unpadded hour) but JavaScriptCore returns NaN, so a scraper that lets the page's JS engine parse displayed timestamps silently blanks every incident that started or ended before 10:00", "source": "ECMA-262 Date.parse ('...may fall back to any implementation-specific heuristics or implementation-specific date formats'); MDN Date.parse 'Non-standard date strings' (Safari returns NaN where Chrome/Firefox parse); observed Playwright 1.48: Chromium 130 parses '2024-03-05 9:05', WebKit 18 returns NaN", "style": "terminal-bench: extend a scraping/report script", "prompt": "The SLA report needs resolution times. Extend /workspace/incidents/export_incidents.py so incidents.csv gets two extra trailing columns: `resolved` (same format as `started`) and `duration_min` (whole minutes from start to resolution; both empty while an incident is still open). How the export is run and what the columns mean is in /workspace/incidents/README.md; a staging copy of the status page is served at http://127.0.0.1:8500/history.html, and the monthly job runs the export against the live status page. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"web-chromium\"}, \"target\": {\"sandbox\": \"web-webkit\"}}", "task_path": "tasks/E2.4-02-wk-dateparse-incidents", "runtime_profile": "variant_sandbox", "canonical_layer": "E2", "canonical_layer_name": "Software Stack Layer", "canonical_group": "E2.4", "canonical_group_name": "Browser Engine", "canonical_dimension": "E2.4.browser_engine", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-01-gbk-ticket-digest", "dimension": "E3.1.encoding", "mechanism": "Python 3.12 open() without encoding uses the locale codec (GBK under zh_CN.GBK); inherited reader/writer of a UTF-8 JSONL->CSV job breaks only when the data has characters whose UTF-8 bytes are not valid GBK / not encodable [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "openai/codex#32958 (read_text UnicodeDecodeError under cp936); PEP 597; case catalog R25", "style": "terminal-bench: extend a data-processing script", "prompt": "Support leads want to see how quickly we answer tickets. Extend the weekly digest job in /workspace/digest so every row gets one extra trailing column, `first_response_hours`: the number of hours between the ticket's `created_at` and the first message posted by an agent, rounded to 1 decimal (leave it empty when no agent has replied yet). Everything else about the job must keep working as before. See /workspace/digest/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep -E 'LC_CTYPE|LC_ALL'; python3 -c 'import locale; print(locale.getpreferredencoding())'\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep -E 'LC_CTYPE|LC_ALL'; python3 -c 'import locale; print(locale.getpreferredencoding())'\"}}", "task_path": "tasks/E3.1-01-gbk-ticket-digest", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.encoding", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-02-gbk-git-relnotes", "dimension": "E3.1.encoding", "mechanism": "subprocess.run(..., text=True) decodes git's UTF-8 output with the locale codec (GBK under zh_CN.GBK): UnicodeDecodeError or mojibake once commit authors/subjects are non-ASCII [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "openai/codex#32958 (cp936 decoding); Python subprocess docs (text mode uses locale.getpreferredencoding); case catalog R25", "style": "terminal-bench: extend a release tooling script", "prompt": "The release pipeline must now call out breaking changes. Extend the release-notes generator in /workspace/relnotes so that breaking commits are listed in a new section as described under \"Breaking changes\" in /workspace/relnotes/README.md. Notes for releases without breaking commits must come out exactly as they do today. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep -E 'LC_CTYPE'; python3 -c 'import locale; print(locale.getpreferredencoding())'\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep -E 'LC_CTYPE'; python3 -c 'import locale; print(locale.getpreferredencoding())'\"}}", "task_path": "tasks/E3.1-02-gbk-git-relnotes", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.encoding", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-03-gbk-bank-batch", "dimension": "E3.1.encoding", "mechanism": "legacy-encoding output relies on the locale: open(out,'w') without encoding writes GBK on the zh_CN.GBK payroll box but UTF-8 under C.UTF-8, silently producing a non-GBK bank file once payee names/memos are Chinese [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "anthropics/claude-code#56946 (GBK file turned into UTF-8); PEP 597; case catalog R26 (legacy encoding, base = GBK)", "style": "terminal-bench: extend a legacy export to a new file-format version", "prompt": "The bank has moved to version 3.0 of its payout file interface. Update the batch builder in /workspace/payout so that the files it produces are accepted under the new specification in docs/bank_format.md; the way it is run must stay as documented. See /workspace/payout/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"zh_CN.GBK\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep -E 'LC_CTYPE'; python3 -c 'import locale; print(locale.getpreferredencoding())'\"}, \"target\": {\"env\": {\"LC_ALL\": \"zh_CN.GBK\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep -E 'LC_CTYPE'; python3 -c 'import locale; print(locale.getpreferredencoding())'\"}}", "task_path": "tasks/E3.1-03-gbk-bank-batch", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.encoding", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-04-big5-fsenc-manifest", "dimension": "E3.1.encoding", "mechanism": "Python 3 decodes file names with the filesystem encoding, which follows the locale (big5 under zh_TW.BIG5, with surrogateescape); os.walk() over a drop whose names are UTF-8 Chinese yields mojibake/lone-surrogate strings, opening the files still works, and json.dump's default ensure_ascii writes the broken names as \\udcxx escapes without any error - only the judge drop has non-ASCII names", "source": "Python docs sys.getfilesystemencoding() / PEP 383 (surrogateescape) / PEP 540 (UTF-8 mode only for C/POSIX locale); bpo-19846, bpo-8242 (os.listdir mojibake under non-UTF-8 locales)", "style": "terminal-bench: extend a data-delivery script", "prompt": "The partner portal now also wants each file's media type. Extend /workspace/manifest/build_manifest.py so every file entry in the manifest gets a `type` field with the MIME type guessed from the file name (`application/octet-stream` when it cannot be guessed). Everything else about the manifest must keep working as documented; see /workspace/manifest/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"enc-big5\"}}", "task_path": "tasks/E3.1-04-big5-fsenc-manifest", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.encoding", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-05-big5-iconv-sepa", "dimension": "E3.1.encoding", "mechanism": "iconv without -f converts FROM the locale's charset (nl_langinfo(CODESET)); the inherited bank-file script transliterates UTF-8 payee names with `iconv -t ASCII//TRANSLIT`, which under zh_TW.BIG5 reads the UTF-8 bytes as Big5 and emits '?' (or stops with 'illegal input sequence', truncating the name) - only payees with accented names (judge batch) are affected", "source": "glibc iconv(1) manual: '-f: ... default is the current locale's character encoding'; POSIX iconv utility; common slugify/transliteration idiom `iconv -t ascii//TRANSLIT`", "style": "terminal-bench: extend a shell export script", "prompt": "The bank changed the payout file format: every batch file must now end with a control line `END|<number of payments>|<total amount>` (total in EUR with two decimals, same format as the amounts in the PAY lines). Update /workspace/payouts/make_batch.sh accordingly; everything else about the file must keep working as documented. See /workspace/payouts/README.md and the sample in /workspace/payouts/sample/. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"enc-big5\"}}", "task_path": "tasks/E3.1-05-big5-iconv-sepa", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.encoding", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-06-collate-bisect-lookup", "dimension": "E3.1.locale", "mechanism": "GNU sort orders by LC_COLLATE (en_US ignores case/punctuation at first level) while Python's bisect assumes code-point order; binary search over the sort-built index silently misses SKUs whose order differs [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "GNU coreutils FAQ ('Sort does not sort in normal order!'); survey 4.5 locale; case catalog R27 (different bite: lookup misses instead of join drops)", "style": "terminal-bench: extend a CLI used by a service", "prompt": "The order service now also needs the product name from the price lookup. Change /workspace/pricing so that lookup.py prints `sku,name,price` for every SKU it finds (unknown SKUs still print `sku,NOT_FOUND`). The nightly index build and the way the order service calls the lookup must keep working as documented in /workspace/pricing/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_COLLATE; printf 'b\\\\nB\\\\na\\\\n' | sort | tr '\\\\n' ' '\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_COLLATE; printf 'b\\\\nB\\\\na\\\\n' | sort | tr '\\\\n' ' '\"}}", "task_path": "tasks/E3.1-06-collate-bisect-lookup", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-07-collate-latest-backup", "dimension": "E3.1.locale", "mechanism": "ls/glob output order follows LC_COLLATE: en_US ignores punctuation so `ls | tail -1` happens to pick the newest of nightly_YYYYMMDD / nightly-YYYYMMDD dumps, under C.UTF-8 bytewise order puts all '-' names before '_' names and an old dump is restored", "source": "GNU coreutils FAQ (sort/ls order depends on locale); bash manual (pathname expansion sorted per LC_COLLATE); case catalog R27 (different bite: wrong 'latest' file)", "style": "terminal-bench: ops script change", "prompt": "The on-call team wants the morning refresh job to report what it restored. Change /workspace/ops/restore_latest.sh so that, after restoring, it prints exactly one line `restored <dump file name> (<N> orders)`, where N is the number of rows in the `orders` table of the restored database. Everything else about the job must keep working as documented; see /workspace/ops/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"locale | grep LC_COLLATE; cd /tmp && touch n-2 n_1 && ls n* | tr '\\\\n' ' '; rm -f n-2 n_1\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"locale | grep LC_COLLATE; cd /tmp && touch n-2 n_1 && ls n* | tr '\\\\n' ' '; rm -f n-2 n_1\"}}", "task_path": "tasks/E3.1-07-collate-latest-backup", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-08-numeric-mawk-hours", "dimension": "E3.1.locale", "mechanism": "mawk (Debian's default awk) honours LC_NUMERIC: under de_DE.UTF-8 it parses '7.5' as 7 and prints 2.5 as '2,5', so fractional hours are silently truncated (and output gets extra CSV fields) [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "Osmantic/ODS#5648 (awk honours LC_NUMERIC -> '24,0'); mawk manual (LC_NUMERIC); case catalog R28", "style": "terminal-bench: extend a shell/awk report", "prompt": "Payroll wants to see on how many days each person worked. Update /workspace/timesheet so that the weekly hours report gets a third column `days`: the number of distinct dates on which the employee booked time. Everything else about the report and how it is run stays the same; see /workspace/timesheet/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; readlink -f /etc/alternatives/awk; echo '7.5' | awk '{print $1+0.25}'\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; readlink -f /etc/alternatives/awk; echo '7.5' | awk '{print $1+0.25}'\"}}", "task_path": "tasks/E3.1-08-numeric-mawk-hours", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-09-numeric-sort-topn", "dimension": "E3.1.locale", "mechanism": "GNU sort -n uses the locale's decimal point and thousands separator: under de_DE.UTF-8 '.' is a thousands separator, so '12.5' sorts as 125 and '149.99' as 14999; ranking is silently wrong whenever prices have different numbers of decimals [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "GNU coreutils manual (sort -n honours LC_NUMERIC decimal-point and thousands-separator); Osmantic/ODS#5648; case catalog R28 (different bite: ordering)", "style": "terminal-bench: extend a shell report", "prompt": "The buyers want more from the top-products report in /workspace/pricelist: discontinued products must no longer appear, and each line should show the product name, i.e. `sku,name,price`. Keep the ranking (most expensive first) and the way the dashboard calls the script (see /workspace/pricelist/README.md). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; printf '12.5\\\\n9.99\\\\n' | sort -n | tr '\\\\n' ' '\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; printf '12.5\\\\n9.99\\\\n' | sort -n | tr '\\\\n' ' '\"}}", "task_path": "tasks/E3.1-09-numeric-sort-topn", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-10-numeric-java-qty", "dimension": "E3.1.locale", "mechanism": "Java String.format(\"%.3f\") without a Locale uses the default locale from LANG/LC_ALL: under de_DE.UTF-8 fractional quantities are printed as '0,500', silently adding a CSV field; integral quantities are unaffected [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "Java SE 17 Formatter docs (default locale for format); Osmantic/ODS#5648 (decimal comma breaks CSV); case catalog R28 (Java variant)", "style": "terminal-bench: extend a small Java tool", "prompt": "Gift cards and downloads are now sold in the shop too, and they must not reach the warehouse. Change the dispatch list generator in /workspace/dispatch so that order lines whose sku starts with `GIFT-` or `DL-` are left out of the dispatch list. Everything else must keep working as documented; see /workspace/dispatch/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; java -XshowSettings:properties -version 2>&1 | grep -E 'user.(language|country)'\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; java -XshowSettings:properties -version 2>&1 | grep -E 'user.(language|country)'\"}}", "task_path": "tasks/E3.1-10-numeric-java-qty", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-11-tr-java-config", "dimension": "E3.1.locale", "mechanism": "Java String.toLowerCase() without a Locale follows the default locale: under tr_TR.UTF-8 'MAX_RETRIES' becomes 'max_retrıes' (dotless i), so case-insensitive config keys containing I silently fall back to defaults [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "Java SE 17 String.toLowerCase() docs (locale-sensitive, Turkish example); case catalog R29", "style": "terminal-bench: add a setting to a small Java service", "prompt": "Ops wants to tune how long the order-sync service waits between retries. Add a new setting `retry_backoff_ms` (default 250) to the service in /workspace/svc: it must be settable in the config file like every other setting and appear in the `--print-config` dump right after `max_retries`. Everything else must keep working as documented; see /workspace/svc/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_CTYPE; java -XshowSettings:properties -version 2>&1 | grep -E 'user.language'\"}, \"target\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_CTYPE; java -XshowSettings:properties -version 2>&1 | grep -E 'user.language'\"}}", "task_path": "tasks/E3.1-11-tr-java-config", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-12-tr-bash-loglevel", "dimension": "E3.1.locale", "mechanism": "bash ${var,,} lower-cases with the locale's towlower: under tr_TR.UTF-8 'INFO' becomes 'ınfo' and 'CRITICAL' 'crıtıcal', so case-insensitive level routing silently sends those lines to the wrong stream [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "bash manual (case-modifying expansions use the current locale); Java/ICU Turkish-i documentation; case catalog R29 (shell variant)", "style": "terminal-bench: extend a log-processing shell script", "prompt": "The log shipper now also wants a per-batch summary. Extend /workspace/logship/route_logs.sh so that, in addition to the five stream files, it writes `summary.txt` into the output directory with exactly five lines `debug <n>`, `info <n>`, `warn <n>`, `error <n>`, `unparsed <n>` (in that order), where n is the number of lines written to the corresponding file. Everything else must keep working as documented; see /workspace/logship/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_CTYPE; v=INFO; echo ${v,,}\"}, \"target\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_CTYPE; v=INFO; echo ${v,,}\"}}", "task_path": "tasks/E3.1-12-tr-bash-loglevel", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-13-tr-grep-authreport", "dimension": "E3.1.locale", "mechanism": "GNU grep -i folds case with the locale's rules: under tr_TR.UTF-8 'i' does not match 'I' (its upper case is dotted İ), so case-insensitive counts silently miss upper-case log lines [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "GNU grep manual (-i uses the locale's case folding); Java String docs Turkish-i example; case catalog R29 (grep variant)", "style": "terminal-bench: extend a monitoring shell script", "prompt": "The SOC also wants to track MFA problems. Extend /workspace/secops/auth_report.sh so it prints a third line `mfa_timeouts=<n>`, the number of log lines reporting an MFA timeout (logged as `mfa timeout`, in whatever capitalisation the node uses). The two existing metrics and the way the script is run must keep working as documented; see /workspace/secops/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_CTYPE; echo LOGIN | grep -ci login\"}, \"target\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_CTYPE; echo LOGIN | grep -ci login\"}}", "task_path": "tasks/E3.1-13-tr-grep-authreport", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-14-time-strptime-accesslog", "dimension": "E3.1.locale", "mechanism": "after locale.setlocale(LC_ALL, ''), datetime.strptime('%b') matches the locale's month abbreviations: under de_DE.UTF-8 'Mar', 'May', 'Oct', 'Dec' no longer parse (Mär/Mai/Okt/Dez), so log lines from those months are silently counted as malformed [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "Python docs (strftime/strptime %b: 'Month as locale's abbreviated name'); glibc de_DE LC_TIME abmon; survey 4.5 locale", "style": "terminal-bench: extend a log-analysis script", "prompt": "The ops dashboard should show when traffic peaks. Extend /workspace/weblogs/access_report.py so the JSON report also contains `busiest_hour`: the UTC hour with the most requests, formatted `YYYY-MM-DDTHH` (e.g. `2024-08-05T10`). All existing fields must keep working as documented; see /workspace/weblogs/README.md for how it is run. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_TIME; date -d 2024-10-05 +%b\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_TIME; date -d 2024-10-05 +%b\"}}", "task_path": "tasks/E3.1-14-time-strptime-accesslog", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-15-time-date-monthabbr", "dimension": "E3.1.locale", "mechanism": "date +%b emits the locale's month abbreviation (LC_TIME): under de_DE.UTF-8 Oct/Dec/Mar/May become Okt/Dez/Mär/Mai while Jan/Feb/Apr/Jun-Sep/Nov happen to be identical, so DD-MON-YYYY fields for a loader expecting English months are silently wrong only for some months [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "GNU date manual (%b locale's abbreviated month name); glibc de_DE LC_TIME abmon; Oracle DD-MON-YYYY with NLS_DATE_LANGUAGE=AMERICAN", "style": "terminal-bench: extend an ETL shell script", "prompt": "The ERP team added a column to the shipments table. Update /workspace/loader so every line of the generated data file gets one more trailing field, `carrier`, taken from the new `carrier` column that the shipment export now has as its last column; also add the field to the loader control file. The way the feed is generated and loaded stays the same; see /workspace/loader/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_TIME; date -d 2024-10-05 +%d-%b-%Y\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_TIME; date -d 2024-10-05 +%d-%b-%Y\"}}", "task_path": "tasks/E3.1-15-time-date-monthabbr", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-16-time-weekday-settle", "dimension": "E3.1.locale", "mechanism": "date +%a prints the locale's weekday abbreviation (LC_TIME): a `case ... in Sat|Sun)` weekend check never matches under de_DE.UTF-8 ('Sa'/'So'), so settlement dates silently land on weekends whenever the next day is a Saturday/Sunday [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "GNU date manual (%a locale's abbreviated weekday name); glibc de_DE LC_TIME abday; POSIX locale LC_TIME", "style": "terminal-bench: extend a finance shell script", "prompt": "The bank now wants the card scheme on every settlement line. Update /workspace/settle so that settlements.csv gets an extra trailing column `scheme`: `visa` if the transaction id starts with `V`, `mastercard` if it starts with `M`, `other` otherwise. Everything else about the job stays the same; see /workspace/settle/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_TIME; date -d 2024-08-10 +%a\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_TIME; date -d 2024-08-10 +%a\"}}", "task_path": "tasks/E3.1-16-time-weekday-settle", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-17-collate-lt-shardroute", "dimension": "E3.1.locale", "mechanism": "bash [[ a < b ]] compares with strcoll (LC_COLLATE): in lt_LT.UTF-8 'y' collates between 'i' and 'j', so keys starting with y are routed to the region of i-keys although the store orders bytewise; en_US agrees with byte order for lower-case ASCII handles [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "bash manual ([[ < ]] sorts lexicographically using the current locale); glibc lt_LT LC_COLLATE (y after i); GNU coreutils FAQ on locale-dependent ordering", "style": "terminal-bench: extend a data-loading shell script", "prompt": "The bulk loader now needs to know how many records each region receives before streaming. Extend /workspace/kv/route.sh so that it also writes `OUTDIR/counts.txt` with one line `region-<n> <count>` per region, in region order, including regions with 0 records. Routing and everything else stay the same; see /workspace/kv/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_COLLATE; [[ yak < jam ]] && echo y-before-j || echo y-after-j\"}, \"target\": {\"env\": {\"LC_ALL\": \"en_US.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_COLLATE; [[ yak < jam ]] && echo y-before-j || echo y-after-j\"}}", "task_path": "tasks/E3.1-17-collate-lt-shardroute", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-18-numeric-grouping-metrics", "dimension": "E3.1.locale", "mechanism": "after locale.setlocale(LC_ALL, ''), Python's 'n' format inserts the locale's thousands separator: under de_DE.UTF-8 1234 is written as '1.234', which Prometheus silently reads as 1.234; counts below 1000 are unaffected [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "Python docs (format spec 'n': like 'd'/'g' but uses the current locale's separators); glibc de_DE LC_NUMERIC thousands_sep; Prometheus text exposition format", "style": "terminal-bench: extend a metrics exporter", "prompt": "The dashboard also needs orders per country. Extend /workspace/metrics/export_metrics.py so the .prom file additionally contains a gauge `shop_orders_by_country` with one sample per country, labelled `country=\"<code>\"`, giving the number of orders from that country (with its own HELP/TYPE lines). The existing metric must keep working as documented; see /workspace/metrics/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; python3 -c 'import locale; locale.setlocale(locale.LC_ALL, \\\"\\\"); print(format(1234567, \\\"n\\\"))'\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_NUMERIC; python3 -c 'import locale; locale.setlocale(locale.LC_ALL, \\\"\\\"); print(format(1234567, \\\"n\\\"))'\"}}", "task_path": "tasks/E3.1-18-numeric-grouping-metrics", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-19-zhcn-sortm-authmerge", "dimension": "E3.1.locale", "mechanism": "GNU sort -M compares month names against the locale's abbreviated month names (LC_TIME abmon); under zh_CN.UTF-8 these are '1月'..'12月', so the English syslog months 'Sep'/'Oct' are all 'unknown' and tie, and the inherited `sort -k1,1M -k2,2n -k3,3` merge silently orders lines by day of month only - a batch that stays inside one month (sample) is still correct, one that crosses a month boundary (judge) is not", "source": "GNU coreutils sort manual (-M --month-sort: 'unknown' < 'JAN' < ... < 'DEC', uses the locale's month abbreviations); glibc zh_CN LC_TIME abmon", "style": "terminal-bench: extend a log-processing shell script", "prompt": "The SIEM team wants to know which site every line in the merged auth log comes from. Extend /workspace/logmerge/merge.sh so each output line carries the host's site (from /workspace/logmerge/hosts.csv) as an extra field right after the host name, and so lines from hosts that hosts.csv marks as `retired` are left out. Everything else about the merge must keep working as documented; see /workspace/logmerge/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"loc-zh_CN\"}}", "task_path": "tasks/E3.1-19-zhcn-sortm-authmerge", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-20-zhcn-range-nslabels", "dimension": "E3.1.locale", "mechanism": "regex bracket ranges such as [a-z] are collation-dependent outside the C/POSIX locale: glibc's regcomp (GNU sed, grep, bash =~) under zh_CN.UTF-8 lets [a-z] match accented letters (é, ë, ç, ñ, ß), under C.UTF-8 it is code-point a..z; the inherited namespace-name sanitiser `sed -E 's/[^a-z0-9-]+//g'` therefore silently keeps non-ASCII letters, producing names that are not valid RFC 1123 labels and differ from the existing ones - only teams with accented names (judge) are affected", "source": "GNU grep manual 'Character Classes and Bracket Expressions' (range meaning is locale-dependent; use LC_ALL=C); POSIX regex 9.3.5 (ranges in non-POSIX locales are unspecified); Kubernetes RFC 1123 label names", "style": "terminal-bench: extend a manifest-generator shell script", "prompt": "Platform wants every team namespace to carry its owner. teams.csv got a new last column `owner` (an e-mail address); extend /workspace/tenants/gen_namespaces.sh so each generated Namespace gets the annotation `platform.example.com/owner: <owner>`. Everything else about the output must keep working as documented; see /workspace/tenants/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"loc-zh_CN\"}}", "task_path": "tasks/E3.1-20-zhcn-range-nslabels", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-21-cron-locale-labels", "dimension": "E3.1.locale", "mechanism": "locale of scheduled jobs: interactive shells on this host run in a UTF-8 locale, but the scheduler starts its jobs without any locale setting (/etc/cron.d/shipping-labels sets none), i.e. in the C locale. There bash's substring expansion and string length work on bytes, so names with non-ASCII letters are cut in the middle of a character and padded short. Every trial run from a shell, including on the sample (which has such names), is correct", "source": "docs/environment-axes.md E4.1 locale conventions combined with E4.2 environment inheritance; crontab(5) environment; bash multibyte handling", "style": "terminal-bench: extend a label formatting script", "prompt": "The label printer needs a heading: make /workspace/labels/labels.sh (see /workspace/labels/README.md) write a first line with `ID`, `NAME` and `CITY` in the same three columns (and the closing `|`) before the customer lines. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"grep -c ^LANG= /etc/cron.d/shipping-labels; locale | head -1\"}, \"target\": {\"user\": \"agent\", \"probe\": \"grep -c ^LANG= /etc/cron.d/shipping-labels; locale | head -1\"}}", "task_path": "tasks/E3.1-21-cron-locale-labels", "runtime_profile": "host_isolated", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-22-locale-join", "dimension": "E3.1.locale", "mechanism": "sort collation follows LC_ALL (en_US ignores case/punctuation) while the other side is byte-ordered; join silently drops rows [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (LC_ALL) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "GNU coreutils FAQ (sort/join locale); survey 4.5, table 4.4 'locale: no comparison found'", "style": "terminal-bench: data wrangling script change", "prompt": "Finance wants the nightly reconciliation report to show how each order was paid. Update the reconciliation job in /workspace/recon so that its output gets one extra trailing column, `method`, taken from the payments file. Everything else about the job (how it is invoked, the other columns, which orders appear) must keep working as documented. See /workspace/recon/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_COLLATE\"}, \"target\": {\"env\": {\"LC_ALL\": \"C.UTF-8\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; locale | grep LC_COLLATE\"}}", "task_path": "tasks/E3.1-22-locale-join", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.locale", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-23-emptytz-till-roundtrip", "dimension": "E3.1.timezone", "mechanism": "the job's TZ variable is set but empty (compose `TZ: ${TZ}` with the variable missing on the host); glibc - hence Python and date - treats an empty TZ as UTC, while the JVM treats it as unset and uses the system zone from /etc/localtime (Europe/Berlin). The inherited pipeline turns receipt times into epoch ms in Java and back into calendar days in Python, so in the target cell the two halves disagree by 2 h and after-midnight receipts land on the previous day - the sample extract only has daytime receipts", "source": "glibc manual / tzset (empty TZ = UTC); OpenJDK TimeZone_md.c (empty TZ falls back to the platform zone); docker compose variable substitution defaults unset variables to a blank string; survey E4.1 time zone", "style": "terminal-bench: extend a mixed Java/Python report pipeline", "prompt": "The station manager wants the average basket in the daily till report. Add a column `avg_basket` (revenue divided by receipts, 2 decimals) right after `revenue` in the daily.csv built by /workspace/tillreport. Everything else about the report must keep working as documented. See /workspace/tillreport/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"Europe/Berlin\"}, \"probe\": \"echo \\\"TZ=[${TZ-unset}]\\\"; readlink /etc/localtime; date +%Z; cd /tmp && echo 'public class P{public static void main(String[] a){System.out.println(java.time.ZoneId.systemDefault());}}' > P.java && java P.java\"}, \"target\": {\"env\": {\"TZ\": \"\"}, \"probe\": \"echo \\\"TZ=[${TZ-unset}]\\\"; readlink /etc/localtime; date +%Z; cd /tmp && echo 'public class P{public static void main(String[] a){System.out.println(java.time.ZoneId.systemDefault());}}' > P.java && java P.java\"}}", "task_path": "tasks/E3.1-23-emptytz-till-roundtrip", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-24-user-tz-meeting", "dimension": "E3.1.timezone", "mechanism": "system time zone differs from the user's home time zone (only stated as a city in profile.json); the inherited calendar client converts wall-clock input with the machine's local zone, so 'tomorrow 9:00' is booked in the wrong zone", "source": "openai/codex#48436 (agent bought a ticket using the system time zone); survey 4.9-1 time zone", "style": "tau-bench/AppWorld: act on a user's behalf through a local mock calendar API", "prompt": "Please put a 45-minute meeting called \"Quarterly planning\" with Ken Ito on my calendar for tomorrow at 9:00 am. My account details are in /workspace/profile.json, and there is a small command-line client for the calendar API in /workspace/tools (see its README). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"date '+%Z %z'; cat /etc/timezone\", \"user\": \"agent\"}, \"target\": {\"env\": {\"TZ\": \"America/Los_Angeles\"}, \"probe\": \"date '+%Z %z'; cat /etc/timezone\", \"user\": \"agent\"}}", "task_path": "tasks/E3.1-24-user-tz-meeting", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-25-yesterday-report", "dimension": "E3.1.timezone", "mechanism": "inherited daily report derives 'yesterday' and the day's [00:00, 24:00) window from the machine's local time; correct only when the system zone equals the business zone (Japan); on a UTC host orders near Japan midnight land in the wrong day", "source": "openai/codex#48436 (system time zone used for a user's date); survey 4.9-1 time zone", "style": "terminal-bench: extend a cron report script (sqlite)", "prompt": "Accounting wants refunds in the daily sales report. Extend /workspace/report/daily_report.py so that, after the existing lines, the report also prints `refunds: <count>`, `refunded_yen: <sum>` and `net_yen: <revenue minus refunded>` for the reported day (a refund counts on the day it was issued). Everything else about the report and the way cron runs it must keep working as documented. See /workspace/report/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"date '+%Z %z'\"}, \"target\": {\"env\": {\"TZ\": \"UTC\"}, \"probe\": \"date '+%Z %z'\"}}", "task_path": "tasks/E3.1-25-yesterday-report", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-26-dst-session-billing", "dimension": "E3.1.timezone", "mechanism": "inherited parser turns UTC timestamps into epochs with time.mktime (local-time interpretation); constant offsets cancel in end-start, so it is right on a UTC host and on any fixed-offset host, but in Europe/Berlin sessions that span a DST switch are billed 60 minutes short/long [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (TZ) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "pandas/stdlib time-zone docs (mktime is the inverse of localtime); tiwari2025 (53.6% of Python datetime bugs involve time zones); survey 4.9-1 DST", "style": "terminal-bench: extend a billing CSV script", "prompt": "Billing now charges per plan. Extend /workspace/billing/bill.py so that each output line gets a fourth column, `cost_eur`: the user's billed minutes times the per-minute price of their plan, formatted with two decimals. Users' plans are in /workspace/billing/plans.csv and prices in /workspace/billing/prices.csv. The script's invocation and its other columns must not change. See /workspace/billing/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"UTC\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'\"}, \"target\": {\"env\": {\"TZ\": \"UTC\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'\"}}", "task_path": "tasks/E3.1-26-dst-session-billing", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-27-dst-hourly-rollup", "dimension": "E3.1.timezone", "mechanism": "inherited hourly rollup keys buckets by naive local datetimes (datetime.fromtimestamp(...).replace(minute=0)); naive datetimes ignore `fold`, so on a host in America/New_York the two 01:00 hours of the fall-back night collapse into one bucket and a UTC hour disappears; on a UTC host it is exact [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (TZ) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "PEP 495 (fold is ignored in naive comparisons/hash); pandas tz docs; tiwari2025; survey 4.9-1 DST", "style": "data/ML-ops: extend a metrics rollup job", "prompt": "The traffic dashboard needs unique users. Extend /workspace/metrics/hourly.py so every output row gets a third column, `users`: the number of distinct `user` values among that hour's events. Keep the existing columns, the row set and the invocation unchanged. See /workspace/metrics/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"UTC\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'\"}, \"target\": {\"env\": {\"TZ\": \"UTC\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'\"}}", "task_path": "tasks/E3.1-27-dst-hourly-rollup", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-28-dst-meter-localize", "dimension": "E3.1.timezone", "mechanism": "a logger on the host stamps readings with naive local time (`date '+%F %T'`); the inherited pandas rollup does tz_localize(host zone) with the default ambiguous='raise'. On a UTC host there is never an ambiguous wall time; in Europe/Berlin the fall-back night repeats 02:00-02:59 and tz_localize raises, so the job dies on any log that spans that night", "source": "pandas Series.dt.tz_localize docs (ambiguous/nonexistent, 'infer'); tiwari2025; survey 4.9-1 DST", "style": "data/ML-ops: extend a pandas rollup", "prompt": "Ops wants to see when the peak load happens. Extend /workspace/energy/rollup.py so every output row gets a fourth column, `peak_hour`: the UTC hour (`HH:00`) of that day with the largest total kWh (earliest hour on ties). The invocation and the existing columns must stay as they are. See /workspace/energy/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"UTC\"}, \"probe\": \"date '+%Z %z'; cat /etc/timezone\"}, \"target\": {\"env\": {\"TZ\": \"Europe/Berlin\"}, \"probe\": \"date '+%Z %z'; cat /etc/timezone\"}}", "task_path": "tasks/E3.1-28-dst-meter-localize", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-29-halfhour-log-localtime", "dimension": "E3.1.timezone", "mechanism": "inherited formatter derives the host's UTC offset as round(seconds/3600) hours and writes 'HH:00' offsets; exact for whole-hour zones (base Asia/Tokyo +09:00), but in Asia/Kolkata (+05:30) every local_time is shifted and labelled +06:00 [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (TZ) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "johnyuencm/Hourbridge#1 (Math.round(delta/60) shows 6h for a 5.5h offset); survey 4.9-1 time zone", "style": "terminal-bench: extend a log-processing CLI", "prompt": "The on-call team only wants to see failed requests. Add an `--errors-only` flag to /workspace/logs/annotate.py that keeps only requests with a 4xx or 5xx status; without the flag the output must stay exactly as it is now. See /workspace/logs/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'\"}, \"target\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'\"}}", "task_path": "tasks/E3.1-29-halfhour-log-localtime", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "deployment_latent"} {"task_id": "E3.1-30-halfhour-daily-gawk", "dimension": "E3.1.timezone", "mechanism": "inherited shell job takes the hours part of `date +%z` only (`${z:1:2}`) to shift epochs into local days with gawk strftime(...,utc); exact for whole-hour zones (base Asia/Tokyo), but in Asia/Kathmandu (+05:45) events in the first 45 minutes after local midnight are counted on the previous day", "source": "johnyuencm/Hourbridge#1 (non-whole-hour offset truncated); survey 4.9-1 time zone", "style": "terminal-bench: extend a bash/gawk reporting pipeline", "prompt": "Extend /workspace/stats/daily_counts.sh so each output line also has two more columns: the number of distinct customers and the total amount (two decimals) for that day, i.e. `day,events,customers,amount`. The script is run by cron exactly as described in /workspace/stats/README.md; keep the invocation and the existing columns as they are. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"date '+%Z %z'\"}, \"target\": {\"env\": {\"TZ\": \"Asia/Kathmandu\"}, \"probe\": \"date '+%Z %z'\"}}", "task_path": "tasks/E3.1-30-halfhour-daily-gawk", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "interactive_exposed"} {"task_id": "E3.1-31-halfhour-quiet-hours-java", "dimension": "E3.1.timezone", "mechanism": "inherited Java dispatcher computes the local minute-of-day with TimeZone.getRawOffset()/3_600_000 (whole hours); exact on a +09:00 host (base Asia/Tokyo) but on an Australia/Darwin host (+09:30) messages in the first half hour of quiet time are sent and the first half hour after quiet time is deferred [Scheduled execution: the agent's own shell has the base environment in both cells; the differing setting (TZ) is given to the job only by its crontab /etc/cron.d/nightly-job, which is how the verifier starts it, so trial runs from the agent's shell never show the difference.]", "source": "johnyuencm/Hourbridge#1 (integer-hour offset); survey 4.9-1 time zone", "style": "SWE-bench-like: small Java program, feature request + hidden tests", "prompt": "Add priority support to the notification dispatcher in /workspace/notify: the queue file now has a fourth column, `priority`, and messages with priority `urgent` must always be sent immediately, even during quiet hours. Everything else about the dispatcher's behaviour and how it is built and run must keep working as documented. See /workspace/notify/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1500, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'; java -XshowSettings:properties -version 2>&1 | grep user.timezone\"}, \"target\": {\"env\": {\"TZ\": \"Asia/Tokyo\"}, \"probe\": \"grep -E '^[A-Z_]+=' /etc/cron.d/nightly-job; date '+%Z %z'; java -XshowSettings:properties -version 2>&1 | grep user.timezone\"}}", "task_path": "tasks/E3.1-31-halfhour-quiet-hours-java", "runtime_profile": "host_scheduled", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.1", "canonical_group_name": "Locale, Encoding & Timezone", "canonical_dimension": "E3.1.timezone", "exposure_regime": "deployment_latent"} {"task_id": "E3.2-01-envmin-shell-plan", "dimension": "E3.2.env_inherit", "mechanism": "the inherited plan runner executes step snippets with subprocess(shell=True, executable=os.environ.get('SHELL', '/bin/sh')); with a minimal inherited environment SHELL is absent, so the bash-syntax snippets run under /bin/sh = dash: `[[ ... ]]` conditions are 'not found' (exit 127) and the step is silently skipped, `{1..3}` is not expanded, `${v,,}` is a bad substitution - the sample plan is POSIX-only, the production plan (judge) uses bash syntax", "source": "Python docs subprocess (shell=True uses /bin/sh unless executable= is given); env(1) -i; crontab(5)/systemd.exec(5) (jobs do not inherit the login environment); Debian /bin/sh is dash (DashAsBinSh)", "style": "terminal-bench: extend a small Python job runner", "prompt": "Extend /workspace/deployer/deploy.py with two features: a step may now have an `env` object (extra environment variables for that step's `when` and `run`), and `--report FILE` writes a JSON list with one object per step, `{\"name\": ..., \"status\": \"ran\" | \"skipped\"}`, in plan order. Existing plans must keep working exactly as before; see /workspace/deployer/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"env-minimal\"}}", "task_path": "tasks/E3.2-01-envmin-shell-plan", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.env_inherit", "exposure_regime": "interactive_exposed"} {"task_id": "E3.2-02-envmin-tz-metering", "dimension": "E3.2.env_inherit", "mechanism": "the service environment pins TZ=UTC while the host's own zone (/etc/localtime) is Asia/Tokyo; with a minimal inherited environment TZ is not passed on, so glibc - and Python's datetime.fromtimestamp() - fall back to the system zone and the inherited metering job buckets events into JST days; events between 00:00 and 15:00 UTC land on the same date either way (sample), evening UTC events (judge) are billed on the next day", "source": "tzset(3) (TZ unset -> /etc/localtime); Python docs datetime.fromtimestamp (local time if tz is None); crontab(5)/systemd.exec(5) do not pass the login environment (TZ) to jobs", "style": "terminal-bench: extend a billing data job", "prompt": "Billing wants event counts next to the usage. Extend /workspace/metering/daily_usage.py so the output CSV gets one more trailing column, `events` (the number of events that make up the row), and so events flagged `\"test\": true` are ignored entirely. Everything else about the output must keep working as documented; see /workspace/metering/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"env-minimal\"}}", "task_path": "tasks/E3.2-02-envmin-tz-metering", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.env_inherit", "exposure_regime": "interactive_exposed"} {"task_id": "E3.2-03-envpure-childpy-ingest", "dimension": "E3.2.env_inherit", "mechanism": "the inherited ingest job launches its mapping stage as subprocess.run(['python3', ...]); with an empty environment there is no PATH, so the child is looked up in os.defpath (/bin:/usr/bin) and the distribution's /usr/bin/python3 (3.11, no site packages) runs instead of /usr/local/bin/python3 (3.12 with PyYAML); the stage dies with ModuleNotFoundError and the job skips that partner with a warning - only partners that send a mapping file (judge inbox) go through the child process", "source": "Python docs os.get_exec_path / os.defpath and subprocess (program lookup uses PATH of the environment, default os.defpath); 'use sys.executable to run the current interpreter'; env(1) -i, systemd.exec(5) Environment", "style": "terminal-bench: extend a Python data-ingest job", "prompt": "Finance wants totals in the ingest summary. Extend /workspace/ingest/ingest.py so that every partner entry in out/summary.json also has `amount_total`: the sum of the `amount` column of that partner's normalised output, rounded to 2 decimals. Everything else about the job must keep working as documented; see /workspace/ingest/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"env-pure\"}}", "task_path": "tasks/E3.2-03-envpure-childpy-ingest", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.env_inherit", "exposure_regime": "interactive_exposed"} {"task_id": "E3.2-04-envpure-home-netcfg", "dimension": "E3.2.env_inherit", "mechanism": "git finds its global configuration only through $HOME (~/.gitconfig, ~/.config/git/config) and has no passwd fallback; with an empty environment HOME is unset and git silently runs without root's core.autocrlf=input, so the inherited config-sync job commits CRLF files from Windows editors unchanged and routers get configs with stray \\r - uploads with LF line endings (workspace) are unaffected, the judge upload has CRLF files", "source": "git-config(1) FILES ($HOME/.gitconfig, $XDG_CONFIG_HOME/git/config; 'If $HOME is not set ... not read'); git-config core.autocrlf=input; env(1) -i", "style": "terminal-bench: extend a git-based sync shell script", "prompt": "Make the commits of the router-config sync more useful: extend /workspace/netcfg-sync/publish.sh so the commit message is `sync: <site>, <site>, ...` listing exactly the sites whose configs changed in that commit (sorted by name), instead of the date. Everything else about the sync must keep working as documented; see /workspace/netcfg-sync/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"env-pure\"}}", "task_path": "tasks/E3.2-04-envpure-home-netcfg", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.env_inherit", "exposure_regime": "interactive_exposed"} {"task_id": "E3.2-05-cron-path-report", "dimension": "E3.2.env_inherit", "mechanism": "search path of scheduled jobs: the formatter the report script calls by bare name lives in /opt/reporting/bin, which is on the PATH of interactive shells on this host but not on the PATH the scheduler gives its jobs (/etc/cron.d/nightly-reports). Every trial run from a shell finds the tool; started by the scheduler the script dies with 'colfmt: command not found' (exit status 127) and leaves a truncated report", "source": "docs/environment-axes.md E4.2 process context, environment inheritance (inherited versus minimal); crontab(5) PATH", "style": "terminal-bench: extend a nightly report script", "prompt": "The printers want totals at the end of the report written by /workspace/report/nightly_report.sh (see /workspace/report/README.md): after the last sale add the same rule line as under the title and then one line in the same fixed-width format with `TOTAL` in the store column, an empty article column, the sum of all units and the sum of all revenue (two decimals). The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"env\": {\"PATH\": \"/opt/reporting/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"grep ^PATH= /etc/cron.d/nightly-reports; command -v colfmt\"}, \"target\": {\"user\": \"agent\", \"env\": {\"PATH\": \"/opt/reporting/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"}, \"probe\": \"grep ^PATH= /etc/cron.d/nightly-reports; command -v colfmt\"}}", "task_path": "tasks/E3.2-05-cron-path-report", "runtime_profile": "host_isolated", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.env_inherit", "exposure_regime": "deployment_latent"} {"task_id": "E3.2-06-shared-checkout-relnotes", "dimension": "E3.2.identity", "mechanism": "identity (checkout owned by another account): on this host release checkouts are published by the deploy account and only read by the job account. git refuses to operate in a repository owned by a different user ('fatal: detected dubious ownership in repository', safe.directory), so every git call of the inherited script fails on the real checkout. The sample checkout in the workspace and any repository the job account creates for a trial belong to the job account itself, so every trial run succeeds", "source": "docs/environment-axes.md E4.2 identity and ownership; git safe.directory (CVE-2022-24765)", "style": "terminal-bench: extend a release notes script", "prompt": "The release notes printed by /workspace/relnotes/relnotes.py (see /workspace/relnotes/README.md) should end with a contributors section: after the list of changes print an empty line, `## Contributors`, an empty line, and one line `- <author name> (<n> commits)` per author of the listed commits, most commits first, ties by name. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"cat /etc/checkout-owner; id -un; git --version\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/checkout-owner; id -un; git --version\"}}", "task_path": "tasks/E3.2-06-shared-checkout-relnotes", "runtime_profile": "host_isolated", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.identity", "exposure_regime": "deployment_latent"} {"task_id": "E3.2-07-nonroot-hardlink-store", "dimension": "E3.2.identity", "mechanism": "process context (run identity non-root): on this host the ingest job runs under the unprivileged account 'agent'. The inherited ingest hard-links each inbox file into the store and already falls back to a copy when the store is on another file system. With protected hard links (fs.protected_hardlinks=1, the Linux default) an unprivileged account may only link to files it owns or can write; the inbox files belong to the scanner station's account, so os.link fails with EPERM, which the fallback does not cover, and the run dies with nothing stored. Root is exempt. The sample inbox lives in the workspace and belongs to the job account, so every link succeeds there", "source": "docs/environment-axes.md E4.2 process context, run identity root / ordinary user; proc(5) /proc/sys/fs/protected_hardlinks, link(2) EPERM", "style": "terminal-bench: extend a content-addressed ingest script", "prompt": "Records management wants to know which scan became which object: extend /workspace/store/ingest.py (see /workspace/store/README.md) so that it also writes `index.csv` into the store directory, with the header `file,sha256,bytes` and one line per inbox file, sorted by file name. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"cat /etc/job-account; cat /proc/sys/fs/protected_hardlinks\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/job-account; cat /proc/sys/fs/protected_hardlinks\"}}", "task_path": "tasks/E3.2-07-nonroot-hardlink-store", "runtime_profile": "host_isolated", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.identity", "exposure_regime": "deployment_latent"} {"task_id": "E3.2-08-foreign-owned-output", "dimension": "E3.2.identity", "mechanism": "ownership (output left by another account): until yesterday the export ran as a different account on this host, and yesterday's price list in the outbox still belongs to it. The current job account owns the outbox directory but not the file, so opening the list for writing fails with PermissionError and the shop keeps reading yesterday's prices; replacing the file (write next to it, rename over it) works. Any output file the agent produces in a trial is its own, so overwriting it in a second run succeeds", "source": "docs/environment-axes.md E4.2 run identity and E6.1 platform residue (stale files of another account); open(2) versus rename(2) permission rules", "style": "terminal-bench: extend a price export script", "prompt": "The shop wants the net price next to the gross price: change /workspace/prices/export_prices.py (see /workspace/prices/README.md) so that the list has the columns `sku,net,gross`, net being the net price in the same `euros.cents` notation. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"cat /etc/previous-job-account; id -un\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/previous-job-account; id -un\"}}", "task_path": "tasks/E3.2-08-foreign-owned-output", "runtime_profile": "host_isolated", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.identity", "exposure_regime": "deployment_latent"} {"task_id": "E3.2-09-root-dac-pinned", "dimension": "E3.2.identity", "mechanism": "the inherited sync decides 'pinned' (write-protected) files with os.access(W_OK); running as root (CAP_DAC_OVERRIDE) access() says every file is writable, so pinned files get overwritten - only the judge tree contains pinned files that differ from SRC", "source": "access(2) NOTES (privileged process: checks always succeed for R_OK/W_OK); capabilities(7) CAP_DAC_OVERRIDE; CPython test suite skips permission tests as root", "style": "swe: add a CLI option to an existing sync tool", "prompt": "Add a repeatable `--exclude PATTERN` option to /workspace/assetsync/sync.py: a file whose path relative to SRC matches any of the given shell-style patterns (fnmatch, e.g. `*.tmp`, `cache/*`) is neither copied nor reported. Everything else the tool does must keep working as documented (see /workspace/assetsync/README.md). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"id -un; stat -c %U /workspace\", \"user\": \"agent\"}, \"target\": {\"probe\": \"id -un; stat -c %U /workspace\", \"user\": \"root\"}}", "task_path": "tasks/E3.2-09-root-dac-pinned", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.identity", "exposure_regime": "deployment_latent"} {"task_id": "E3.2-10-git-owner-ci", "dimension": "E3.2.identity", "mechanism": "the CI checkout is owned by the build account (uid 1000); when the deploy step runs as root, git (>=2.35.2, safe.directory) refuses to read a repository owned by another user, and the manifest script's error fallbacks silently emit version 0.0.0 / commit unknown", "source": "git CVE-2022-24765 safe.directory; actions/checkout#760 ('unsafe repository ... is owned by someone else' in container jobs running as root)", "style": "terminal-bench: extend a release/CI script", "prompt": "Add a `commit_date` field to the release manifest printed by /workspace/releasetool/manifest.sh: the committer date of the checked-out commit in strict ISO 8601 form, exactly as `git show -s --format=%cI` prints it. See /workspace/releasetool/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"id -un; stat -c %U /workspace /workspace/checkouts/webshop; git --version\", \"user\": \"agent\"}, \"target\": {\"probe\": \"id -un; stat -c %U /workspace /workspace/checkouts/webshop; git --version\", \"user\": \"root\"}}", "task_path": "tasks/E3.2-10-git-owner-ci", "runtime_profile": "base_container", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.identity", "exposure_regime": "interactive_exposed"} {"task_id": "E3.2-11-pty-merge-autoedit", "dimension": "E3.2.tty", "mechanism": "git merge opens an editor for the merge message by default when stdin and stdout are the same terminal (builtin/merge.c default_edit_option; GIT_MERGE_AUTOEDIT); under a pty (TERM=dumb, no EDITOR) the editor cannot start, git prints 'Terminal is dumb, but EDITOR unset' and leaves the merge uncommitted, so the inherited vendor-sync script (set -e) stops before cutting the release; without a terminal git commits the merge with the default message. Fast-forward and already-up-to-date merges (the workspace state) never open the editor - only a real upstream change on top of the local patches (judge) does", "source": "git-merge(1) --edit/--no-edit ('older scripts ... can set GIT_MERGE_AUTOEDIT=no'); git builtin/merge.c default_edit_option() checks isatty(0) && isatty(1); git editor.c 'Terminal is dumb, but EDITOR unset'", "style": "terminal-bench: extend a release shell script around git", "prompt": "Releases of our patched fmtlite need checksums. Extend /workspace/vendor-sync/sync.sh so that every release tarball it cuts gets a `<tarball>.sha256` file next to it in sha256sum format (the packaging job verifies it with `sha256sum -c`). Everything else about the sync must keep working as documented; see /workspace/vendor-sync/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"tty-pty\"}}", "task_path": "tasks/E3.2-11-pty-merge-autoedit", "runtime_profile": "variant_sandbox", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.tty", "exposure_regime": "interactive_exposed"} {"task_id": "E3.2-12-umask-nested-publish", "dimension": "E3.2.umask", "mechanism": "process context (umask): on this host jobs run with umask 077 instead of the usual 022. The inherited publisher gives every copied page an explicit 0644 mode, but the directories it creates with os.makedirs() take their mode from the umask and come out 0700, so the web server account cannot enter them: every page below a subdirectory is unreadable for it although its own mode is right. The publishing account reads everything without trouble, nothing fails and the run exits 0. The sample pages are all at the top level, so no directory is created for them", "source": "docs/environment-axes.md E4.2 process context (inherited process attributes); umask(2), mkdir(2): the mode of a new directory is mode & ~umask", "style": "terminal-bench: extend a publishing script", "prompt": "The web team wants a machine-readable list of what is published: extend /workspace/docsite/publish.py (see /workspace/docsite/README.md) so that it also writes `sitemap.json` into the serve directory, a JSON list with one object {\"path\": <relative path with forward slashes>, \"bytes\": <size>} per published page, sorted by path, readable like the pages. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"umask\": \"022\", \"probe\": \"id -un; umask\"}, \"target\": {\"user\": \"agent\", \"umask\": \"077\", \"probe\": \"id -un; umask\"}}", "task_path": "tasks/E3.2-12-umask-nested-publish", "runtime_profile": "host_isolated", "canonical_layer": "E3", "canonical_layer_name": "Execution Context Layer", "canonical_group": "E3.2", "canonical_group_name": "Process Context", "canonical_dimension": "E3.2.umask", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-01-noexec-etl-transform", "dimension": "E4.1.mount", "mechanism": "/tmp is mounted noexec; the inherited exporter writes each dataset's transform script to tempfile.mkstemp() and executes it, which fails with EACCES - but only datasets that define a transform (judge data only) take that path", "source": "anthropics/claude-code#26741 (noexec /tmp breaks tool execution silently); pnpm/pnpm#9776; survey E5.1 mount (tmp-noexec)", "style": "data-ops: extend an export job", "prompt": "Datasets are published by /workspace/etl/export.py (see /workspace/etl/README.md). Consumers now need a manifest: every run must also write `_manifest.json` into the output directory, containing a JSON list with one object per published dataset, in the order of datasets.json, with keys `name`, `rows` (number of data rows in the published CSV, header excluded) and `sha256` (hex digest of the published file). Implement it; the command line stays the same. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"docker\": [\"--tmpfs\", \"/tmp:rw,exec,size=1g\"], \"probe\": \"mount | grep ' /tmp '\"}, \"target\": {\"docker\": [\"--tmpfs\", \"/tmp:rw,noexec,size=1g\"], \"probe\": \"mount | grep ' /tmp '\"}}", "task_path": "tasks/E4.1-01-noexec-etl-transform", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.mount", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-02-noexec-native-scan", "dimension": "E4.1.mount", "mechanism": "/tmp is mounted noexec; the inherited scanner JIT-builds a C accelerator into tempfile.gettempdir() and loads it with ctypes, which fails ('failed to map segment from shared object') - but only inputs above 8 MB (judge data only) take the native path", "source": "anthropics/claude-code#26741 (native helper under noexec /tmp); pypa/pip#6364; JIT extension caches in /tmp (e.g. torch_extensions); survey E5.1 mount", "style": "SWE-bench-ish: add a CLI option to a small tool", "prompt": "/workspace/logscan/logscan.py counts how many log lines contain each known error signature (see the README there). Add an optional `--min-count N` argument: signatures with fewer than N matching lines are left out of the output (default 1, so signatures that never occur are no longer printed). The output rows must also be sorted by count, highest first, with ties kept in signatures.txt order. Everything else about the tool must keep working as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"docker\": [\"--tmpfs\", \"/tmp:rw,exec,size=1g\"], \"probe\": \"mount | grep ' /tmp '\"}, \"target\": {\"docker\": [\"--tmpfs\", \"/tmp:rw,noexec,size=1g\"], \"probe\": \"mount | grep ' /tmp '\"}}", "task_path": "tasks/E4.1-02-noexec-native-scan", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.mount", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-03-xdev-spool-archive", "dimension": "E4.1.mount", "mechanism": "mount layout (spool on another file system): on this host the print spool lives on a memory-backed volume (tmpfs) while the archive is on the root file system. The inherited archiver moves finished batches with os.rename, which works only within one file system; across the two it fails with 'OSError: [Errno 18] Invalid cross-device link' on the first finished batch and nothing is archived. Any spool the script is tried on inside the workspace or under /tmp is on the same file system as its archive, so every trial run succeeds", "source": "docs/environment-axes.md E5.1 permissions and mounts, mount layout (Firecracker and OCI volume mounts); rename(2) EXDEV", "style": "terminal-bench: extend a spool archiving script", "prompt": "The print room wants a list of what was archived: extend /workspace/spool/archive_spool.py (see /workspace/spool/README.md) so that every run also writes `archived.csv` into the archive directory, with the header `batch,day,bytes` and one line per batch archived in that run, sorted by batch name. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"cat /etc/job-spool-root; df --output=fstype,target $(cat /etc/job-spool-root) /var/tmp | tail -2\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/job-spool-root; df --output=fstype,target $(cat /etc/job-spool-root) /var/tmp | tail -2\"}}", "task_path": "tasks/E4.1-03-xdev-spool-archive", "runtime_profile": "host_isolated", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.mount", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-04-readonly-fx-cache", "dimension": "E4.1.permissions", "mechanism": "root filesystem (incl. $HOME) is read-only, only /workspace writable; the inherited rate client caches fetched historical rates in ~/.cache/fxrates and crashes on the makedirs - but only dates outside the bundled 2024 table (judge data only) are fetched", "source": "NGINX read-only root filesystem guide / k8s readOnlyRootFilesystem (caches under $HOME and /var need emptyDir); survey E5.1 permissions (readonly-sys)", "style": "tau-bench/AppWorld: program against a local rates service", "prompt": "Finance's transaction report is produced by /workspace/fx/convert_report.py (see /workspace/fx/README.md). They want a new column `rate`, placed just before `amount_eur`, holding the exchange rate that was used for the row with 4 decimals. Implement it; the invocation and the other columns stay as they are. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"docker\": [\"--tmpfs\", \"/opt/fxsvc:rw,exec,mode=0700\"], \"env\": {\"FX_API\": \"http://127.0.0.1:8097\"}, \"probe\": \"touch ~/.probe && echo home-writable || echo home-readonly; curl -s $FX_API/v1/rates/2023-03-01 | head -c 120\", \"user\": \"agent\"}, \"target\": {\"docker\": [\"--tmpfs\", \"/opt/fxsvc:rw,exec,mode=0700\", \"--read-only\"], \"env\": {\"FX_API\": \"http://127.0.0.1:8097\"}, \"probe\": \"touch ~/.probe && echo home-writable || echo home-readonly; curl -s $FX_API/v1/rates/2023-03-01 | head -c 120\", \"user\": \"agent\"}}", "task_path": "tasks/E4.1-04-readonly-fx-cache", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.permissions", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-05-readonly-rotated-logs", "dimension": "E4.1.permissions", "mechanism": "root filesystem is read-only (only /workspace writable, no tmpfs on /tmp); the inherited report decompresses rotated .gz logs via mktemp, which fails, so compressed rotations (judge data only) are silently skipped", "source": "NGINX 'read-only root filesystem' Kubernetes guide + k8s securityContext.readOnlyRootFilesystem (need writable emptyDir for /tmp); survey E5.1 permissions (readonly-sys)", "style": "terminal-bench: extend a log-processing shell script", "prompt": "/workspace/logstats/errors_by_hour.sh reports how many ERROR lines the app logged per hour (see the README there). On-call wants an optional second argument: `errors_by_hour.sh LOG_DIR COMPONENT` must count only ERROR lines of that component (the name in square brackets), while calling it without the second argument must behave exactly as today. Implement it. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"touch /tmp/.probe && echo tmp-writable || echo tmp-readonly; mount | grep ' / '\"}, \"target\": {\"docker\": [\"--read-only\"], \"probe\": \"touch /tmp/.probe && echo tmp-writable || echo tmp-readonly; mount | grep ' / '\"}}", "task_path": "tasks/E4.1-05-readonly-rotated-logs", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.permissions", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-06-readonly-xlsx-import", "dimension": "E4.1.permissions", "mechanism": "root filesystem is read-only (only /workspace writable): the feature needs a package that is not installed, and `pip install` / `pip install --user` fail (site-packages and $HOME read-only); the dependency must be vendored where the scheduled job itself will find it, not just in the agent's shell", "source": "NGINX read-only root filesystem guide / k8s readOnlyRootFilesystem; survey E5.1 permissions (readonly-sys), admission table 'perm non-root+readonly-sys'", "style": "terminal-bench: add an input format to an import job", "prompt": "Our supplier will send its price list as an Excel workbook from next week instead of CSV. Extend /workspace/pricing/import_prices.py (see the README there) so that it also accepts `.xlsx` files: first worksheet, header row, then one row per article with the same two columns as the CSV. CSV input must keep working. A sample workbook is in /workspace/pricing/sample/prices.xlsx. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1500, "prompt_version": "v2", "cells_json": "{\"base\": {\"probe\": \"touch /usr/local/lib/python3.12/site-packages/.p && echo site-writable || echo site-readonly\"}, \"target\": {\"docker\": [\"--read-only\"], \"probe\": \"touch /usr/local/lib/python3.12/site-packages/.p && echo site-writable || echo site-readonly\"}}", "task_path": "tasks/E4.1-06-readonly-xlsx-import", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.permissions", "exposure_regime": "interactive_exposed"} {"task_id": "E4.1-07-caps-icmp-netcheck", "dimension": "E4.1.permissions", "mechanism": "the inherited probe pings with a raw ICMP socket; with all capabilities dropped even root gets EPERM for SOCK_RAW (CAP_NET_RAW), the probe's error path reports the host as down; only the network team's ICMP targets (judge data) take that path; unprivileged ICMP datagram sockets still work", "source": "raw(7): raw sockets need CAP_NET_RAW; icmp(7) ping_group_range (unprivileged ICMP_ECHO datagram sockets); Docker run reference --cap-drop", "style": "Terminal-Bench: extend a monitoring script", "prompt": "The on-call dashboard wants to see how fast targets answer. Add a `latency_ms` column to the CSV printed by the reachability probe in /srv/netcheck/netcheck.py: the time the probe of that target took until it got its answer, in milliseconds with 1 decimal, empty when the target is down. The probe is run every minute by cron as `python3 /srv/netcheck/netcheck.py /etc/netcheck/targets.txt` (see /srv/netcheck/README.md). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"perm-restricted-caps\"}}", "task_path": "tasks/E4.1-07-caps-icmp-netcheck", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.permissions", "exposure_regime": "interactive_exposed"} {"task_id": "E4.1-08-caps-foreign-docroot-prune", "dimension": "E4.1.permissions", "mechanism": "the inherited publisher overwrites changed files in place (shutil.copy2 opens the destination for writing); without CAP_DAC_OVERRIDE root cannot open files that belong to another account (the content team's SFTP hot-fixes, judge data only), so the publish dies with EACCES; replacing via temp file + rename only needs the root-owned directory", "source": "capabilities(7) CAP_DAC_OVERRIDE; path_resolution(7)/rename(2) permission rules; Docker run reference --cap-drop ALL", "style": "Terminal-Bench: extend a deploy tool", "prompt": "Old pages never disappear from our web server because /srv/sitepub/publish.py only adds and updates files. Make it prune as well: after a publish the document root must contain exactly the release's files plus whatever is under `uploads/` (no stale files, no empty directories). The deploy job keeps calling it as `python3 /srv/sitepub/publish.py RELEASE_DIR DOCROOT`; see /srv/sitepub/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"perm-restricted-caps\"}}", "task_path": "tasks/E4.1-08-caps-foreign-docroot-prune", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.permissions", "exposure_regime": "deployment_latent"} {"task_id": "E4.1-09-readonly-drop-ranking", "dimension": "E4.1.permissions", "mechanism": "permissions (input directory not writable): extracts are handed to jobs in drop directories that belong to the transfer account; the job account can read them but cannot create files there. The inherited script writes its intermediate sorted file next to the extract (EXTRACT.csv.sorted), so on a real drop sort(1) fails with 'Permission denied' and nothing is ranked. The sample in the workspace and any trial extract the agent writes live in directories the agent owns", "source": "docs/environment-axes.md E5.1 permissions and mounts (read-only inputs)", "style": "terminal-bench: extend a ranking script", "prompt": "Purchasing wants to see each product's weight: add a fourth column `share_pct` to the output of /workspace/rank/rank.py (see /workspace/rank/README.md), the product's units as a percentage of all units, with two decimals. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"cat /etc/dropbox-owner; id -un\"}, \"target\": {\"user\": \"agent\", \"probe\": \"cat /etc/dropbox-owner; id -un\"}}", "task_path": "tasks/E4.1-09-readonly-drop-ranking", "runtime_profile": "host_isolated", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.1", "canonical_group_name": "Permissions & Mounts", "canonical_dimension": "E4.1.permissions", "exposure_regime": "deployment_latent"} {"task_id": "E4.2-01-dns-ipcheck-online", "dimension": "E4.2.dns", "mechanism": "the inherited check takes the pinned SPDX list from ~/.cache, else downloads it when an 'online' probe succeeds, else uses the vendored copy; the probe is a TCP connect to the IP literal 8.8.8.8:53, which succeeds with IP routing intact but no DNS, so on a fresh release runner (empty cache) the download fails on name resolution and the tool degrades to 'unchecked' for every component instead of using the vendored copy of the same release; the dev machine's warm cache hides it", "source": "common connectivity-check idiom socket.create_connection(('8.8.8.8', 53)) (StackOverflow 'check internet connection in Python'); resolv.conf(5); getaddrinfo EAI_AGAIN 'Temporary failure in name resolution'", "style": "terminal-bench: extend a release-gate script", "prompt": "The dependency inventory now exports SPDX license expressions, e.g. `Apache-2.0 OR BSD-3-Clause` or `(MIT AND GPL-3.0+)`. Extend /workspace/licensecheck/check.py so that the `license` column may hold such an expression (ids combined with AND / OR, optionally parenthesised): every id in it is checked, and the component's status is the worst status among its ids (UNKNOWN worse than DEPRECATED worse than OK). The release job runs the check as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"dns-servfail\"}}", "task_path": "tasks/E4.2-01-dns-ipcheck-online", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.dns", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-02-resolver-java-url-equals", "dimension": "E4.2.dns", "mechanism": "the inherited Java plan builder deduplicates artifact URLs with a Map<java.net.URL,...>; URL.equals/hashCode resolve the host names and treat hosts with the same IP as equal; the sandbox resolver answers every *.sandbox.internal name with the same address, so artifacts with the same path on different build hosts collapse into one key (dropped lines / false conflicts), while with normal DNS the names do not resolve and URL falls back to comparing host strings", "source": "java.net.URL#equals javadoc ('Two hosts are considered equivalent if both host names can be resolved into the same IP addresses'); SpotBugs DMI_COLLECTION_OF_URLS; dnsmasq --address=/domain/ip wildcard", "style": "terminal-bench: extend a small Java ops tool", "prompt": "If the same artifact URL is reported with two different sha256 values, the mirror plan currently keeps the first one silently. Change /workspace/tools/MirrorPlan.java so that such URLs are left out of the plan, a line `CONFLICT <url>` is printed to stderr for each of them, and the tool exits with status 1 at the end if there was any conflict (the plan of the other artifacts is still printed). Everything else must keep working as documented; the mirror job runs it as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"dns-sandbox-resolver\"}}", "task_path": "tasks/E4.2-02-resolver-java-url-equals", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.dns", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-03-resolver-linkcheck-nxdomain", "dimension": "E4.2.dns", "mechanism": "links to retired internal hosts (*.sandbox.internal) are dead because the name does not exist (NXDOMAIN); the sandbox resolver answers every *.sandbox.internal name with its own address, so the name resolves and the connection is refused instead; the inherited checker files every requests.ConnectionError (refused included) under 'unverified', so those dead links pass silently; only judge docs link to such hosts", "source": "RFC 4592 (wildcard records synthesise answers for non-existent names); dnsmasq --address=/domain/ip; Verisign Site Finder (2003) breaking NXDOMAIN-based checks; requests exception hierarchy (ConnectTimeout subclasses ConnectionError)", "style": "terminal-bench: extend a docs link checker", "prompt": "The docs now also use images (`![alt](URL)`) and reference-style links (`[text][ref]` with a definition line `[ref]: URL`). Extend /workspace/tools/linkcheck.py so that the URLs of images and of reference definitions are checked and reported too (the line number is the line where the URL itself is written), keeping the existing output format and exit status. The docs CI runs it as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"dns-sandbox-resolver\"}}", "task_path": "tasks/E4.2-03-resolver-linkcheck-nxdomain", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.dns", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-04-allowlist-gh-archive-dep", "dimension": "E4.2.egress", "mechanism": "egress allowlist admits only pypi.org/files.pythonhosted.org; the inherited requirements.txt pins Markdown as a PEP 508 direct URL to a GitHub release archive, so the fresh CI bootstrap cannot download it (connections to github.com are dropped) while everything from PyPI installs fine; the dev .venv works, so only a fresh bootstrap shows it", "source": "PEP 440/508 direct references (`name @ URL`); pip docs 'Requirement specifiers'; corporate PyPI-only egress e.g. pypa/pip#10421-style reports of direct-URL deps failing behind allowlists", "style": "terminal-bench: add a CLI option + dependency, keep CI bootstrap green", "prompt": "Add a `--since VERSION` option to /workspace/tools/render_changelog.py: with it, only releases strictly newer than VERSION are rendered (versions are compared numerically component by component, e.g. 2.10.0 is newer than 2.9.2); without it the output stays as it is. The docs CI job must keep working as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-allowlist\"}}", "task_path": "tasks/E4.2-04-allowlist-gh-archive-dep", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.egress", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-05-allowlist-enrich-hang", "dimension": "E4.2.egress", "mechanism": "egress allowlist (only pypi.org/files.pythonhosted.org) DROPs other traffic; the inherited best-effort GitHub lookup uses requests.get without a timeout, so each uncached repository hangs in TCP connect (~2 min, kernel SYN retries) instead of failing; the PyPI part works, but the job overruns the scheduler's 120 s limit and is killed; only judge pins have uncached repositories", "source": "requests docs 'Timeouts' (no timeout by default, requests may hang indefinitely); tcp(7) tcp_syn_retries; iptables DROP vs REJECT", "style": "terminal-bench: add a column to a nightly report job", "prompt": "Add a `requires_python` column, right after `version`, to the nightly dependency report produced by /workspace/depreport/report.py; its value is the Requires-Python of the pinned release as published on PyPI (empty if the release declares none). Keep the other columns as they are. The job must keep running as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-allowlist\"}}", "task_path": "tasks/E4.2-05-allowlist-enrich-hang", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.egress", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-06-proxy-java-notice", "dimension": "E4.2.egress", "mechanism": "the inherited Java NOTICE generator downloads license texts it has not cached with java.net.http.HttpClient.newBuilder().build(); the JDK ignores HTTPS_PROXY/http_proxy, so behind a mandatory proxy (no DNS, no direct route) the download fails with UnresolvedAddressException and the tool silently writes a link instead of the text; only the judge components use licenses that are not cached", "source": "JDK networking properties doc (https.proxyHost/https.proxyPort; java.net.useSystemProxies reads desktop settings, not env vars); HttpClient.Builder.proxy javadoc; e.g. gradle/gradle#10248, jenkinsci issues on JVM ignoring http_proxy", "style": "terminal-bench: extend a small Java build tool", "prompt": "Legal wants every component's copyright notice in the NOTICE file. Extend /workspace/tools/Notice.java so that under each license heading, after the `Used by:` line, the NOTICE has one line per component of that license in the form `<name> <version>: <copyright>` (copyright from the CSV), followed by a blank line and then the license text as today. The release build regenerates NOTICE exactly as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-proxy\"}}", "task_path": "tasks/E4.2-06-proxy-java-notice", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.egress", "exposure_regime": "deployment_latent"} {"task_id": "E4.2-07-proxy-precheck-yanked", "dimension": "E4.2.egress", "mechanism": "inherited audit decides 'PyPI reachable?' with a raw socket.create_connection to pypi.org:443; behind a mandatory HTTP proxy there is no DNS and no direct route, so the check says offline and the audit silently serves the partial cache ('?' for uncached pins) although requests through HTTPS_PROXY would work; only judge pins are uncached", "source": "Python docs: urllib.request.getproxies / requests 'Proxies' (environment HTTPS_PROXY honoured by HTTP clients, not by socket.create_connection); pip/requests issues on proxy-only CI (e.g. psf/requests#5967 style connectivity checks)", "style": "terminal-bench: add a CI flag to an existing audit script", "prompt": "Release engineering wants CI to stop on yanked pins. Add a `--fail-on-yanked` option to /workspace/pinaudit/audit.py: with it the audit still prints the full CSV report, additionally prints `YANKED <package>==<version>: <reason>` to stderr for every yanked pinned release, and exits with status 1 if any pinned release is yanked (0 otherwise). CI will run `python3 pinaudit/audit.py --fail-on-yanked requirements.txt` in each image repository; see /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-proxy\"}}", "task_path": "tasks/E4.2-07-proxy-precheck-yanked", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.egress", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-08-mirror-uv-index", "dimension": "E4.2.egress", "mechanism": "only the package mirror is reachable and pip is pointed at it through PIP_INDEX_URL; the inherited bootstrap installs with `uv pip install`, and uv does not read PIP_INDEX_URL/pip.conf (it uses UV_INDEX_URL/UV_DEFAULT_INDEX or --index-url), so the fresh bootstrap tries pypi.org and times out; plain pip, and therefore ad-hoc installs, work", "source": "uv docs 'pip compatibility' (uv does not read pip configuration or PIP_* environment variables; use UV_INDEX_URL / UV_DEFAULT_INDEX); astral-sh/uv#1404", "style": "terminal-bench: add a dependency + feature, keep the host bootstrap green", "prompt": "The storage team wants readable sizes. Change /workspace/tools/du_report.py so that the size column is printed with `humanize.naturalsize(n, binary=True)` from the `humanize` package (e.g. `1.5 GiB`) instead of raw bytes, and add `humanize` as a dependency of the project. Report hosts must keep working exactly as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-mirror-only\"}}", "task_path": "tasks/E4.2-08-mirror-uv-index", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.egress", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-09-mirror-hashlock-jsonapi", "dimension": "E4.2.egress", "mechanism": "only the PyPI mirror (PIP_INDEX_URL) is reachable; the inherited lock generator reads release hashes from the PyPI JSON API on pypi.org, which is unreachable, and the mirror only serves the PEP 503 simple index (no JSON API) - the hashes have to come from the configured index (#sha256= link fragments) or from pip itself; pip installs keep working", "source": "PEP 503 (hash fragments in simple-index links), PyPI JSON API docs (pypi.org only, not part of the mirror protocol), pip docs 'Hash-checking mode'; pip-tools/poetry issues on mirrors without the JSON API (e.g. python-poetry/poetry#5292)", "style": "terminal-bench: add a --check mode to a lockfile tool; CI regenerates and installs", "prompt": "CI should fail when someone edits requirements.in without regenerating the lock. Add a `--check` mode to /workspace/tools/hashlock.py: it must not write anything, exit 0 if requirements.lock is exactly what the tool would generate from requirements.in, and otherwise print what is out of date and exit 1. The CI pipeline will run it on the build hosts as described in /workspace/README.md; keep the normal (regenerate) mode working there too. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-mirror-only\"}}", "task_path": "tasks/E4.2-09-mirror-hashlock-jsonapi", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.egress", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-10-readonly-git-smart-http", "dimension": "E4.2.http_methods", "mechanism": "egress only lets GET/HEAD/OPTIONS through; git over HTTPS (smart protocol) sends its fetch negotiation as POST /git-upload-pack, which the proxy answers 403, so the inherited vendoring script cannot fetch any commit ('RPC failed; HTTP 403'); the same commit is available as a GitHub source tarball via plain GET (codeload)", "source": "git docs gitprotocol-http (smart HTTP: GET info/refs then POST git-upload-pack); GitHub docs 'Downloading source code archives'; corporate read-only proxy reports e.g. git-for-windows#1453 'RPC failed; HTTP 403'", "style": "terminal-bench: extend a vendoring script used by CI", "prompt": "Legal needs the license of every vendored library shipped next to its code. Change /workspace/tools/vendor.sh so that it also copies the top-level license file of each library's repository (`LICENSE`, `LICENSE.txt`, `LICENSE.rst` or `LICENSE.md`, the first that exists) to `vendor/<name>/LICENSE`, and refresh vendor/. The CI job runs the script as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-http-readonly\"}}", "task_path": "tasks/E4.2-10-readonly-git-smart-http", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.http_methods", "exposure_regime": "interactive_exposed"} {"task_id": "E4.2-11-readonly-batch-post-lookup", "dimension": "E4.2.http_methods", "mechanism": "all HTTP leaves through an egress proxy that only forwards GET/HEAD/OPTIONS; the inherited catalog client looks up <=20 SKUs with GET but switches to POST /v1/items:batchGet for bigger lookups, which the proxy answers 403, so the report crashes; sample batches are small (GET path), the judge batch has 65 SKUs; chunked GET lookups work everywhere", "source": "read-only egress / method-filtering proxies (Squid http_access with method ACLs; mitmproxy addon); Google AIP-231 batchGet pattern; RFC 9110 9.2.1 safe methods", "style": "tau-bench/AppWorld: extend a client of a service API", "prompt": "The warehouse only wants to see what actually needs restocking. Add an `--only-short` option to /workspace/restock/report.py: with it, only rows with a shortfall greater than 0 are printed, followed by a last line `TOTAL,,,,<sum of the shortfalls>`. The scheduler runs the report on this host as described in /workspace/README.md; the catalog API it uses is documented in /workspace/docs/API.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"net-http-readonly\"}}", "task_path": "tasks/E4.2-11-readonly-batch-post-lookup", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.2", "canonical_group_name": "Network Boundaries", "canonical_dimension": "E4.2.http_methods", "exposure_regime": "interactive_exposed"} {"task_id": "E4.3-01-future-entitlement-allowlist", "dimension": "E4.3.clock", "mechanism": "the build host's clock runs a year ahead (libfaketime +365d); the inherited allowlist builder keeps an entitlement while its expires_at (stamped by the licence server's correct clock) is later than the local datetime.now(), so every entitlement that ends within the next year looks expired and is silently dropped - customers lose downloads they paid for. Multi-year contracts (all of the workspace export) survive, short-term ones (judge export) do not", "source": "libfaketime README (FAKETIME relative offsets, LD_PRELOAD); microsoft/WSL#4114, moby/moby#33405 (container/VM clock drift); Python docs datetime.now() reads the system clock", "style": "terminal-bench: extend a data job that compares server timestamps with now", "prompt": "The download portal now limits concurrent downloads by seats. Change /workspace/licensing/build_allowlist.py so that each customer in the allowlist maps to an object `{\"products\": [...], \"seats\": N}` instead of the bare product list, where `products` is the sorted list of products of the customer's active entitlements (as now) and `seats` is the sum of their seats. Then run it once so /srv/licensing/allowlist.json is current. See /workspace/licensing/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"clock-future\"}}", "task_path": "tasks/E4.3-01-future-entitlement-allowlist", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.3", "canonical_group_name": "Clock Skew", "canonical_dimension": "E4.3.clock", "exposure_regime": "interactive_exposed"} {"task_id": "E4.3-02-skew-token-refresh", "dimension": "E4.3.clock", "mechanism": "host clock runs a year behind (libfaketime -365d); the inherited API client decides when to refresh its OAuth access token by comparing the JWT `exp` (stamped by the server's correct clock) with the local time.time(), so it never refreshes; short exports finish within the token lifetime, the production-size export gets 401 token_expired mid-run", "source": "RFC 6749 s5.1 (expires_in is relative so clients need no synchronized clock); microsoft/WSL#4114 (clock drift breaks auth); survey 4.9-1 clock", "style": "tau-bench/AppWorld: program against a token-authenticated service API", "prompt": "The billing API documented in /workspace/export/API.md is running on this machine. Finance also needs credit notes: extend the nightly exporter in /workspace/export so that a run of `python3 /workspace/export/export.py` additionally writes /workspace/export/out/credit_notes.csv with the columns `id,invoice_id,amount` (header row, one line per credit note, all credit notes in the API). invoices.csv must keep being produced as before. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1500, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {}, \"probe\": \"date -u '+%F %T'; curl -s -o /dev/null -w '%{http_code}' -X POST http://127.0.0.1:8091/oauth/token\", \"user\": \"agent\"}, \"target\": {\"env\": {\"FAKETIME\": \"-365d\", \"LD_PRELOAD\": \"/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1\"}, \"probe\": \"date -u '+%F %T'; curl -s -o /dev/null -w '%{http_code}' -X POST http://127.0.0.1:8091/oauth/token\", \"user\": \"agent\"}}", "task_path": "tasks/E4.3-02-skew-token-refresh", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.3", "canonical_group_name": "Clock Skew", "canonical_dimension": "E4.3.clock", "exposure_regime": "interactive_exposed"} {"task_id": "E4.3-03-skew-http-cache", "dimension": "E4.3.clock", "mechanism": "host clock runs a year behind (libfaketime -365d); the inherited rates client keeps an on-disk HTTP cache and treats an entry as fresh while the server's absolute `Expires` time is later than the local time.time(), so on the slow clock nothing ever expires and stale FX rates are served silently", "source": "RFC 9111 s4.2 (freshness via max-age/Age, Expires depends on synchronized clocks); apt.conf(5) Check-Valid-Until; survey 4.9-1 clock", "style": "tau-bench/AppWorld: client of a cached HTTP service", "prompt": "The FX rates service documented in /workspace/fx/API.md is running on this machine. Extend /workspace/fx/convert.py with a `--to CUR` option (default `USD`, so existing callers see no change) that converts every amount into currency CUR instead of USD; the output format stays the same. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {}, \"probe\": \"date -u '+%F %T'; curl -sI http://127.0.0.1:8092/v1/rates | grep -i -E '^(date|expires)'\", \"user\": \"agent\"}, \"target\": {\"env\": {\"FAKETIME\": \"-365d\", \"LD_PRELOAD\": \"/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1\"}, \"probe\": \"date -u '+%F %T'; curl -sI http://127.0.0.1:8092/v1/rates | grep -i -E '^(date|expires)'\", \"user\": \"agent\"}}", "task_path": "tasks/E4.3-03-skew-http-cache", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.3", "canonical_group_name": "Clock Skew", "canonical_dimension": "E4.3.clock", "exposure_regime": "interactive_exposed"} {"task_id": "E4.3-04-frozen-poll-deadline", "dimension": "E4.3.clock", "mechanism": "host clock is frozen (libfaketime absolute time, monotonic frozen too, sleep still real); the inherited batch runner waits for remote jobs with `while time.time() < deadline: poll; sleep`, which is fine while jobs finish, but a job that never finishes keeps the loop alive forever instead of being reported as timed out", "source": "libfaketime README (programs waiting for a time that never comes hang); survey 4.9-1 clock", "style": "tau-bench/AppWorld: client of an async job service", "prompt": "The render service documented in /workspace/batch/API.md is running on this machine. Extend /workspace/batch/run_batch.py so that jobs that end with status `failed` are resubmitted, up to 2 extra attempts per input; results.json must record for each input the final `status`, the `result` (or null) and the number of `attempts`. Inputs that never finish must still be reported with status `timeout` as they are now. See /workspace/batch/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1500, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {}, \"probe\": \"date '+%F %T'; sleep 1.2; date '+%F %T'\", \"user\": \"agent\"}, \"target\": {\"env\": {\"FAKETIME\": \"2026-10-01 08:00:00\", \"LD_PRELOAD\": \"/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1\"}, \"probe\": \"date '+%F %T'; sleep 1.2; date '+%F %T'\", \"user\": \"agent\"}}", "task_path": "tasks/E4.3-04-frozen-poll-deadline", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.3", "canonical_group_name": "Clock Skew", "canonical_dimension": "E4.3.clock", "exposure_regime": "interactive_exposed"} {"task_id": "E4.3-05-frozen-lww-flags", "dimension": "E4.3.clock", "mechanism": "host clock is frozen (libfaketime absolute time); the inherited flag store resolves each key by the record with the newest time.time() stamp (last-writer-wins), so writes made on a frozen clock tie and max() returns the oldest of them; importing a change list that updates a key more than once silently leaves the first value", "source": "libfaketime README (frozen time); last-writer-wins registers rely on monotone timestamps; survey 4.9-1 clock", "style": "SWE-bench-like: add a subcommand to a small CLI tool", "prompt": "Add an `import` subcommand to the feature-flag tool in /workspace/flags: `python3 flags.py import CHANGES.csv` must apply the rows of the CSV (`key,value`, with header) as flag updates, in file order, through the existing store. After an import, `python3 flags.py dump` must show the resulting flags. See /workspace/flags/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"env\": {}, \"probe\": \"date '+%F %T.%N'; sleep 1.2; date '+%F %T.%N'\"}, \"target\": {\"env\": {\"FAKETIME\": \"2026-10-01 08:17:43.481516\", \"LD_PRELOAD\": \"/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1\"}, \"probe\": \"date '+%F %T.%N'; sleep 1.2; date '+%F %T.%N'\"}}", "task_path": "tasks/E4.3-05-frozen-lww-flags", "runtime_profile": "base_container", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.3", "canonical_group_name": "Clock Skew", "canonical_dimension": "E4.3.clock", "exposure_regime": "interactive_exposed"} {"task_id": "E4.4-01-setuponly-anon-tickets", "dimension": "E4.4.secret_visibility", "mechanism": "the inherited tracker client authenticates only with $API_TOKEN and silently sends anonymous requests when it is empty; the API answers anonymous requests with public tickets only, so once the token is gone after setup the internal tickets (judge data only) vanish from the report; the session that provisioning created from the token still works", "source": "secret exposed only to the setup phase (e.g. OpenAI Codex cloud environments: secrets available to setup scripts, removed before the agent phase); APIs that degrade to anonymous/public scope without credentials (e.g. GitHub REST API unauthenticated requests)", "style": "tau-bench/AppWorld: program against a service API", "prompt": "The Monday triage table produced by /workspace/triage/weekly.py needs a `stale` column after `open`: per team, the number of open tickets whose `updated_at` is before 2026-09-26 (i.e. not touched in the two weeks before the meeting on 2026-10-10). The tracker API is running on this machine; see /workspace/triage/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"secret-setup-only\"}}", "task_path": "tasks/E4.4-01-setuponly-anon-tickets", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.4", "canonical_group_name": "Credential Visibility", "canonical_dimension": "E4.4.secret_visibility", "exposure_regime": "deployment_latent"} {"task_id": "E4.4-02-setuponly-ratelimit-export", "dimension": "E4.4.secret_visibility", "mechanism": "the inherited curl export adds the bearer header only when $API_TOKEN is set; with the token gone after setup it runs anonymously, the API rate-limits anonymous clients (429 after a few requests), and the script treats the 429 body as an empty page, so a production-size export (judge data only) is silently truncated; the job account that provisioning stored in ~/.netrc still works", "source": "secret exposed only to the setup phase (OpenAI Codex cloud environments: secrets available to setup scripts only); unauthenticated rate limits (GitHub REST API: 60 req/h anonymous); curl(1) --netrc, -s without -f does not fail on HTTP errors", "style": "Terminal-Bench: extend an API export shell script", "prompt": "Invoicing wants the price already applied in the usage export: extend /workspace/usage/export_usage.sh with a last column `amount_eur` = units x unit price (api_calls 0.0004, storage_gb 0.021, egress_gb 0.05 EUR), formatted with 2 decimals. The metering API is running on this machine; see /workspace/usage/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"secret-setup-only\"}}", "task_path": "tasks/E4.4-02-setuponly-ratelimit-export", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.4", "canonical_group_name": "Credential Visibility", "canonical_dimension": "E4.4.secret_visibility", "exposure_regime": "deployment_latent"} {"task_id": "E4.4-03-placeholder-hmac-bulk", "dimension": "E4.4.secret_visibility", "mechanism": "API_TOKEN holds a placeholder that the local credential gateway swaps in the Authorization header; the inherited shipper signs big backlogs (>100 events, judge data only) for the bulk endpoint with HMAC(API_TOKEN, body) computed locally, a signature the gateway cannot fix, so the bulk upload is rejected and the backlog silently stays in the spool", "source": "credential-injecting egress proxies substitute placeholders in headers only (e.g. superfly/tokenizer); HMAC request signing needs the raw secret client-side", "style": "tau-bench/AppWorld: program against a service API", "prompt": "Downstream wants to know which machine an event came from: every event shipped by /workspace/shipper/ship.py must carry a `host` field with this machine's hostname (`socket.gethostname()`), added when it is shipped. The ingest API is running on this machine; see /workspace/shipper/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"secret-placeholder\"}}", "task_path": "tasks/E4.4-03-placeholder-hmac-bulk", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.4", "canonical_group_name": "Credential Visibility", "canonical_dimension": "E4.4.secret_visibility", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-01-overcommit-reach-approx", "dimension": "E4.5.limit_enforcement", "mechanism": "the inherited budget helper parses cgroup v2 memory.max with int(); in an overcommit container (reservation only) memory.max is the literal 'max', the helper's ValueError fallback is a conservative 128 MiB budget, and the reach report silently switches from exact distinct counts to HyperLogLog estimates for production-size exports (judge data only)", "source": "Linux cgroup-v2 docs: memory.max default 'max', memory.low; Docker --memory-reservation without --memory", "style": "Data-ops: extend a batch report", "prompt": "Add a `clicks` column (number of `click` events of the campaign) as the last column of the reach report produced by /workspace/audience/reach.py. See /workspace/audience/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"lim-overcommit\"}}", "task_path": "tasks/E4.5-01-overcommit-reach-approx", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-02-overcommit-bash-logtriage", "dimension": "E4.5.limit_enforcement", "mechanism": "the inherited triage script bounds its input to a quarter of cgroup memory.max with bash arithmetic; without a hard limit memory.max is the word 'max', which $(( )) evaluates as an unset variable (0), so the 64 MiB floor applies and only the newest 64 MiB of a production-size log (judge data only) are analysed", "source": "bash(1) ARITHMETIC EVALUATION (unset/non-numeric names evaluate to 0); Linux cgroup-v2 docs memory.max ('max' = no limit)", "style": "Terminal-Bench: extend a log-processing shell script", "prompt": "On-call wants to know when each error first showed up. Extend /workspace/logtriage/triage.sh so that every output line gets a third field: the time (HH:MM:SS) of the first ERROR line with that code in the log. Order and the other fields stay as they are. See /workspace/logtriage/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"lim-overcommit\"}}", "task_path": "tasks/E4.5-02-overcommit-bash-logtriage", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-03-hardkill-shard-defer", "dimension": "E4.5.limit_enforcement", "mechanism": "the inherited batch sizes work from the cgroup v2 reservation (memory.low) and treats 0 as the smallest 256 MiB slot; in a hard-limit container without a reservation memory.low is 0, so the production day's big shard (judge data only) is silently deferred to a retired queue and missing from the rollup, although the 4 GiB hard limit has room for it", "source": "Linux cgroup-v2 docs memory.low / memory.max; Docker --memory without --memory-reservation (memory.low = 0)", "style": "Data-ops: extend a batch job", "prompt": "Finance wants the largest single order per store as well: add a `max_amount` column (2 decimals) as the last column of the rollup written by /workspace/etl/run_batch.py. See /workspace/etl/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"lim-hardkill\"}}", "task_path": "tasks/E4.5-03-hardkill-shard-defer", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-04-hardkill-awk-dedup-window", "dimension": "E4.5.limit_enforcement", "mechanism": "the inherited shell dedup sizes its awk ring buffer of remembered event ids from the cgroup v2 reservation (memory.low); with a hard limit but no reservation memory.low is 0, the 20000-id floor applies, and redeliveries that arrive more than 20000 events later (judge data only) pass through as duplicates", "source": "Linux cgroup-v2 docs memory.low / memory.max; Docker --memory without --memory-reservation (memory.low = 0)", "style": "Terminal-Bench: extend a shell/awk data-cleaning script", "prompt": "The ledger now gets payouts from a separate feed, so /workspace/events/dedup.sh must also drop every event of type `payout.paid`; everything else it does must keep working as documented. See /workspace/events/README.md. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"sandbox\": \"base\"}, \"target\": {\"sandbox\": \"lim-hardkill\"}}", "task_path": "tasks/E4.5-04-hardkill-awk-dedup-window", "runtime_profile": "variant_sandbox", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-05-fsize-staging-split", "dimension": "E4.5.limit_enforcement", "mechanism": "resource limit (maximum file size): jobs on this host run with a per-file size limit of 1 MiB (RLIMIT_FSIZE; `ulimit -f` prints 1024 instead of unlimited). The inherited splitter first writes the whole cleaned log into one staging file and then distributes it; every regional output stays far below the limit, but the staging file of the full national log is about 3 MB, so its write fails with 'OSError: [Errno 27] File too large' and no regional file is produced. The 60-row sample needs a staging file of a few kilobytes. Nothing about the limit is visible unless it is asked for", "source": "docs/environment-axes.md E5.5 limit enforcement and the budget-class exception for threshold effects (a limit low enough to change which approach works); setrlimit(2) RLIMIT_FSIZE", "style": "terminal-bench: extend a data splitting script", "prompt": "Grid operations wants totals next to the regional outage files written by /workspace/regions/split_regions.py (see /workspace/regions/README.md): additionally write `summary.csv` into the output directory with the header `region,outages,minutes` and one line per region, sorted by region, giving the number of outages and the sum of their cleaned minutes. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"ulimit -f\"}, \"target\": {\"user\": \"agent\", \"rlimits\": {\"fsize\": 1048576}, \"probe\": \"ulimit -f\"}}", "task_path": "tasks/E4.5-05-fsize-staging-split", "runtime_profile": "host_isolated", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-06-argmax-inbox-digest", "dimension": "E4.5.limit_enforcement", "mechanism": "resource limit (stack size, and with it the argument-list limit): jobs on this host run with a 512 kB stack limit (`ulimit -s`), and Linux allows the arguments of one exec to use a quarter of the stack limit, here the 128 kB minimum instead of the usual 2 MB. The inherited script passes every message file to one grep through a shell glob; on a busy day the 4200 file names add up to about 300 kB, the exec fails with 'Argument list too long', and because the failure is in the first stage of a pipeline the digest is written with no senders at all and the script exits 0. The 24 files of the sample are nowhere near the limit, and nothing about the limit is visible unless it is asked for", "source": "docs/environment-axes.md E5.5 limit enforcement and the budget-class exception for threshold effects; execve(2): E2BIG and the ARG_MAX rule of one quarter of RLIMIT_STACK", "style": "terminal-bench: extend a shell reporting script", "prompt": "The duty manager wants the busiest sender called out in the digest written by /workspace/inbox/digest.sh (see /workspace/inbox/README.md): between the sender list and the `# total` section, add a line `# busiest sender` followed by one line with the address of the sender with the most messages (on a tie, the address that sorts last). The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"ulimit -s; getconf ARG_MAX\"}, \"target\": {\"user\": \"agent\", \"rlimits\": {\"stack\": 524288}, \"probe\": \"ulimit -s; getconf ARG_MAX\"}}", "task_path": "tasks/E4.5-06-argmax-inbox-digest", "runtime_profile": "host_isolated", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-07-nofile-station-files", "dimension": "E4.5.limit_enforcement", "mechanism": "resource limit (open files): jobs on this host run with a limit of 64 open file descriptors (RLIMIT_NOFILE). The inherited partitioner keeps one output file open per station until the end of the run; the full extract has 240 stations, so around the 60th station open() fails with 'OSError: [Errno 24] Too many open files' and the run dies with part of the stations written. The sample has 6 stations and nothing in the code or the documentation mentions a bound; the limit is visible only when asked for (ulimit -n)", "source": "docs/environment-axes.md E5.5 limit enforcement; setrlimit(2) RLIMIT_NOFILE", "style": "terminal-bench: extend a data partitioning script", "prompt": "Operations wants an overview next to the station files written by /workspace/partition/partition.py (see /workspace/partition/README.md): additionally write `stations.csv` into the output directory with the header `station,readings,first_read_at,last_read_at` and one line per station, sorted by station, giving the number of readings and the `read_at` of its first and last reading in input order. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"ulimit -n\"}, \"target\": {\"user\": \"agent\", \"rlimits\": {\"nofile\": 64}, \"probe\": \"ulimit -n\"}}", "task_path": "tasks/E4.5-07-nofile-station-files", "runtime_profile": "host_isolated", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E4.5-08-memory-cap-usage-report", "dimension": "E4.5.limit_enforcement", "mechanism": "resource limit (memory): jobs on this host run under an address-space cap of 200 MiB (RLIMIT_AS, ulimit -v). The inherited report loads the whole transfer log into a list of dicts before aggregating; the month's log has a million lines, which needs several hundred MiB that way, so the run dies with MemoryError. Aggregating while reading needs a few MiB. The sample has 40 lines; the cap is visible only when asked for (ulimit -v)", "source": "docs/environment-axes.md E5.5 limit enforcement; setrlimit(2) RLIMIT_AS (container memory limits)", "style": "terminal-bench: extend a usage report script", "prompt": "Capacity planning wants the number of transfers too: add a third column `transfers` to the report written by /workspace/usage/usage.py (see /workspace/usage/README.md), the number of log lines of that user. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"ulimit -v\"}, \"target\": {\"user\": \"agent\", \"rlimits\": {\"as\": 209715200}, \"probe\": \"ulimit -v\"}}", "task_path": "tasks/E4.5-08-memory-cap-usage-report", "runtime_profile": "host_isolated", "canonical_layer": "E4", "canonical_layer_name": "Boundary Layer", "canonical_group": "E4.5", "canonical_group_name": "Resource Limit Enforcement", "canonical_dimension": "E4.5.limit_enforcement", "exposure_regime": "deployment_latent"} {"task_id": "E5.1-01-stale-bytecode-tariff", "dimension": "E5.1.residual", "mechanism": "platform residue (stale files): the workspace on this host still holds the bytecode cache compiled from the previous tariff. The current tariffs.py was deployed with the same size and with its timestamp preserved, which are exactly the two things Python compares before it trusts a cached .pyc, so `import tariffs` silently yields the superseded night price (0.1320 instead of 0.1490) while the source file shows the new one. Every meter with night-band consumption is invoiced too low; the run exits 0. The sample consumption has no night-band lines, so its invoices are right either way", "source": "docs/environment-axes.md E6.1 platform residue, value stale-files (claude-code#90524, #42269; DSec section 6.4); PEP 552 / importlib: a timestamp-based .pyc is validated by source mtime and size only", "style": "terminal-bench: extend an invoicing script", "prompt": "Customer service wants the consumption on every invoice line written by /workspace/billing/invoice.py (see /workspace/billing/README.md): add a column `kwh` directly after `meter`, the meter's total consumption over all bands. The invocation and everything else stay as documented. The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"ls -la /workspace/billing/__pycache__ 2>/dev/null || echo 'no bytecode cache'; cd /workspace/billing && python3 -c 'import tariffs; print(tariffs.BAND_PRICE[\\\"night\\\"])'; grep night tariffs.py\"}, \"target\": {\"user\": \"agent\", \"probe\": \"ls -la /workspace/billing/__pycache__ 2>/dev/null || echo 'no bytecode cache'; cd /workspace/billing && python3 -c 'import tariffs; print(tariffs.BAND_PRICE[\\\"night\\\"])'; grep night tariffs.py\"}}", "task_path": "tasks/E5.1-01-stale-bytecode-tariff", "runtime_profile": "host_isolated", "canonical_layer": "E5", "canonical_layer_name": "State Layer", "canonical_group": "E5.1", "canonical_group_name": "Platform Residuals", "canonical_dimension": "E5.1.residual", "exposure_regime": "deployment_latent"} {"task_id": "E5.2-01-flaky-503-shipments", "dimension": "E5.2.service_reliability", "mechanism": "external service reliability (flaky): the logistics API deployment reachable from this host intermittently answers 503 upstream_unavailable; the same request fails at most twice in a row and then succeeds. The inherited client issues every GET exactly once, so one 503 aborts the whole nightly export with a traceback. In this deployment the failures only occur on pages 3, 7, 11, ...; the two-page sample dataset never shows one, the production-size run always does", "source": "docs/environment-axes.md E6.3 external world, service reliability reliable / flaky-tools (Gaia2 Noise tool_failure_probability=0.1; ReliabilityBench); RFC 9110 s15.6.4 (503 is a temporary condition) and s9.2.2 (idempotent requests may be retried)", "style": "tau-bench/AppWorld: program against a paginated service API", "prompt": "The logistics API documented in /workspace/shipments/API.md is running on this machine. Dispatch wants the carrier's name in the nightly export: extend /workspace/shipments so that a run of `python3 /workspace/shipments/export.py` writes /workspace/shipments/out/shipments.csv with the columns `id,carrier_id,carrier_name,weight_kg,destination` (header row, one line per shipment in the API, in API order). The result will be run directly on this machine, so make sure it actually works here.", "timeout_sec": 1200, "prompt_version": "v2", "cells_json": "{\"base\": {\"user\": \"agent\", \"probe\": \"for i in 1 2 3; do curl -s -o /dev/null -w '%{http_code} ' 'http://127.0.0.1:8113/v1/shipments?page=3'; done\"}, \"target\": {\"user\": \"agent\", \"probe\": \"for i in 1 2 3; do curl -s -o /dev/null -w '%{http_code} ' 'http://127.0.0.1:8113/v1/shipments?page=3'; done\"}}", "task_path": "tasks/E5.2-01-flaky-503-shipments", "runtime_profile": "host_isolated", "canonical_layer": "E5", "canonical_layer_name": "State Layer", "canonical_group": "E5.2", "canonical_group_name": "External Service Reliability", "canonical_dimension": "E5.2.service_reliability", "exposure_regime": "deployment_latent"}