Datasets:
query_id stringlengths 11 44 | positive_set_id stringlengths 11 44 | query_text stringlengths 32 4.85k | query_source stringclasses 3
values | source_task_id stringclasses 42
values | seed_skill_ids listlengths 0 7 | benchmark stringclasses 2
values | split stringclasses 1
value | positive_skill_id stringclasses 147
values | positive_skill_text stringclasses 147
values | positive_tier stringclasses 3
values | positive_weight float64 0.19 1 | judge_relevance_score float64 3 5 ⌀ | calibrated_soft_reward float64 0.31 1 ⌀ | negatives listlengths 7 7 | n_negatives int64 7 7 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d-scan-calc | 3d-scan-calc | You need to calculate the mass of a 3D printed part. The input (`/root/scan_data.stl`) is a binary STL, but the 2-byte "Attribute Byte Count" at the end of each triangle record is being used to store the **Material ID** of the object.
You need to:
1. Parse the binary STL and identify the **largest connected component*... | real_task | 3d-scan-calc | [] | skillsbench | train | mesh-analysis | Skill: benchflow-ai--mesh-analysis
Description: Analyzes 3D mesh files (STL) to calculate geometric properties (volume, components) and extract attribute data. Use this skill to process noisy 3D scan data and filter debris.
Snippet: # Mesh Analysis This skill provides the `MeshAnalyzer` tool for robustly processing 3D ... | A | 1 | null | 1 | [
{
"difficulty": "easy",
"skill_id": "estimate-transaction-fee",
"skill_text": "Skill: estimate-transaction-fee\nDescription: This skill should be used when the user asks to \"estimate transaction fee\", \"calculate BSV fee\", \"fee per byte\", \"transaction cost\", or needs to estimate fees based on tra... | 7 |
adaptive-cruise-control | adaptive-cruise-control | You need to implement an Adaptive Cruise Control (ACC) simulation that maintains the set speed (30m/s) when no vehicles are detected ahead, and automatically adjusts speed to maintain a safe following distance when a vehicle is detected ahead. The targets are: speed rise time <10s, speed overshoot <5%, speed steady-sta... | real_task | adaptive-cruise-control | [] | skillsbench | train | control-systems | Skill: control-systems
Description: Patterns for feedback control systems including PID tuning, state-space control, Model Predictive Control (MPC), trajectory tracking, and stability analysis. Covers both classical and modern control approaches for robotics and automation. Use when ", " mentioned.
Snippet: # Control S... | A | 1 | null | 0.95 | [
{
"difficulty": "hard",
"skill_id": "simulation",
"skill_text": "Skill: simulation\nDescription: Abstract base for runtime state — adventure, city-sim, ecosystem all inherit from this\nSnippet: # Simulation Skill **Abstract base** for runtime state management. Concrete simulations (adventure, city-sim, ... | 7 |
adaptive-cruise-control | adaptive-cruise-control | You need to implement an Adaptive Cruise Control (ACC) simulation that maintains the set speed (30m/s) when no vehicles are detected ahead, and automatically adjusts speed to maintain a safe following distance when a vehicle is detected ahead. The targets are: speed rise time <10s, speed overshoot <5%, speed steady-sta... | real_task | adaptive-cruise-control | [] | skillsbench | train | csv-processing | Skill: benchflow-ai--csv-processing
Description: Use this skill when reading sensor data from CSV files, writing simulation results to CSV, processing time-series data with pandas, or handling missing values in datasets.
Snippet: # CSV Processing with Pandas ## Reading CSV ```python import pandas as pd df = pd.read_csv... | B | 0.7 | null | 0.895833 | [
{
"difficulty": "hard",
"skill_id": "godot-genre-racing",
"skill_text": "Skill: godot-genre-racing\nDescription: Expert blueprint for racing games including vehicle physics (VehicleBody3D, suspension, friction), checkpoint systems (prevent shortcuts), rubber-banding AI (keep races competitive), drifting... | 7 |
adaptive-cruise-control | adaptive-cruise-control | You need to implement an Adaptive Cruise Control (ACC) simulation that maintains the set speed (30m/s) when no vehicles are detected ahead, and automatically adjusts speed to maintain a safe following distance when a vehicle is detected ahead. The targets are: speed rise time <10s, speed overshoot <5%, speed steady-sta... | real_task | adaptive-cruise-control | [] | skillsbench | train | pid-controller | Skill: benchflow-ai--pid-controller
Description: Use this skill when implementing PID control loops for adaptive cruise control, vehicle speed regulation, throttle/brake management, or any feedback control system requiring proportional-integral-derivative control.
Snippet: # PID Controller Implementation ## Overview A ... | A | 1 | null | 0.923077 | [
{
"difficulty": "hard",
"skill_id": "simulation",
"skill_text": "Skill: simulation\nDescription: Abstract base for runtime state — adventure, city-sim, ecosystem all inherit from this\nSnippet: # Simulation Skill **Abstract base** for runtime state management. Concrete simulations (adventure, city-sim, ... | 7 |
adaptive-cruise-control | adaptive-cruise-control | You need to implement an Adaptive Cruise Control (ACC) simulation that maintains the set speed (30m/s) when no vehicles are detected ahead, and automatically adjusts speed to maintain a safe following distance when a vehicle is detected ahead. The targets are: speed rise time <10s, speed overshoot <5%, speed steady-sta... | real_task | adaptive-cruise-control | [] | skillsbench | train | simulation-metrics | Skill: benchflow-ai--simulation-metrics
Description: Use this skill when calculating control system performance metrics such as rise time, overshoot percentage, steady-state error, or settling time for evaluating simulation results.
Snippet: # Control System Performance Metrics ## Rise Time Time for system to go from 1... | A | 1 | null | 0.923077 | [
{
"difficulty": "hard",
"skill_id": "failsafe-chassis-activation",
"skill_text": "Skill: starwreckntx--failsafe-chassis-activation\nDescription: Activate emergency failsafe chassis when primary systems fail.\nSnippet: ## Instructions 1. Initialize failsafe-chassis-activation operational context 2. Execu... | 7 |
adaptive-cruise-control | adaptive-cruise-control | You need to implement an Adaptive Cruise Control (ACC) simulation that maintains the set speed (30m/s) when no vehicles are detected ahead, and automatically adjusts speed to maintain a safe following distance when a vehicle is detected ahead. The targets are: speed rise time <10s, speed overshoot <5%, speed steady-sta... | real_task | adaptive-cruise-control | [] | skillsbench | train | vehicle-dynamics | Skill: benchflow-ai--vehicle-dynamics
Description: Use this skill when simulating vehicle motion, calculating safe following distances, time-to-collision, speed/position updates, or implementing vehicle state machines for cruise control modes.
Snippet: # Vehicle Dynamics Simulation ## Basic Kinematic Model For vehicle ... | A | 1 | null | 0.923077 | [
{
"difficulty": "hard",
"skill_id": "safety-critical-patterns",
"skill_text": "Skill: safety-critical-patterns\nDescription: Guidelines from the NASA Power of 10 rules for writing robust, verifiable code. Adapted for general software development with context-appropriate rigor. Use when writing critical ... | 7 |
adaptive-cruise-control | adaptive-cruise-control | You need to implement an Adaptive Cruise Control (ACC) simulation that maintains the set speed (30m/s) when no vehicles are detected ahead, and automatically adjusts speed to maintain a safe following distance when a vehicle is detected ahead. The targets are: speed rise time <10s, speed overshoot <5%, speed steady-sta... | real_task | adaptive-cruise-control | [] | skillsbench | train | yaml-config | Skill: benchflow-ai--yaml-config
Description: Use this skill when reading or writing YAML configuration files, loading vehicle parameters, or handling config file parsing with proper error handling.
Snippet: # YAML Configuration Files ## Reading YAML Always use `safe_load` to prevent code execution vulnerabilities: ```... | B | 0.7 | null | 0.895833 | [
{
"difficulty": "hard",
"skill_id": "time-stepping",
"skill_text": "Skill: HeshamFS--time-stepping\nDescription: Plan and control time-step policies for simulations. Use when coupling CFL/physics limits with adaptive stepping, ramping initial transients, scheduling outputs/checkpoints, or planning resta... | 7 |
azure-bgp-oscillation-route-leak | azure-bgp-oscillation-route-leak | Detect BGP route oscillation and leaks in an Azure Virtual WAN network topology and evaluate which solutions can fix them.
Input explanations:
- route.json: the route advertised from vnet
- preferences.json: routing preferences between hubs
- local_pref.json: relationship type weight
Steps:
1. Load input files in `/a... | real_task | azure-bgp-oscillation-route-leak | [] | skillsbench | train | azure-bgp | Skill: benchflow-ai--azure-bgp
Description: Analyze and resolve BGP oscillation and BGP route leaks in Azure Virtual WAN–style hub-and-spoke topologies (and similar cloud-managed BGP environments). Detect preference cycles, identify valley-free violations, and propose allowed policy-level mitigations while rejecting pr... | B | 0.7 | null | 0.75 | [
{
"difficulty": "hard",
"skill_id": "a2a-role-auditor",
"skill_text": "Skill: a2a-role-auditor\nDescription: Role template auditor for tmux-a2a-postman multi-agent systems.\nAudits nodes/*.toml role definitions to fix node-to-node interaction breakdowns.\nUse when:\n- A node behaves unexpectedly (routes... | 7 |
court-form-filling | court-form-filling | Fill the California Small Claims Court form at `/root/sc100-blank.pdf` based on the case description below, and save the filled one to `/root/sc100-filled.pdf`. Only fill in the necessary fields and leave the court-filled, optional fields or fields not mentioned in the case description below empty. Use this date format... | real_task | court-form-filling | [] | skillsbench | train | document-generation-pdf | Skill: document-generation-pdf
Description: Generate, fill, and assemble PDF documents at scale. Handles legal forms, contracts, invoices, certificates. Supports form filling (pdf-lib), template rendering (Puppeteer, LaTeX), digital signatures (DocuSign), and document assembly. Use for legal tech, HR automation, invoic... | B | 0.7 | null | 0.866667 | [
{
"difficulty": "hard",
"skill_id": "negotiation-expert",
"skill_text": "Skill: reggiechan74--negotiation-expert\nDescription: Expert in commercial lease negotiation strategy using evidence-based persuasion techniques. Use when crafting responses to tenant objections, defending rent and lease terms, str... | 7 |
court-form-filling | court-form-filling | Fill the California Small Claims Court form at `/root/sc100-blank.pdf` based on the case description below, and save the filled one to `/root/sc100-filled.pdf`. Only fill in the necessary fields and leave the court-filled, optional fields or fields not mentioned in the case description below empty. Use this date format... | real_task | court-form-filling | [] | skillsbench | train | pdf-1 | Skill: benchflow-ai--pdf-1
Description: Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Snippet: # PDF Processing G... | A | 1 | null | 0.914286 | [
{
"difficulty": "hard",
"skill_id": "lease-arbitration-expert",
"skill_text": "Skill: reggiechan74--lease-arbitration-expert\nDescription: Expert in lease arbitration agreements that create binding dispute resolution when parties cannot agree on renewal rent or fair market value. Use when drafting renew... | 7 |
dapt-intrusion-detection | dapt-intrusion-detection | You’re given `packets.pcap` (subset of DAPT2020 traffic). Compute the stats and fill in only the `value` column in `/root/network_stats.csv`. Lines starting with `#` are comments—leave them.
Protocol counts
- `protocol_tcp`, `protocol_udp`, `protocol_icmp`, `protocol_arp`: packet counts by protocol
- `protocol_ip_tota... | real_task | dapt-intrusion-detection | [] | skillsbench | train | network-forensics | Skill: network-forensics
Description: Analyze network traffic captures and artifacts for forensic investigation. Use when
investigating data exfiltration, command and control communications, lateral movement,
or network-based attacks. Supports PCAP, PCAPNG, and NetFlow analysis.
Snippet: # Network Forensics Comprehensi... | B | 0.7 | null | 0.714286 | [
{
"difficulty": "hard",
"skill_id": "quic-channel-grading",
"skill_text": "Skill: plurigrid--quic-channel-grading\nDescription: QUIC channel quality grading with BBRv3 congestion control analysis.\nClassifies network paths into GF(3) tiers based on RTT, bandwidth, loss,\nand pacing efficiency. Integrate... | 7 |
dapt-intrusion-detection | dapt-intrusion-detection | You’re given `packets.pcap` (subset of DAPT2020 traffic). Compute the stats and fill in only the `value` column in `/root/network_stats.csv`. Lines starting with `#` are comments—leave them.
Protocol counts
- `protocol_tcp`, `protocol_udp`, `protocol_icmp`, `protocol_arp`: packet counts by protocol
- `protocol_ip_tota... | real_task | dapt-intrusion-detection | [] | skillsbench | train | pcap-analysis | Skill: benchflow-ai--pcap-analysis
Description: Guidance for analyzing network packet captures (PCAP files) and computing network statistics using Python, with tested utility functions.
Snippet: # PCAP Network Analysis Guide This skill provides guidance for analyzing network packet captures (PCAP files) and computing n... | A | 1 | null | 0.904762 | [
{
"difficulty": "hard",
"skill_id": "quic-channel-grading",
"skill_text": "Skill: plurigrid--quic-channel-grading\nDescription: QUIC channel quality grading with BBRv3 congestion control analysis.\nClassifies network paths into GF(3) tiers based on RTT, bandwidth, loss,\nand pacing efficiency. Integrate... | 7 |
dapt-intrusion-detection | dapt-intrusion-detection | You’re given `packets.pcap` (subset of DAPT2020 traffic). Compute the stats and fill in only the `value` column in `/root/network_stats.csv`. Lines starting with `#` are comments—leave them.
Protocol counts
- `protocol_tcp`, `protocol_udp`, `protocol_icmp`, `protocol_arp`: packet counts by protocol
- `protocol_ip_tota... | real_task | dapt-intrusion-detection | [] | skillsbench | train | pcap-triage-tshark | Skill: benchflow-ai--pcap-triage-tshark
Description: Fast workflow to inspect PCAPs and extract protocol-level details using tshark
Snippet: # PCAP Triage with tshark This skill shows a fast workflow to inspect PCAPs and extract protocol-level details. ## Quick filters List HTTP traffic: ```bash tshark -r file.pcap -Y ... | B | 0.7 | null | 0.714286 | [
{
"difficulty": "hard",
"skill_id": "dos",
"skill_text": "Skill: dos\nDescription: This skill should be used when the user asks to \"check for denial of service\", \"analyze availability risks\", \"find DoS vulnerabilities\", or mentions \"denial of service\" or \"DoS\" in a security context. Maps to ST... | 7 |
dapt-intrusion-detection | dapt-intrusion-detection | You’re given `packets.pcap` (subset of DAPT2020 traffic). Compute the stats and fill in only the `value` column in `/root/network_stats.csv`. Lines starting with `#` are comments—leave them.
Protocol counts
- `protocol_tcp`, `protocol_udp`, `protocol_icmp`, `protocol_arp`: packet counts by protocol
- `protocol_ip_tota... | real_task | dapt-intrusion-detection | [] | skillsbench | train | threat-detection | Skill: benchflow-ai--threat-detection
Description: Exact detection thresholds for identifying malicious network patterns including port scans, DoS attacks, and beaconing behavior.
Snippet: # Network Threat Detection Guide This skill provides **exact detection thresholds** for identifying malicious network patterns. Use... | A | 1 | null | 1 | [
{
"difficulty": "hard",
"skill_id": "traffic-analysis",
"skill_text": "Skill: traffic-analysis\nDescription: 流量分析与抓包\nSnippet: # 流量分析与抓包 ## 概述 tcpdump、Wireshark、流量分析与网络诊断技能。 ## tcpdump ### 基础用法 ```bash # 监听所有接口 tcpdump -i any # 指定接口 tcpdump -i eth0 # 详细输出 tcpdump -v tcpdump -vv tcpdump -vvv # 显示 ASCII t... | 7 |
dialogue-parser | dialogue-parser | You will implement a dialogue parser that converts a given text file into a structured JSON graph. You will be given a text file `/app/script.txt`, and output a validated JSON graph `/app/dialogue.json` and visualization `/app/dialogue.dot`. You should implement a function `def parse_script(text: str)` in your parser `... | real_task | dialogue-parser | [] | skillsbench | train | dialogue-graph | Skill: benchflow-ai--dialogue-graph
Description: A library for building, validating, visualizing, and serializing dialogue graphs. Use this when parsing scripts or creating branching narrative structures.
Snippet: # Dialogue Graph Skill This skill provides a `dialogue_graph` module to easily build valid dialogue trees/... | B | 0.7 | null | 0.888889 | [
{
"difficulty": "hard",
"skill_id": "skill-check",
"skill_text": "Skill: claude-world--skill-check\nDescription: Validate skill/command file format and structure\nSnippet: # Skill File Validator Validate skill files for correct format. --- ## Validation Target - With argument: validate specific file - W... | 7 |
earthquake-phase-association | earthquake-phase-association | You have some earthquake traces stored at `/root/data/wave.mseed`, and station information stored at `/root/data/stations.csv`.
Your task is seismic phase association i.e. grouping waveforms recorded at different measuring stations to identify earthquake events.
The waveform data is in standard MSEED format.
Each ro... | real_task | earthquake-phase-association | [] | skillsbench | train | gamma-phase-associator | Skill: benchflow-ai--gamma-phase-associator
Description: An overview of the python package for running the GaMMA earthquake phase association algorithm. The algorithm expects phase picks data and station data as input and produces (through unsupervised clustering) earthquake events with source information like earthqua... | A | 1 | null | 1 | [
{
"difficulty": "hard",
"skill_id": "csv-wave-pipeline",
"skill_text": "Skill: csv-wave-pipeline\nDescription: Requirement planning to wave-based CSV execution pipeline. Decomposes requirement into dependency-sorted CSV tasks, computes execution waves, runs wave-by-wave via spawn_agents_on_csv with cros... | 7 |
earthquake-phase-association | earthquake-phase-association | You have some earthquake traces stored at `/root/data/wave.mseed`, and station information stored at `/root/data/stations.csv`.
Your task is seismic phase association i.e. grouping waveforms recorded at different measuring stations to identify earthquake events.
The waveform data is in standard MSEED format.
Each ro... | real_task | earthquake-phase-association | [] | skillsbench | train | obspy-data-api | Skill: benchflow-ai--obspy-data-api
Description: An overview of the core data API of ObsPy, a Python framework for processing seismological data. It is useful for parsing common seismological file formats, or manipulating custom data into standard objects for downstream use cases such as ObsPy's signal processing routi... | A | 1 | null | 1 | [
{
"difficulty": "hard",
"skill_id": "kata-execute-phase",
"skill_text": "Skill: kata-execute-phase\nDescription: Execute all plans in a phase with wave-based parallelization, running phase execution, or completing phase work. Triggers include \"execute phase\", \"run phase\", \"execute plans\", \"run th... | 7 |
- Harbor Data Statistics
- Schema
- Harbor Data Preparation Scripts
- Install Dependencies
- Preprocess the Trial Data
- Build Training Pairs and Splits
- Contents
- Run Track B setting with your own finetuning approach
- Training Data for finetuning
- validation data
- Evaluation Data for Different Rings (Scenarios)
- Load and preprocess the data
- Requirements
- Validate The Release
- Run Conservative-Anchor Regularized Finetuning
- Outputs And Resuming
- Evaluation
- Useful Options
When Synthetic Data Hurts: On Catastrophic Forgetting in Skill Retrieval for LLM Agents
This Readme file serves as a guide for using the two datasets we presented in our paper: Harbor Trial dataset which consists of real task execution data and Track B dataset which contains synthetic data. Those datasets are intended to finetune your own skill retrieval solutions and recipes and serve as a common ground to compare new catastrophic forgetting mitigation methodologies with our proposed methods.
This Readme also has an example script to reproduce the conservative anchor regularization experiment described in the Table 3 of our paper. Researchers can use it as a base to deveoper new catastropic-forgetting mitigation methodologies.
Part 1: Harbor Trial Dataset Details
This section documents the usage of data/trials_data.parquet, the Harbor trials we used in our paper. It contains task execution tracjectories and results we collected for research comunity to train new skill routers or perform skill retrieval researches. We curated our harbor trials dataset by sampling tasks from skillsbench and terminalbench.
Harbor Data Statistics
The trial data file statistics are as follows. There are in total 1084 valid trials (which return valid outcomes without exception).
| Item | Result |
|---|---|
| Total Rows / columns | 1,423 / 29 |
| Total Rows with Soft Rewards | 1,116 |
| Benchmarks | 609 SkillsBench rows, 814 Terminal-Bench rows |
| Unique task names | 173 |
| Missing task or trial identifiers | 0 |
| Missing rewards | 208 |
| Missing soft rewards and test counts | 307 |
| Rows with exceptions | 339 |
Empty injected_skills lists |
562 |
Missing cost_usd |
1,423 |
To use this data, please keep in mind the following best practices:
soft_rewardis a derived metric, computed asn_tests_passed / n_tests_totalfromverifier/ctrf.json. It is in[0, 1]and is available only when a usable CTRF test list exists.soft_rewardis the preferred outcome signal to construct the finetuning data, usesoft_rewardrather thanreward. (unlesssoft_rewardis not available for certain rows. In that case, userewardas a surrogate.)- There are 79 tasks whose have the same task name in both
skillsbenchandterminalbenchdatasets. Always group or join bybenchmark_tasknameand use this combination as a unique instance, do not usetask_namealone.
Schema
The Parquet schema is:
| Column | Meaning |
|---|---|
task_name |
Task identifier. Not globally unique across benchmarks. |
trial_name |
Harbor trial identifier, normally containing __. |
trial_uri |
Trial URI; unique in this file. |
task_checksum |
Checksum of the task definition. |
benchmark |
skillsbench or terminalbench. |
agent_name |
Agent implementation name. |
model_name |
Solver model name. |
env_type |
Execution environment, such as docker or daytona. |
reward |
Harbor-recorded scalar, loaded from verifier_result.rewards.reward, top-level reward, or verifier/reward.txt; may be null, binary, or fractional. |
soft_reward |
Derived verifier coverage: n_tests_passed / n_tests_total; null when CTRF test results are unavailable or empty. |
n_tests_total |
Number of verifier tests observed. |
n_tests_passed |
Number of passed verifier tests. |
n_tests_failed |
Number of failed verifier tests, excluding skipped tests. |
failed_test_names |
Native Parquet list of failed or non-passed test names. |
exception_type |
Harbor or environment exception type, when present. |
exception_message |
Truncated exception text. |
started_at, finished_at |
ISO-8601 execution timestamps stored as strings. |
n_input_tokens, n_output_tokens, n_cache_tokens |
Token counts. |
cost_usd |
Cost field; null for every released row. |
trajectory_path |
Original trajectory path, not a portable bundled file. |
n_steps |
Number of trajectory steps. |
tool_call_counts |
JSON string containing a tool-name-to-count object. |
n_skill_invocations |
Number of Skill tool calls. |
skill_invocation_args |
JSON string containing a list of invocation arguments. |
injected_skills |
JSON string containing the skills placed in the task sandbox. |
source_root |
Original harvest source root; generally not portable. |
failed_test_names is a native list column. The other structured columns
listed as JSON strings must be decoded with json.loads before use.
Harbor Data Preparation Scripts
data/trials_data.parquetpreprocess_trials.pybuild_training_pairs.py
This set of scripts prepares the harbor trials dataset in the same format that our papers uses. Please run in the following steps.
Install Dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install pandas pyarrow
Preprocess the Trial Data
This step validates required columns decodes JSON columns, adds effective_reward, and marks clean/scored and
positive-candidate rows.
python preprocess_trials.py \
data/trials_data.parquet \
output/normalized_trials.parquet
The key columns added after the processing:
effective_reward:soft_rewardwhen present, otherwisereward.is_clean_scored: no exception and a non-null effective reward.is_positive_candidate: clean scored row with effective reward above 0.5.injected_skills_list,tool_call_counts_map, andskill_invocation_args_list: decoded structured values.benchmark_task_id: collision-safe benchmark/task identifier.
Build Training Pairs and Splits
python build_training_pairs.py \
output/normalized_trials.parquet \
output/training_pairs
This step removes exception rows and rows without injected skills, explodes
each injected skill into a task-skill observation, and averages repeated
observations by (benchmark, task_name, skill_id). It writes:
all_pairs.parquet: every aggregated task-skill pair.train_pairs.parquet: training partition.validation_pairs.parquet: validation partition.test_pairs.parquet: test partition.task_split.json: reproducible task-level split metadata.
The default split is 70% train, 15% validation, and 15% test for each
benchmark. All rows for a benchmark-qualified task remain in one partition.
Terminal-Bench tasks are test-only by default, preserving the OOD evaluation
nature. To opt into splitting Terminal-Bench across train, validation, and
test, pass --include-terminalbench-train.
The pair table contains:
mean_effective_reward: the training relevance signal after fallback.n_trials: number of clean trial observations for the pair.is_positive:mean_effective_reward > 0.5by default.label: integer form ofis_positive, suitable for a binary router loss.split:train,validation, ortest.
Change the threshold or split seed explicitly when running an experiment:
python build_training_pairs.py \
output/normalized_trials.parquet \
output/training_pairs \
--positive-threshold 0.5 \
--seed 42
Part 2: Track B Dataset used in our paper
This section of the guide describes the Track B dataset used in our paper. It contains the training, validation, and evaluation data used in the Ring 1 (in-distribution real test data), Ring 2 (in-distribution synthetic test data) and Ring 3 (OOD real test data) runs described in the paper.
The purpose of releasing this set data is to give researchers opportunities to design their own skill retriever and rerankers and explore their new mitigation methodologies for catastrophic forgetting phenomenon, and evaluate on the common benchmark to ground the performance of their work.
Contents
| File | Rows | Unique Task Queries | Purpose |
|---|---|---|---|
train.parquet |
13,271 | 5,874 | Track B training split |
val.parquet |
556 | 149 | Validation split and checkpoint-selection data |
eval_set.parquet |
78 | 21 | Ring 1 real in-distribution evaluation set |
synthetic_eval_set.parquet |
4,023 | 2,414 | Ring 2 held-out-skill synthetic evaluation set |
ood_eval_set.parquet |
15 | 10 | Ring 3 Terminal-Bench 2 OOD evaluation set |
positives.parquet |
255 | 68 | Tiered real positive task-skill pool |
negatives.parquet |
1,239 | 47 | Hard-negative pool |
track_b_quality_gates.json |
- | - | Aggregate quality-gate audit |
track_b_second_judge_audit.json |
- | - | Aggregate second-judge audit |
The two JSON files are supplementary audit metadata. They are not required by the training or evaluation scripts. They are included to document the dataset checks and known limitations, including reward-distribution drift, sparse skill coverage, and modest inter-judge agreement.
Run Track B setting with your own finetuning approach
To finetune and test your own skill retrieval/reranking system using our data, follow the below steps.
First, set TRACK_B_DATA to its local path for easy path references in future commands.
export TRACK_B_DATA="./data/trackB"
Python libs and environment setups
- Use Python 3.12 and install the repository dependencies from
requirements.txtorrequirements-linux.txt. - Ensure the base model
Qwen/Qwen3-Embedding-0.6BLink is available, since this is the baseline model to be compared with in our paper. It is recommended to be compared against your new skill retrival/reranking system as well.
Finetuning and Evaluation on synthetic test set
You can finetune using your methodology with the following settings described in our paper:
Training Data for finetuning
data/trackB/train.parquet
validation data
data/trackB/val.parquet
Evaluation Data for Different Rings (Scenarios)
- Ring 1:
eval_set.parquet, real in-distribution SkillsBench evaluation. - Ring 2:
synthetic_eval_set.parquet, held-out-skill synthetic evaluation. - Ring 3:
ood_eval_set.parquet, Terminal-Bench 2.0 out-of-distribution evaluation.
Load and preprocess the data
The scripts contains preprocessing codes to format the the data in the same way that our papaer used.
load_trackb.pyloads individual parquet files and validates the dataframe against the expected row counts and model-facing columns, to check data integrity.preprocess_trackb.pyvalidates the release and converts selected parquet splits to newline-delimited JSON (.jsonl). Training rows retain their nestednegativesrecords; evaluation rows retain their evaluation columns.
Run the following data processing commands:
python data/trackB/load_trackb.py \
--data-dir data/trackBdata
Print the same report as machine-readable JSON:
python data/trackB/load_trackb.py \
--data-dir data/trackBdata \
--json > trackb_validation.json
Convert all training and evaluation splits to a separate processed/ directory:
python data/trackB/preprocess_trackb.py \
--data-dir data/trackBdata \
--output-dir ./trackb_processed
Convert only selected splits (e.g. training fold on):
python data/trackB/preprocess_trackb.py \
--data-dir data/trackBdata \
--output-dir ./trackb_processed \
--split train.parquet
Once the data preprocessing is done, you can use the data in the output jsonl file to finetune your own skill retriever/reranker and evaluate its performance on this common dataset that we presented in our paper.
Part 3: Sample Script for Conservative-Anchor-based Finetuning
trackb_cons_anchor_example.py reproduces the conservative embedding-anchor rows of Table 3 from When Synthetic Data Hurts: On Catastrophic Forgetting in Skill Retrieval for LLM Agents.
It is intentionally limited to one forgetting-mitigation method: attention-only LoRA fine-tuning with an embedding-anchor loss (Cons. Anchor approach listed in Table 3 of our paper). It can run any combination of the paper's Track B data configurations:
| Config | Training data |
|---|---|
A |
Full mix: real positives, paraphrases, and skill-first synthetic rows |
B |
Full mix except skill-first synthetic rows |
C |
Skill-first synthetic rows only; 10% of its query IDs are held out for validation |
Requirements
Run commands from the repository root (skill_router). The script requires:
- Python with
torch,transformers,peft,numpy,pandas, andpyarrow. - CUDA is recommended for model fine-tuning.
- The released Track B files in
data/trackBdata. - The full skill retrieval corpus, which is not part of the parquet release:
skillusage/skills/skills_meta.jsonlskillusage/search_server/index/skills.db
- Access to the Hugging Face model
Qwen/Qwen3-Embedding-0.6B.
First create your own virtual environment and install the dependencies described in requirements.txt
uv venv --python 3.12
source .venv/bin/activate
uv pip install -r requirements.txt
Download the required metadata and pre-built retrieval index via the helper script:
python scripts/release/download_trackb_index.py
The downloader fetches only skills_meta.jsonl and the prebuilt index from the
Shiyu-Lab/Skill-Usage Hugging Face repo. Please make sure you have active internet connection to download from Hugging Face.
Validate The Release
Before training, verify that the expected parquet files, schemas, and locked row counts are present:
python scripts/release/trackb_cons_anchor_example.py --validate-only
A successful run ends with:
release_valid = True
Run Conservative-Anchor Regularized Finetuning
For example, run a single configuration (Config A):
python scripts/release/trackb_cons_anchor_example.py \
--data-dir data/trackBdata \
--out-dir output/trackb_cons_anchor \
--configs A
Run selected configurations only:
python scripts/release/trackb_cons_anchor_example.py \
--data-dir data/trackBdata \
--out-dir output/trackb_cons_anchor \
--configs A,C
The default recipe is the Table 3 conservative setting: LoRA rank 8, alpha 16, attention projections only, learning rate 5e-6, one epoch, and anchor regularization weight 0.1.
Outputs And Resuming
The output directory contains:
adapters/<config>/anchor/: LoRA checkpoints, checkpoint log, completion marker, and selected checkpoint.results.json: per-query evaluation metrics for each completed configuration.selections.json: selected checkpoint metadata.table3_comparison.json: reproduced Recall@10 values, paper values, deltas, and tolerance status.
The script skips a configuration that already has results for all three evaluation rings. Training checkpoints are also retained, so rerunning the same command reuses completed work.
Print the current result table without training:
python scripts/release/trackb_cons_anchor_example.py \
--out-dir output/trackb_cons_anchor \
--report-only
Evaluation
Each selected adapter is evaluated over the full retrieval corpus on three rings using Recall@10:
| Ring | File | Evaluation set |
|---|---|---|
| Ring 1 | eval_set.parquet |
SkillsBench real in-distribution tasks |
| Ring 2 | synthetic_eval_set.parquet |
Held-out-skill synthetic tasks |
| Ring 3 | ood_eval_set.parquet |
Terminal-Bench 2 real OOD tasks |
Small variations are expected because Ring 1 and Ring 3 contain only 21 and 10 queries, respectively.
Useful Options
--lambda FLOAT Anchor-loss coefficient; default: 0.1
--epochs INT Fine-tuning epochs; default: 1
--save-every INT Optimizer steps between checkpoints; default: 100
--lora-r INT Override LoRA rank; default: 8
--lora-alpha INT Override LoRA alpha; default: 16
--lr FLOAT Override learning rate; default: 5e-6
--seed INT Random seed; default: 42
--max-eval-queries INT Evaluation cap for smoke tests only
Use --max-eval-queries only for a smoke test. It changes the reported metrics and should not be used for a Table 3 comparison.
Credits and Citations
If you use this dataset or the accompanying resources, please cite our paper in the proceedings of EMNLP:
@inproceedings{murtaza2026synthetic,
title = {When Synthetic Data Hurts: On Catastrophic Forgetting in Skill Retrieval for LLM Agents},
author = {Syed Shariyar Murtaza, Yifan Nie, Utkarsh Soni, Eugene Wen and Arvid Frydenlund},
booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing},
year = {2026}
}
- Downloads last month
- 193