task_id stringlengths 33 33 | task_group_id stringlengths 34 34 | task_content_sha256 stringlengths 64 64 | validation_status stringclasses 3
values | instruction stringlengths 43 1.77k | task_toml stringlengths 267 1.13k | solution stringlengths 18 28.6k | dockerfile stringlengths 178 29k | member_prefix stringlengths 39 39 | file_count int64 6 592 | archive_entry_count int64 10 628 | uncompressed_bytes int64 5.26k 16.7M | shard stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
rts_task_c9b7eca34324146fc166ef27 | rts_group_f7a2b3054cca9917cc8f9038 | e80dfcf3190eeab9a0181dac029930f95bfcb1866b9de48d3d22289db6b16d74 | passed | Set up the React frontend at `/plume/reddit/reddit-grow-frontend` for local development.
The project relies on private sibling packages that must be linked before building.
Ensure the local API configuration is consistent and the development build uses the correct local endpoint.
Consult the project documentation and e... | version = "1.0"
[metadata]
difficulty = "medium"
category = "environment-setup"
tags = ["nodejs", "npm", "react", "build"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 900.0
cpus = 1
memory = "2G"
storag... | #!/bin/bash
set -e
echo "Setting up reddit-grow-frontend for local development..."
cd /plume/reddit/reddit-grow-frontend
# Clean previous build artifacts
rm -rf node_modules build
# Discover expected API URL from documentation if available
EXPECTED_URL="http://localhost:3000"
if [ -f README.md ]; then
DOC_URL=$... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
curl \
git \
build-essential \
python3 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install nvm and Node.js 16 (matching recording: node v16.20.1 / npm v8.19.4)
ENV NVM_DIR=/root/.nvm
RUN c... | tasks/rts_task_c9b7eca34324146fc166ef27 | 22 | 34 | 16,679 | data/tasks-00000.tar |
rts_task_4a79dbbc942b0796e312741b | rts_group_5037f5fb0c2b1dc604f0ec39 | 3089013e97252139ae351d414233cd515d9287d198a3b63be26db27d185131ea | passed | Install Miniconda3 on this Linux system using the latest Linux x86_64 silent installer into `~/miniconda3`, remove the installer, and run `conda init bash` so conda is available in new shells.
Then locate a package manifest somewhere under `/opt` that lists the required Python packages for the base environment; install... | version = "1.0"
[metadata]
difficulty = "easy"
category = "environment-setup"
tags = ["conda", "miniconda", "python", "package-manager", "shell-initialization"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec =... | #!/bin/bash
set -euo pipefail
echo "Downloading Miniconda installer..."
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda_installer.sh
echo "Installing Miniconda to ~/miniconda3..."
bash /tmp/miniconda_installer.sh -b -u -p ~/miniconda3
echo "Removing installer..."
rm -f... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
wget \
curl \
bash \
ca-certificates \
bzip2 \
&& rm -rf /var/lib/apt/lists/*
RUN printf 'numpy\nscipy\nmatplotlib\npandas\nrequests\n' > /opt/package_manifest.txt
ENV HOME=/root
WORKDIR /root
SH... | tasks/rts_task_4a79dbbc942b0796e312741b | 7 | 11 | 9,529 | data/tasks-00000.tar |
rts_task_ac9a6eba7dc5c731ed7faee6 | rts_group_f0bcb5d7d29870142b71dfb1 | 74a9fa334bfea9e4446923d5ffcce4d86e2125339016d3323a0a846384bc688e | passed | Set up zinit and compile the two Tic‑Tac‑Toe plugin projects from GitHub.
The environment already provides a zinit configuration (the `zi` function is pre-loaded via `BASH_ENV`) and a build manifest at `/app/manifest.json`.
One of the plugins may already have its source tree present under `~/.zinit/plugins`.
Use the `z... | version = "1.0"
[metadata]
difficulty = "medium"
category = "environment-setup"
tags = ["zinit", "plugin-manager", "build-from-source", "zsh"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1
m... | #!/bin/bash
set -e
# Verify required build tools are present
for cmd in git gcc make; do
if ! command -v $cmd &>/dev/null; then
echo "Missing required tool: $cmd" >&2
exit 1
fi
done
# Load zi function if not already present (BASH_ENV should have sourced it)
if ! type zi &>/dev/null; then
i... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV HOME=/root
# Install system dependencies required by solve.sh:
# - git: clone Pirito10/Tic-Tac-Toe and GabrielZuany/TicTacToe from GitHub
# - gcc make: compile C TicTacToe projects
# - python3: run /app/solve.py
# - curl wget ca-certificates: network ut... | tasks/rts_task_ac9a6eba7dc5c731ed7faee6 | 8 | 14 | 19,350 | data/tasks-00000.tar |
rts_task_d09150edf0aee429af287450 | rts_group_c23b187e0b4a0c4d7b1f21ce | 25f1b4a1ed4f226c8bd891c0203bfe849748e3629b69bd68f0f5943a4bc15f7d | passed | In `/app` you will find a plaintext message file and configuration files that specify how encryption should be performed.
Encrypt the message using the settings described in those files, saving the ciphertext to `/app/ciphertext.enc`.
Then decrypt the ciphertext with the same settings, writing the recovered plaintext t... | version = "1.0"
[metadata]
author_name = "wanderer057"
author_email = ""
difficulty = "easy"
category = "security"
tags = ["encryption", "openssl", "aes", "security"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout... | #!/bin/bash
set -e
cd /app
if [ ! -f message.txt ]; then
echo "Error: message.txt not found in /app" >&2
exit 1
fi
if [ ! -f encrypt.cfg ]; then
echo "Error: encrypt.cfg not found in /app" >&2
exit 1
fi
source encrypt.cfg
if [ -z "$ALGORITHM" ] || [ -z "$PASSWORD_FILE" ]; then
echo "Error: ALGO... | # Base image: Ubuntu 22.04 — GNU/Linux with zsh, matching env_signals
FROM ubuntu:22.04
# Prevent interactive prompts during apt
ENV DEBIAN_FRONTEND=noninteractive
# Install required tools:
# - openssl: used by solve.sh for AES-128-CBC encrypt/decrypt
# - zsh: matches the recorded shell environment (xterm-256colo... | tasks/rts_task_d09150edf0aee429af287450 | 6 | 10 | 9,175 | data/tasks-00000.tar |
rts_task_c091fd1294a571dc556115e7 | rts_group_428a85dc3af1239a42279425 | eb7720c19e0b93d289edd3813dc1249e883e27913c2b1ce8c208db7c0bfff425 | passed | The environment contains a documentation policy at `/app/policy.txt`.
Write a C hello-world program at `/app/helloworld.c`, compile it into a working binary, and assemble a Debian package using the directory `/app/debdemo/`.
The package must include a proper `DEBIAN/control` file and directory layout, and satisfy all r... | version = "1.0"
[metadata]
author_name = "jetsung"
difficulty = "easy"
category = "system-administration"
tags = ["debian", "packaging", "dpkg", "c", "gcc"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600... | #!/bin/bash
set -euo pipefail
# ---------------------------------------------------------
# 1. Ensure required tools are present (gzip is expected)
# ---------------------------------------------------------
if ! command -v gzip &>/dev/null; then
echo "gzip not found – installing"
apt-get update -qq && apt-get... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
RUN apt-get update && apt-get install -y \
gcc \
dpkg-dev \
zsh \
gzip \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
SHELL ["/bin/bash", "-c"]
RUN echo "For Debian packaging, the package must include documentation as p... | tasks/rts_task_c091fd1294a571dc556115e7 | 6 | 10 | 13,271 | data/tasks-00000.tar |
rts_task_37a5a4efee3d0dc25bf3796e | rts_group_6a20cd6d9240a6df0df155fa | 2703400580f5a72dec65bbf5b04a1208f4ce521a949a9695c9a1246f36c35eca | passed | Fetch the user list from `https://jsonplaceholder.typicode.com/users`.
In `/app`, find the local configuration file that lists permitted email domains and use it as your allowlist: keep only users whose email domain appears in that file.
From each allowed user’s `name` field, take the first word as the first name.
Keep... | version = "1.0"
[metadata]
author_name = "refaktor"
author_email = ""
difficulty = "easy"
category = "scripting-automation"
tags = ["json", "http", "data-processing", "python", "filtering", "sorting"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = ... | #!/bin/bash
set -e
if [ ! -f /app/allowed_domains.txt ]; then
echo "Error: /app/allowed_domains.txt not found" >&2
exit 1
fi
cat << 'EOF' > /app/process_users.py
import urllib.request
import json
import sys
try:
with open("/app/allowed_domains.txt", "r") as f:
allowed_domains = {line.strip() for ... | FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install Python 3 and essential tools (curl for network access, bash already present)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-pip \
c... | tasks/rts_task_37a5a4efee3d0dc25bf3796e | 7 | 11 | 7,013 | data/tasks-00000.tar |
rts_task_a8042a23578e2ee277f8b873 | rts_group_81ae6a2f2025457eb524c0f8 | 0b3224a07a26577748ecf039236582f54e7ba50198f17b8dea5338c453213170 | passed | Write an executable shell script at `/app/daftarnama2` that prints each positional argument according to a format template.
The script must:
- Use an `until` loop to iterate over the positional parameters.
- Read the output format from a configuration file located in `/app` (inspect the directory to discover its name a... | version = "1.0"
[metadata]
author_name = "rafidanis"
difficulty = "easy"
category = "scripting-automation"
tags = ["shell-scripting", "until-loop", "bash", "coursework"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_time... | #!/bin/bash
set -e
# Create the main script that parses config robustly (handles whitespace and quoting)
cat > /app/daftarnama2 << 'EOFSCRIPT'
#!/bin/bash
FORMAT=$(sed -n 's/^[[:space:]]*FORMAT[[:space:]]*=[[:space:]]*//p' /app/format.cfg | sed -e 's/^"//; s/"$//' -e "s/^'//; s/'$//")
cnt=1
until [ -z "$*" ]
do
lin... | FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install core utilities (bash, coreutils, expr are all standard in ubuntu:22.04)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bash \
coreutils && \
rm -rf /var/... | tasks/rts_task_a8042a23578e2ee277f8b873 | 6 | 10 | 7,839 | data/tasks-00000.tar |
rts_task_05971b7f4f90a13857485a81 | rts_group_296874f0433eeae43513d54d | b7b46d2e2aebafa2c5a20e849fdc33b88957371ac6bf6f7e5e48ae7f96d2c897 | passed | You are in /app.
Create two executable shell scripts named `daftarnama` and `daftarnama2`.
The scripts must iterate over positional parameters and print each one according to the format defined in the project specification.
The specification, including the required looping constructs, the list of names to use as argume... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["bash", "shell-scripting", "loops", "while", "until"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
me... | #!/bin/bash
set -e
# Verify that the config file exists
if [ ! -f /app/config/names.txt ]; then
echo "Error: /app/config/names.txt not found"
exit 1
fi
# Read the comma-separated names and turn them into space-separated arguments
NAMES=$(tr ',' ' ' < /app/config/names.txt)
# Create daftarnama using a while l... | FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Update and install essential utilities
# bash and coreutils (expr, chmod, etc.) are pre-installed in ubuntu:22.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bash \
... | tasks/rts_task_05971b7f4f90a13857485a81 | 7 | 11 | 12,831 | data/tasks-00000.tar |
rts_task_09f94615fd9738ffd3f8bab0 | rts_group_46fc5b69fdd43ccf66b4d479 | 276228199d24c308a76ada8ce88442fb5c32d4b8d9c646967624b1eb24375fc3 | passed | Working in /app, install Prometheus 2.47.2.
Start the server using the configuration file at /app/config/prometheus.yml.
Validate the configuration and fix any problems so that the server launches without errors.
Once the server is running and healthy, query its HTTP API for build information and runtime flags.
Save th... | version = "1.0"
[metadata]
difficulty = "easy"
category = "monitoring-observability"
tags = ["prometheus", "monitoring", "installation"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory =... | #!/bin/bash
set -euo pipefail
mkdir -p /app
cd /app
# --- Download and extract Prometheus ---
wget -q https://github.com/prometheus/prometheus/releases/download/v2.47.2/prometheus-2.47.2.linux-amd64.tar.gz
tar zxf prometheus-2.47.2.linux-amd64.tar.gz
mv prometheus-2.47.2.linux-amd64 prometheus
# --- Install yq for ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
wget \
curl \
tar \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app/config
RUN cat <<'EOF' > /app/config/prometheus.yml
global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_na... | tasks/rts_task_09f94615fd9738ffd3f8bab0 | 6 | 10 | 6,961 | data/tasks-00000.tar |
rts_task_7e9263c514b33dbd426b9100 | rts_group_b255d687714a962016d5ab69 | 3910938defb5f4850e91cb413d9087c3a827985221c19436e3ed96273590cece | passed | Use the `gendiff` tool to compare the configuration files in `/app`: `file1.json`, `file2.json`, `file1.yml`, `file2.yml`.
Generate comparisons in different output formats and for different file pairs, then collect all output sequentially into `/app/result.txt` without any separators.
The report must start with multipl... | version = "1.0"
[metadata]
author_name = "viktor-dorokhov"
author_email = ""
difficulty = "easy"
category = "software-development"
tags = ["cli", "file-diff", "nodejs", "gendiff", "coursework"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
... | #!/bin/bash
set -e
gendiff file1.json file2.json > /app/result.txt
gendiff file1.yml file2.yml >> /app/result.txt
gendiff file1.yml file2.json >> /app/result.txt
gendiff file1.json file2.json -c >> /app/result.txt
gendiff file1.json file2.json -f plain >> /app/result.txt
gendiff file1.json file2.json -f plain -c >> /a... | # Environment for task 629272 — Hexlet genDiff v3
# Base: node:18 (WSL2/Ubuntu context, Node.js CLI tool)
FROM node:18
# Install minimal system utilities
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
# ── Install gendiff package ────────────... | tasks/rts_task_7e9263c514b33dbd426b9100 | 19 | 27 | 15,025 | data/tasks-00000.tar |
rts_task_804a857d4a4a5d5336f5a9e0 | rts_group_12c5c3de6f97cbfa83944b53 | 75e77fa4032c0838da8329c60de37df5dada23248327e17e7b173587d7c3c460 | passed | The `/app` directory contains configuration files and the `gendiff` CLI tool.
Execute the comparison plan in `/app/spec.txt`.
Concatenate all command outputs (in plan order) into `/app/result.txt`.
Then produce `/app/diff_stats.csv` with header `Command,TotalChanges`.
For each command in the plan, count lines starting ... | version = "1.0"
[metadata]
author_name = "viktor-dorokhov"
author_email = ""
difficulty = "easy"
category = "software-development"
tags = ["cli", "configuration", "gendiff", "nodejs", "diff"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[e... | #!/bin/bash
set -euo pipefail
RESULT_FILE="/app/result.txt"
CSV_FILE="/app/diff_stats.csv"
SPEC_FILE="/app/spec.txt"
if [ ! -f "$SPEC_FILE" ]; then
echo "ERROR: spec file not found at $SPEC_FILE"
exit 1
fi
> "$RESULT_FILE"
echo "Command,TotalChanges" > "$CSV_FILE"
while IFS= read -r raw_line; do
# Trim ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install curl/ca-certs first, then bootstrap Node.js 18 via NodeSource
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl ca-certificates \
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y --no-i... | tasks/rts_task_804a857d4a4a5d5336f5a9e0 | 20 | 27 | 18,022 | data/tasks-00000.tar |
rts_task_2c53f093121ef8040d70982d | rts_group_2bce12780e2dbe34835a8cc8 | 77214c3224f16d5c4f7b40d5e859467436f73ae13756d81914aa6437dd8436ed | passed | Use the gendiff command-line tool in ~/python-project-50 to produce diff reports for pairs of fixture files, as described in the project’s test plan configuration.
Explore the project directory to locate the plan and a README.
The plan states which fixture files to compare, the desired output format for each report, an... | version = "1.0"
[metadata]
author_name = "ai-gelios"
difficulty = "easy"
category = "software-development"
tags = ["gendiff", "configuration", "file-comparison", "python"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_ti... | #!/bin/bash
set -e
cd ~/python-project-50/tests/fixtures
python3 << 'EOF'
import json
import subprocess
import os
plan_path = os.path.expanduser("~/python-project-50/tests/test_plan.json")
with open(plan_path) as f:
plan = json.load(f)
audit = []
for entry in plan:
first = entry["first"]
second = entry[... | FROM python:3.11-slim
# Install system dependencies (bash, curl for fat dev container)
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
curl \
&& rm -rf /var/lib/apt/lists/*
# Install gendiff CLI — genuine implementation built to match the Hexlet
# python-project-50 output... | tasks/rts_task_2c53f093121ef8040d70982d | 17 | 23 | 23,606 | data/tasks-00000.tar |
rts_task_7b1fc8f786e67765c90149b1 | rts_group_7b6ab957ae719c50096d32c3 | c7680b2feabf38d81b163ab4d61bf46d0f20b6e4d18ccebcab1512a5cf97eb1e | passed | Write a Python script at `/app/do_mes.py` that imports table definitions from the module at `/opt/airflow/load_sources/mes/` and validates each table against the configuration schema at `/opt/airflow/config/schema.json`.
Output the names of valid tables (one per line) to `/app/result.txt`, and log any validation mismat... | version = "1.0"
[metadata]
author_name = "shrimpsizemoose"
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "sys.path", "module-import", "file-io"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 8.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_time... | #!/bin/bash
set -e
cat > /app/do_mes.py << 'EOF'
import sys
import json
sys.path.insert(0, '/opt/airflow/load_sources/mes')
from mes import tables, table_config
schema_path = '/opt/airflow/config/schema.json'
with open(schema_path, 'r') as f:
schema = json.load(f)
valid = []
mismatches = []
for table in tables... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-pip \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
# Create directories
RUN mkdir -p /opt/airflow/load_sources/mes && \
mkdir -p /opt/air... | tasks/rts_task_7b1fc8f786e67765c90149b1 | 7 | 11 | 9,279 | data/tasks-00000.tar |
rts_task_002edfaf318385b793fbe8e8 | rts_group_defc5ebed2858738cc00a409 | 40851e4ead22a8da4f9b9824fb5518dfa745d2f2320ea423b52beae32ed7833f | passed | Initialize Docker Swarm on this machine and manage the full lifecycle of a service named `webserver` using the image `jpou/webbotigajp:prac3`.
Your working directory is `/app`.
- After creating the service, write its service ID to `/app/service_id.txt`.
- Scale the service to multiple replicas.
Once scaled, verify that... | version = "1.0"
[metadata]
difficulty = "medium"
category = "system-administration"
tags = ["docker", "swarm", "container-orchestration", "devops"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 40.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus ... | #!/bin/bash
set -e
# Initialize Docker Swarm (idempotent — ignore error if already a swarm manager)
docker swarm init --advertise-addr 127.0.0.1 2>/dev/null || true
# Remove any existing webserver service from a prior run
docker service rm webserver 2>/dev/null || true
# Get the local manager node ID dynamically
NOD... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive \
TERM=xterm-256color \
SHELL=/bin/bash
# Install prerequisites for Docker CLI installation
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg \
lsb-release && \
rm -rf... | tasks/rts_task_002edfaf318385b793fbe8e8 | 8 | 12 | 11,247 | data/tasks-00000.tar |
rts_task_693dbe76e6266812ae044a98 | rts_group_6dcc13ae48cf083351591f15 | bac277ec093f2a2c1426ac427e4cb08a83f79a8506e041f438fbe3d73ac2bbd7 | passed | Set up Apache with PHP and SSL on this Ubuntu system.
Install every PHP extension listed in `/etc/php/requirements.txt`, plus the MySQL client.
In `/var/www/html` replace the default page with a simple `index.php`, add `info.php` (standard phpinfo), download the latest Adminer database manager as `adminer.php`, and rem... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["apache", "php", "ssl", "web-server", "linux"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memor... | #!/bin/bash
set -e
REQ_FILE="/etc/php/requirements.txt"
# Update package lists
apt-get update
# Read required extensions from environment file (if exists)
EXT_LIST=""
if [ -f "$REQ_FILE" ]; then
while IFS= read -r line; do
ext=$(echo "$line" | xargs)
if [ -n "$ext" ]; then
EXT_LIST="$... | FROM ubuntu:20.04
# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Set standard working directory
WORKDIR /app
# Add PHP extension requirements file for the task
RUN mkdir -p /etc/php && \
echo "curl" > /etc/php/requirements.txt && \
echo "gd" >> /etc/php/require... | tasks/rts_task_693dbe76e6266812ae044a98 | 7 | 11 | 14,122 | data/tasks-00000.tar |
rts_task_da0c65f23d56b4397176dca5 | rts_group_f177c4c9b703fe39fbd295f0 | fcfeaaf23c76de3c761e478e8f3854a59761023d5d5297b4c822fc918b6667d2 | passed | Provision a complete LAMP stack on this server: Apache with SSL enabled (both the `ssl` module and the `default-ssl` site), MySQL server and client, and PHP with the `libapache2-mod-php` module plus these extensions: `php-curl`, `php-gd`, `php-intl`, `php-mbstring`, `php-mysql`, `php-soap`, `php-xml`, `php-xmlrpc`, `ph... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["lamp", "apache", "php", "mysql", "web-server", "ssl"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = ... | #!/bin/bash
set -euo pipefail
echo "Installing LAMP stack packages..."
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y apache2 libapache2-mod-php mysql-server mysql-client \
php php-cli php-common php-curl php-gd php-intl php-mbstring php-mysql \
php-soap php-xml php-xmlrpc php-zip ssl-cert
# Ena... | FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -y \
wget \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /etc/app/config && \
printf 'DBNAME=appdb\nDBUSER=appuser\nDBPASS=s3cret\nDBHOS... | tasks/rts_task_da0c65f23d56b4397176dca5 | 7 | 11 | 14,017 | data/tasks-00000.tar |
rts_task_b893304a896ef5419e2e06ad | rts_group_9dc48c588bfd8094f4b71a74 | 14cfd987d9233418803c1a58bb24dadebc30abc5c9e06c57d07c44453bfdf00c | passed | Before creating any user account, run the system healthcheck at /usr/local/bin/healthcheck.
The script may report failures — inspect it and related files to understand what's needed, then resolve all reported issues so the healthcheck passes.
The healthcheck expects the service names `name=nginx` and `name=sshd` to be ... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["user-management", "nginx", "openssh", "services"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 8.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memor... | #!/bin/bash
set -e
# Make the healthcheck script executable
chmod +x /usr/local/bin/healthcheck
echo "=== Running initial healthcheck (expected to show failures) ==="
/usr/local/bin/healthcheck || true
# Start Nginx and SSH services
echo "Starting Nginx..."
/etc/init.d/nginx start
echo "Starting SSH..."
/etc/init.d/... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq && \
apt-get install -y \
nginx \
openssh-server && \
rm -rf /var/lib/apt/lists/*
RUN ssh-keygen -A
RUN mkdir -p /app
# Add healthcheck script (non-executable)
RUN echo '#!/bin/bash' > /usr/local/bin/healthcheck && \... | tasks/rts_task_b893304a896ef5419e2e06ad | 6 | 10 | 8,196 | data/tasks-00000.tar |
rts_task_de370d2548a193a8dff8d433 | rts_group_bad9501752ae0b2647ddf446 | b6c660e1ffd0f89e7b1a958a857e49d3a38ea40fd63b2aed17bddb852a7385da | passed | The `dtool` command-line tool is available in the Python virtual environment at `../005-setup/venv`.
In the current directory you will find dtool configuration and a README template.
Place them where dtool expects them according to its conventions (the configuration file itself gives hints).
Then:
- Create a dataset na... | version = "1.0"
[metadata]
difficulty = "medium"
category = "data-management"
tags = ["dtool", "dataset", "integrity", "verification", "python"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
... | #!/bin/bash
set -e
# Configure dtool
cp dtool_readme_template.yml ~/.dtool_readme.yml
mkdir -p ~/.config/dtool
cp dtool.json ~/.config/dtool/
# Activate virtual environment
source ../005-setup/venv/bin/activate
# Create dataset and add item
dtool create demo-dataset
echo test-content > test-data-file.txt
dtool add i... | FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python 3, venv support, and common utilities
RUN apt-get update && apt-get install -y \
python3 \
python3-venv \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Create the directory structure matching solve.sh's relative path:
# solve.sh... | tasks/rts_task_de370d2548a193a8dff8d433 | 9 | 13 | 11,429 | data/tasks-00000.tar |
rts_task_c502a3ce03a163c0c77dc3b8 | rts_group_88c2abcf8c8379304cdbcaa5 | b85649c238f71c1ef54835857e2f8cf6edf73f1ca42346c837f56c23fb855f2e | passed | Set up a frozen dtool dataset named `demo-dataset` in the working directory `/app`.
A template for the dataset README metadata is provided at `/app/dtool_readme_template.yml`.
Examine the template and any errors dtool reports when you try to adopt it, then repair the file so dtool can successfully use it to populate th... | version = "1.0"
[metadata]
author_name = "jotelha"
author_email = "johannes.hoermann@imtek.uni-freiburg.de"
difficulty = "easy"
category = "data-management"
tags = ["dtool", "data-management", "research-data", "integrity-verification"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 30.0
[verifier]
timeout_... | #!/bin/bash
set -e
TEMPLATE_FILE="/app/dtool_readme_template.yml"
echo "Checking template for YAML errors..."
if python3 -c "import yaml; yaml.safe_load(open('${TEMPLATE_FILE}'))" 2>/dev/null; then
echo "Template is valid YAML."
else
echo "Template has YAML errors. Attempting repair..."
# Fix a missing co... | FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
# dtool user configuration — used by the readme template placeholders
ENV DTOOL_USER_FULL_NAME="Test User"
ENV DTOOL_USER_EMAIL="test@example.com"
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-setuptools \
&& rm -rf /va... | tasks/rts_task_c502a3ce03a163c0c77dc3b8 | 7 | 11 | 11,797 | data/tasks-00000.tar |
rts_task_6e70befb955f2b77ff948f39 | rts_group_1ae969025801c9e82766947f | 6308eec40abc91adbcf98b757f0025a01468e9d5b17a31e206e8ed478753c947 | passed | Create a Python script at `/app/script.py` that defines a class `Number` inheriting from `int`, where the unary positive operator (`__pos__`) is overloaded to return a new `Number` equal to the value plus one.
The script must read configuration from the files inside the `/app/config` directory to obtain the base intege... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "operator-overloading", "class-definition"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
me... | #!/bin/bash
set -e
cat << 'PYEOF' > /app/script.py
import json
import yaml
import logging
import os
log_dir = "/app/log"
os.makedirs(log_dir, exist_ok=True)
logging.basicConfig(
filename=os.path.join(log_dir, "script.log"),
level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s'
)
logger = ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-pip \
fish \
&& rm -rf /var/lib/apt/lists/*
# Install PyYAML for .yaml config parsing
RUN pip3 install PyYAML
# Create config directory and plac... | tasks/rts_task_6e70befb955f2b77ff948f39 | 6 | 10 | 9,357 | data/tasks-00000.tar |
rts_task_e478ab3696f8ddd92dea1b32 | rts_group_d0ee3932be5795cdca67047a | 33c9e86422cc86c193038bbb8ed3b66715d8d83c71d45f8710888fcc39870935 | passed | Set up a development environment for the `ezpz` project, starting from the `~/tmp/polaris-talk/` directory.
Inside that directory, a configuration file drives the entire setup: a timestamped workspace subdirectory, repositories to clone (the configuration specifies directory attributes like `dir=ezpz-core`), the virtua... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/668481"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -euo pipefail
BASE_DIR="$HOME/tmp/polaris-talk"
CONFIG_FILE="$BASE_DIR/config.json"
VERIFY_SCRIPT="$BASE_DIR/scripts/verify_setup.sh"
# ----------------------------------------------------------------------
# Helper: parse a JSON key value using jq, with a Python fallback
# ---------------------------... | FROM python:3.11-slim
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
git \
jq \
&& rm -rf /var/lib/apt/lists/*
# Cre... | tasks/rts_task_e478ab3696f8ddd92dea1b32 | 7 | 11 | 14,416 | data/tasks-00000.tar |
rts_task_478a3e0a7c6967e4c91eba91 | rts_group_01b53d9500c24f21da7e23d6 | 6c39d567ed0108533977051150ab72f36b6a95770398accf4fc3791896ace254 | passed | Ensure the configuration setting `services.use.kamailio` is set to `true` in both the PostgreSQL `asterisk` database and in `/etc/asterisk/kamailio.conf`.
The database stores settings in the `setup` table.
If PostgreSQL is not running, start it according to the container setup.
The configuration file expects the key as... | version = "1.0"
[metadata]
difficulty = "easy"
category = "database-operations"
tags = ["postgresql", "database", "sql", "configuration"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory ... | #!/bin/bash
set -e
# Ensure PostgreSQL is running (entrypoint may have started it, but confirm)
if ! pg_isready > /dev/null 2>&1; then
service postgresql start
until pg_isready > /dev/null 2>&1; do sleep 1; done
fi
# 1. Align database: set services.use.kamailio to true
# Use UPDATE first, then INSERT if th... | FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
# Install PostgreSQL 10 (matches recording: psql (10.23), available in Ubuntu 18.04 repos)
RUN apt-get update && apt-get install -y \
postgresql-10 \
postgresql-client-10 \
&& rm -rf /var/lib/apt/lists/*
# Configure trust authentication for all... | tasks/rts_task_478a3e0a7c6967e4c91eba91 | 7 | 11 | 8,571 | data/tasks-00000.tar |
rts_task_cf272576989bc724a672248f | rts_group_023a9926f22a753ada9b3530 | 6cfb1ee1242f5c97c698f7384516d6096710cfa6f7d0acbca230de62185641a6 | passed | Clone `https://github.com/sergeikuz/python-project-50` into
`/app/python-project-50` and run `make setup`.
Execute the three `make`
targets `diff-json-json`, `diff-plain-json`, and `diff-stylish-json` in
that order, capturing their combined output into `/app/result.txt`.
Then verify that each format's output matches th... | version = "1.0"
[metadata]
author_name = "sergei-kuz"
author_email = ""
difficulty = "easy"
category = "software-development"
tags = ["python", "make", "git", "package-management"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]... | #!/bin/bash
set -e
# Clone repository
git clone https://github.com/sergeikuz/python-project-50 /app/python-project-50
cd /app/python-project-50
# Setup project
make setup
# Run each make target silently and capture output into temporary files
make -s diff-json-json > /tmp/json_output.txt
make -s diff-plain-json > /t... | # Task 670403 — python-project-50 (gendiff tool)
# Environment: WSL2 · bash · xterm-256color
# Python ≥ 3.10 required (pyproject.toml: python = "^3.10")
# solve.sh: git clone → make setup (poetry install + build + publish --dry-run + pip install --user whl)
# then gendiff CLI via make diff-*
FROM python:3.11... | tasks/rts_task_cf272576989bc724a672248f | 7 | 11 | 11,843 | data/tasks-00000.tar |
rts_task_0f49aabc67dad2704f25283c | rts_group_3518f91d5512257219c22eed | ba513144ae43a749e4580f539b0d4da74e43cdcc8de7c02ec332655106dbb9b3 | passed | System A (10.10.0.64) will share a daily file with you, but only if you provide a public key that meets their published security requirements.
They have left a policy document somewhere inside your working area.
Find it, read the exact key specifications, and generate an RSA keypair that fully complies.
Save the privat... | version = "1.0"
[metadata]
difficulty = "medium"
category = "security"
tags = ["cryptography", "rsa", "ssh", "key-exchange", "networking"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 45.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memor... | #!/bin/bash
set -euo pipefail
# Ensure target directory exists
mkdir -p /app/foldertwo
cd /app/foldertwo
# Look for the security policy file placed by System A
POLICY_FILE="security_policy.json"
if [ ! -f "$POLICY_FILE" ]; then
echo "ERROR: Security policy file '$POLICY_FILE' not found in $(pwd)" >&2
exit 1
f... | # System B — kali container where the agent runs
FROM kalilinux/kali-rolling
RUN apt-get update && \
apt-get install -y --no-install-recommends \
openssl \
openssh-client \
bash \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Create foldertwo with the security policy file that the age... | tasks/rts_task_0f49aabc67dad2704f25283c | 12 | 16 | 18,903 | data/tasks-00000.tar |
rts_task_cf696501269070a4b667226b | rts_group_94fcc0214390918d24d6cd7f | 5a63977f857302ecf6c760774f88ce8dab063c4e8fc71dc0cc9a2f1d7b7d8701 | passed | Set up a Docker networking environment that demonstrates custom bridge isolation.
Create a bridge network named `alpine-net` and launch four Alpine containers: `alpine1`, `alpine2`, and `alpine4` attached to `alpine-net`; `alpine3` attached only to the default `bridge`; `alpine4` also connected to the default `bridge`.... | version = "1.0"
[metadata]
difficulty = "medium"
category = "container-orchestration"
tags = ["docker", "networking", "containers", "bridge-network"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpu... | #!/bin/bash
set -euo pipefail
# Ensure cleanup on exit even if script fails
trap 'echo "Cleaning up..."; docker container stop alpine1 alpine2 alpine3 alpine4 2>/dev/null; docker container rm alpine1 alpine2 alpine3 alpine4 2>/dev/null; docker network rm alpine-net 2>/dev/null' EXIT
# Create custom bridge network
doc... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install prerequisites and Docker CLI (no daemon — DooD/DinD at runtime)
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
gnupg \
lsb-release \
&& install -m 0755 -d /etc/apt/keyrings \
&& curl -fsSL https... | tasks/rts_task_cf696501269070a4b667226b | 8 | 12 | 15,063 | data/tasks-00000.tar |
rts_task_f9bee9817e16e140d83eca82 | rts_group_fde2cab0019f415b2ad53d5f | be38a705794826f1fad399957e691498d476e5f08a5686a7496cd7399a652458 | passed | Starting directory: /app
In this environment, a Samba Active Directory Domain Controller is already running.
A configuration file at /etc/samba/domain.cfg specifies a set of user accounts and organizational units (OUs) that must exist in the directory.
Make the live Samba directory consistent with that configuration.
T... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["samba", "active-directory", "ldap", "user-management"]
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "6G"
memory_mb = 2048
storage_mb = 614... | #!/bin/bash
set -e
CONFIG="/etc/samba/domain.cfg"
REPORT="/app/report.txt"
if [ ! -f "$CONFIG" ]; then
echo "Configuration file $CONFIG not found"
exit 1
fi
declare -a USERS
declare -A USER_PASS
declare -a OUS
while IFS= read -r line; do
if [[ "$line" == user:* ]]; then
IFS=':' read -r _ user pa... | FROM alpine:3.18
# Enable main + community repositories (samba-dc lives in community)
RUN printf 'https://dl-cdn.alpinelinux.org/alpine/v3.18/main\nhttps://dl-cdn.alpinelinux.org/alpine/v3.18/community\n' \
> /etc/apk/repositories
# Install Samba Active Directory Domain Controller (provides samba-tool)
RUN apk up... | tasks/rts_task_f9bee9817e16e140d83eca82 | 6 | 10 | 9,777 | data/tasks-00000.tar |
rts_task_c3215c8a64cc1e21fcadb5e6 | rts_group_934bdcacab2c24ed8d8a3e91 | 6491ff3012250bfeabe32fba5d543682c4ba69d1d1738de6a883421e29c27e8f | passed | The environment contains a running Samba Active Directory domain controller.
Provision the following user accounts (password `Ifrn.2024`): `bind-gitea`, `fulano`, `beltrano`, and `sicrano`.
Create these four organizational units: `norte`, `sul`, `leste`, and `oeste`.
After all users and OUs exist, move user `fulano` in... | version = "1.0"
[metadata]
difficulty = "medium"
category = "system-administration"
tags = ["samba", "active-directory", "ldap", "user-management"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 900.0
cpus =... | #!/bin/bash
set -e
# helper to check required tools are available
command -v samba-tool >/dev/null 2>&1 || { echo "samba-tool not found"; exit 1; }
command -v python3 >/dev/null 2>&1 || { echo "python3 not found"; exit 1; }
# 1. create user accounts
echo "=== Creating users ==="
for user in bind-gitea fulano belt... | FROM alpine:3.18
# Install Samba Active Directory Domain Controller and required tools
# ash shell environment (GNU/Linux xterm ash), task: LDAP auth with Samba AD DC
RUN apk add --no-cache \
samba-dc \
samba-common-tools \
krb5 \
openssl \
bash \
py3-pip
# Pre-install test runner (python3 alr... | tasks/rts_task_c3215c8a64cc1e21fcadb5e6 | 8 | 12 | 13,106 | data/tasks-00000.tar |
rts_task_0709ea8f5d33cd8aa1b19dbf | rts_group_8ca67599c1f21c30f1ae9b12 | acde2ffd7922557adaf1ee8aeebebce078ecf653f852b7aab1151284f52ab6fc | passed | Use the `gendiff` CLI tool (from the project in `/mnt/c/Users/p.g.churikov/Phyton/python-project-50`) to produce JSON-formatted diffs for two pairs of configuration files and collect the combined output in `/app/result.txt`.
After generating the diffs, also create an audit summary file at `/app/audit.txt` that reports,... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["python", "cli-tool", "config-diff", "poetry", "gendiff"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus =... | #!/bin/bash
set -e
cd /mnt/c/Users/p.g.churikov/Phyton/python-project-50
# Install project and CLI
poetry build
poetry install
make package-install
# Generate JSON diffs
gendiff --format json tests/fixtures/file1.json tests/fixtures/file2.json > /app/result.txt
gendiff --format json files/file1.yml files/file2.yml >... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# ~/.local/bin is where Poetry installs itself and where pip --user puts scripts
ENV PATH="/root/.local/bin:$PATH"
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-venv \
make \
curl \
... | tasks/rts_task_0709ea8f5d33cd8aa1b19dbf | 19 | 29 | 16,184 | data/tasks-00000.tar |
rts_task_372b5475b023c7fd369a1d9e | rts_group_3f6dfb304dfd4b52e7ffd6fe | 3b54a4c1cf9a007d9d766a136fb2e78c3da36a5a4edf577a512ca22f59674dc3 | passed | The PHP project in `/app` uses a Makefile to run its build pipeline, but the pipeline is currently broken.
A previous CI run left logs somewhere in the project — start by reading those logs and any other relevant files to diagnose the root cause.
Fix the issue so that every Makefile target succeeds (including any stati... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["php", "composer", "diff", "yaml", "build-pipeline"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1
m... | #!/bin/bash
set -e
# Step 1: Locate and inspect CI failure log
LOG_PATH="/app/logs/ci-failure.log"
if [ ! -f "$LOG_PATH" ]; then
echo "Error: CI failure log not found at $LOG_PATH"
exit 1
fi
echo "=== Inspecting CI failure log ==="
if ! grep -q "return (string) \$value" "$LOG_PATH"; then
echo "Error: Expe... | FROM php:8.3-cli
# Install system dependencies for Composer and package builds
RUN apt-get update && apt-get install -y \
git \
unzip \
zip \
&& rm -rf /var/lib/apt/lists/*
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
WORKDIR /app
# synthesized: project source f... | tasks/rts_task_372b5475b023c7fd369a1d9e | 20 | 30 | 16,046 | data/tasks-00000.tar |
rts_task_e774e4e713634cb12506484f | rts_group_e522f1cfa87ed8b9754a1e39 | fac11cb32cbbe3fefb8ee93e5d1772b0715466d9626a10502d0d87faf92ed75e | passed | At /opt/tinyget, validate the tinyget Python package.
Run all style/formatting checks and the full test suite, then produce installable distribution artifacts.
The dist/ directory must contain both a wheel (.whl) and a source distribution (.tar.gz).
After installation, the `tinyget` command must be available on PATH.
U... | version = "1.0"
[metadata]
author_name = "royenheart"
difficulty = "medium"
category = "software-development"
tags = ["python", "packaging", "build", "testing", "linting"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 1800.0
[environment]
build_t... | #!/bin/bash
set -e
pip install build black flake8 hatchling pytest
flake8 ./tinyget --count --show-source --statistics
black ./tinyget --check --verbose
rm -rf dist
python -m build
# Ensure both a wheel and a source distribution were created
if ! ls dist/tinyget-*.whl 1> /dev/null 2>&1; then
echo "ERROR: Wheel ... | FROM fedora:40
LABEL description="tinyget build environment on Fedora (task 677182)"
# Install system packages needed for Python build toolchain and tinyget dependencies
# - python3 / python3-pip: Python runtime and pip
# - python3-devel: headers for building C-extension wheels (grpcio)
# - git: used to clone/inspect... | tasks/rts_task_e774e4e713634cb12506484f | 7 | 11 | 12,742 | data/tasks-00000.tar |
rts_task_9c4d535bdd9157f98b57c393 | rts_group_81b1a61b5652fc40b7f0ab4c | 3e7151e79a8726348851da38fa8a8f138110f38a9216e232135e63e7abf9d069 | passed | Set up an Eleventy (11ty) static site in `/app` named MadMode, representing Dan Connolly's tinkering lab notebook.
Initialize a git repository in `/app`.
The project needs a `package.json`, an Eleventy configuration, a shared Nunjucks layout (including the site name and tagline), and a homepage that lists posts in reve... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["eleventy", "static-site", "nodejs", "web-development"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1... | #!/bin/bash
set -e
cd /app
# Initialize a git repository (carried over from the original seed)
git init
# Create Eleventy configuration pointing to src/ and _site/
cat > .eleventy.js << 'EOF'
module.exports = function(eleventyConfig) {
eleventyConfig.addCollection("tagList", function(collectionApi) {
const tag... | FROM node:18-bullseye
# Install git (required by solve.sh for `git init`)
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
rm -rf /var/lib/apt/lists/*
# Set working directory to match solve.sh's `cd /app`
WORKDIR /app
# Default to bash shell
# harbor-agent-runtime: tmux is require... | tasks/rts_task_9c4d535bdd9157f98b57c393 | 7 | 11 | 15,916 | data/tasks-00000.tar |
rts_task_9ec129d8cdf20bb3a0deb9dd | rts_group_ce38b9a1d7af1217d351c6e5 | 15389c8ab8df0721b44688e704c151eaf48402021c7ca57f67db70e1b4fddaeb | passed | Back up `/app/src` to the remote restic repository at `rest:https://a5ab81d5:U4OAH7OqS99I@sandbox.backup.elit.hu:10400/a5ab81d5`.
Create a password file at `~/.restic/sandbox.backup.elit.hu-a5ab81d5.key` (create the directory if needed), populate it with a strong secret, and set the `RESTIC_PASSWORD_FILE` environment v... | version = "1.0"
[metadata]
difficulty = "medium"
category = "system-administration"
tags = ["restic", "backup", "rest-server", "tls"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2... | #!/bin/bash
set -e
export RESTIC_REPOSITORY=rest:https://a5ab81d5:U4OAH7OqS99I@sandbox.backup.elit.hu:10400/a5ab81d5
export RESTIC_PASSWORD_FILE="$HOME/.restic/sandbox.backup.elit.hu-a5ab81d5.key"
# Ensure the password file exists with a strong random key
mkdir -p "$HOME/.restic"
if [ ! -f "$RESTIC_PASSWORD_FILE" ]; ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
# Install required tools:
# - openssl: used by solve.sh to generate a random password (openssl rand -base64 48)
# - restic: backup tool used for restic init and restic backup
# - ca-certificates: needed for TLS connections to the REST ... | tasks/rts_task_9ec129d8cdf20bb3a0deb9dd | 14 | 19 | 20,070 | data/tasks-00000.tar |
rts_task_c1041db65bf97b1336495271 | rts_group_5768cfbeae248d9a4791789e | 5f66a3101582f7b7e34f0a62f1e12a978f4a32cbb7849c30b36394e4cd431518 | passed | Inside /app are ten compiled C programs.
Execute all of them in order and capture their combined output into a single file at /app/output.txt.
The output must follow a format documented in /app/README.md.
Read that file before proceeding.
After generating /app/output.txt, run the validation script found in /app to conf... | version = "1.0"
[metadata]
difficulty = "easy"
category = "coursework-exercises"
tags = ["c", "compilation", "program-execution", "coursework"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
me... | #!/bin/bash
set -e
cd /app
# Generate combined output in the format specified in README.md
# Header format: '--- Exercise N ---' followed by program output, then a blank line between exercises
> output.txt
for i in $(seq 1 10); do
echo "--- Exercise $i ---" >> output.txt
./ejercicio$i >> output.txt
if [ $... | # Base: Ubuntu 22.04 (matches recording environment: ubuntu@ip-172-31-17-37)
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install GCC and build tools
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy C ... | tasks/rts_task_c1041db65bf97b1336495271 | 16 | 21 | 15,406 | data/tasks-00000.tar |
rts_task_c422d0e9592b57da00ca5a22 | rts_group_948d1ef60a94afaa253ca6cb | 89c0810a28363a026b70dc4ca9136a5c3befbb8c00702769beabdce9c8f0c031 | passed | Start in `/app`.
Create a C program that prints `hai...
ini program c ku di sistem linux`, compile it to `/app/hellow`, and make it world-executable.
Create two shell scripts: `namaku` (reports its own name, the number and list of arguments, then interactively asks for a birth year and computes age) and `userlogin` (gr... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["shell-scripting", "c-programming", "gcc", "linux", "bash"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus... | #!/bin/bash
set -e
# Create and compile C program
cat > /app/halo.c << 'EOF'
#include <stdio.h>
main() {
printf("hai... ini program c ku di sistem linux");
}
EOF
gcc /app/halo.c -o /app/hellow
chmod a+x /app/hellow
# Create namaku script (temporary location)
cat > /app/namaku << 'EOF'
#!/bin/bash
echo "ini ad... | # Base image: Ubuntu 22.04 LTS (GNU/Linux • linux • bash)
# Task: Praktikum 2 - vi editor, GCC, and Shell Programming
FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install required tools:
# gcc — to compile C source files (gcc /app/halo.c -o ... | tasks/rts_task_c422d0e9592b57da00ca5a22 | 6 | 10 | 12,014 | data/tasks-00000.tar |
rts_task_9e4cbb82e12615635a4bad12 | rts_group_ccfbd19526ccd8bdbb80c543 | b369b7b50931571e49a48effd810c76778f1e4448241c855f2c20005e9c1e156 | passed | Set up persistent filesystem mounts according to the specification in `/etc/fstab.requirements`.
Update `/etc/fstab` so all required devices are mounted automatically at boot.
Validate the resulting configuration, resolve any issues found, and save a clean validation log to `/tmp/fstab_validation.log`.
| version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["fstab", "filesystem", "mount", "linux", "configuration"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus =... | #!/bin/bash
set -e
# Helper to check if line exists in fstab
exists_in_fstab() {
local line="$1"
grep -qxF "$line" /etc/fstab
}
# Append entries from /etc/fstab.requirements (avoid duplicates)
if [[ -f /etc/fstab.requirements ]]; then
while IFS= read -r line; do
# skip blank lines
[[ -z "$... | #
# Base image: GNU/Linux + bash (Ubuntu 22.04)
# Task: 693827 — Presensi 12 Hasil Lab 12
# Reconstructed from env_signals.json + solve.sh
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install required packages: util-linux (mount, findmnt, losetup), e2fsprogs (mkfs.ext4/ext3, mkswap)
RUN apt-get update && ... | tasks/rts_task_9e4cbb82e12615635a4bad12 | 7 | 11 | 9,920 | data/tasks-00000.tar |
rts_task_fafd0d0e9ee17d74637696e0 | rts_group_68a9480ffa5ab88f7fbacd21 | 64434d4f2c79f043ac557c86d1291b1c583a8583a40b3410418d521c8133ba1a | passed | Configure the system so that three partitions are automatically mounted at boot.
A specification file describing the required mount entries and any additional preparation steps has been placed in a standard system configuration directory.
Locate this file, follow its requirements to ensure all necessary mount points ar... | schema_version = "1.1"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["fstab", "linux", "filesystem", "mount"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory_... | #!/bin/bash
set -euo pipefail
SPEC_FILE="/etc/fstab.example"
if [ ! -f "$SPEC_FILE" ]; then
echo "ERROR: Specification file $SPEC_FILE not found."
exit 1
fi
echo "Reading mount specification from $SPEC_FILE"
# Extract fstab entries (ignore full-line comments and blank lines; strip inline comments)
ENTRIES=(... | # Environment for task 693935
# Task: configure /etc/fstab, prepare mount points, copy to /app/fstab.txt
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends util-linux bash coreutils && rm -rf /var/lib/apt/lists/*
RUN useradd -m sistem
# Create mount-po... | tasks/rts_task_fafd0d0e9ee17d74637696e0 | 6 | 10 | 11,393 | data/tasks-00000.tar |
rts_task_1ee3fc5ab44cda4bafc5d06f | rts_group_f2de1c98378e9bfcf6b9265a | 810290dcbd055823a8b81fd3ddb9cba526353f6d8654dd0288db65973e194caa | passed | In `/app/data` there is a CSV dataset of integer pairs.
Write a Python script at `/app/compute_gcd.py` that computes the GCD for each pair and writes results to `/app/results.txt` in the format `gcd(a, b) = result`.
If the dataset includes a column with precomputed GCD values, compare your computed results against thos... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting"
tags = ["python", "math", "gcd", "computation"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "6G... | #!/bin/bash
set -e
cat << 'EOF' > /app/compute_gcd.py
import csv
import math
import os
import sys
DATA_FILE = '/app/data/pairs.csv'
RESULTS_FILE = '/app/results.txt'
DISCREPANCIES_FILE = '/app/discrepancies.log'
def main():
if not os.path.exists(DATA_FILE):
print(f"Data file {DATA_FILE} not found.", file... | FROM python:3.11-slim
RUN mkdir -p /app /app/data
WORKDIR /app
# Create the dataset with header and rows including one intentional mismatch
RUN echo "a,b,expected_gcd" > /app/data/pairs.csv && \
echo "10,20,15" >> /app/data/pairs.csv && \
echo "-12,18,6" >> /app/data/pairs.csv && \
echo "15,-5,5" >> /app... | tasks/rts_task_1ee3fc5ab44cda4bafc5d06f | 6 | 10 | 7,944 | data/tasks-00000.tar |
rts_task_34b3e31022f3fb683b07b0c8 | rts_group_ed8fdd0ad95eed9daddb9923 | 52828163a69bf868f8eb1ea712267bee319f6fec8f278659895a58090576fa8c | passed | Write a Python script at `/app/compute_gcd.py` that processes a dataset of integer pairs located under `/app/data`.
It must compute the greatest common divisor for each pair, treating negative numbers as their absolute value and handling large integers correctly.
It must write results to `/app/output/results.txt` and a... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "mathematics", "gcd", "scripting"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 8.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G... | #!/bin/bash
set -e
cat << 'EOF' > /app/compute_gcd.py
import math
import os
data_file = '/app/data/pairs.txt'
config_file = '/app/config/spec.json'
output_dir = '/app/output'
os.makedirs(output_dir, exist_ok=True)
total = 0
valid = 0
malformed = 0
errors = []
results = []
with open(data_file, 'r') as f:
for li... | FROM python:3.11-slim
SHELL ["/bin/bash", "-c"]
WORKDIR /app
RUN pip install --no-cache-dir pytest==8.4.1
RUN mkdir -p /app/data /app/config /app/output
RUN printf '%s\n' "123 456" "-789 101" "112 0" "0 0" "999999999 888888" "-123456789 -987654321" "42 56" "abc 123" > /app/data/pairs.txt
RUN echo '{"input_format": "tw... | tasks/rts_task_34b3e31022f3fb683b07b0c8 | 6 | 10 | 10,944 | data/tasks-00000.tar |
rts_task_17211916a62d1988c19d7b8f | rts_group_3dbfd922dfd318bd2ab8772b | d891a61088dbb74a2f4ad5523cb6d88d2562b52b9316e6c0c371fcd2ec482e0f | passed | In `/jj-absorb-demo`, use `jj` to create a git-backed repository and construct the exact commit history described in `SPEC.md`.
After building the history, run `jj absorb` to automatically distribute uncommitted changes into earlier commits.
Run the provided validation script `check_absorb.py` and save its output to `r... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/696032"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -e
cd /jj-absorb-demo
jj git init
jj config set --user user.name "recursive-task-benchmark"
jj config set --user user.email "recursive-task-benchmark@example.com"
# Base commit with a.txt and b.txt as specified
echo "a" > a.txt
echo "b" > b.txt
jj desc -m "Created a repo with a and b"
jj bookmark cr... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Pre-install tmux for terminus-2 agent
RUN apt-get update && apt-get install -y --no-install-recommends tmux && rm -rf /var/lib/apt/lists/*
# System packages
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bat \
ca-certif... | tasks/rts_task_17211916a62d1988c19d7b8f | 7 | 11 | 10,843 | data/tasks-00000.tar |
rts_task_1a6f734f7de12f873f51fa50 | rts_group_4b32722bf787a4fddea3d629 | 24020414b96594baea18a058e7934320b9de7da82c9551c2bf03abe14eac61f8 | passed | Execute the full Terraform lifecycle for the configuration in `~/Development/GitHub/automation-tutorials/terraform/terraform_data2`.
The project uses a `terraform_data` resource with a local provisioner that calls a script.
The workflow must include initialization, planning, at least two successful applies to confirm i... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["terraform", "infrastructure-as-code", "idempotency"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1... | #!/bin/bash
set -eo pipefail
cd ~/Development/GitHub/automation-tutorials/terraform/terraform_data2
echo "=== Initializing Terraform ==="
terraform init
echo "=== Planning ==="
terraform plan
echo "=== Applying (first) ==="
terraform apply -auto-approve
echo "=== Re-planning ==="
terraform plan
echo "=== Applying... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
# Install base utilities
RUN apt-get update && apt-get install -y \
curl \
unzip \
gnupg \
software-properties-common \
lsb-release \
python3 \
python3-pip \
git \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& ap... | tasks/rts_task_1a6f734f7de12f873f51fa50 | 9 | 13 | 12,314 | data/tasks-00000.tar |
rts_task_0242c624fcec6bef8bb33620 | rts_group_3089943c4c39685b30044f17 | 52624682304cddb4f9b71569d2df7e9d07944dc789de7870ca84f0d1d6e88f8d | passed | Download the complete "Win95 FileSystem" tools collection from http://www.staroceans.org/fileLists.html into /tmp/get-w95-ifs-tools, preserving the remote directory structure so that the tree root is /tmp/get-w95-ifs-tools/Win95 FileSystem/.
The environment provides reference data for this collection.
Use it to verify ... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/701911"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
# Phase 1: Download all files from the Win95 FileSystem index, preserving directory structure
cd /tmp
mkdir -p get-w95-ifs-tools
cd get-w95-ifs-tools
wget -q -O- http://www.staroceans.org/fileLists.html 2>/dev/null | \
grep -oP 'href="[^"]*Win95%20FileSystem[^"]*"' | \
sed 's/^href="//;s/"$//' | \
w... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates coreutils curl gawk git tree wget && \
rm -rf /var/lib/apt/lists/*
# Generate reference manifest for Win95 FileSystem collection
RUN mkdir -p /tmp/manifest_build &... | tasks/rts_task_0242c624fcec6bef8bb33620 | 6 | 10 | 8,712 | data/tasks-00000.tar |
rts_task_f5340334eeced3161593edcb | rts_group_99b7f7be29de2fa294cee690 | 93e1282fe062188ef40d03e2b621b3e57c0674adab72e12930251498820a4570 | passed | Stage agricultural data for grape production in Napa Valley and produce a staging report.
Use the earthsource Python library (documentation at `/usr/local/share/earthsource/`).
Search for grape production within the valley's bounding box: latitude 38.2–38.8, longitude -122.5 to -122.1.
Then stage the `ag_daily` dataset... | version = "1.0"
[metadata]
difficulty = "easy"
category = "data-analysis"
tags = ["earthsource", "geospatial", "agriculture", "api", "numpy", "python"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 8.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpu... | #!/bin/bash
set -e
cat << 'EOF' > /app/generate_report.py
import sys
import json
import hashlib
from earthsource import EarthSource
def main():
earthsource = EarthSource()
# Search for grape production in Napa Valley
search_results = earthsource.search(
search="grape production",
bounding_... | FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
zsh \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
numpy>=1.21
COPY earthsource_pkg/ /tmp/earthsource_pkg/
RUN pip install --no-cache-dir /tmp/earthsource_pkg/
# Create earths... | tasks/rts_task_f5340334eeced3161593edcb | 9 | 15 | 14,449 | data/tasks-00000.tar |
rts_task_685be55eca57feb049fb12bf | rts_group_724a8e2ad24a6f7077a027d9 | 019767647bc97efe91a3b6a05a73a747672f393a1b5c2c6ea00436617cb86b96 | passed | In the git repository at `/app`, use the custom `git stats` command to generate author commit counts.
Write the raw counts (without alias normalization) to `/app/raw_stats.txt`, sorted in descending order.
Then normalize author names according to the alias rules in `/app/.gitstats`, sort the result descending, and writ... | version = "1.0"
[metadata]
difficulty = "easy"
category = "version-control"
tags = ["git", "scripting", "data-processing"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage ... | #!/bin/bash
set -euo pipefail
cd /app
# Ensure git-stats is available
if ! command -v git-stats &> /dev/null; then
echo "git-stats not found"
exit 1
fi
# -------- Raw statistics (no alias normalisation) --------
git stats > /app/raw_stats.txt
# Enforce descending sort
sort -rn -o /app/raw_stats.txt /app/raw_... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# System packages
RUN apt-get update && apt-get install -y \
git \
python3 \
&& rm -rf /var/lib/apt/lists/*
# Global git identity (used for default commits)
RUN git config --global user.email "serghei@pdffiller.com" \
&& git config --global us... | tasks/rts_task_685be55eca57feb049fb12bf | 9 | 13 | 22,383 | data/tasks-00000.tar |
rts_task_14076f60cb25f0478e3cc31b | rts_group_6baa4eebfb62fb5b032484d6 | 0613131b58cbef63de2440e27a42cb5b8942300da7c847a72232caaf78eb926d | passed | Create an ARM64 assembly program that reverses the string `THE BOYZ` contained in `/app/input.txt`.
Assemble and link the program into a binary at `/app/cadena_al_reves`.
When executed, it should print the original string and the reversed string.
Consult `/app/README.md` for instructions on assembling and including ext... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["assembly", "arm64", "cross-compilation", "coursework"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1... | #!/bin/bash
set -e
# Create /app/input.txt with the string definition
cat > /app/input.txt << 'EOF'
input_str: .asciz "THE BOYZ"
EOF
# Write the ARM64 assembly source that includes input.txt
cat > /app/cadena_al_reves.s << 'ASMEOF'
.global _start
.data
.include "input.txt"
str_len = . - input_str - 1
rev... | FROM debian:bookworm
ENV DEBIAN_FRONTEND=noninteractive
# binutils-aarch64-linux-gnu: provides aarch64-linux-gnu-as and aarch64-linux-gnu-ld
# for cross-assembling and linking ARM64 ELF binaries on this x86_64 host.
# qemu-user-static: provides qemu-aarch64-static, which executes ARM64 ELF
# binaries in user-spac... | tasks/rts_task_14076f60cb25f0478e3cc31b | 7 | 11 | 8,571 | data/tasks-00000.tar |
rts_task_c7620582bd5b6565a783d554 | rts_group_271f8bce13007c85fee7d659 | 5f944c830ff1c577247a750d4983b68c4caefba0f6e35994145429262899c7b4 | passed | Your task is to produce an ASCII art presentation document at `/app/output.txt` for an ARM64 assembly programming assignment.
The document must follow a specification that you can find inside the project directory.
The specification describes which phrases to render as banners, the order they must appear, and how to se... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["figlet", "ascii-art", "shell-scripting", "file-operations"]
expert_time_estimate_min = 1.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus ... | #!/bin/bash
set -euo pipefail
SPEC_FILE=/app/assignment.txt
OUTPUT=/app/output.txt
if [ ! -f "$SPEC_FILE" ]; then
echo "Error: Specification file $SPEC_FILE not found."
exit 1
fi
# Read all non-empty, non-comment lines from the spec file.
# Comments start with '#'.
mapfile -t lines < <(grep -v '^\s*#' "$SPEC... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
figlet \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Create specification file for the task
RUN echo "# ARM64 assembly programming assignment specification" > /app/assignment.t... | tasks/rts_task_c7620582bd5b6565a783d554 | 6 | 10 | 8,744 | data/tasks-00000.tar |
rts_task_070cf5269ca7c548f70d7007 | rts_group_24ab24f97097f5d3be04a541 | c6059fb7f4c7bea389362e604fd64b934ac7ed728f04ace9ee5d942ee1bf7ff9 | passed | Create an x86-64 assembly source file `contar_a.s` in `/app` that counts occurrences of the lowercase letter 'a' in the hardcoded string `"Overwatch es un juego genial"`.
Assemble and link it into the executable `/app/contar_a`.
When run, the program must print the original string and the count.
After the executable wo... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["assembly", "x86-64", "compilation", "low-level"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memor... | #!/bin/bash
set -e
# Write x86-64 assembly source (AT&T syntax, GNU as) that counts lowercase 'a'
cat > /app/contar_a.s << 'ASMEOF'
.global _start
.section .text
_start:
leaq cadena(%rip), %r9 # r9 = pointer to cadena
xorq %r10, %r10 # r10 = counter = 0
count_loop:
movzbl... | # Ubuntu x86-64 environment for x86-64 assembly (contar_a) task
# Task 712758 — count lowercase 'a' in a hardcoded string, native x86-64 binary
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
binutils \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /a... | tasks/rts_task_070cf5269ca7c548f70d7007 | 8 | 12 | 13,208 | data/tasks-00000.tar |
rts_task_7d85005850abb7909afce1f7 | rts_group_3255a724ebc757fce1d4abf2 | 71a32bd901ce9ad519a63b5fe3536cacaf65e75e45a819f2ac320b077b0f29af | passed | Write an ARM64 assembly program that replaces every `'o'` with `'e'` in a string, then prints the result preceded by `Cadena modificada: ` (with a trailing space).
The source must be placed at `/root/remplazar_oe.s` and the final executable at `/root/remplazar_oe`.
The program must read its input from `/root/input.txt`... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "compilation", "linux"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
memory_mb = 2048
... | #!/bin/bash
set -e
DATA_FILE=/root/frase.txt
if [ ! -f "$DATA_FILE" ]; then
echo "Error: data file $DATA_FILE not found."
exit 1
fi
cp "$DATA_FILE" /root/input.txt
cat > /root/remplazar_oe.s << 'EOF'
.global _start
.section .data
path_in: .asciz "/root/input.txt"
path_out: .asciz "/root/output.txt"
label: .... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm
ENV LANG=C.UTF-8
# Install ARM64 cross-compilation tools and QEMU user-mode emulation
# (qemu-user provides qemu-aarch64 for running ARM64 binaries on x86_64)
RUN apt-get update && apt-get install -y \
binutils-aarch64-linux-gnu \
gcc-aarch64... | tasks/rts_task_7d85005850abb7909afce1f7 | 7 | 11 | 12,172 | data/tasks-00000.tar |
rts_task_d5ac54a0c484b2aa6416d265 | rts_group_a2dab5f06075da13fb7d65ee | a4de199c5d1b5d8cf0ba909b9f6b2261c3d1548682cdbb84814a22e9790fd27f | passed | Build an ARM64 assembly program at /app/resta.s that reads two numbers from /app/config.txt, computes their subtraction, and prints "a - b = c\n".
Use the aarch64-linux-gnu-as assembler and ld linker already available (no C runtime or external libraries).
The binary must be placed at /app/resta and must exit non-zero i... | version = "1.0"
[metadata]
category = "software-development"
tags = ["assembly", "arm64", "compilation", "low-level"]
difficulty = "medium"
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memo... | #!/bin/bash
set -e
cd /app
# --------------------------------------------------------------------
# Step 1: Write ARM64 assembly source that reads /app/config.txt,
# parses two space-separated integers, computes subtraction,
# prints "a - b = c\n", and handles errors gracefully.
# --------------------... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
binutils-aarch64-linux-gnu \
gcc-aarch64-linux-gnu \
qemu-user-static \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN echo '5 3' > /app/config.txt
RUN printf '%s\n' '# Testing Requirements' '' 'Your tes... | tasks/rts_task_d5ac54a0c484b2aa6416d265 | 7 | 11 | 16,131 | data/tasks-00000.tar |
rts_task_f6b78e9929abab7489869a18 | rts_group_29266075c2b974d8ece35a4b | fb438b66d8038b459bd7f3e25fb6f40d0dcaf8081a5c9c7e5a80663d8bc36124 | passed | In `/app`, implement an ARM64 assembly program that converts a hardcoded uppercase string to lowercase and prints it.
Write the assembly source at `/app/minusculas.s` and a `Makefile` that cross-assembles and links it into the executable `/app/minusculas`.
Once the binary is built and its output matches the expected ou... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["arm64", "assembly", "cross-compilation", "coursework"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus =... | #!/bin/bash
set -e
# ----------------------------------------------------------------------------
# Step 1: Write the ARM64 assembly source file.
# The program converts a hardcoded uppercase string to lowercase and prints it.
# ----------------------------------------------------------------------------
cat > /app/min... | # ARM64 assembly environment reproducing Raspberry Pi (RaspbianOS/ARM64) context.
# The host is x86_64 and QEMU aarch64 binfmt is not registered in the kernel,
# so we use:
# binutils-aarch64-linux-gnu — cross-assembler (aarch64-linux-gnu-as) and
# cross-linker (aarch64-linux-gnu-ld)... | tasks/rts_task_f6b78e9929abab7489869a18 | 8 | 12 | 12,339 | data/tasks-00000.tar |
rts_task_e22f09d81acdd0f844580eb7 | rts_group_c01e5ed308594e23e949ebac | a8533be69028c2f734602c4ae7a3641699cd4dc36e08cd7b6524b201f7f8589d | passed | Implement a GCD calculator in ARM64 assembly.
Place the source at `/app/mcd.s` and compile it to `/app/mcd`.
When run, the binary must print:
Calculando MCD de 48 y 18
El MCD es: 6
The working directory is `/app`.
The environment provides cross-compilation tools for ARM64 and a user-mode emulator; figure out the approp... | version = "1.0"
[metadata]
difficulty = "medium"
category = "systems-programming"
tags = ["assembly", "arm64", "algorithms", "cross-compilation"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus ... | #!/bin/bash
set -e
APPDIR="/app"
mkdir -p "$APPDIR"
cd "$APPDIR"
# Write ARM64 assembly source with patching-friendly labels
cat > mcd.s << 'ENDASM'
.global _start
.data
num1:
.word 48
num2:
.word 18
msg1:
.ascii "Calculando MCD de "
msg1_len = . - msg1
msg2:
.ascii " y "
msg2_len = . - msg2
msg3:... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install ARM64 cross-compilation tools, QEMU user-mode emulation, and jq
RUN apt-get update && \
apt-get install -y --no-install-recommends \
binutils-aarch64-linux-gnu \
qemu-user \
jq \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app... | tasks/rts_task_e22f09d81acdd0f844580eb7 | 7 | 11 | 14,565 | data/tasks-00000.tar |
rts_task_2607dd8e8b0d78f50ece4d7f | rts_group_944a9dfcefafa8c8acc0c54d | ffd804d652b88d3f580b8ec94f2c603b9132ef101cf5d55c8adc7007781debeb | passed | In the `/app` directory, write an ARM64 assembly program in `/app/primo.s` that determines whether a hard-coded integer is prime and prints a message in Spanish.
Assemble and link your program into an executable at `/app/primo`.
The executable must produce the correct Spanish output when run.
Next, create a validation ... | version = "1.0"
[metadata]
author_name = "Alejandro Suarez"
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "programming", "coursework"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 45.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build... | #!/bin/bash
set -e
# ----------------------------------------------------------------------
# 1. Write the ARM64 assembly prime checker (hardcoded 97, Spanish)
# ----------------------------------------------------------------------
cat << 'ASSEMBLY' > /app/primo.s
// ARM64 Assembly: primality checker for hardcoded n... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm
# Install ARM64 cross-compilation tools and QEMU user-mode emulation
RUN apt-get update && \
apt-get install -y --no-install-recommends \
binutils-aarch64-linux-gnu \
qemu-user \
libc6-arm64-cross \
&& rm -rf /var/lib/... | tasks/rts_task_2607dd8e8b0d78f50ece4d7f | 6 | 10 | 13,055 | data/tasks-00000.tar |
rts_task_bdc7b03261cf73df2b159f82 | rts_group_aa177c81c86b999a1061f992 | 14c8a7ecf4eb432ad9ded0dbc6952acee7207bc0fe0da814078b0df11849fb73 | passed | Build an ARM64 assembly program that performs a substring search, reading the main text and the search substring from files and writing the result to an output file as described in `/app/spec.md`.
Start by inspecting `/app/spec.md` for the exact requirements (file paths, output format, constraints).
The environment alr... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "linux", "systems-programming"]
expert_time_estimate_min = 30.0
junior_time_estimate_min = 120.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1... | #!/bin/bash
set -e
# Crear directorio de salida
mkdir -p /app/output
# Escribir el código fuente en ensamblador ARM64
cat > /app/find_substr.s << 'ASMEOF'
.global _start
.data
input_main: .asciz "/app/input/main.txt"
input_search: .asciz "/app/input/search.txt"
output_file: .asciz "/app/output/result.txt"
... | # x86_64 Ubuntu environment for ARM64 cross-compilation of the substring-search program.
# Uses binutils-aarch64-linux-gnu for cross-assembly/linking and qemu-user-static for execution.
# Task 713382: buscar_subcadena — ARM64 Assembly cross-compiled on Linux x86_64
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
... | tasks/rts_task_bdc7b03261cf73df2b159f82 | 6 | 10 | 15,104 | data/tasks-00000.tar |
rts_task_26b68a94ff578a3e79a12589 | rts_group_9d9ffa0101170109cb4d9929 | 801d4cfd30bc933ebaa52f388154fe271c6a750eeeb3fab084e22a1ff8e2781a | passed | Write an ARM64 assembly program at `/app/promedio.s` that calculates the average of three predefined numbers and prints the result.
Provide a `Makefile` at `/app/Makefile` that assembles and links the program into the executable `/app/promedio`.
The `Makefile` must also include a `test` target that runs the program and... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "compilation", "makefile", "low-level-programming"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_s... | #!/bin/bash
set -e
# Create the expected output file
cat > /app/expected_output.txt << 'EOF'
Calculando el promedio de tres números:
Número 1: 10
Número 2: 20
Número 3: 30
El promedio es: 20
EOF
# Create the ARM64 assembly source at /app/promedio.s
cat > /app/promedio.s << 'ASMEOF'
.data
num1: .quad 10 ... | # syntax=docker/dockerfile:1
# Base: x86_64 Ubuntu 22.04 with ARM64 cross-compilation toolchain
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
# Install ARM64 cross-compilation toolchain and QEMU user-mode emulator
RUN apt-get update && \
apt-get install -y --no-install-recommends \
... | tasks/rts_task_26b68a94ff578a3e79a12589 | 8 | 12 | 17,109 | data/tasks-00000.tar |
rts_task_0b9ba1ecd8f8ffdcabfd0441 | rts_group_37a9ed287ee7164d4b137b78 | e03dfa87a818ce5c25ed6fa8f9636764945ebc2aa974270de26200a1c12ed291 | passed | Write an ARM64 assembly program in `/app/conteo_atras.s` that performs a countdown.
The program must print `Cuenta atrás desde: 10` on the first line, then the numbers 10 down to 0 (each on its own line), and finally `¡Cuenta regresiva completada!`.
The starting value (10) must be stored as a `.quad` in the `.data` sec... | version = "1.0"
[metadata]
difficulty = "medium"
category = "system-programming"
tags = ["assembly", "arm64", "build-from-source", "low-level"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
... | #!/bin/bash
set -e
cd /app
# Generate ARM64 assembly source conteo_atras.s
cat > /app/conteo_atras.s <<'EOF'
.section .data
start: .quad 10
header: .asciz "Cuenta atrás desde: 10\n"
footer: .asciz "¡Cuenta regresiva completada!\n"
EOF
# Append number strings (10 down to 0) to .data
for i in $(seq 10 -1 0); do
cat... | # ARM64 Assembly environment — Programa 24: Conteo hacia atrás
# Cross-compilation and emulation environment.
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -y --no-install-recommends \
binutils-aarch64-linux-gnu \
qemu-user-static \
... | tasks/rts_task_0b9ba1ecd8f8ffdcabfd0441 | 8 | 12 | 12,750 | data/tasks-00000.tar |
rts_task_8be0331a0834d894ddd197a0 | rts_group_e6ad04237cd13661c83b52b1 | 1087b318613ae7e973506a22cf83e38579c8ebc451b3d5004835bf4886ac5591 | passed | In this task you will write an ARM64 assembly program to check if a phrase is a palindrome.
The phrase and the exact output format are defined in configuration files under /app/config/.
Start by exploring /app/config/ to determine the phrase and the output format.
Write the assembly source in /app/palindromo.s.
Next, c... | version = "1.0"
[metadata]
author_name = "pepinisillo"
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "palindrome", "cross-compilation"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
bu... | #!/bin/bash
set -euo pipefail
CONFIG_DIR="/app/config"
PHRASE_FILE="$CONFIG_DIR/phrase.txt"
OUTPUT_SPEC_FILE="$CONFIG_DIR/output_spec.txt"
EXPECTED_RESULT_FILE="$CONFIG_DIR/expected_result.json"
SRC="/app/palindromo.s"
OBJ="/app/palindromo.o"
EXE="/app/palindromo"
# 1. Verify config directory exists
if [ ! -d "$CONFI... | # ──────────────────────────────────────────────────────────────────────────────
# Task 713457 – ARM64 palindrome assembly
# x86_64 host: uses ARM64 cross-assembler + qemu-user for emulation
# ──────────────────────────────────────────────────────────────────────────────
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=nonintera... | tasks/rts_task_8be0331a0834d894ddd197a0 | 8 | 12 | 15,161 | data/tasks-00000.tar |
rts_task_303f2e5fdf7b562f7afedb68 | rts_group_d431bec662d1cb0edef4ed85 | d7ccf2b49358517b78e901a8360f251517b277ae22dab93c653b992e639d1144 | passed | Write an ARM64 assembly program that reads a decimal integer from the file `/root/number.conf`, prints the decimal value together with its binary representation to standard output, and handles missing or invalid input gracefully.
Save your source as `/root/num_a_binario.s`.
Assemble it with `aarch64-linux-gnu-as` into ... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "compilation", "binary-conversion"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 45.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus ... | #!/bin/bash
set -e
# Write the ARM64 assembly source file that reads from /root/number.conf
cat > /root/num_a_binario.s << 'ASMEOF'
.data
// File path
filename: .asciz "/root/number.conf"
// Success messages
msg_decimal: .ascii "N\303\272mero decimal: " // Número decimal: (17 bytes UTF-8)
... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
binutils-aarch64-linux-gnu \
qemu-user \
&& rm -rf /var/lib/apt/lists/*
RUN echo "42" > /root/number.conf
WORKDIR /app
# harbor-agent-runtime: tmux is required by the te... | tasks/rts_task_303f2e5fdf7b562f7afedb68 | 6 | 10 | 13,921 | data/tasks-00000.tar |
rts_task_b6b02584385fd4ad601f40ce | rts_group_46ef6a2e41fd2b09052c6a05 | fdb194b273bf8c63733d557f0c502586c92fd19bad6afbec27b7460a04f0efac | passed | Write an AArch64 assembly program that reads two unsigned integers from `/app/input.txt`, computes their least common multiple, and prints the result to stdout.
The exact output format and deliverable artifacts are defined in `/app/rewrite_step_verifier.json`; follow that specification closely.
Save the assembly source... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "aarch64", "compilation", "lcm"]
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "6G"
memory_mb = 2048
storage_mb = 61... | #!/bin/bash
set -e
cat > /app/mcm.s << 'ASMEOF'
.global _start
// --- Constants ---
.equ AT_FDCWD, -100
.equ O_RDONLY, 0
.equ SYS_openat, 56
.equ SYS_read, 63
.equ SYS_write, 64
.equ SYS_exit, 93
// --- Data ---
.section .data
filename:
.asciz "/app/input.txt"
buffer:
.skip 64
num1:
.skip 8
num2:
.... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
binutils-aarch64-linux-gnu \
qemu-user-static \
file \
binutils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN printf '48\n18\n' > /app/input.txt
# harbor-agent-runtime: tmux... | tasks/rts_task_b6b02584385fd4ad601f40ce | 6 | 10 | 10,438 | data/tasks-00000.tar |
rts_task_0b9b2bac6586b91383a541a9 | rts_group_47945f5911a9e07f827a1a1e | 7d7507c6244ea56eb62cefbbd38ac34c51463c029ed228d388cefe6d8f29f541 | passed | Write an ARM64 Assembly program using only Linux syscalls (no C library) that reads an integer upper limit from `/root/config.txt`, computes all prime numbers up to that limit, and prints them to standard output.
Save the source as `/root/generador-primos.s` and assemble it into an executable at `/root/generador-primos... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "low-level-programming", "coursework-exercises"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_se... | #!/bin/bash
set -e
cat > /root/generador-primos.s << 'ASSEMBLY_EOF'
.global _start
.data
// Static strings
msg_intro:
.ascii "N\xc3\xbameros primos hasta "
msg_intro_len = . - msg_intro
msg_colon:
.ascii ":\n"
msg_colon_len = . - msg_colon
space:
.ascii " "
space_len = . - space
newline:
.ascii "\n... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get update && \
apt-get install -y \
binutils-aarch64-linux-gnu \
qemu-user \
&& rm -rf /var/lib/apt/lists/*
RUN echo '100' > /root/config.txt
WORKDIR /root
# harbor-agent-runtime: tmux is requir... | tasks/rts_task_0b9b2bac6586b91383a541a9 | 6 | 10 | 12,534 | data/tasks-00000.tar |
rts_task_7c370a681e98e04aff0c9a9b | rts_group_4e8bd2cd1179636abe811063 | 4ec810efa857141ba0c2992848ea1ec457ca13e004b6ca0141081d2fa0aa276d | passed | Working directory is /app.
The file /app/prompt.txt contains the exact prompt string your program must display before reading input.
Write an AArch64 assembly program that converts hours to seconds.
Save the source as /app/horas_seg.s and compile it to the executable /app/horas_seg, which must run on AArch64 Linux.
Whe... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["assembly", "arm64", "aarch64", "compilation", "low-level"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 45.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
... | #!/bin/bash
set -e
# Write ARM64 assembly source that uses .incbin to embed the prompt from /app/prompt.txt
cat > /app/horas_seg.s << 'EOF'
.global _start
.align 4
.section .data
prompt_start:
.incbin "/app/prompt.txt"
prompt_end:
len_prompt = prompt_end - prompt_start
resultado: .ascii " se... | # Environment for task 714449
# ARM64 Assembly (AArch64) hours-to-seconds converter
# Host build context: x86_64; ARM64 cross-assembler and QEMU provided
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm
# Install ARM64 cross-assembler/linker, QEMU user-mode emulation for AArch64,
# and general bui... | tasks/rts_task_7c370a681e98e04aff0c9a9b | 7 | 11 | 11,965 | data/tasks-00000.tar |
rts_task_956ea2e372fe004edbe0d44d | rts_group_65364d04bd0686d252543afe | b874f1d441f9e3cff447f163fd3bd7999bfa6a9fe69382bf159723005338efdb | passed | Working directory: `/app`.
A JSON configuration file (`model_config.json`) defines a PyTorch model architecture.
Write a Python script that:
- reads the config, builds the model,
- profiles it with `torchmeter`, and
- saves the parameter profiling table to `/app/params.csv`, the computation profiling table to `/app/cal... | version = "1.0"
[metadata]
author_name = "Ahzyuan"
author_email = ""
difficulty = "medium"
category = "ml-training"
tags = ["pytorch", "profiling", "torchmeter", "neural-network"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]... | #!/bin/bash
set -e
# Check for required config file
if [ ! -f /app/model_config.json ]; then
echo "ERROR: /app/model_config.json not found"
exit 1
fi
# Write the profiling script that reads the config
cat << 'PYEOF' > /app/run_meter.py
import json
import sys
import os
import torch
import torch.nn as nn
from t... | FROM continuumio/miniconda3:23.5.2-0
SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
wget \
git \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app
WORKDIR /app
RUN conda create -n tm38 python=3.8 -y && \
conda clean -afy
... | tasks/rts_task_956ea2e372fe004edbe0d44d | 6 | 10 | 14,264 | data/tasks-00000.tar |
rts_task_b3cef014b81fd54068f4a605 | rts_group_30d08524f0773374a8e8172a | e945f5407219e503b78c65fa75b1d8c0691fe6d7f127b2cbd761d97cd9cbeba1 | passed | Set up a minimal OCI container runtime environment in /app/demo using runc with custom networking.
Read /app/network.conf for the required network settings.
Configure the network namespace, bridge, and container interface as specified.
Populate /app/demo/rootfs/ with the filesystem from the busybox Docker image (use, f... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/722617"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -e
# Source network configuration
if [ ! -f /app/network.conf ]; then
echo "ERROR: /app/network.conf not found"
exit 1
fi
set -a
source /app/network.conf
set +a
# Ensure mandatory variables are set
for var in BRIDGE_NAME BRIDGE_IP NAMESPACE_NAME CONTAINER_INTERFACE CONTAINER_IP GATEWAY; do
if [ ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
iproute2 \
python3 \
runc \
sudo \
tar \
wget \
&& rm -rf /var/lib/apt/lists/*
# Ins... | tasks/rts_task_b3cef014b81fd54068f4a605 | 8 | 12 | 15,282 | data/tasks-00000.tar |
rts_task_5e9adf552dae44cf30c15b2b | rts_group_91c3431338f98b369274e8e8 | ce84b03a536d07e0799a0f3c611c6da9b41f8a539ce0309ca9ca0952137ead0e | patched_gold_verified | The local PostgreSQL database needs a schema migration whose parameters are described in `/app/config/db_spec.yaml`.
Carry out that migration, and log every SQL statement you execute—along with a brief indication of the result—to `/app/migration.log`.
After the migration, the database should reflect the configuration, ... | version = "1.0"
[metadata]
author_name = "supaventimi"
difficulty = "medium"
category = "database-operations"
tags = ["postgresql", "schema", "database-administration"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeo... | #!/bin/bash
set -eo pipefail
DB_URL="postgresql://postgres@localhost:5432/postgres"
SPEC_FILE="/app/config/db_spec.yaml"
LOG_FILE="/app/migration.log"
mkdir -p /app
# Initialize log
echo "=== Migration started at $(date) ===" > "$LOG_FILE"
# Read configuration
if [ ! -f "$SPEC_FILE" ]; then
echo "ERROR: $SPEC_F... | # Task 730945 — Moving tables to different schema
# Base: Ubuntu 24.04 (matches pgdg24.04+1 from recording)
# PostgreSQL 17 server + client; Supabase pooler hostname redirected to localhost.
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# --- Install PostgreSQL 17 from PGDG (matches psql 17.5 / pgdg24.04 in r... | tasks/rts_task_5e9adf552dae44cf30c15b2b | 9 | 13 | 16,363 | data/tasks-00000.tar |
rts_task_c830a142e0cd42f3caf7f963 | rts_group_f486f8bc1ac6199840b18f05 | e11bea87231763171d5174937c8e428bfab7c806411b76ba2aed389803271abb | passed | Build and execute a machine learning pipeline using xorq on the Palmer Penguins dataset.
The dataset is at /app/penguins.parquet, and a pipeline configuration is at /app/pipeline_config.json.
Before running the pipeline, verify that the feature column names in the configuration exactly match the dataset columns; correc... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/733941"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/usr/bin/env bash
set -euo pipefail
log() { printf '%s\n' "$*" >&2; }
# Validate required inputs
if [ ! -f /app/penguins.parquet ]; then
log "ERROR: /app/penguins.parquet not found"
exit 1
fi
if [ ! -f /app/pipeline_config.json ]; then
log "ERROR: /app/pipeline_config.json not found"
exit 1
fi
log ... | FROM python:3.10-slim
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
git && \
rm -rf /var... | tasks/rts_task_c830a142e0cd42f3caf7f963 | 9 | 14 | 17,860 | data/tasks-00000.tar |
rts_task_432a1d3c8d564dda29018cdf | rts_group_83308736ae4b357c7c67d54a | c6487ddd29bc24352ed099e07848365fcf3ab96f6b514194cf348998919edd2b | passed | Install cephadm version 19.2.3 as an executable at /usr/local/bin/cephadm.
The binary should be obtained from the official Ceph release location for this version; common conventions for Ceph downloads apply.
Before making the file executable, verify that its SHA256 matches the expected checksum stored under /opt/ceph-c... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/742745"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -euo pipefail
CEPH_RELEASE=19.2.3
DOWNLOAD_URL="https://download.ceph.com/rpm-${CEPH_RELEASE}/el9/noarch/cephadm"
INSTALL_PATH="/usr/local/bin/cephadm"
CHECKSUM_DIR="/opt/ceph-checksums"
LOG_FILE="/var/log/cephadm-install.log"
# Locate checksum file
if [ ! -d "$CHECKSUM_DIR" ]; then
echo "ERROR: C... | FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
# Install system dependencies including podman (environment baseline)
# cephadm is NOT pre-installed — the agent must download and install it
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certifi... | tasks/rts_task_432a1d3c8d564dda29018cdf | 6 | 10 | 10,285 | data/tasks-00000.tar |
rts_task_80b17227ff36b3abf6fbb855 | rts_group_1d1008cca3bb7e6a2292b872 | bce56c02582191294ca3b83c0342c55df8c8f11eaae2e3e62978afb9a4744174 | passed | The Sphinx repository at `/app` has a known bug (sphinx-10325): the `:inherited-members:` autodoc option expects a single class name as a string, but it should accept a comma-separated list of class names to include inherited members from multiple bases.
Fix the implementation in the autodoc extension so that the optio... | version = "1.0"
[metadata]
author_name = "yoavf"
difficulty = "medium"
category = "software-development"
tags = ["sphinx", "python", "autodoc", "bug-fix", "swe-bench"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeo... | #!/bin/bash
set -e
cd /app
# Fix inherited_members_option: change the function body to return a set
python3 - <<'PYEOF'
with open('sphinx/ext/autodoc/__init__.py', 'r') as f:
content = f.read()
old = """ if arg in (None, True):
return 'object'
else:
return arg"""
new = """ if arg in (No... | FROM python:3.9
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
build-essential \
curl \
&& rm -rf /var/lib/apt/lists/*
# Clone sphinx-doc/sphinx at the SWE-Bench Lite base commit for sphinx-doc__sphinx-10325
WORKDIR /app
RUN git clone https://github.com/sphinx-doc/sphin... | tasks/rts_task_80b17227ff36b3abf6fbb855 | 6 | 10 | 12,087 | data/tasks-00000.tar |
rts_task_a4a90866c747d7263eedbada | rts_group_2f46bf1339b4ad9ea2c83664 | 7f95dd8a4ff0f47d9fa09da989477b0aa7ab27a14ac41123616e5623e764ed50 | passed | Retrieve the password for the next level of the Bandit wargame by interacting with the setuid binary `/home/bandit20/suconnect`.
The binary connects to a TCP port you specify, reads a password from that connection, and—when the correct current-level password is supplied—replies with a message containing the next passwo... | version = "1.0"
[metadata]
difficulty = "easy"
category = "security"
tags = ["ctf", "networking", "security", "bandit"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "... | #!/bin/bash
set -e
# Read current level password and port from config files, stripping any trailing newlines
PASSWD=$(head -1 /app/config/current_password.txt | tr -d '\n\r')
PORT=$(head -1 /app/config/port.txt | tr -d '\n\r')
# Start a TCP listener that sends exactly the password followed by a single newline,
# then... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python 3, GCC, and netcat-traditional (needed for the listener)
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 \
gcc \
libc6-dev \
netcat-traditional \
&& rm -rf /var/lib/apt/lists/*
# Create directories in... | tasks/rts_task_a4a90866c747d7263eedbada | 8 | 12 | 11,691 | data/tasks-00000.tar |
rts_task_4d114fd4ccfa530589ba2bf2 | rts_group_b7f1c801c3ca140a1478a44c | 273337f7dddc072ccbd913aed1f7b9828de9713f274abbc295a1e5060ad0e970 | passed | Working from /app, ensure /app/tools/Talos.ps1 is executable.
Then produce a file result.txt containing exactly five invocations of that script covering a complete bootstrap-and-management lifecycle: bootstrap the cluster, list clusters, list clusters with disk usage, stop the cluster, and start the cluster.
Every comm... | version = "1.0"
[metadata]
difficulty = "medium"
category = "container-orchestration"
tags = ["talos", "kubernetes", "powershell", "cluster-management", "hyper-v"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 8.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec... | #!/bin/bash
set -euo pipefail
SCRIPT="/app/tools/Talos.ps1"
CONFIG="/etc/talos/cluster.yaml"
OUTFILE="/app/result.txt"
# Ensure the script exists and is executable
if [ ! -f "$SCRIPT" ]; then
echo "Error: $SCRIPT not found"
exit 1
fi
chmod +x "$SCRIPT" 2>/dev/null || true
# Show help to learn syntax (also ac... | # Environment: ubuntu:22.04 with mock Talos.ps1 and cluster config
FROM ubuntu:22.04
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends \
bash \
coreutils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN mkdir -p /app/tools /etc/talos
# Mock Talos.ps1 management script
R... | tasks/rts_task_4d114fd4ccfa530589ba2bf2 | 6 | 10 | 9,083 | data/tasks-00000.tar |
rts_task_032ed295f2f70eb7bea9eb57 | rts_group_ab7bb11b2769dcb94d5a3a36 | 8a2d20b6854d8fd0132f7f0def2605f024efcd3220f271e563b66d9a2f9a1cba | passed | The Licentra licensing API is running locally on port 3000.
Consult the workspace documentation for details on the endpoints, data cleaning rules, and expected output schemas.
Retrieve the details for application ID 1, including all its versions, and all users associated with that application.
Save cleaned JSON represe... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["api", "json", "curl", "jq", "data-extraction"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory =... | #!/bin/bash
set -e
# ----------------------------------------------------------------------
# Fetch application ID 1 with versions -> /app/application.json
# ----------------------------------------------------------------------
curl -s 'http://localhost:3000/applications/1?%24relation%5Bversions%5D=true' \
-H 'ac... | # synthesized: Licentra NestJS/Express licensing API
# Original project path: /Users/terabyte/Desktop/licentra (macOS, zsh, yarn)
# Reconstructed from solve.sh and recording.txt evidence.
FROM node:20-alpine
# Install system tools required by solve.sh: curl, jq, bash
RUN apk add --no-cache curl jq bash
# ── Install ... | tasks/rts_task_032ed295f2f70eb7bea9eb57 | 9 | 14 | 22,678 | data/tasks-00000.tar |
rts_task_e2dbfd678ecb4108cdf4e11a | rts_group_791965020f016debfc072436 | b68f036ff8bca91ec10323372cd9b359f47942907a135a5b10bab39e8fb3f57b | passed | A text-based adventure game is available in this project.
The game expects puzzle answers to be configured before it starts.
Find the clues scattered in the environment, determine the correct answers, and set them in the game's configuration.
Then start the game with `poetry run project` and play through it interactive... | version = "1.0"
[metadata]
difficulty = "easy"
category = "games-entertainment"
tags = ["text-adventure", "interactive-fiction", "game-solving"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
... | #!/bin/bash
set -e
# Configure puzzle answers based on clues discovered in the environment.
cat > /app/project1/puzzles_config.py << 'CONFIG'
ANSWERS = {
"math_riddle": "10",
"echo_riddle": "резонанс",
"steps_riddle": "шаг шаг шаг"
}
CONFIG
# Play the adventure game from start to finish and capture the fu... | FROM ubuntu:22.04
# ── Locale / encoding ──────────────────────────────────────────────────────
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
PYTHONIOENCODING=utf-8 \
DEBIAN_FRONTEND=noninteractive
# ── Python runtime hygiene ─────────────────────────────────────────────────
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTH... | tasks/rts_task_e2dbfd678ecb4108cdf4e11a | 9 | 14 | 20,198 | data/tasks-00000.tar |
rts_task_26ad6285ca571e9bfa604f9a | rts_group_a2966c48589c6f0876079839 | add0258fe5ce60c8306ffbd95a2bc0b4f3a2e253daab830e798410e3e7c07904 | passed | # AI Provenance Annotation and Validation
The `/app` directory contains a Rust project that already has AI provenance traces stored under `~/.claude/projects/-app/`.
Use the `ai-blame` command-line tool to annotate the project files with provenance information, as described by the workspace contracts.
After the annotat... | version = "1.0"
[metadata]
title = "ai-blame provenance annotation"
difficulty = "medium"
category = "environment-setup"
tags = ["ai-tools", "provenance", "annotation", "claude-code"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environme... | #!/bin/bash
set -euo pipefail
cd /app
# Initialize ai-blame with sidecar policy
ai-blame init --flavor sidecar
# Annotate tracked project files to generate sidecar history files
ai-blame annotate --initial-and-recent
# Count all generated .history.yaml files
count=$(find . -name '*.history.yaml' | wc -l)
# Write v... | # Environment for task 765613: ai-blame demonstration
# Source: macOS • xterm-256color • zsh (running in Ubuntu 22.04 container)
#
# ai-blame (https://github.com/ai4curation/ai-blame) is a Rust CLI distributed
# as a Python manylinux binary via PyPI. The solve.sh script demonstrates all
# 8 ai-blame commands (init, sta... | tasks/rts_task_26ad6285ca571e9bfa604f9a | 8 | 12 | 20,379 | data/tasks-00000.tar |
rts_task_ed45b401334220d64e7acbaa | rts_group_a2c92d93c941c786f7360400 | cbad2235d69a4fcdef783a7c0b4b04cbfc2ae40ac1d63b1a1e83d6c81b435c1a | passed | Set up a dn42 peering with AS4242420263 (flap42) by creating a WireGuard tunnel configuration and a BIRD BGP session definition.
The peering details are provided in the registry directory `/etc/dn42/peers.d/`; start by examining the relevant file there.
Additional constraints may be found in workspace documentation (e.... | version = "1.0"
[metadata]
difficulty = "medium"
category = "networking"
tags = ["wireguard", "bgp", "bird", "dn42", "networking"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
... | #!/bin/bash
set -euo pipefail
REGISTRY_DIR="/etc/dn42/peers.d"
REGISTRY_FILE="$REGISTRY_DIR/flap42.conf"
if [ ! -f "$REGISTRY_FILE" ]; then
echo "ERROR: Registry file not found at $REGISTRY_FILE" >&2
exit 1
fi
echo "Inspecting peering registry at $REGISTRY_FILE ..."
# Parse registry variables. Each line is ... | FROM debian:bookworm
# Install required packages for a DN42 peering environment:
# - bash: solve.sh shebang runtime
# - zsh: login shell (env_signals: zsh)
# - wireguard-tools: provides /etc/wireguard/ and wg utilities
# - bird2: provides /etc/bird/ and BIRD2 BGP daemon utilities
RUN apt-get update && apt-get ... | tasks/rts_task_ed45b401334220d64e7acbaa | 7 | 11 | 19,386 | data/tasks-00000.tar |
rts_task_98b86c92e786ccde75ee6096 | rts_group_e60c6a5c13f24311a14b8afc | 23147ab5fec73f201056a0047c07cc793b381a2b4918ee16cd9c5c78098120f4 | passed | In the repository, `file.txt` has unstaged modifications.
Split those changes into two commits on the current branch:
- `task 1`: a subset of the modifications.
- `task 2`: the remaining changes.
The working directory must be clean after both commits.
Finally, create an audit report `audit.txt` in the repository root t... | version = "1.0"
[metadata]
difficulty = "medium"
category = "version-control"
tags = ["git", "interactive-staging", "commit-splitting", "version-control"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0... | #!/bin/bash
set -e
# Stage and commit the first set of changes as 'task 1'
git add -p <<EOF
s
n
y
n
y
EOF
git commit -m "task 1"
# Stage and commit the remaining changes as 'task 2'
git add -p <<EOF
s
y
y
EOF
git commit -m "task 2"
# Discover the last tagged release baseline
tag=$(git tag | head -1)
if [ -z "$tag" ]... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
git \
perl \
&& rm -rf /var/lib/apt/lists/*
# Configure git user for commits
RUN git config --global user.email "user@example.com" && \
git config --global user.name "User" && \
# Use the Perl-based in... | tasks/rts_task_98b86c92e786ccde75ee6096 | 8 | 12 | 20,448 | data/tasks-00000.tar |
rts_task_a6be4d2b155bcdffec33bb1a | rts_group_d1e89089026e3377035ec577 | 9270f94c817887517d041f83ee06aba428409dc80582f2bfb7ac168e119e170e | passed | Create a fully functional interactive money game (jeu d'argent) at `/app/game.sh`.
The game simulates a gambling/lottery experience where winnings range from 50 to 5,000,000.
Support two ways to play:
- **Interactive mode**: when run without arguments, the script prompts the player for inputs (number of players, box ch... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting"
tags = ["bash", "game", "scripting", "interactive"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage =... | #!/bin/bash
set -e
cat > /app/game.sh << 'ENDOFGAME'
#!/bin/bash
# Super Jeu D'argent - Version Supreme
# Gains de 50 a 5 Millions de Pieces
# Supports interactive mode and non-interactive mode with CLI arguments
players=""
box=""
anti_box=""
mode="interactive"
# Argument parsing
while [[ $# -gt 0 ]]; do
case "$... | # Base: GNU/Linux bash environment (from env_signals: "GNU/Linux • xterm-256color • bash")
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
# Install bash and basic utilities
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
coreutils \
&& rm -rf... | tasks/rts_task_a6be4d2b155bcdffec33bb1a | 8 | 12 | 24,289 | data/tasks-00000.tar |
rts_task_17dc38dbf746d36d5eeea9cc | rts_group_0ee1b3e18ff733cdbad093e9 | cce1f9fba3d791f444891be244369b542adce8bec8a0375cc484b14391801c21 | passed | Use Cookiecutter to generate a Python project from the public template at `https://github.com/jacebrowning/template-python.git`.
Provide the template parameters from `/workspace/project_config.toml` when generating the project.
After scaffolding, run the validation script `/workspace/validate.py`.
If the script reports... | version = "1.0"
[metadata]
author_name = "hectorcanto"
author_email = "hcanto@worldsensing.com"
difficulty = "easy"
category = "environment-setup"
tags = ["cookiecutter", "python", "project-scaffolding", "template"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 900.0
[agent]
... | #!/bin/bash
set -euo pipefail
# Inspect: parse project_config.toml to get parameters and secret salt
eval "$(python3 -c "
import tomllib, shlex
with open('/workspace/project_config.toml', 'rb') as f:
cfg = tomllib.load(f)
for k, v in cfg.items():
if k == 'secret':
for sk, sv in v.items():
p... | FROM python:3.11-slim
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
# Install system packages required by solve.sh
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates git && \
rm -rf /var/lib/apt/lis... | tasks/rts_task_17dc38dbf746d36d5eeea9cc | 9 | 13 | 22,222 | data/tasks-00000.tar |
rts_task_38b12bbdb7b9e929a2768e7c | rts_group_76fea2c1316a69fec3f45552 | 37294229aacdd0b9db4b447c699c103edba76d6ea520b2784a6b56d46b6986fe | passed | The `/app` directory contains the PyPEER pipeline scripts.
Run the complete three-stage PEER workflow:
- Train SVR eye-tracking models with `create_peer.py` using the eye mask and calibration data present in the environment.
Enable motion scrubbing with the provided motion time-series; do not apply global signal regres... | version = "1.0"
[metadata]
author_name = "jake-j-son"
difficulty = "medium"
category = "scientific-computing"
tags = ["ml", "eye-tracking", "peer", "fmri", "svr"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 3600.0
[agent]
timeout_sec = 3600.0
[environment]
build_timeout_... | #!/bin/bash
set -e
# Stage: execute PEER pipeline (runs from /app)
echo "Running create_peer.py..."
python3 create_peer.py << 'EOF'
/path/to/eye_mask.nii.gz
movie.nii.gz
n
y
motion_ts.csv
.3
EOF
echo "Running estimate_eyemove.py..."
python3 estimate_eyemove.py << 'EOF'
1
EOF
echo "Running reset_config.py..."
python3... | # Environment: macOS • xterm-256color • bash
# Task: Preliminary demonstration of the peer (PyPEER) package
# WORKDIR /app → project_dir = / (parent)
# data_dir = /data
# stimulus = /peer/stim_vals.csv
# config = /peer/config.json (opened as 'peer/config.... | tasks/rts_task_38b12bbdb7b9e929a2768e7c | 12 | 16 | 41,244 | data/tasks-00000.tar |
rts_task_4f96b56ca30926a893a0da57 | rts_group_8c34f715d08b7892614e71cc | 698b1918b1cfd42a0cc3de2755e529af4fd9dd7e3be1a40b17828419749c1507 | passed | Write two KSQL queries demonstrating a stream-stream left join between the ORDERS and SHIPMENTS streams.
Save them to `/app/result.txt`.
The file must start with `SET 'auto.offset.reset' = 'earliest';`.
Refer to the workspace contract documentation for the precise query requirements (e.g., columns, window, filter condi... | version = "1.0"
[metadata]
difficulty = "easy"
category = "database-operations"
tags = ["ksql", "streaming", "sql", "file-operations"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2... | #!/bin/bash
set -e
# Write the KSQL queries exactly as specified
cat << 'EOF' > /app/result.txt
SET 'auto.offset.reset' = 'earliest';
SELECT O.ORDER_ID, O.TOTAL_AMOUNT, O.CUSTOMER_NAME, \
S.SHIPMENT_ID, S.WAREHOUSE \
FROM ORDERS O \
LEFT JOIN SHIPMENTS S \
WITHIN 1 HOURS \
ON O.ORDER_... | # Environment for task 191978: KSQL demo - STREAM-STREAM join
# Source environment: macOS • xterm-256color • bash
# solve.sh only writes a text file using bash heredoc — no KSQL runtime needed.
FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install bash... | tasks/rts_task_4f96b56ca30926a893a0da57 | 8 | 12 | 18,008 | data/tasks-00000.tar |
rts_task_f8258d7d49abef9cb943d19b | rts_group_7a228875e32a6b9a07d0fb54 | 0a4263faaafc1f4087055e450f9dbca8f393783168f84b9208a371659b88853f | passed | In `/tmp/test`, initialize a Git repository with a single root commit on the `master` branch.
Use only Git plumbing commands; no porcelain (e.g., `git add`, `git commit`).
The tree must contain exactly one file `a.txt` with contents `test content`.
Commit message: `first commit`.
After creating the commit, generate a p... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/195344"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -euo pipefail
# Clean setup
rm -rf /tmp/test
git -c init.defaultBranch=master init /tmp/test
cd /tmp/test
# Configure author and committer
export GIT_AUTHOR_NAME="sjtu-lyj"
export GIT_AUTHOR_EMAIL="sjtu5140809011@gmail.com"
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_COMMITTER_EMAIL="$GIT_... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates curl git wget zsh && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
SHELL ["/bin/bash", "-c"]
# harbor-agent-runtime: tmux is require... | tasks/rts_task_f8258d7d49abef9cb943d19b | 8 | 12 | 25,044 | data/tasks-00000.tar |
rts_task_96aaa448eeb4d4d9c4acfccf | rts_group_3d52273e74667e0dfdbc65a9 | a930540a0992f64a9756f4e007db28575d23fcf57ced2878a94174d5f6e88c8d | passed | Initialize a Git repository at /app/test.
Copy the file /boot/initrd.img-4.15.0-24-generic into the repository, keeping it unchanged.
Create a second file a.img by appending additional content to the same image.
Track both files and commit them in a single commit with message "commit 1".
Run git gc to pack and optimize... | version = "1.0"
[metadata]
difficulty = "easy"
category = "version-control"
tags = ["git", "version-control", "large-files", "garbage-collection"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 900.0
cpus = ... | #!/bin/bash
set -e
git init /app/test
cd /app/test
cp /boot/initrd.img-4.15.0-24-generic .
cp initrd.img-4.15.0-24-generic a.img
echo "fafas" >> a.img
git add .
git commit -m "commit 1"
git gc
# Generate pack inventory
PACK_DIR=".git/objects/pack"
INVENTORY="/app/pack_inventory.json"
VERIFICATION="/app/pack_verificat... | FROM ubuntu:18.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install required tools
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
zsh \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Configure global gi... | tasks/rts_task_96aaa448eeb4d4d9c4acfccf | 8 | 12 | 19,154 | data/tasks-00000.tar |
rts_task_3795a03a844e9a7ee5f0f960 | rts_group_7af2fec806e5839ddae47e29 | 8d7c45f2620360180b5ec387f8c88e78f59b7dd6c4a572f46d6d10ead29eb23d | passed | Set up a Python Django project in `/app/mytp1`.
Initialize Git version control in that directory, including a suitable `.gitignore` for Python projects.
Create a Python virtual environment, install Django, and capture the dependencies in `requirements.txt`.
Use `django-admin` to create a Django project called `mysite` ... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["django", "python", "git", "virtualenv", "version-control"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus ... | #!/bin/bash
set -e
mkdir -p /app/mytp1
cd /app/mytp1
wget https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore -O .gitignore
git init .
git add .
git commit -m 'first commit : gitignore'
virtualenv -p python3 venv
source venv/bin/activate
pip install django
pip freeze > requirements.txt
git add r... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install system packages required by solve.sh
RUN apt-get update && apt-get install -y \
git \
wget \
python3 \
python3-pip \
python3-venv \
python-is-python3 \
virtualenv \
&& rm -rf /var/lib/apt/lists/*
# Configure git identity f... | tasks/rts_task_3795a03a844e9a7ee5f0f960 | 8 | 12 | 19,810 | data/tasks-00000.tar |
rts_task_577ede360208ae70e9246954 | rts_group_06d83ffb6c0a1293724dec6c | ba84305d6721d50dcc42b503a0aa1f89fa4e6cb386412caef597da8c46986a72 | passed | Reproduce a Julia 1.0 interactive session showcasing four areas: (1) performance/syntax, (2) error propagation using Measurements.jl, (3) cosmology calculations with Cosmology.jl and Measurements.jl, and (4) Python interop via PyCall.
Use the active environment profile as described in ENVIRONMENT.md.
Record all session... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/211906"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -e
export PATH="/usr/local/julia/bin:${PATH}"
JULIA_CMD="$(command -v julia 2>/dev/null || true)"
if [[ -z "$JULIA_CMD" && -x /usr/local/julia/bin/julia ]]; then
JULIA_CMD=/usr/local/julia/bin/julia
fi
if [[ -z "$JULIA_CMD" ]]; then
echo "error: julia not in PATH." >&2
exit 1
fi
LOG="/app/211906... | FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
# Environment variables
ENV JULIA_VERSION=1.0.2
ENV JULIA_DEPOT_PATH=/root/.julia
ENV PYTHON=/usr/bin/python3
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
# Install system dependencies including Python dev files for PyCa... | tasks/rts_task_577ede360208ae70e9246954 | 9 | 13 | 25,869 | data/tasks-00000.tar |
rts_task_66264d8657b9272f3c194366 | rts_group_d33f5c854cc87b57171c53d6 | 5a82ab8a78454835db05af908a2426abd83fa0e6d03bbc87240cc7622262363b | passed | Set up a React and TypeScript development workspace in `/app`.
Use the Node.js version declared in the project and the exact package versions in the provided requirements file.
The workspace must include React, ReactDOM, TypeScript, webpack, and a generated TypeScript configuration, along with `webpack` and `src` direc... | version = "1.0"
[metadata]
difficulty = "medium"
category = "software-development"
tags = ["react", "typescript", "webpack", "npm", "node"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1
mem... | #!/bin/bash
set -e
cd /app
# Ensure nvm is available
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# Verify required version constraint files
if [ ! -f .nvmrc ]; then
echo "ERROR: .nvmrc not found"
exit 1
fi
if [ ! -f .package-requirements.json ]; then
echo "ERROR: .package-requi... | # React + TypeScript workspace setup environment
# Base: node:18 (LTS) — provides npm for all install steps in solve.sh
FROM node:18
# Install curl (required by nvm install script) and clean up
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Install nvm for dynamic Node version manageme... | tasks/rts_task_66264d8657b9272f3c194366 | 8 | 12 | 20,566 | data/tasks-00000.tar |
rts_task_24ac464e746cee53fa703168 | rts_group_60901c164b17f66172df871e | d535824c6110a488430c35f47d28dbf1e6ef4a35bc11f09f6a15a3fa502f21d2 | passed | Collect the Kubernetes cluster configuration details needed to set up a master node (IP 172.19.170.169) and a worker node (k8s-node-01, IP 172.19.170.170).
Use the local scripts under /opt/kubernetes/scripts/ to obtain the join token, CA certificate hash, and master password.
Write the collected configuration to the fo... | version = "1.0"
[metadata]
difficulty = "easy"
category = "container-orchestration"
tags = ["kubernetes", "configuration", "offline-install", "documentation"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 6... | #!/bin/bash
set -euo pipefail
# -----------------------------
# Inspect: ensure generation scripts are available and executable
# -----------------------------
SCRIPTS_DIR="/opt/kubernetes/scripts"
if [ ! -d "$SCRIPTS_DIR" ]; then
echo "ERROR: Scripts directory $SCRIPTS_DIR not found" >&2
exit 1
fi
# require... | # Base image: generic Linux shell environment
# Task: k8s offline install (216162)
# solve.sh only writes text files to /app — no special tools required
FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
# Default shell
SHELL ["/bin/bash", "-c"]
... | tasks/rts_task_24ac464e746cee53fa703168 | 8 | 12 | 23,544 | data/tasks-00000.tar |
rts_task_ffdffae06d600135063b1216 | rts_group_48accacbbbd6f155a612fae3 | 0ef4255007df2f9ad1c1d2f840cc0d1b2f4af1c24e9fc9591b65ea27ec5a0214 | passed | Generate the system configuration report by running `/app/generate_info.sh`.
Save the output to `/app/result.txt`.
Read the script to identify and satisfy any environment requirements before execution.
| version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["file-operations", "shell"]
expert_time_estimate_min = 1.0
junior_time_estimate_min = 2.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "6G"... | #!/bin/bash
set -euo pipefail
echo "=== Stage: inspect ==="
# Verify that the helper script exists and is executable
if [ ! -x /app/generate_info.sh ]; then
echo "ERROR: /app/generate_info.sh not found or not executable."
exit 1
fi
echo "=== Stage: derive ==="
# Derive the required environment variable by ins... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive \
TERM=xterm-256color \
SHELL=/bin/bash
# Create /app directory and the helper script
RUN mkdir -p /app && \
echo '#!/bin/bash' > /app/generate_info.sh && \
echo 'if [ "$MODE" = "production" ]; then' >> /app/generate_info.sh && \
echo ' echo ... | tasks/rts_task_ffdffae06d600135063b1216 | 8 | 12 | 16,352 | data/tasks-00000.tar |
rts_task_966909f6e394ae9fd3c5324e | rts_group_c91401c4c0cd2cd927cbb84b | e3d0586bc6fdcc45b50e42013ff9ebe957fe5c258f85b8f74653ec9823975e3c | passed | The cluster fault-injection tool at `/opt/clusterTestTool/clusterTestTools` targets Pacemaker/Corosync clusters and authenticates with the `hacluster` user (username `hacluster`, password `qwer1234`).
Before running the sequence, make sure `/etc/corosync/corosync.conf` defines node `Hawk3-2` in its nodelist; the tool w... | version = "1.0"
[metadata]
difficulty = "medium"
category = "system-administration"
tags = ["pacemaker", "corosync", "high-availability", "fault-injection", "cluster"]
expert_time_estimate_min = 10.0
junior_time_estimate_min = 30.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeo... | #!/bin/bash
set -e
CONF=/etc/corosync/corosync.conf
LOG=/app/run.log
# ── Stage: inspect ──────────────────────────────────────────────
# Verify that the target node Hawk3-2 exists in the corosync config.
if ! grep -q 'name:[[:space:]]*Hawk3-2' "$CONF"; then
echo "Hawk3-2 missing from corosync configuration; addi... | # Base: generic GNU/Linux (env_signals: "GNU/Linux • xterm-256color • bash")
# Ubuntu 20.04 ships pacemaker 2.0.x which matches the recorded version.
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
ENV TERM=xterm-256color
# ── System packages ───────────────────────────────────────────────
# pacemaker... | tasks/rts_task_966909f6e394ae9fd3c5324e | 11 | 15 | 30,845 | data/tasks-00000.tar |
rts_task_46041cc14303530eee024223 | rts_group_fafb0fa98d583caf8d607b90 | bba495c6e82a57947978679b3e3211d4ce68544490570bb0aabaaf755abf0ee9 | passed | Inside `/app` there is a SQLAlchemy `User` model in `model.py` and a local git repository that tracks changes to this file.
Inspect the repository's history for `model.py` and produce a chronological changelog of every commit that touched the file.
Write that changelog to `/app/model_changelog.txt`.
Then, using the cur... | version = "1.0"
[metadata]
author_name = "leportella"
difficulty = "easy"
category = "database-operations"
tags = ["sqlalchemy", "python", "orm", "database"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 60... | #!/bin/bash
set -e
# --- Stage: inspect & derive ---
# Extract every commit message that touched model.py, oldest-first.
# Use --follow to track renames.
echo "[+] Extracting changelog for model.py"
git -C /app log --reverse --follow --format=%s -- model.py > /app/model_changelog.txt
# --- Stage: validate intermediat... | FROM python:3.8-slim
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN pip install --no-cache-dir sqlalchemy==1.4.46
# Initialize git repository
RUN git init && git config user.email "dev@example.com" && git config user.name "Developer"
# Initial commit: basic User model
... | tasks/rts_task_46041cc14303530eee024223 | 9 | 13 | 20,009 | data/tasks-00000.tar |
rts_task_b2be25561129fe6bdd068fdf | rts_group_17721b1f92a86ba66fbe3c07 | b1bf2252e37edbd11e53f49b453428d5b9116c9c2760a7537622d1623173b603 | passed | Using SQLAlchemy, create a SQLite database at `/app/result.db` containing a table `EX1` with columns `id` (INTEGER PRIMARY KEY NOT NULL) and `name` (VARCHAR).
Populate the table with all records from `/app/init_data.json`.
After populating, list every table present in the database in `/app/result.txt`, one per line.
| version = "1.0"
[metadata]
difficulty = "easy"
category = "database-operations"
tags = ["sqlalchemy", "sqlite", "python", "database", "orm"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memo... | #!/bin/bash
set -e
cat << 'PYEOF' > /app/script.py
import json, sys, os
from sqlalchemy import create_engine, text
# Inspect: read input data
init_path = '/app/init_data.json'
if not os.path.exists(init_path):
print(f"ERROR: {init_path} not found", file=sys.stderr)
sys.exit(1)
with open(init_path, 'r') as f:... | # Task 220269 — SQLAlchemy engine creating a new table on a database
# Environment: macOS • xterm-256color • zsh (reproduced in Linux container)
# Primary dependency evidence: solve.sh uses sqlalchemy + sqlite3 (stdlib)
FROM python:3.11-slim
# System dependencies: sqlite3 is part of Python's stdlib; no extra OS pack... | tasks/rts_task_b2be25561129fe6bdd068fdf | 8 | 12 | 19,443 | data/tasks-00000.tar |
rts_task_9e33d9eee34e5acd771e5326 | rts_group_7f7b48876a00dfb5c08e0757 | 58711fc4814a57d7aad194c4ea813d809a0864ef3c19d5929ac5a1a4592039a0 | passed | Write a Python script using SQLAlchemy to manage a SQLite database at `/app/ex1.db`.
Create a table named `EX1` with columns `id` (INTEGER, PRIMARY KEY, NOT NULL) and `name` (VARCHAR).
After creation, retrieve all table names in the database and write them, one per line, to `/app/result.txt`.
In the `/app` directory th... | version = "1.0"
[metadata]
difficulty = "easy"
category = "database-operations"
tags = ["sqlalchemy", "sqlite", "database", "python"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2... | #!/bin/bash
set -e
# Create fixture directory and CSV file with a few rows
mkdir -p /app/fixtures
cat << 'CSVEOF' > /app/fixtures/ex1_data.csv
id,name
1,Alice
2,Bob
3,Charlie
CSVEOF
# Write Python script using SQLAlchemy
cat << 'EOF' > /app/script.py
import csv
from sqlalchemy import create_engine, inspect
engine = ... | FROM python:3.11-slim
# Install SQLAlchemy
RUN pip install --no-cache-dir "sqlalchemy>=1.4,<2.0"
# Create working directory
RUN mkdir -p /app
WORKDIR /app
# harbor-agent-runtime: tmux is required by the terminal agent
RUN if command -v tmux >/dev/null 2>&1; then \
exit 0; \
elif command -v apt-get >/dev/nu... | tasks/rts_task_9e33d9eee34e5acd771e5326 | 8 | 12 | 20,024 | data/tasks-00000.tar |
rts_task_126c4b993c84f949f8ea7ffc | rts_group_9771e4d28ca1463e6158e408 | ff103abc690fdb28a6cb59bb8fd5d201a8f7e0cd99c17bce590162c17990ff60 | passed | Use the impatientanimedownloader tool located in /app/impatientanimedownloader to generate anime episode download links.
Write the tool's output to /app/result.txt.
Once the output is saved, clean up any temporary files or directories that were created as byproducts of running the tool.
Produce a cleanup report at /app... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "pipenv", "web-scraping", "cli-tool"]
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "6G"
memory_mb = 2048
storage_mb = 6144
allow_... | #!/bin/bash
set -e
PROJECT=/app/impatientanimedownloader
RESULT=/app/result.txt
CLEANUP_REPORT=/app/cleanup_report.txt
HINT_FILE=/app/hints/cleanup.txt
# Stage: inspect – check for cleanup hint
if [ -f "$HINT_FILE" ]; then
echo "Cleanup hint found: $(cat $HINT_FILE)"
fi
# Stage: execute – run original workflow
c... | FROM python:3.7-slim
ENV DEBIAN_FRONTEND=noninteractive \
PIPENV_VENV_IN_PROJECT=1 \
PIP_NO_CACHE_DIR=1
# Install system dependencies:
# - git : needed to clone the repo at build time
# - curl : general utility; fake-useragent may fetch UA strings at runtime
# - libxml2-dev, libxslt-dev, ... | tasks/rts_task_126c4b993c84f949f8ea7ffc | 9 | 13 | 26,454 | data/tasks-00000.tar |
rts_task_f107b1bb6da418d6c6369388 | rts_group_7f028b68fb8661f69bae8504 | d7561e78a5ccc7077c5ddff470156d402424a97bbf756139e7690f2d4d18df94 | passed | Install Docker Community Edition (Docker CE) on this Ubuntu system.
Once Docker is installed, inspect the installed Docker engine binary metadata according to the specification file at `/app/specs/docker_metadata_spec.txt` and produce a compliance report at `/app/docker_metadata_report.txt`.
Validate that the report sa... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["docker", "installation", "package-management", "containers"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
c... | #!/bin/bash
set -euo pipefail
# ----------------------------------------------------------------------
# Install Docker CE (preserve the original workflow)
# ----------------------------------------------------------------------
echo "--- Installing Docker CE ---"
apt-get remove -y docker docker-engine docker.io || t... | FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends \
gnupg \
gnupg2 \
lsb-release \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app/specs && \
printf 'ARCH: x86_64\nLIBS: libpthread.so.0 libc.so.6\nVERSION: ... | tasks/rts_task_f107b1bb6da418d6c6369388 | 9 | 13 | 26,049 | data/tasks-00000.tar |
rts_task_42df9bc32ce8f455fe875c59 | rts_group_64bd5207d590feca7aec400d | 2d5399595cbda6f1b1abd5170be6500d19f244e1eaa587b02479173ea1654707 | passed | Execute /app/loop.py and capture its standard output and standard error to /app/result.txt.
Then conduct a performance benchmark: time a fresh execution of /app/loop.py and write a report to /app/benchmark.txt.
The report must contain the elapsed real time, a one-line summary derived from the captured output, and a pas... | version = "1.0"
[metadata]
difficulty = "easy"
category = "debugging"
tags = ["python", "debugging", "script-execution", "pdb"]
expert_time_estimate_min = 1.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
stor... | #!/bin/bash
set -euo pipefail
# Inspect: verify required files exist
if [ ! -f /app/loop.py ]; then
echo "ERROR: /app/loop.py not found" >&2
exit 1
fi
if [ ! -f /app/bench_config.txt ]; then
echo "ERROR: /app/bench_config.txt not found" >&2
exit 1
fi
# Derive: extract MAX_TIME_SEC from bench_config.tx... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
zsh \
time \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Create benchmark configuration with required directives
RUN echo "MAX_TIME_SEC=5" > /app/bench_config.txt && \
ec... | tasks/rts_task_42df9bc32ce8f455fe875c59 | 10 | 14 | 19,218 | data/tasks-00000.tar |
rts_task_548803a916531113c7e5b0e8 | rts_group_f128e28f24c09a5610cc0817 | 32a04a4f2f6139a8dbea58782bf126b8b805b88cb7b70316397ecf314f453001 | passed | Run the Python script `/app/foobar.py` and capture its complete output into `/app/result.txt`.
The script may require a local configuration file to run correctly.
Inspect the script to understand exactly what configuration file and content it expects, as well as what the correct output should be.
Work from `/app`, crea... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "stdout", "stderr", "output-capture", "scripting"]
expert_time_estimate_min = 1.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
memor... | #!/bin/bash
set -euo pipefail
# Stage: inspect
# Verify that foobar.py exists and references a config file.
if [ ! -f /app/foobar.py ]; then
echo "ERROR: /app/foobar.py not found"
exit 1
fi
# Discover the expected config path by reading the script.
# The script contains a line like: config_path = '/app/eggs.c... | FROM python:3.7-slim
# Install zsh and essential tools
RUN apt-get update && apt-get install -y \
zsh \
&& rm -rf /var/lib/apt/lists/*
# Create working directory
RUN mkdir -p /app
# Create the foobar.py script that reads and prints the content of the config file
RUN echo "import pathlib" > /app/foobar.py && ... | tasks/rts_task_548803a916531113c7e5b0e8 | 11 | 15 | 16,976 | data/tasks-00000.tar |
rts_task_64422ab1864f8052cf47dff8 | rts_group_46785e314475270d66f07312 | b2c1d8fb364386df3cfdf9c099bb586cb8265b09b6b0c71748908ba0017136c8 | passed | Your task is to demonstrate the behavior and persistence of hard links.
The final state must include a directory `/app/links` containing files `one.txt`, `two.txt`, and `three.txt` and a final output file at `/app/result.txt`.
To properly demonstrate the concept, the files in `/app/links` must be created as hard links ... | version = "1.0"
[metadata]
author_name = "jkirchartz"
difficulty = "easy"
category = "file-management"
tags = ["hard-links", "filesystem", "linux", "inode"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600... | #!/bin/bash
set -e
# Create directories
mkdir -p /app/originals /app/links
# Write initial content
echo "one" > /app/originals/one.txt
echo "two" > /app/originals/two.txt
echo "three" > /app/originals/three.txt
# Create hard links
for f in one.txt two.txt three.txt; do
ln /app/originals/$f /app/links/$f
done
# ... | # Task 233693 — Hard Links Test
# Environment: macOS • screen-256color • zsh (reproduced on Linux)
# solve.sh uses only standard POSIX/coreutils tools: bash, mkdir, echo, ln, rm, cat
# No additional packages required.
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Ensure coreutils and bash are present (they ... | tasks/rts_task_64422ab1864f8052cf47dff8 | 8 | 12 | 16,502 | data/tasks-00000.tar |
rts_task_9e1005a4b0e906d35c8a30d6 | rts_group_dbb8629c5cf6e3c0def27fea | d2e04e4517b763468dec1ddf46bd7e13916865e4d8170080e13216868c7a7e3f | passed | In this Git repository, create a branch named `JCH_8237_version_daron` from `main`.
Apply every change present on `JCH_8237` but not on `main` to the new branch, then stage the changes and record a single commit with the exact message "Implement TU/Integration tests".
Push the branch to `origin`.
Produce two artifacts ... | version = "1.0"
[metadata]
difficulty = "easy"
category = "version-control"
tags = ["git", "branching", "patch", "diff"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = ... | #!/bin/bash
set -euo pipefail
REPO_ROOT="/root/Sogeti/mmw-webview"
cd "$REPO_ROOT"
# ── stage 1: inspect ────────────────────────────────────────────────────────────
MERGE_BASE=$(git merge-base main JCH_8237)
echo "merge-base: $MERGE_BASE"
ALL_CHANGES_FILE="/tmp/all_changes.txt"
git diff --name-only "$MERGE_BASE" JC... | # synthesized: mmw-webview (git.innovation-factory.io) — private, inaccessible.
# Repo topology reconstructed from recording.txt and solve.sh.
# Task: find merge-base of release↔JCH_8237, diff, create branch, apply patch, commit, push.
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# ── System packages ───────... | tasks/rts_task_9e1005a4b0e906d35c8a30d6 | 9 | 13 | 33,410 | data/tasks-00000.tar |
rts_task_68c6a69209c7f8fdb73a22ca | rts_group_d77d0eead90cec8b1588e53e | f7a851b63807025cd54ddfaaf5d87cac9cf400ec896d5b43e6d4580bfdabefb9 | passed | Install Docker CE on this Ubuntu system using the official Docker repository.
Set up the repository, install the Docker engine and its dependencies, and confirm the Docker daemon is running properly by writing its status information to /app/docker-info.txt.
Once Docker is operational, verify it by running the hello-wor... | version = "1.0"
[metadata]
difficulty = "easy"
category = "container-orchestration"
tags = ["docker", "ubuntu", "installation", "package-management"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 20.0
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 1800.0
[environment]
build_timeout_sec = 600.0
cp... | #!/bin/bash
set -euo pipefail
# Install dependencies
sudo apt-get update -qq
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
# Add Docker GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Add Do... | FROM ubuntu:18.04
# Suppress interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive \
TZ=UTC
# Install prerequisites that solve.sh installs first, plus sudo and lsb-release.
# lsb_release -cs returns "bionic" on Ubuntu 18.04 — used to pin the Docker repo URL.
RUN apt-get update -qq && ... | tasks/rts_task_68c6a69209c7f8fdb73a22ca | 12 | 16 | 22,412 | data/tasks-00000.tar |
rts_task_a802bb6bab7986efb193500c | rts_group_19e4c08cb4295fa6a62e1774 | 287ad677ee57f0bb8ebb0563d01fd5680148e8c171fdbb7bcedce17397a7fae6 | passed | Deploy a local Docker registry using the `registry:2` image with container name `registry`.
Before pushing any image, confirm the registry is operational and save a health check record to `/app/`.
Once confirmed, tag the local `alpine` image as `localhost:5000/alpine:version2`, push it to the registry, remove the local... | version = "1.0"
[metadata]
author_name = ""
author_email = ""
difficulty = "easy"
category = "container-orchestration"
tags = ["docker", "registry", "image-management"]
expert_time_estimate_min = 5.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeo... | #!/bin/bash
set -e
# Clean up any existing registry container from previous runs
docker stop registry 2>/dev/null || true
docker rm -f registry 2>/dev/null || true
# Ensure working directory
mkdir -p /app
# Pull alpine if not already present
docker pull alpine
# Start the registry container with restart policy
dock... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install prerequisites and add Docker's official APT repository
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg \
lsb-release && \
install -m 0755 -d /etc/apt/keyrings && \... | tasks/rts_task_a802bb6bab7986efb193500c | 9 | 13 | 20,739 | data/tasks-00000.tar |
rts_task_23e82b941c6fd166bf578ea4 | rts_group_29890e7b9e71279a4c9b5949 | a51cfe77b3a77cc18bc7b2e6bef07f2ecfaccd28d0c317f49b199aac1f122bd7 | passed | Migrate the Go project in the current directory from legacy vendor-based dependency management to Go modules.
Follow the detailed migration contract and step instructions in the workspace files (rewrite_contract.json, rewrite_step_solution.json, rewrite_step_verifier.json, rewrite_task_contract.json, rewrite_step_consi... | version = "1.0"
[metadata]
title = "Migrate Go vendor project to go modules"
difficulty = "medium"
category = "software-development"
tags = ["golang", "go-modules", "dependency-management", "version-control", "migration"]
expert_time_estimate_min = 15.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 900.0
... | #!/bin/bash
set -e
# Record pre-migration state
# Capture all files containing legacy import path 'project/cpc' before replacement
mkdir -p /tmp/migration-evidence
grep -r --include='*.go' 'project/cpc' . > /tmp/migration-evidence/imports_pre.txt 2>/dev/null || true
# Capture full vendor tree before removal
find vendo... | # Task 247715 — Migrate Go vendor project to go modules
# Environment: macOS • xterm-256color • bash (reproduced on Linux/amd64)
# Fully self-contained — no external COPY dependencies.
#
# Key fix (repair): golang:1.22-alpine refused to use golang.org/x/net@v0.53.0
# because it requires go >= 1.25.0 (GOTOOLCHAIN=local ... | tasks/rts_task_23e82b941c6fd166bf578ea4 | 9 | 13 | 39,289 | data/tasks-00000.tar |
rts_task_fe15b217bb8ce3c361d3998e | rts_group_e500bdb4b1681f3919dca4b5 | 2b0a6367f9b1845a70327e48a169548e8b65160bc01482a3c0059c577480d20b | passed | Configure GRUB to boot a Linux kernel on an embedded APU system using an initial RAM disk.
The target disk is the second hard drive (`hd1`), partition 4 (MBR-style, `msdos4`), with the boot directory containing the kernel image `bzImage` and the initial RAM disk `rootfs.cpio.gz`.
The serial console should be `ttyS0` at... | version = "1.0"
[metadata]
difficulty = "easy"
category = "system-administration"
tags = ["grub", "bootloader", "linux", "system-administration"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 8.0
[verifier]
timeout_sec = 600.0
[agent]
timeout_sec = 600.0
[environment]
build_timeout_sec = 600.0
cpus = 1
... | #!/bin/bash
set -euo pipefail
CHECK_SCRIPT="/app/check_boot.sh"
BOOT_DIR="/boot"
KERNEL_FILE="$BOOT_DIR/bzImage"
INITRD_FILE="$BOOT_DIR/rootfs.cpio.gz"
LOG_FILE="/app/boot_check.log"
RESULT_FILE="/app/result.txt"
# Ensure the boot directory exists
mkdir -p "$BOOT_DIR"
# Function to run the validation script and capt... | FROM ubuntu:22.04
# Avoid interactive prompts during package installs
ENV DEBIAN_FRONTEND=noninteractive
# Ensure /app exists and is writable
RUN mkdir -p /app
# Add pre-flight boot validation script
RUN echo '#!/bin/bash\nMISSING=0\nif [ ! -f /boot/bzImage ]; then\n echo "ERROR: /boot/bzImage not found"\n MIS... | tasks/rts_task_fe15b217bb8ce3c361d3998e | 8 | 12 | 17,215 | data/tasks-00000.tar |
rts_task_4842dba354ef829af0f03007 | rts_group_881da91c4a6484aa3268b152 | 34545bd9ea878559f608a3925795df0192f3239a5f3ff6d58bb3d14872b5de71 | passed | Use trash-cli to move files named A, B, and C to the trash, then trash a second file named A.
Before permanently emptying the trash, follow the reconciliation procedure in the workspace contract documents (rewrite_contract.json, rewrite_step_verifier.json, rewrite_task_contract.json), which includes comparing against /... | version = "1.0"
[metadata]
difficulty = "easy"
category = "file-management"
tags = ["trash-cli", "file-management", "trash"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 5.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage... | #!/bin/bash
set -e
# Ensure trash-cli is available
apt-get update -qq && apt-get install -y trash-cli || true
mkdir -p /app
# Start with a clean state: empty trash and remove any lingering files
trash-empty 2>/dev/null || true
rm -f /app/A /app/B /app/C 2>/dev/null || true
rm -f /root/A /root/B /root/C 2>/dev/null |... | # Base image: Ubuntu 22.04 (solve.sh uses apt-get, macOS origin is irrelevant for container)
FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Pre-warm apt cache and install trash-cli (solve.sh re-runs apt-get install;
# having it pre-installed ensures offl... | tasks/rts_task_4842dba354ef829af0f03007 | 8 | 12 | 20,927 | data/tasks-00000.tar |
rts_task_3225c27a263d8ef9c008beab | rts_group_df1a40b886d45439c3b909d5 | 606da14a64eadcd311ea117676d5e82be1e2898a5ba692b17433b95165f23b3e | passed | Locate the compressed EQL dataset `normalized-atomic-red-team.json.gz` under `/app`.
Record its absolute path in `/app/dataset_info.txt`.
Run an EQL query that counts the occurrences of each `event_type` in the dataset, saving the results as JSON to `/app/counts.json`.
From that file, determine the event type that appe... | version = "1.0"
[metadata]
difficulty = "easy"
category = "data-analysis"
tags = ["eql", "event-query-language", "data-analysis", "json"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory ... | #!/bin/bash
set -euo pipefail
# Locate the dataset file anywhere under /app
DATASET=$(find /app -name "normalized-atomic-red-team.json.gz" -type f -print | head -1)
if [ -z "$DATASET" ]; then
echo "Dataset normalized-atomic-red-team.json.gz not found"
exit 1
fi
echo "Found dataset at: $DATASET"
# Record the abso... | # Task 259453 — Introduction to EQL
# Environment: macOS • xterm-256color • zsh (replicated on Linux/Python)
# Tools: eql (Event Query Language) Python package
# Dataset: normalized-atomic-red-team.json.gz from endgameinc/eqllib
FROM python:3.9-slim
# Install system utilities needed for curl / wget
RUN apt-get update... | tasks/rts_task_3225c27a263d8ef9c008beab | 8 | 12 | 19,640 | data/tasks-00000.tar |
rts_task_4b442c69398935b3a0e04f7e | rts_group_593517bd7af31d536fc98a4b | e35c2ece4cd8abc8113fa9487ac0d02f32a7fe157ed35f338126def0762a9072 | passed | The server has PostgreSQL 16, protobuf, protobuf-c, and the decoderbufs logical decoding plugin installed.
A Debezium integration specification is located at /postgres-decoderbufs/debezium-spec.json.
Initialize a PostgreSQL 16 database cluster, then derive the required configuration from the specification and apply it ... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/259702"
task_drafter_name = "Zhaoyang Chu"
task_drafter_email = "zhaoyang.chu.25@ucl.ac.uk"
task_annotator_name = ""
task_annotator_email = ""
task_refiner_name = ""
task_refiner_email = ""
difficulty_explanation = ""
solution_explanation = ""
verificat... | #!/bin/bash
set -euo pipefail
export PG_CONFIG=/usr/pgsql-16/bin/pg_config
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
SPEC_FILE="/postgres-decoderbufs/debezium-spec.json"
PGDATA="/var/lib/pgsql/16/data"
PGLOG="$PGDATA/postgresql-startup.log"
CONFIRMATION_FILE="/etc/pgsql-16-confirmation.txt"
# Check spec file
i... | FROM rockylinux:9
# Locale and build env variables
ENV LANG=en_US.utf-8
ENV LC_ALL=en_US.utf-8
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
ENV PATH=/usr/pgsql-16/bin:$PATH
SHELL ["/bin/bash", "-c"]
# ── 1. Base system packages ──────────────────────────────────────────────────
# Note: Rocky 9 ships curl-minimal; us... | tasks/rts_task_4b442c69398935b3a0e04f7e | 10 | 14 | 28,327 | data/tasks-00000.tar |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.