# SWE-Hero-openhands-trajectories

- **ID:** 378
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/nvidia/SWE-Hero-openhands-trajectories
- **Authors:** nvidia
- **Venue:** nvidia
- **Published:** 2026
- **Source:** huggingface
- **Access:** free
- **License:** cc-by-4.0
- **License family:** Permissive (auto-classified)
- **Topics:** Code
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/378

## Summary

SWE-Hero Trajectories is an agentic instruction tuning dataset designed to advance the capabilities of LLMs in software engineering. This dataset comprises 34k agent

## Attributes

- **Scale:** 10K<n<100K
- **Used for:** arXiv: 2604.01496
- **Time period:** created 2026-04-17; updated 2026-05-08
- **Author type:** mixed

## From the source (fetched 2026-10-03)

- **Repository:** nvidia/SWE-Hero-openhands-trajectories (Hugging Face)
- **Created:** Apr 17, 2026 (Hugging Face)
- **Last updated:** May 8, 2026 (Hugging Face)
- **Downloads (last month):** 2,186 (Hugging Face)
- **Likes:** 28 (Hugging Face)
- **Size:** 10K to 100K rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** Card: 11,766 issues / 34,269 trajectories; size_categories 10K<n<100K. Hub datasets-server numRows 34,269. Paper text: ~13k / 13.2k SWE-Hero trajectories (one rollout per containerized task) — conflict with the public HF dump, which is ~2.6× larger; catalog the Hub/card 34,269 as the downloadable set and treat 13k as the paper training subset. 14 parquet shards ~140.9–245.8 MB; listed LFS sum ~2.40 GB. tools.json 10.7 KB (4 tools). Hub 1,530 downloads / 22 likes at check. gated=false.
- **Format:** parquet (data/train-00000-of-00014.parquet … 00013). Columns: instance_id, repo, license, trajectory_id, trajectory (list of {content, role, tool_calls}), model_patch (unified diff), dataset. Companion tools.json: execute_bash, think, finish, str_replace_editor.
- **Type:** Annotated agent trajectory corpus / execution-based SWE SFT
- **License:** CC BY 4.0 (card). Upstream per-repo SPDX in `license` (MIT / Apache-2.0 / BSD-2-Clause / BSD-3-Clause only). OpenHands and teacher-model terms still apply.
- **Cost:** Free
- **Languages:** Card has no language: tag. Issue statements and OpenHands messages are English; code is Python-heavy (paper: trained exclusively on Python; multilingual SWE-bench is zero-shot transfer). No LID table.
- **Modality:** Text-only (chat + tool I/O + diffs). No screenshots.
- **Domain:** software-engineering agents; SWE-bench-style bugfix trajectories; OpenHands tool-use; execution-based SFT; Python repositories
- **Time period:** Paper published 2026-04-02 (arXiv 2604.01496). HF lastModified 2026-05-08T17:10:16Z. Discord posted 2026-05-15 and 2026-05-21. Teacher Qwen3-Coder-480B-A35B-Instruct (2025–2026). Issue/PR snapshots from SWE-Gym, R2E-Gym-Subset, SWE-rebench (not a live Git crawl). Git history after each task base commit stripped to block git-hacking.
- **Purpose:** Execution-backed Stage-2 SFT after SWE-Zero: distill OpenHands trajectories that can run tests in containerized repos, for SWE-bench-style agents
- **Used for:** SWE-Hero-7B/14B/32B (paper: SWE-bench Verified 52.7 / 60.8 / 62.2 after SWE-Zero then SWE-Hero SFT; SWE-bench Multilingual 44.1 zero-shot despite Python-only train). Hub 1,530 downloads / 22 likes at check. Sibling nvidia/SWE-Zero-openhands-trajectories is the 318k execution-free dump (Hub numRows 318,115; gated=false) — not this row.
- **Authors:** NVIDIA (Ludwig, Ahmad, Majumdar, Ginsburg). Human GitHub issue/PR authors on permissively licensed repos (MIT / Apache-2.0 / BSD-2-Clause / BSD-3-Clause only). Trajectories synthesized by Qwen3-Coder-480B-A35B-Instruct in OpenHands. Card: some issue statements themselves were rewritten with R2E-Gym prompts + Qwen3-Coder-480B.
- **Bias:** Python SWE-Gym / R2E-Gym-Subset / SWE-rebench issues with permissive licenses, not general GitHub. OpenHands + Qwen3-Coder-480B teacher style. Card keeps unresolved traces (paper: SWE-Hero set is not filtered on resolve success). Issue text may be LLM-rewritten. Distinct from already-cataloged Open-SWE-Traces, Orchard (MiniMax-M2.5/Qwen3.5, mini-swe-agent/OpenHands), AgentTrove, TaskTrove.
- **Text quality:** Execution-based OpenHands rollouts with bash / editor / think / finish tools. Paper filters: drop max-step, null-patch, test-file edits, malformed tool calls. Residual: teacher loops, container brittleness, LLM-rewritten issues. Not independently re-executed here. Paper SWE-Zero counterpart is execution-free and 40% shorter; this dump is the grounded set.
- **Sample size:** Single default train 34,269 trajectories over 11,766 issues (card). No official val/test. `dataset` column tags SWE-Gym / R2E-Gym-Subset / SWE-rebench; per-source counts Unknown without aggregating parquet. Paper 13.2k is not the Hub row count. Sibling SWE-Zero: Hub 318,115 rows / paper 300k over 150k tasks.
- **Long context:** Yes (paper: SWE-Hero trajectories typically 20–60 turns vs SWE-Zero 10–30; SFT used YaRN 32k→128k). Exact token histogram Unknown without parquet inspect.
- **Intermediate steps:** Yes (aggregate SWE-Gym/R2E-Gym/SWE-rebench; verify Docker by running gold patches; OpenHands rollouts with Qwen3-Coder-480B; strip post-base-commit git state; filter null/max-step/test-file/tool-call failures). SWE-Zero sibling uses a generic sandbox with no repo-specific execution.
- **Idea quality:** High
- **Novelty:** High (public NVIDIA execution-based SWE trajectory dump pairing with a 318k execution-free SWE-Zero sibling)
- **Text conversion:** Ready parquet; load_dataset('nvidia/SWE-Hero-openhands-trajectories'). ~2.40 GB. json.loads on tool_calls.arguments as needed.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2026-05-08; one-shot release of distilled traces)
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/nvidia/SWE-Hero-openhands-trajectories
- Related: https://arxiv.org/abs/2604.01496
- Related: https://huggingface.co/datasets/nvidia/SWE-Hero-openhands-trajectories
- Related: https://huggingface.co/datasets/nvidia/SWE-Zero-openhands-trajectories
- Related: https://github.com/OpenHands/OpenHands
- Related: https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct
- Related: https://huggingface.co/datasets/SWE-Gym/SWE-Gym
- Related: https://huggingface.co/datasets/R2E-Gym/R2E-Gym-Subset
- Related: https://huggingface.co/datasets/nebius/SWE-rebench

## Research notes

- downloads=1848; likes=19
- Discord posted this HF pointer (messages 1504679772196700360, 1506838209605271612). gated=false; public; CuratorBote listed 14 parquet shards + tools.json. Paper vs card scale disagree (13k vs 34,269) — do not treat the paper 13k as the downloadable n. Companion nvidia/SWE-Zero-openhands-trajectories is public (318k) and was not added in this batch. Distinct from already-cataloged Open-SWE-Traces / Orchard / AgentTrove. Substituted ahead of gated SII-GAIR-NLP/davinci-llm-data and multimodal MINT-1T-HTML. Cite Ludwig et al. 2026 arXiv 2604.01496. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export.

## Related entries

- Related: [SWE-Zero OpenHands Trajectories](https://papers.projxon.ai/entries/1154) (dataset, #1154)

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results](https://papers.projxon.ai/entries/830) (benchmark, #830)
- [BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?](https://papers.projxon.ai/entries/777) (paper, #777)
- [nanoswe: Speedrunning SWE-bench — a 2.8B agent trained from scratch for ~$1,000 reaches 25.5% on SWE-bench Verified](https://papers.projxon.ai/entries/1354) (paper, #1354)
- [SWE-1.7: Frontier Intelligence at a Fraction of the Cost](https://papers.projxon.ai/entries/1094) (post, #1094)
- [Cross-Benchmark Transfer from RL on Agentic Coding Tasks](https://papers.projxon.ai/entries/1245) (paper, #1245)
