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_a822675f344889db87dd92e0 | rts_group_2350725234addaa45e89813e | 5f7cd26ba4a2262080147012adaaeaa108faa251b4fe932320d9cd1e1e2db8fd | passed | You are in /app.
Find the next number strictly greater than 2017 by rearranging its digits using generate.rb (see `--help`).
The script may contain a bug.
Before making any changes, run test_generation.rb and capture its stderr to /app/error_log.txt, then diagnose and fix the bug.
After fixing, run generate.rb to obtai... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["ruby", "algorithm", "permutations", "scripting"]
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
# Oracle solution for the log_error_diagnosis variant
echo "=== Oracle solution starting ==="
# -------------------------------------------------------------------
# Stage: INSPECT
# -------------------------------------------------------------------
echo "=== Stage: INSPECT ==="
if [ ... | FROM ruby:3.2-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app
# Create validation script (including repair_log.txt reference)
RUN <<'VEOF' cat > /app/validate.sh
#!/bin/bash
set -e
# Check result.txt
if [ ! -f /app/result.txt ];... | tasks/rts_task_a822675f344889db87dd92e0 | 12 | 16 | 48,576 | data/tasks-00007.tar |
rts_task_c563b281827bcf37fa981176 | rts_group_4a9c78bf929d971e62cb9414 | 93831b8cfe445f6612571a25b31b9d6dcbd683afe4783e2d8db8a815132c5ab6 | passed | Work in /app.
Fix the number‑guessing game (solution.py) using try/except for input validation and proper max() handling with empty‑sequence guard.
Fix validate.sh and VALIDATE_GUIDE.txt to use python3 and correct the expected maximum for the negative numbers scenario (the current guide has an intentionally wrong value... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["python", "interactive", "program-writing"]
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 = "2G... | #!/bin/bash
set -euo pipefail
APP=/app
# ----------------------------------------------------------------------
# Stage 1: Inspect – reproduce original bugs + empty‑list crash evidence
# ----------------------------------------------------------------------
if [ ! -f "$APP/error_log.txt" ]; then
# Original buggy ... | FROM python:3.11-slim
WORKDIR /app
ENV TERM=xterm-256color
ENV SHELL=/bin/bash
# Create the buggy starter script (prints the last number instead of the maximum)
RUN cat > /app/solution.py << 'EOF'
numbers = []
while True:
num = int(input("Enter a number: "))
numbers.append(num)
play_again = input("Do you... | tasks/rts_task_c563b281827bcf37fa981176 | 13 | 17 | 45,791 | data/tasks-00007.tar |
rts_task_98cecac2bd4e5fd27dcd6721 | rts_group_cf6530ba64dd12ef49d7b7a6 | 1f7ecb990f43b9082f4b10226240556502423b4ac1b5bf7aff0f22ade5b13bd8 | passed | Build both Tic‑Tac‑Toe plugins—Pirito10/Tic‑Tac‑Toe and GabrielZuany/TicTacToe—from source using zinit in /app.
Use the compiler flags specified in /app/build.config and capture the build output as /app/build.log.
Fix the Pirito10 plugin so it returns 0 on success.
Capture the output of the test harness into /app/test_... | 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 -euo pipefail
BUILD_LOG="/app/build.log"
BUILD_CONFIG="/app/build.config"
FLAG_REPORT="/app/build_flags_report.txt"
BUILD_SUMMARY="/app/build_summary.md"
VERIFIER_DIR="/app/verifier"
BUILD_REQ="$VERIFIER_DIR/BUILD_REQUIREMENTS.md"
TEST_HARNESS="/app/tests/run_tests.sh"
TEST_OUTPUT="/app/test_results.lo... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV HOME=/root
RUN apt-get update && apt-get install -y \
zsh \
git \
gcc \
make \
python3 \
curl \
wget \
ca-certificates \
file \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /root/.zinit... | tasks/rts_task_98cecac2bd4e5fd27dcd6721 | 14 | 20 | 59,819 | data/tasks-00007.tar |
rts_task_ce39672ac10d9b51ea80ceb3 | rts_group_88c7f1e4af9ce9ce73e481df | cbce0db2b1fda3be5c67765b9fa0a792115291477dc178a5b4b0cd74cab2730f | passed | Work in /app.
The initial workspace contains a malformed result.txt and a buggy generate_manifest.js that produces invalid SHA-256 hashes and unsorted file lists.
Follow the complete workflow specification in WORKFLOW.md.
First, capture the full error output from running validate_workflow.js against the unmodified stat... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["nodejs", "npm", "extra-object", "javascript", "object-operations"]
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.... | #!/bin/bash
set -euo pipefail
CDPATH=''
export LC_ALL=C
APP_DIR="/app"
cd "$APP_DIR"
# ---------- inspect & capture original errors ----------
if [ ! -f "$APP_DIR/error_log.txt" ]; then
# ensure the buggy manifest is present
if [ ! -f "$APP_DIR/original_manifest.json" ]; then
node "$APP_DIR/generate_manifest... | FROM node:20
# Create working directory
WORKDIR /app
# Install the extra-object npm package globally and locally
RUN npm install extra-object
# Create hidden file required for dotfile filtering test
RUN touch /app/.ci_token
# Add a broken result.txt (three valid lines, one invalid) to provide initial malformed arti... | tasks/rts_task_ce39672ac10d9b51ea80ceb3 | 12 | 16 | 44,528 | data/tasks-00007.tar |
rts_task_7f0f7cd4d5a599a010a1273f | rts_group_fd225f3049e032ffa919a44d | fa0adf565a7ff12274ea2839e2af40624fc7d1f9a55a21d0e30cf2377fd9ecfd | passed | In /app, find the smallest permutation of 2017's digits greater than 2017 (the answer is 2071), write it to result.txt, and generate a sorted CSV of all 11 such permutations at report.csv.
Convert the CSV to JSON, YAML, and XML (with a <numbers> root element) and produce a TSV at report.tsv.
Prove CSV-TSV equivalence a... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["ruby", "algorithm", "permutations", "scripting"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
continue_until_timeout = true
timeout_sec = 900.0
[environment]
build_timeo... | #!/bin/bash
set -euo pipefail
# --------------------------------------------------------------------
# Stage: INSPECT
# --------------------------------------------------------------------
echo "=== Stage: INSPECT ==="
echo "Inspecting evidence_spec.md..."
cat /app/evidence_spec.md
echo ""
echo "Inspecting validate.sh... | FROM ruby:3.2-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
time \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app
# Create validation script (updated to enforce diagnosis.txt, report.xml, validation_report.json, runtime.log, and TSV artifacts, plus inventory.json and re... | tasks/rts_task_7f0f7cd4d5a599a010a1273f | 12 | 16 | 61,759 | data/tasks-00007.tar |
rts_task_d630733219fc25108116e73d | rts_group_4e02e07bff7521cc3cb80021 | 036075ed13fafcad87a552d9f9b2d510404da94f5f27e523339d339fbe32cc93 | passed | Set up a Jujutsu repository at /jj-absorb-demo using the identity from user_config.toml (name and email).
Build the commit graph, run `jj absorb`, and generate reports: a status report showing a clean working copy, show reports for bookmarks s and l, and a config report containing the user name and email.
Create worksp... | 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 -euo pipefail
REPO_DIR="/jj-absorb-demo"
cd "$REPO_DIR"
# -------------------------------------------------------------------
# Discover initial assets in subdirectories
# -------------------------------------------------------------------
# user_config.toml may be under config/ or root
CONFIG_SEARCH... | 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_d630733219fc25108116e73d | 12 | 16 | 53,322 | data/tasks-00007.tar |
rts_task_33a826adf65c0b05dbb45a35 | rts_group_38b0a3f87e7bbcd7ac52d7a9 | f5cd2c262d8264b60666c11a0160b2b39326d9f0f08b0c17a4acb7096d537ead | passed | Set up your environment in /app.
Recover the hidden flag 4edbfd087d40bde3ce2ff995d61bd439 from the two steganographic JPEGs using the forensic pipeline described in the workspace.
The workspace provides RECIPE.md for hash generation, a corrupted hash.txt, stegpass_hint.txt containing a base64-encoded passphrase, and BU... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/208504"
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
WORKDIR=/app
cd "$WORKDIR"
echo "===== STAGE: Inspect ====="
# Read evidence bundle specification
SPEC_FILE="$WORKDIR/BUNDLE_SPEC.md"
if [ ! -f "$SPEC_FILE" ]; then
echo "FATAL: BUNDLE_SPEC.md not found; cannot assemble evidence bundle." >&2
exit 1
fi
echo "Found BUNDLE_SPEC.md;... | FROM debian:bullseye
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bash \
binutils \
binwalk \
ca-certificates \
coreutils \
curl \
file \
steghide \
unzip \
gzip \
&& apt-... | tasks/rts_task_33a826adf65c0b05dbb45a35 | 14 | 18 | 193,844 | data/tasks-00007.tar |
rts_task_6b3b906b57c08e99e3edbdaf | rts_group_30ee39d8fc815bca3741d5a5 | b563079cece6a1684fa69b26e2184331ba4103a9b94a9be9e6dbd23e4b69b466 | passed | In /app, repair tasks.json so that the set of diff outputs it generates exactly covers all baselines under expected/ (including result_flat_stylish.txt and result_flat_plain.txt).
Generate all diffs, compare each output against its expected baseline by name, then produce diagnosis.txt, artifact_inventory.txt, data_qual... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["gendiff", "diff", "json", "cli", "file-comparison"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
continue_until_timeout = true
timeout_sec = 900.0
[environment]
build_ti... | #!/bin/bash
set -euo pipefail
cd /app
echo "=== INSPECT ==="
echo "Fixtures:"
ls -1 *.json | grep -v '^tasks.json$' || true
echo "Expected baselines:"
ls -1 expected/ || true
echo "=== DERIVE (diagnosis, repair tasks.json, generate data quality report) ==="
python3 << 'PYEOF'
import json, os, re
with open('tasks.jso... | FROM python:3.9-slim
# Install gendiff package
COPY gendiff_src/ /tmp/gendiff_src/
RUN pip install --no-cache-dir /tmp/gendiff_src/ \
&& rm -rf /tmp/gendiff_src/
# Install pytest
RUN pip install pytest
# Set up working directory with fixture files
RUN mkdir -p /app
WORKDIR /app
COPY fixtures/ /app/
# Ensure the... | tasks/rts_task_6b3b906b57c08e99e3edbdaf | 26 | 34 | 62,606 | data/tasks-00007.tar |
rts_task_77fede0c388709c604ff20f8 | rts_group_5561189ddfd025ba230663ea | 5518d4d84f57dadd15e9a2d13d52aa36c3810f7c47215b412a715c0d6f3349d5 | passed | Produce a correct GRUB boot sequence.
Start by inspecting /app and /mnt/target (especially boot.cfg in /app, the etc/ directory and boot/RULES.txt under /mnt/target).
Write the final sequence to result.txt in /app, ensuring the linux line includes the console and baud settings from boot.cfg.
Update boot.cfg in /app to ... | 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
# ========== Stage: inspect ==========
CONFIG="/app/boot.cfg"
TARGET="/mnt/target"
RESULT="/app/result.txt"
REPAIR_LOG="/app/repair.log"
CONSISTENCY="/app/consistency.txt"
MANIFEST="/app/manifest.txt"
BOOT_PARAMS_FILE="${TARGET}/etc/boot-params"
BOOT_ORDER_FILE="${TARGET}/etc/boot-order"
... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN mkdir -p /app /mnt/target/boot /mnt/target/etc
# Create kernel images (including multiple candidates for selection rule)
RUN touch /mnt/target/boot/bzImage \
&& touch /mnt/target/boot/vmlinuz-5.15.0-100 \
&& touch /mnt/target/boot/vmlinuz-6.2.0-200
# ... | tasks/rts_task_77fede0c388709c604ff20f8 | 12 | 16 | 44,903 | data/tasks-00007.tar |
rts_task_c25407561e544decb78c2211 | rts_group_5b9fb5015eddb8155f2a619c | ef65b4539e9689ecf53ba076e8b6ba2423b1d2e97d7d68c109e2e51c51193e71 | passed | Fix the broken Terraform project in /root/iac-tf.
Correct all errors, reconcile the provider version, and run check.sh until it passes; save the output as check-report.txt.
Deploy with deploy.sh.
Serve index.html locally and capture the HTTP response (including '200 OK') as serve_validation.txt.
Generate deploy_report.... | version = "1.0"
[metadata]
author_name = "ggultekin"
difficulty = "easy"
category = "system-administration"
tags = ["terraform", "infrastructure-as-code", "aws", "s3", "deployment"]
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 -euo pipefail
cd /root/iac-tf
# pre-flight
chmod +x check.sh 2>/dev/null || true
chmod +x deploy.sh
[ -f inventory_check.sh ] && chmod +x inventory_check.sh || true
# inspect
echo "=== INSPECT ==="
echo "Available evidence files:"
ls -l website_spec.txt index.html.sha256 check.sh inventory_schema.md ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
curl \
unzip \
gnupg \
software-properties-common \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install pyyaml
# Install Terraform 1.1.9
RUN curl -fsSL https://releases.has... | tasks/rts_task_c25407561e544decb78c2211 | 15 | 21 | 57,359 | data/tasks-00007.tar |
rts_task_22546b1a8870aa090a259de9 | rts_group_726fb7cf1028358eb87b3425 | 4c3e5e2d5f897e66849b011d613c570219101ac395ac4bfa6fd01bc6a82f5d99 | passed | Locate and extract the evidence bundle specification archive (evidence_bundle_spec.tar.gz) somewhere under /app.
This archive contains a validation script (validate.sh) and a specification file (EVIDENCE_BUNDLE_SPEC.md); follow the specification to assemble the required artifacts.
The specification includes a format‑co... | 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 -euo pipefail
cd /app
# Locate the evidence bundle specification archive that has been placed
# in a discoverable subdirectory under /app.
SPEC_ARCHIVE=$(find /app -type f -name evidence_bundle_spec.tar.gz -print -quit 2>/dev/null)
if [ -z "$SPEC_ARCHIVE" ]; then
echo "Error: evidence_bundle_spec.... | FROM node:18
# Install minimal system utilities
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
diffutils \
&& rm -rf /var/lib/apt/lists/*
# ── Install gendiff package ──────────────────────────────────────────────────
WORKDIR /opt/gendiff
# Copy package manifest and i... | tasks/rts_task_22546b1a8870aa090a259de9 | 25 | 33 | 55,915 | data/tasks-00007.tar |
rts_task_0fc8eb392c44407834401630 | rts_group_974b1525f9ae1d00caa4702b | a11d4489d554813383cb4aecf571b5acf2c7ad41b38427dc5c80d2b4d99846b4 | passed | In /app, set up mise as the version manager, install Node.js 18 globally, and pin the project version in test-project/.mise.toml from .node-version.
Make check.sh executable and run it repeatedly; it will audit the environment and report any missing, malformed, or inconsistent artifacts.
Fix each failure, following doc... | version = "1.0"
[metadata]
difficulty = "easy"
category = "environment-setup"
tags = ["rtx", "mise", "nodejs", "version-manager", "environment-setup"]
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
cpu... | #!/bin/bash
set -euo pipefail
# Detect mise (or rtx) and activate shims
if command -v mise &>/dev/null; then
MISE=mise
elif command -v rtx &>/dev/null; then
MISE=rtx
else
echo "ERROR: mise not found"
exit 1
fi
eval "$($MISE activate bash)"
# Stage: execute – Global Node.js 18
$MISE install nodejs@18
$... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV HOME=/root
ENV PATH="/root/.local/bin:${PATH}"
ENV MISE_YES=1
ENV RTX_YES=1
RUN apt-get update && apt-get install -y \
curl \
git \
ca-certificates \
gpg \
dirmngr \
xz-utils \
build-essential \
unzip \
&& r... | tasks/rts_task_0fc8eb392c44407834401630 | 12 | 16 | 51,788 | data/tasks-00007.tar |
rts_task_d6ef55b4ebb0485da99c58d0 | rts_group_e896a36ce13365f86aaf5ec6 | b7d48a8465c2d7ea94706e6497b8d457ce9661e1db6764b22972fd4f0873d54a | passed | In /app, repair identity.env as described in specification.txt: strip leading/trailing spaces, expand NAME_REAL if it is a single word, and replace spaces with underscores in the comment.
Generate a 4096-bit RSA sign-only GPG key with no expiration and no passphrase using gpg_home as GNUPGHOME.
Produce all required art... | schema_version = "1.1"
[metadata]
title = "Create a GPG Key"
author = "oliverspryn"
difficulty = "easy"
category = "security"
tags = ["gpg", "security", "cryptography"]
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory_mb = 2048
storage_mb = 6144
memo... | #!/bin/bash
set -e
# ----------------------------------------------------------------------
# Stage: Inspect
# ----------------------------------------------------------------------
echo "Inspecting inputs..."
for f in /app/identity.env /app/specification.txt /app/report_spec.txt /app/test_security.sh /app/security_po... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install gnupg and standard utilities needed by solve.sh
RUN apt-get update && \
apt-get install -y --no-install-recommends \
gnupg \
gawk && \
rm -rf /var/lib/apt/lists/*
# Working directory referenced in solve.sh
WORKDIR /app
# Provide ... | tasks/rts_task_d6ef55b4ebb0485da99c58d0 | 11 | 15 | 56,382 | data/tasks-00007.tar |
rts_task_3d7ca7d7df4d178d125f3649 | rts_group_39ccadfc6078172f7bde2612 | f3460a3c231dcd43d13c001901d52f65c10824200e41d637ede2f5f95acce02f | passed | Set up mise with Node.js 18 globally and pin the local Node.js version inside the test-project directory from .node-version via .tool-versions.
Read the updated cleanup policy in docs/cleanup_policy.md for environment variable requirements before clearing the download cache.
Produce a cache cleanup report at /app/cache... | version = "1.0"
[metadata]
difficulty = "easy"
category = "environment-setup"
tags = ["rtx", "mise", "nodejs", "version-manager", "environment-setup"]
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
cpu... | #!/bin/bash
set -euo pipefail
# Detect mise (or rtx) and activate shims
if command -v mise &>/dev/null; then
MISE=mise
elif command -v rtx &>/dev/null; then
MISE=rtx
else
echo "ERROR: mise not found"
exit 1
fi
eval "$($MISE activate bash)"
# Stage: execute – Global Node.js 18
$MISE install nodejs@18
$... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV HOME=/root
ENV PATH="/root/.local/bin:${PATH}"
ENV MISE_YES=1
ENV RTX_YES=1
RUN apt-get update && apt-get install -y \
curl \
git \
ca-certificates \
gpg \
dirmngr \
xz-utils \
build-essential \
unzip \
&& r... | tasks/rts_task_3d7ca7d7df4d178d125f3649 | 11 | 15 | 50,353 | data/tasks-00007.tar |
rts_task_f530a6f1df69aa06d30f908e | rts_group_520fe5d691d8d6e6b37df95f | a1b65578da56b4ddf1682e42385f054b0260f97746192d8ffa4e426530c9d40e | passed | Set up mise with Node.js 18 globally and pin the local Node.js version inside test-project from .node-version.
Follow the cleanup policy in docs/cleanup_policy.md to clear the mise download cache, perform staging cleanup, and temporary directory cleanup for /tmp/tmprun.
Log before/after disk usage to cleanup.log and pr... | version = "1.0"
[metadata]
difficulty = "easy"
category = "environment-setup"
tags = ["rtx", "mise", "nodejs", "version-manager", "environment-setup"]
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
cpu... | #!/bin/bash
set -euo pipefail
# ----------------------------------------------------------------------
# Preliminary: detect mise/rtx and activate
# ----------------------------------------------------------------------
if command -v mise &>/dev/null; then
MISE=mise
elif command -v rtx &>/dev/null; then
MISE=r... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV HOME=/root
ENV PATH="/root/.local/bin:${PATH}"
ENV MISE_YES=1
ENV RTX_YES=1
RUN apt-get update && apt-get install -y \
curl \
git \
ca-certificates \
gpg \
dirmngr \
xz-utils \
build-essential \
unzip \
&& r... | tasks/rts_task_f530a6f1df69aa06d30f908e | 12 | 16 | 53,663 | data/tasks-00007.tar |
rts_task_829adefad69dfac8cf8bd4d6 | rts_group_0a96fa7121d6ce164cf11255 | 3dfee380bd765aa44a2247a17538514d87ca40494f0e524377887d0f3e1fdff2 | passed | Read setup.md for environment configuration guidance.
Before setting any variables, capture RULES_PATH, DEPLOY_REGION, and DEPLOY_ENV into env_initial_state.txt (use <unset> for unset variables).
Set RULES_PATH and DEPLOY_REGION based on setup.md and region.txt.
Determine the deployment environment from a file in /app ... | version = "1.0"
[metadata]
author_name = "euribates"
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "data-generation", "json", "simulator"]
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_s... | #!/bin/bash
set -euo pipefail
# ----------------------------------------------------------------------
# Stage 0: capture initial environment state
# ----------------------------------------------------------------------
{
echo "RULES_PATH=${RULES_PATH:-<unset>}"
echo "DEPLOY_REGION=${DEPLOY_REGION:-<unset>}"
ec... | # Environment for task 316028: "API Simulator demo 03"
# Recording: https://asciinema.org/a/316028 by euribates
# The `simulator` package is a custom library used in the recording.
# It is reconstructed from observed behaviour (schemas + serializer modules)
# and placed in /app so that Python can import it directly.
F... | tasks/rts_task_829adefad69dfac8cf8bd4d6 | 15 | 20 | 61,417 | data/tasks-00007.tar |
rts_task_cf4595c4142d623beab0c2ce | rts_group_d0913b0a61651e949b78f272 | c3e5062b11cd3ad6ac07a23e2a944dba03f8e324948c773312d3fcb56be99703 | passed | Set up a cross-compilation environment for MT2735 using /app/m2m_compiler_tools.7z.
Work inside /home/ubuntu/eagle/gcc/ — install the toolchain under mt2735_cross_toolchain, extract the aarch64-poky-linux sysroot, and produce integrity_report.txt, installed_inventory.txt, installation_report.txt, repair_log.txt, versio... | version = "1.0"
[metadata]
difficulty = "medium"
category = "environment-setup"
tags = ["cross-compilation", "toolchain", "embedded", "aarch64", "yocto"]
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... | #!/bin/bash
set -euo pipefail
ARCHIVE="/app/m2m_compiler_tools.7z"
OUTDIR="/home/ubuntu/eagle/gcc"
INTEGRITY_REPORT="$OUTDIR/integrity_report.txt"
INVENTORY="$OUTDIR/installed_inventory.txt"
INSTALL_REPORT="$OUTDIR/installation_report.txt"
REPAIR_LOG="$OUTDIR/repair_log.txt"
TOOLCHAIN_DIR="$OUTDIR/mt2735_cross_toolch... | FROM ubuntu:18.04
LABEL task_id="501421"
LABEL description="M2Motive - AArch64 cross-compilation environment for MT2735 (Ubuntu 18.04/bionic)"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
p7zip \
tar \
bash \
xz-utils \
file \
coreutils \
&& rm -rf /var/li... | tasks/rts_task_cf4595c4142d623beab0c2ce | 12 | 16 | 55,327 | data/tasks-00007.tar |
rts_task_99bc0a42a71b60624eb96167 | rts_group_06fd33557122d5c3a2638744 | debdd39a947fcb445ee791621f66f1cdf22209fdc1998a7b073143c77331b38d | passed | Source /etc/mount-specs.env to find the specification directory.
Read the README in that directory to discover the documentation files — including schema rules, mount-option rules, and report-requirements.txt — and follow them to reconcile /etc/fstab.
Validate the result with `mount --fake` and the provided validate-fs... | 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
# ----------------------------------------------------------------------
# STAGE: inspect – discover specification directory and report format
# ----------------------------------------------------------------------
ENV_FILE=""
shopt -s nullglob
for f in /etc/*.env; do
if grep -q 'MOU... | # Environment for task 693935
# Task: Reconcile /etc/fstab with the mount specification under /usr/local/share/mount-specs/
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install util-linux (provides mount, etc.) and core utilities
RUN apt-get update && \
apt-get install -y --no-install-recommends \
... | tasks/rts_task_99bc0a42a71b60624eb96167 | 11 | 15 | 55,562 | data/tasks-00007.tar |
rts_task_02dd4ad7e9580c2c7bf2478a | rts_group_789558addbec28a07dc18ca3 | b9591c408c806305ef9b45569af02d989723ad343829c73a520b579460a50539 | passed | Fix the Makefile so it builds helloworld.c and produces a Debian package.
The Makefile currently references hello.c; replace all occurrences with helloworld.c.
Determine the build profile from /app/version.txt according to the mapping in spec.md, and add both -Wall and the profile flags to the compiler command.
Capture... | 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
echo "==> Inspecting workspace…"
cd /app
REQUIRED_FILES=(
/app/helloworld.c
/app/spec.md
/app/expected.txt
/app/run_tests.sh
/app/version.txt
/app/Makefile
)
for f in "${REQUIRED_FILES[@]}"; do
if [ ! -f "$f" ]; then
echo "ERROR: $f not found."
exit 1
fi
done
chm... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
RUN apt-get update && apt-get install -y \
gcc \
make \
dpkg-dev \
file \
zsh \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN cat > /app/helloworld.c << 'EOF'
#include <stdio.h>
#include <stdlib.h>
int main() {
... | tasks/rts_task_02dd4ad7e9580c2c7bf2478a | 12 | 16 | 44,530 | data/tasks-00007.tar |
rts_task_97f0c543140c9a8d00b84cfb | rts_group_6cfae4065e7aad68a88aad84 | 88b14ae2f23ed660b05ec3ea0bcb68b3569626c0bac8c79e3b8b1751d2e80913 | passed | Run the workspace test suite (run_tests.sh) and write the root cause of each failure to /app/diagnosis.log.
Then repair map_specs.json using reference files such as expected_subsets_map.json.
Once repaired, validate map_specs.json against the structural constraints in /app/MAP_VALIDATION_RULES.txt and produce map_valid... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["node", "npm", "javascript", "map-operations", "extra-map"]
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 ... | #!/bin/bash
set -euo pipefail
# ------------------------------------------------------------
# Environment configuration from /app/env.conf
# ------------------------------------------------------------
ENV_CONF="/app/env.conf"
if [ ! -f "$ENV_CONF" ]; then
echo "ERROR: Missing required file: $ENV_CONF" >&2
exit 1... | FROM node:20-slim
WORKDIR /app
# Initialize a package.json and install extra-map
RUN npm init -y && \
npm install extra-map
# Create the operations specification that defines required operations and their sub-keys
RUN echo '{"swap":["map","keyA","keyB"],"intersection":["map1","map2"],"searchAll":["map","predicat... | tasks/rts_task_97f0c543140c9a8d00b84cfb | 12 | 16 | 54,093 | data/tasks-00007.tar |
rts_task_71bf3ef3ae8dda53d5d0e178 | rts_group_f77485adb9c03f7e6df1ed27 | 791f2587ed8e73d58e858a307b97c642624eef3a7b684d080c9ba9e2ab062572 | passed | Start from /app; alpine:latest is already pulled.
Before beginning the main workflow, ensure that Docker and jq meet the minimum versions described in config/version_policy.md and upgrade them if necessary.
Tag alpine:latest with all tags from config/tags.json, write the shared image ID to the path in config/target_pat... | version = "1.0"
[metadata]
difficulty = "easy"
category = "container-orchestration"
tags = ["docker", "image-tagging", "docker-tag", "dood"]
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 = 600.0
memory_mb = 2... | #!/bin/bash
set -euo pipefail
echo "Starting solution..."
# Verify config files exist
SCHEMA_FILE="/app/config/report_schema.json"
TAGS_FILE="/app/config/tags.json"
TARGET_PATH_FILE="/app/config/target_path.txt"
BUNDLE_DOCS="/app/config/bundle_docs.md"
EXPECTED_LAYERS_FILE="/app/config/expected_layers.json"
VERSION_P... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates curl docker.io git wget jq && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN mkdir -p /app/config && echo './data/image_id.txt' > /app/config/target_path.txt && e... | tasks/rts_task_71bf3ef3ae8dda53d5d0e178 | 12 | 16 | 48,491 | data/tasks-00007.tar |
rts_task_72cf46f2bcc5913f34eccc50 | rts_group_27237e054e1eb89b89347732 | e9c6b5e1ab94a0222c4da300de14c6f388a27c69ff5b8fdbec738da2d09c2030 | passed | In `/app`, the `extra-array` npm package is already installed.
Sort the array `[-2, -3, 1, 4]` three ways (default, absolute-value comparator, key function using absolute value), write the results to `result.txt` and `result.json`, then compare them producing `validation.txt`.
Rebuild `manifest.json` to contain `versio... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["javascript", "node", "npm", "sorting", "bubble-sort", "extra-array"]
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 = 60... | #!/bin/bash
set -euo pipefail
cd /app || exit 1
echo "=== INSPECT ==="
REQUIRED_DOCS=(
"MANIFEST_REQUIREMENTS.md"
"ARTIFACT_INVENTORY_SPEC.md"
"README.md"
)
for doc in "${REQUIRED_DOCS[@]}"; do
if [ ! -f "$doc" ]; then
echo "ERROR: $doc missing" >&2
exit 1
fi
if [ ! -s "$doc" ]; then
echo "ER... | FROM node:18
# Create working directory
WORKDIR /app
# Install the extra-array npm package
RUN npm install extra-array
# Add workspace documentation specifying required manifest fields
RUN printf '## Manifest Requirements\n\n`manifest.json` must contain:\n- `version`: the installed version of extra-array (from `node... | tasks/rts_task_72cf46f2bcc5913f34eccc50 | 11 | 15 | 43,670 | data/tasks-00007.tar |
rts_task_4a3de2edaf11446585c78eb7 | rts_group_2ccf4e0841974c91224f7851 | 3944d9fe1953408a6d532704dba7b69447d167825617f45e1f0e7a595bf94e1c | passed | Set up the Git kata at /root/git-katas/rebase-branch/exercise if needed.
Rebase uppercase onto master, fast-forward master, and ensure the tag pre-rebase-master points to the 'Add readme' commit.
Before rebasing, capture the git version and system date into env_dump.txt.
Consult evidence_spec.txt for the full list of r... | version = "1.0"
[metadata]
author_name = "anastasia-70-31"
author_email = ""
difficulty = "easy"
category = "version-control"
tags = ["git", "rebase", "branch-management"]
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 -euo pipefail
WORK_DIR='/root/git-katas/rebase-branch'
REPO_DIR="$WORK_DIR/exercise"
EVIDENCE_SPEC="$WORK_DIR/evidence_spec.txt"
DIAG_SCRIPT="$WORK_DIR/setup_status.sh"
REPO_INFO="$WORK_DIR/repo_info.txt"
VALIDATE_SCRIPT="$WORK_DIR/validate_history.sh"
VALIDATE_OUTPUT="$WORK_DIR/validate_history.txt"
... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install git (the only tool required by solve.sh)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
bash \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install a bash wrapper at /usr/local/bin/sh (ear... | tasks/rts_task_4a3de2edaf11446585c78eb7 | 13 | 17 | 48,587 | data/tasks-00007.tar |
rts_task_0d162ccce6fca50437e90526 | rts_group_27613d0b2689ad0e8671f9f2 | 8b3077ccb711d12290b760b27b74ef771ea08f812a67505b61f2aeeb602e598a | passed | Reconcile `/app/release_config.txt` with the git tags and the system PHP version: fix FROM, TO, and TARGET_PHP_VERSION, and record any overrides.
Consult `/app/docs/README.md` to discover the location of the evidence specification.
Run the PHPUnit test suite, diagnose and fix all failing tests (including any missing ex... | version = "1.0"
[metadata]
author_name = "Segodnya"
difficulty = "easy"
category = "software-development"
tags = ["php", "cli", "diff", "composer"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
continue_until_timeout = true
timeout_sec = 900.0
[environment]
bu... | #!/bin/bash
set -euo pipefail
echo "Installing dependencies..."
composer install --no-interaction --prefer-dist --optimize-autoloader
cd /app
PHPUNIT_BIN="vendor/bin/phpunit"
if [ ! -x "$PHPUNIT_BIN" ]; then
echo "ERROR: PHPUnit not found at $PHPUNIT_BIN" >&2
exit 1
fi
# ------------------------------------... | # PHP 8.3 CLI environment for the Hexlet PHP Diff Generator (php-project-48)
FROM php:8.3-cli
# Install system packages required by Composer and common PHP extensions
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
unzip \
zip \
&& rm -rf /var/lib/apt/lists/*
# Inst... | tasks/rts_task_0d162ccce6fca50437e90526 | 26 | 35 | 63,694 | data/tasks-00007.tar |
rts_task_54aad2f5eb8ae7ba75bc525c | rts_group_da60b35b4207412c24a924b4 | ad14ed31cb7ff11de973b84c8cb2610d47f5044d92b3410cbe50356ce3d2748b | passed | Set up the Russian‑language text adventure in /app so that victory is achievable.
Consult docs/manifest_guide.txt for the manifest specification (which now requires a role column for every project1/ file).
Produce the following deliverables: /app/game_output.txt (a victory session starting with 'Добро пожаловать' and e... | 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 -euo pipefail
# ── Locale and GAME_DATA setup ──────────────────────────────────────
LANG=""
if [ -f /app/.env.example ]; then
echo "Found .env.example. Extracting locale hint..."
LANG_HINT=$(grep -oP 'LANG=\K[^\s#]+' /app/.env.example || true)
if [ -n "$LANG_HINT" ]; then
LANG="$LA... | FROM ubuntu:22.04
# ── Locale: deliberately set to C so Russian text will be garbled; agent must override. ──
ENV LANG=C \
LC_ALL=C \
PYTHONIOENCODING=utf-8 \
DEBIAN_FRONTEND=noninteractive
# ── Python runtime hygiene ─────────────────────────────────────────────────
ENV PYTHONDONTWRITEBYTECODE=1 \
PY... | tasks/rts_task_54aad2f5eb8ae7ba75bc525c | 15 | 20 | 66,749 | data/tasks-00007.tar |
rts_task_43830518a5c5bb7aaebf0899 | rts_group_fac1c613fa01455be1a840af | 3cbfd137253ddac438b8c73420f3c0d1372cdf86c3e7214de4f244fa7893f788 | passed | Build a three-commit custom VCS repository under /app as specified in /app/BUNDLE_REQUIREMENTS.txt.
After building, verify the repository with the provided validation and integrity scripts, correcting any failures until the integrity check reports 'Integrity check passed'.
Cross-check the repository inventory against /... | version = "1.0"
[metadata]
difficulty = "easy"
category = "version-control"
tags = ["vcs", "shell-scripting", "file-management", "commit-history"]
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_timeout_sec = 300.0
cpus = 1
memory = "2G"
storage = "6G"
memory_mb = 2048
storage_mb = 61... | #!/bin/bash
set -euo pipefail
# ---- INITIAL CLEANUP (idempotent) ----
rm -rf /app/.myvcs /app/evidence-bundle /app/validation.log /app/integrity.log /app/workdir.log \
/app/evidence-bundle.tar.gz /app/archive-verification.log /tmp/verify_archive
# ---- STAGE 1: INSPECT ----
INIT_PWD=$(pwd)
echo "Inspecting in... | # Environment for task 339478
# Signals: macOS • xterm-256color • bash
# Task: Custom shell-based VCS (init/add/commit/checkout via /vcs/ scripts)
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
core... | tasks/rts_task_43830518a5c5bb7aaebf0899 | 19 | 24 | 55,729 | data/tasks-00007.tar |
rts_task_e50c537e1ac36f05af74b06a | rts_group_bbabed72ac22798c64a5b827 | 8dd749a58a6e02f7cb31d51e67658ab8ab036aad20dcb0d642111d6b63bb03d2 | passed | Analyze /bin/ls using radare2/r2pipe starting from /home/user.
Every output must land directly under /app.
Follow all workflow specifications found in /app (PROVENANCE.md, VERIFICATION_SPEC.md, and INTEGRITY_SPEC.md).
Verify the binary hash against the expected file, produce all required intermediate artifacts—includin... | version = "1.0"
[metadata]
difficulty = "medium"
category = "security"
tags = ["reverse-engineering", "radare2", "binary-analysis"]
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 = 900.0
cpus = 1
memory = "2G... | #!/bin/bash
set -e
# ============================================================
# STAGE: INSPECT
# ============================================================
echo "[INSPECT] Examining environment and specifications..."
mkdir -p /app
# Write evidence of environment inspection and attention to required specs
cat ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python and supporting tools; install radare2 from GitHub release
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
curl \
wget \
file \
binutils \
&& wget -q https://github.com/radareorg... | tasks/rts_task_e50c537e1ac36f05af74b06a | 12 | 16 | 50,594 | data/tasks-00007.tar |
rts_task_d76ee9c1835bafd14f53ab28 | rts_group_622d896260e931f68c0d4e68 | 13315be5ad2b185541fdf8bc6e61340ee53973c8f3a16c7ad15192ab82a64b2e | passed | Analyze /bin/ls in /app using radare2/r2pipe to produce analysis outputs (result.json, metadata.json, inventory.json).
First, verify the binary's SHA-256 against expected_sha256.txt, correcting the file if the expected hash is wrong, and log the outcome to verification.log.
Then follow PROVENANCE.md and VERIFICATION_SP... | version = "1.0"
[metadata]
difficulty = "medium"
category = "security"
tags = ["reverse-engineering", "radare2", "binary-analysis"]
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 = 900.0
cpus = 1
memory = "2G... | #!/bin/bash
set -e
# === Discovery of execution-path requirements ===
SPEC_FILE="/app/.project/execution_paths.txt"
if [ ! -f "$SPEC_FILE" ]; then
echo "ERROR: Missing project execution-path specification: $SPEC_FILE" >&2
exit 1
fi
declare -A WORKDIRS
while IFS= read -r line; do
line="${line//[$'\t\r\n']/... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python and supporting tools; install radare2 from GitHub release
# (radare2 is in Ubuntu universe but not enabled by default in Docker images)
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
curl \
wget \... | tasks/rts_task_d76ee9c1835bafd14f53ab28 | 11 | 15 | 56,877 | data/tasks-00007.tar |
rts_task_795bc0322a8f44a2f280bdfa | rts_group_09570b680bce3fdb82a8dde2 | 66f39fede455bd7d3aefdc835c169fdd8acf9e3b7162be285023eeda58f8f212 | passed | Analyze /bin/ls using radare2/r2pipe in /app to produce analysis outputs (result.json, metadata.json, inventory.json).
Begin by verifying the binary's SHA-256 against expected_sha256.txt, logging the outcome to verification.log; correct expected_sha256.txt if needed.
From the analysis results, generate /app/summary_rep... | version = "1.0"
[metadata]
difficulty = "medium"
category = "security"
tags = ["reverse-engineering", "radare2", "binary-analysis"]
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 = 900.0
cpus = 1
memory = "2G... | #!/bin/bash
set -e
# --- Pre-analysis integrity: ensure expected_sha256.txt matches actual /bin/ls ---
ACTUAL_HASH=$(sha256sum /bin/ls | awk '{print $1}')
EXPECTED_FILE="/app/expected_sha256.txt"
if [ ! -f "$EXPECTED_FILE" ]; then
echo "WARNING: $EXPECTED_FILE missing, creating with correct hash."
echo "$ACTU... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python and supporting tools; install radare2 from GitHub release
# (radare2 is in Ubuntu universe but not enabled by default in Docker images)
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
curl \
wget \... | tasks/rts_task_795bc0322a8f44a2f280bdfa | 12 | 16 | 59,061 | data/tasks-00007.tar |
rts_task_167d14f4c03987ea15168a76 | rts_group_bc40a9c8ea239f2f80fe5f8d | 78de3cf04518c2e43707da60cf179605d35daa6e664d1423b26c79326b928272 | passed | Work in /app.
Reproduce the bugs in solution.py: capture the full crash traceback ('Traceback (most recent call last)') and the ValueError in error_log.txt.
Then fix solution.py to use max(), handle invalid input with try/except (catching ValueError), and avoid crashing on empty input.
Document the original bugs and an... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["python", "interactive", "program-writing"]
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 = "2G... | #!/bin/bash
set -euo pipefail
APP=/app
cd "$APP"
# Stage 1: Reproduce original bugs
reproduce_bugs() {
if [ -s "$APP/error_log.txt" ]; then
echo "error_log.txt already exists and non-empty, skipping reproduction."
return
fi
if grep -q 'print(numbers\[-1\])' "$APP/solution.py"; then
... | FROM python:3.11-slim
WORKDIR /app
ENV TERM=xterm-256color
ENV SHELL=/bin/bash
# Create the buggy starter script (prints the last number instead of the maximum)
RUN cat > /app/solution.py << 'EOF'
numbers = []
while True:
num = int(input("Enter a number: "))
numbers.append(num)
play_again = input("Do you... | tasks/rts_task_167d14f4c03987ea15168a76 | 13 | 17 | 43,864 | data/tasks-00007.tar |
rts_task_67640dd83eec550b57507885 | rts_group_904b5f0e983ca76d2d051717 | 235b676a1e41ad1679cbe777095b5586fc0704e5f264f84e5de2f8ca5704b28c | passed | Set up an MkDocs project in /app/devforum using the provided virtual environment (Python at /app/devforum/env/bin/python3).
Extract project metadata from /app/project_spec.toml, configure mkdocs.yml as described in /app/devforum/README.md, and produce a conversion report (see CONVERSION_SCHEMA.md).
Locate and integrate... | version = "1.0"
[metadata]
difficulty = "easy"
category = "environment-setup"
tags = ["mkdocs", "python", "venv", "documentation"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 15.0
[verifier]
timeout_sec = 900.0
[agent]
continue_until_timeout = true
timeout_sec = 900.0
[environment]
build_timeout_sec =... | #!/bin/bash
set -euo pipefail
# ============================================================
# Stage: inspect – locate spec, docs, and required files
# ============================================================
SPEC="/app/project_spec.toml"
if [ ! -f "$SPEC" ]; then
echo "ERROR: $SPEC not found" >&2
exit 1
... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python 3.11 and required tooling
RUN apt-get update && apt-get install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && \
apt-get install -y python3.11 python3.11-venv python3.11-distutils curl &&... | tasks/rts_task_67640dd83eec550b57507885 | 12 | 16 | 52,925 | data/tasks-00007.tar |
rts_task_be4ff2c12bdecc5b38c4d06c | rts_group_2ef0a1a4e218c1144c661e9c | a4a6174404b724cb4ba342dd064d0a03b3bae778444911accd3cd6b76cc34e5a | passed | Start Redis—it is not currently running.
Follow /app/BUNDLE_SPEC.md to complete the evidence bundle workflow.
Ensure /app/run_lolwut.sh is executable and use it for all LOLWUT invocations.
After evidence collection, shut down Redis cleanly and write a shutdown report.
Create an artifact inventory at /app/artifact_inven... | version = "1.0"
[metadata]
difficulty = "easy"
category = "database"
tags = ["redis", "redis-cli", "lolwut", "database"]
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 -euo pipefail
#############################################
# Stage: inspect – environment readiness
#############################################
BUNDLE_DIR="/app/evidence_bundle"
EVIDENCE_FILES=(
redis_status.txt
args.txt
lolwut_output.txt
lolwut_checksum.sha256
validation_attempt... | FROM redis:5.0
# Redis 5.0 ships redis-server and redis-cli; lolwut was introduced in Redis 5.0.
# Create a shell-accessible lolwut wrapper that delegates to redis-cli (legacy, optional).
RUN printf '#!/bin/sh\nredis-cli lolwut "$@"\n' > /usr/local/bin/lolwut \
&& chmod +x /usr/local/bin/lolwut
# Ensure /app dir... | tasks/rts_task_be4ff2c12bdecc5b38c4d06c | 13 | 17 | 41,379 | data/tasks-00007.tar |
rts_task_d0b8cff286f2541b4d917395 | rts_group_bd5e4dde40be7c474b68e98b | 94393d4c723bb765c3693a16daceeef5ef3cd44929b99ea80a548fab9932e171 | passed | Create ASCII art at /app/output.txt using figlet with phrases from the configuration file indicated in /app/config_location.txt and the font specified in fonts/font_info.txt.
If the indicated font is missing, select an available system font and copy it to fonts/custom.flf.
Produce artifact_manifest.json and reconciliat... | 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]
continue_until_timeout = true
timeout_sec = 900.0
[environment]
b... | #!/bin/bash
set -euo pipefail
APP="/app"
CONFIG_LOCATION_FILE="$APP/config_location.txt"
FONT_DIR="$APP/fonts"
FONT_HINT="$FONT_DIR/font_info.txt"
SYSTEM_FONT_DIR="/usr/share/figlet"
CUSTOM_FONT="$FONT_DIR/custom.flf"
OUT="$APP/output.txt"
VERSION_FILE="$APP/version_req.txt"
EXPECTED_CHECKSUM_FILE="$APP/expected_check... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
figlet \
python3 \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /usr/share/figlet/bubble.flf
WORKDIR /app
# Create the actual phrases configuration file at a non-obvious... | tasks/rts_task_d0b8cff286f2541b4d917395 | 12 | 16 | 57,227 | data/tasks-00007.tar |
rts_task_ef098de934c570aa3ceb64a1 | rts_group_a443638894eaaedb69b22c8f | 2ebcfe482a9c2c8210a241e931801ad12b0240c12c17016c211579ce042e9530 | passed | Your workspace is /app, containing data.tar.gz, archive_checksum.sha256, README.md, and BUNDLE.md.
Before extracting the sales data, verify the integrity of data.tar.gz by checking its SHA256 against the reference in archive_checksum.sha256.
Save a success message to /app/archive_verification.log; only then proceed.
Ex... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["awk", "shell", "data-processing", "text-processing"]
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
memory_mb = ... | #!/bin/bash
set -euo pipefail
INPUT_FILE="/app/salse.txt"
DATA_ARCHIVE="/app/data.tar.gz"
REPORT_FILE="/app/report.txt"
ARCHIVE_DIR="/app/archive"
ARCHIVE_FILE="$ARCHIVE_DIR/salse.txt"
BUNDLE_DIR="/app/bundle"
README_MD="/app/README.md"
BUNDLE_MD="/app/BUNDLE.md"
VALIDATOR_SCRIPT="/app/validate_bundle.sh"
EXPECTED_CHE... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bash \
gawk \
zsh && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app
# Create salse.txt, then archive it, compute its checksum, and remove the raw file
RUN printf ... | tasks/rts_task_ef098de934c570aa3ceb64a1 | 13 | 17 | 47,102 | data/tasks-00007.tar |
rts_task_b14296b203a59f489e43eaee | rts_group_4e9254449c59ff8a2dcfe740 | 748abdb4fc714d55a0e45ee8e7a5e25957ffab9d3fb35fd0e442a3680f3d98b2 | passed | Set up a secure Apache web server with PHP and Adminer, but first perform a dry-run test.
Consult /opt/specs/dry_run_spec.txt for the procedure and use the test welcome message from /opt/specs/test_welcome.txt.
Produce a complete health evidence bundle under /health/ following /opt/specs/health_evidence_spec.txt; this ... | 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 -euo pipefail
# ---------------------------------------------------------------------------
# Helper: safe JSON escaping
# ---------------------------------------------------------------------------
json_escape() {
local s="${1//\\/\\\\}"
s="${s//\"/\\\"}"
s="${s//$'\n'/\\n}"
s="${s//$'... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
# Create the local validation script used by the solution and verifier
RUN cat <<'EOF' > /validate.sh
#!/bin/bash
errors=0
EXPECTED_WELCOME="Welcome to the Secure Web Server!"
echo "Running server validation..."
# Check index.html removal
if [ -f /... | tasks/rts_task_b14296b203a59f489e43eaee | 12 | 16 | 54,357 | data/tasks-00007.tar |
rts_task_33686a2d120c1a10cd4bae4b | rts_group_91da354b8ea0ab069aeeaa9c | 05f511a0969a63025ee30e3539b26ea9ce81326685d7b6f237763cba1520e590 | passed | Set up the OP‑TEE PKCS#11 demo infrastructure in /workspace using the evidence files under /usr/local/share/432598-recording-ref.
Clone meta‑optee‑demo, configure an NSS SQL database at /etc/pki/nssdb with the provided password, import the CA certificate per the trust‑flags specification, and discover the required PKCS... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/432598"
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
# Task 432598 – OP-TEE PKCS#11 demo infrastructure with inventory, validation, session tracking, audit logging, and config-state database.
set -euo pipefail
log() { echo "[solve 432598] $*"; }
EVIDENCE_DIR="/usr/local/share/432598-recording-ref"
POLICY_FILE="$EVIDENCE_DIR/trust-policy.conf"
CA_PAT... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
binutils \
ca-certificates \
curl \
git \
libnss3-tools \
opensc \
openssl \
python3 \
&& rm -rf /var/lib/apt/lists/*
RUN m... | tasks/rts_task_33686a2d120c1a10cd4bae4b | 13 | 18 | 60,022 | data/tasks-00007.tar |
rts_task_0a81f74e6ada84d1b7c4a189 | rts_group_36eb8139079510f4abb0abed | 0c39a26aca0d0ccadc08aca0288bb639c1481050babea401a3ab908d8af6faf6 | passed | Set up a parallel data processing pipeline with pyperaptor in /app.
The workspace contains version_hint.txt, pipeline_constraints.json, pipeline_config.json, check_config.py, consistency_spec.txt, and cli_spec.txt, which includes error‑handling expectations for pipeline.py.
Validate the configuration using check_config... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["python", "pipeline", "parallel-processing", "pyperaptor"]
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 =... | #!/bin/bash
set -euo pipefail
# ----------------------------------------------------------------------
# Stage: inspect — gather required evidence and existing artifacts
# ----------------------------------------------------------------------
CLI_SPEC="/app/cli_spec.txt"
PIPELINE_CONFIG="/app/pipeline_config.json"
CO... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python 3 and pip
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-pip \
python3-dev \
build-essential \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Ensure pip is... | tasks/rts_task_0a81f74e6ada84d1b7c4a189 | 12 | 16 | 47,155 | data/tasks-00007.tar |
rts_task_0c905d72e878f61077b802bf | rts_group_cbf773853f412b6e8a4cddad | 36cf7a8e1edbe219ebbbd777b10435dfbc090047edcb58a47f80e8f0a1eadd84 | passed | Fix the ARM64 assembly hours-to-seconds converter by recovering the correct source from local git history.
The cross-compilation toolchain is under /usr/aarch64-linux-gnu; source /app/toolchain.cfg to set up the environment.
Complete the full build, verification, packaging, and cleanup workflow described in /app/BUILD_... | 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
# Keep track of temp directories for cleanup
TEMP_DIRS=()
cleanup_trap() {
for d in "${TEMP_DIRS[@]}"; do
[ -d "$d" ] && rm -rf "$d"
done
}
trap cleanup_trap EXIT
cd /app
# ------------------------------------------------------------------
# Stage 1: INSPECT
# ---------------------... | # 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_0c905d72e878f61077b802bf | 13 | 17 | 59,917 | data/tasks-00007.tar |
rts_task_d55eac7025623dabe0536b22 | rts_group_9e101b2c2cbbc1403b67a558 | 0c3fd7986c3e2debe6715e91658de21094af4552dd5be5fd04bad5f3ec46fc63 | passed | Set up OP-TEE PKCS#11 demo infrastructure using the materials in /usr/local/share/432598-recording-ref.
Search for PKCS#11 shared library modules in standard locations such as /usr/lib, making sure to include the libsoftokn3.so module, and produce a structured inventory and validation log.
Use the trust verification sc... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/432598"
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
# Task 432598 – Set up OP-TEE PKCS#11 demo infrastructure (with trust-flag repair, module inventory, diagnosis, and cleanup)
set -euo pipefail
log() { echo "[solve 432598] $*"; }
EVIDENCE_DIR="/usr/local/share/432598-recording-ref"
POLICY_FILE="$EVIDENCE_DIR/trust-policy.conf"
CA_PATH="$EVIDENCE_D... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
libnss3-tools \
opensc \
openssl \
python3 \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /workspace ... | tasks/rts_task_d55eac7025623dabe0536b22 | 13 | 18 | 49,501 | data/tasks-00007.tar |
rts_task_cc97586ac485753954836217 | rts_group_5ba740fbf01da7c991e73eff | 0c105c99625c30c17d8ef1e4544edb59a8da12aa9bdb0c0c075597fd02233efe | passed | Set up OP-TEE PKCS#11 demo infrastructure using materials in /usr/local/share/432598-recording-ref.
Search for PKCS#11 shared library modules in standard locations (including libsoftokn3.so) and produce a structured inventory validated against the schema in inventory-schema.json.
If the schema file is invalid or valida... | version = "1.0"
[metadata]
task_source = "https://asciinema.org/a/432598"
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
# Task 432598 – Set up OP-TEE PKCS#11 demo infrastructure (with schema repair, trust-flag repair, module inventory, diagnosis, and cleanup)
set -euo pipefail
log() { echo "[solve 432598] $*"; }
EVIDENCE_DIR="/usr/local/share/432598-recording-ref"
POLICY_FILE="$EVIDENCE_DIR/trust-policy.conf"
CA_PA... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
libnss3-tools \
opensc \
openssl \
python3 \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /workspace ... | tasks/rts_task_cc97586ac485753954836217 | 13 | 18 | 48,997 | data/tasks-00007.tar |
rts_task_78a823cf65d3c6e159e38359 | rts_group_d8eac92aaf467bfa86806fe8 | 0793fb1577da62843fa6535374effbdb7b46b148345672f089ab2abd89f30690 | passed | Fix the Clojure program in /app to read the EDN config and write the last element of :list (originally [1 2 3 4 5]) to the path given by :out, appending a trailing newline.
Define a my-last function in solution.clj without using built-in last.
Run the unit test for my-last (provided in the workspace) and use its failur... | version = "1.0"
[metadata]
author_name = "porkostomus"
difficulty = "easy"
category = "coursework-exercises"
tags = ["clojure", "functional-programming", "recursion", "algorithms"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]... | #!/bin/bash
set -euo pipefail
# Paths
CONFIG="/app/config.edn"
SOLUTION="/app/solution.clj"
DIAGNOSIS="/app/diagnosis.txt"
MANIFEST="/app/manifest.txt"
RECONCILIATION="/app/reconciliation.txt"
TEST_SCRIPT="/tests/test.sh"
UNIT_TEST="/tests/test_my_last.clj"
UNIT_TEST_LOG="/tmp/unit_test_failure.log"
CTRF_JSON="/logs/v... | FROM clojure:temurin-21-tools-deps
# Install common utilities and Python for verifier
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
curl \
git \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install --break-system-packages pytest==8.4.1 pyt... | tasks/rts_task_78a823cf65d3c6e159e38359 | 12 | 16 | 54,910 | data/tasks-00007.tar |
rts_task_3deb224a4909a20d8013df29 | rts_group_95118fd67b989be84269fdc3 | 92d7b12466999e66e728fee5faafc28effe0d06f6b2db95b40d636bf853ecff8 | passed | Set up the Russian-language text adventure game so that victory is achievable, clean up temporary files, and save a validation pass record at /app/validation_result.txt.
Diagnose and fix the puzzle logic bug (use the locale hint in .env.example, error messages, and local docs).
Following docs/manifest_guide.txt, produc... | 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
# ──────────────────────────────────────────────────────
# Stage: Inspect – run initial validation to capture errors
# ──────────────────────────────────────────────────────
echo "=== Stage: Inspect – initial validation ==="
./validate.sh > /tmp/validate_stdout.txt 2> /tmp/validate_stderr.txt
INIT_E... | FROM ubuntu:22.04
# ── Locale: deliberately set to C so Russian text will be garbled; agent must override. ──
ENV LANG=C \
LC_ALL=C \
PYTHONIOENCODING=utf-8 \
DEBIAN_FRONTEND=noninteractive
# ── Python runtime hygiene ─────────────────────────────────────────────────
ENV PYTHONDONTWRITEBYTECODE=1 \
PY... | tasks/rts_task_3deb224a4909a20d8013df29 | 15 | 20 | 62,088 | data/tasks-00007.tar |
rts_task_f33b251872447677fac19c61 | rts_group_6e0a8b96b3d99972d9580926 | 43bb18c5ddb6480b3cdb5450bcc3288fabb258e298ce41b90164572232e8e642 | passed | Install Prometheus 2.47.2 and complete the setup so that all unit tests pass.
Do not modify any test files.
Follow the documentation in fixtures/ (README.md, archive_instructions.txt) to inspect the archive, generate required reports, reconcile contents, and produce a valid prometheus.yml that passes promtool check.
Us... | 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 -e
cd /app
PROM_VERSION="2.47.2"
PROM_DIR="prometheus-${PROM_VERSION}.linux-amd64"
PROM_TGZ="prometheus-${PROM_VERSION}.linux-amd64.tar.gz"
# Clean up any leftover prometheus process from previous runs (idempotency)
pkill -f prometheus || true
sleep 1
# Download and process archive if not already e... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
wget \
curl \
tar \
jq \
&& rm -rf /var/lib/apt/lists/*
# /app is used by solve.sh as the output directory for result.txt and flags.txt
RUN mkdir -p /app/fixtures
WORKDIR /app
# Provide initial broke... | tasks/rts_task_f33b251872447677fac19c61 | 12 | 16 | 48,808 | data/tasks-00007.tar |
rts_task_743cfc63464c9a371aafcf4d | rts_group_4ff380065f591de17a5ea68f | b3666be30381f645238e4eaa11334476ab7c5d90f7d2182311eb3ba7ae8678ea | passed | Benchmark all Python scripts in ~/ffpy (including merge_sort.py) and save the output to /app/result.txt.
Compute the median of execution times, compare against the main threshold at ~/ffpy/thresholds/current.txt, and write the median, threshold, compliance status, and fix commit hash to /app/perf_note.txt.
Validate the... | version = "1.0"
[metadata]
difficulty = "easy"
category = "performance-optimization"
tags = ["benchmarking", "python", "performance", "ffpy"]
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
mem... | #!/bin/bash
set -e
# ─── Paths and discovery ────────────────────────────────────────────
HELLO=~/ffpy/scripts/hello.py
MERGE=~/ffpy/scripts/merge_sort.py
UNIT_DIR=~/ffpy/tests/unit
THRESHOLD_DIR=~/ffpy/thresholds
VERSION_FILE=~/ffpy/VERSION
MAIN_THRESHOLD_FILE="$THRESHOLD_DIR/current.txt"
SMOKE_THRESHOLD_FILE="$THRES... | FROM python:3.11-slim
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
bc \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Install ffpy (Fast Python Script Execution Timer) and its only dependency tabulate
RUN pip install --no-c... | tasks/rts_task_743cfc63464c9a371aafcf4d | 18 | 24 | 60,013 | data/tasks-00007.tar |
rts_task_4199bc6a2b62ad0acc134b46 | rts_group_b294b0b4ffcc610013fafe6c | a3ac07ddc418ad6d4e395c8f40307e33f886dcf9fb1d8bd52994e02c9f7667f5 | passed | Fix all bugs in `~/ffpy/scripts/` so that all unit tests pass.
`bubble_sort.py` also has a typo; fix it so its unit test passes.
Commit the fixes and note the commit hash.
Explore `~/ffpy` to locate the relocated threshold and bundle specification files.
Record the absolute paths of the main and smoke threshold files i... | version = "1.0"
[metadata]
difficulty = "easy"
category = "performance-optimization"
tags = ["benchmarking", "python", "performance", "ffpy"]
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
mem... | #!/bin/bash
set -e
# ─── Paths and discovery ────────────────────────────────────────────
HELLO=~/ffpy/scripts/hello.py
MERGE=~/ffpy/scripts/merge_sort.py
BUBBLE=~/ffpy/scripts/bubble_sort.py
UNIT_DIR=~/ffpy/tests/unit
VERSION_FILE=~/ffpy/VERSION
# Discover the relocated threshold directory under ~/ffpy
THRESHOLD_DIR... | FROM python:3.11-slim
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
bc \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Install ffpy (Fast Python Script Execution Timer) and its only dependency tabulate
RUN pip install --no-c... | tasks/rts_task_4199bc6a2b62ad0acc134b46 | 18 | 24 | 55,396 | data/tasks-00007.tar |
rts_task_35ea094c6be4a917c2d2043a | rts_group_8da19df22df07d1bfdb04fa4 | f101fbba37d96b96a068424ff2778a002fb06abcc3b20acecf94094526db1a5b | passed | Repair the broken run.sh script so that it completes the full workflow.
Start by examining /app/audit_spec.md, /app/provenance_spec.md, and /app/reconciliation_spec.md to understand the expected output formats and permission requirements.
The script must source config/env.conf and respect /app/exclusions.conf (which li... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["node.js", "npm", "javascript", "extra-entries", "functional-programming"]
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_se... | #!/bin/bash
set -e
NEEDS_FIX=0
# Check if run.sh exists and contains required patterns
if [ ! -f run.sh ]; then
NEEDS_FIX=1
else
# Check sourcing config
if ! grep -qE '(source|\.)\s+config/env\.conf' run.sh; then
NEEDS_FIX=1
fi
# Check THRESHOLD variable usage
if ! grep -qE '\$\{?THRES... | FROM node:18
# Set working directory where solve.sh writes /app/result.txt
WORKDIR /app
# Provide the environment configuration (includes threshold for some operation)
RUN mkdir -p config && printf 'RESULT_DIR=/app\nTHRESHOLD=10\n' > config/env.conf
# Initialize a minimal npm project and install a local extra-entrie... | tasks/rts_task_35ea094c6be4a917c2d2043a | 12 | 16 | 43,606 | data/tasks-00007.tar |
rts_task_657001771cb7bdbf82b032ed | rts_group_ebc1df83e02beff682b190bf | 1ab4443b0c3f7b8e36e38caca8af6e3b1d4e851155df1f275e3f98aa9bd0a3d1 | passed | In /app, compile helloWorld.ldpl with ldpl, make the resulting binary executable, and run it.
Follow docs/spec.md to validate the setup, diagnose and correct any configuration inconsistencies (including version alignment with the installed LDPL compiler), back up the original version configuration to /app/config/versio... | version = "1.0"
[metadata]
difficulty = "easy"
category = "software-development"
tags = ["ldpl", "compilation", "programming-language", "esoteric-language"]
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_sec = 600... | #!/bin/bash
set -euo pipefail
cd /app
# --- Snapshot initial filesystem for extraneous file check ---
INITIAL_SNAPSHOT=$(mktemp /app/.initial_snapshot.XXXXXX)
find /app -type f | sort > "$INITIAL_SNAPSHOT"
# --- Config loading ---
CONFIG="/app/config/config.ini"
if [ ! -f "$CONFIG" ]; then
echo "ERROR: Config fi... | FROM ubuntu:22.04
# Avoid interactive prompts during apt installs
ENV DEBIAN_FRONTEND=noninteractive
# Install build tools needed by the LDPL compiler
RUN apt-get update && \
apt-get install -y g++ git make curl ca-certificates && \
rm -rf /var/lib/apt/lists/*
# Install LDPL 4.4 compiler from the official pr... | tasks/rts_task_657001771cb7bdbf82b032ed | 14 | 18 | 48,801 | data/tasks-00007.tar |
rts_task_2a0543d14eead1468c4b0b2b | rts_group_c6daf4b6115fb2e16ebd072a | 3585059fc330fd0c897e0d8ea14e53bdba4e28bee1777cd6fef6cff00a2a0f1f | passed | In /app, start server.py on localhost:8000.
Fetch file1 to /tmp/file1_raw.txt and file2 to /app/file2.txt.
Inspect the raw file1 for an embedded guideline comment (e.g., '# key_regex: ^key[0-9]+') and update the key regex in data_rules.txt to the pattern you extract.
Clean file1 using the updated rules, producing /app/... | version = "1.0"
[metadata]
difficulty = "easy"
category = "scripting-automation"
tags = ["join", "sort", "shell", "text-processing", "coreutils"]
expert_time_estimate_min = 2.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
continue_until_timeout = true
timeout_sec = 900.0
[environment]
buil... | #!/bin/bash
set -euo pipefail
command -v curl >/dev/null 2>&1 || { apt-get update && apt-get install -y curl; }
# Add /health and /status endpoints to server.py if not present
for endpoint in health status; do
if ! grep -q "path == \"/$endpoint\"" /app/server.py; then
ed /app/server.py << 'EDSCRIPT'
/^ ... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install ed (line editor) and python3 for the data server
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ed \
python3 \
&& rm -rf /var/lib/apt/lists/*
# Create the working directory
RUN mkdir -p /app
# Provide the lo... | tasks/rts_task_2a0543d14eead1468c4b0b2b | 12 | 16 | 43,353 | data/tasks-00007.tar |
rts_task_d229972d3da66f8295d36786 | rts_group_458f063b4c347c5ee6e6d281 | 425afc4c13efc856dd937f157ac9f7648786b52eb4a7cc1cb0b7eaa699a861a2 | passed | Install Terraform and Vault from the archive at /opt/provided/binaries.tar.gz by verifying its overall checksum, placing the binaries according to the version requirements located under /opt.
After extraction, confirm that the binaries' SHA-256 hashes match those listed in /opt/binary-manifest.sha256, and record the re... | version = "1.0"
[metadata]
difficulty = "medium"
category = "environment-setup"
tags = ["terraform", "vault", "hashicorp", "binary-installation", "system-administration"]
expert_time_estimate_min = 3.0
junior_time_estimate_min = 10.0
[verifier]
timeout_sec = 900.0
[agent]
timeout_sec = 900.0
[environment]
build_tim... | #!/bin/bash
set -euo pipefail
### ====================================================================
### STAGE 1: INSPECT
### ====================================================================
CONFIG="/opt/requirements/versions.json"
if [ ! -f "$CONFIG" ]; then echo "ERROR: $CONFIG not found" >&2; exit 1; fi
TERR... | FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install tools required by solve.sh: wget (download binaries), unzip (extract zips),
# python3 (parse version requirements JSON), curl (optional)
RUN apt-get update && apt-get install -y \
wget \
unzip \
curl \
bash \
python... | tasks/rts_task_d229972d3da66f8295d36786 | 13 | 17 | 50,383 | data/tasks-00007.tar |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.