{"id":61097,"date":"2026-06-27T05:00:25","date_gmt":"2026-06-27T09:00:25","guid":{"rendered":"https:\/\/overcentral.com\/en\/?p=61097"},"modified":"2026-06-27T05:00:25","modified_gmt":"2026-06-27T09:00:25","slug":"nvidia-open-swe-traces-dataset-key-metrics","status":"publish","type":"post","link":"https:\/\/overcentral.com\/en\/nvidia-open-swe-traces-dataset-key-metrics\/","title":{"rendered":"NVIDIA Open-SWE-Traces Dataset Reveals Key Metrics for Supervised Fine-Tuning"},"content":{"rendered":"<p>Open-source software development is one of the most active and challenging domains for modern artificial intelligence, and the newly released <strong><a href=\"https:\/\/github.com\/nvidia\/Open-SWE-Traces\" target=\"_blank\" rel=\"noopener noreferrer\" data-iacss-external=\"1\">NVIDIA Open-SWE-Traces Dataset<\/a><\/strong> is providing researchers with a much-needed lens into how large language models (LLMs) actually behave when tasked with real-world code fixes. The dataset, built from thousands of agent trajectories recorded during supervised fine-tuning on the <a href=\"https:\/\/swe-bench.github.io\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-iacss-external=\"1\">SWE-bench benchmark<\/a>, offers concrete, quantitative insights into the structure, tool usage, and content of successful and unsuccessful software engineering attempts by frontier models. For anyone working on agentic AI or automated code repair, the key metrics revealed in this dataset are reshaping what we know about effective training data for supervised fine-tuning.<\/p>\n<h2>What the NVIDIA Open-SWE-Traces Dataset Actually Captures<\/h2>\n<p>At its core, the dataset is a structured collection of trajectories \u2014 the complete sequence of messages, tool calls, and intermediate outputs an <a href=\"https:\/\/overcentral.com\/en\/ai-agent-protocols-transport-problem\/\" title=\"AI Agent Protocols Solve Tool Calling and Coordination, Transport Unsolved\" data-iacss-internal=\"1\">AI agent<\/a> generates while trying to resolve a <a href=\"https:\/\/overcentral.com\/en\/vs-code-zero-day-steals-github-tokens-with-one-click\/\" title=\"VS Code zero-day steals GitHub tokens with one click\" data-iacss-internal=\"1\">GitHub<\/a> issue. Each entry in the dataset goes far beyond a simple pass\/fail label. Instead, the analysis pipeline shown in the dataset\u2019s preprocessing code transforms raw agent logs into a rich, multi-dimensional dataframe. This allows researchers to examine not just the outcome of a software engineering task, but <em>how<\/em> the agent arrived there. The dataset includes fields for the repository name, the programming language, the license type, the agent and model used, the number and role of each message in the conversation (system, user, assistant, tool), and detailed patch statistics such as the number of files modified, lines added, lines deleted, and the total patch churn. It also tracks the total token length of the trajectory and enumerates the specific tools the agent invoked along the way.<\/p>\n<h2>Key Metrics That Matter for Supervised Fine-Tuning<\/h2>\n<p>The summary statistics generated from the dataset highlight several patterns that are directly actionable for supervised fine-tuning (SFT). By analyzing the numeric summary of the dataframe \u2014 which includes columns like <code>n_messages<\/code>codecodecodecodecode, <code>n_assistant<\/code>codecodecodecodecode, <code>n_tool<\/code>codecodecodecodecode, <code>patch_files<\/code>codecodecodecodecode, <code>patch_churn<\/code>codecodecodecodecode, and <code>traj_tokens<\/code>codecodecodecodecode \u2014 researchers can identify the distribution of trajectory lengths and code change magnitudes that characterize successful outcomes. For example, the dataset reveals the average number of tool calls per trajectory and the typical token count of a complete agent run. These metrics provide concrete targets for curating or filtering training data. If the majority of resolved issues in the dataset cluster around a specific range of token counts and message sequences, fine-tuning efforts can be directed toward trajectories that fall within those successful distributions, while likely avoiding outlier patterns that correlate with failure.<\/p>\n<p>The <code>is_resolved<\/code>codecodecodecodecode and <code>known_label<\/code>codecodecodecodecode fields are similarly critical. By filtering on <code>is_resolved<\/code>codecodecodecodecode, practitioners can create a labeled subset of trajectories that have been validated against ground-truth test patches. This allows for contrastive training approaches, where the model learns not only to generate any patch but to generate patches that closely resemble the structure and scope of confirmed fixes. The presence of tool names in the <code>_tools<\/code>codecodecodecodecode field also enables analysis of which instrument calls \u2014 such as file editing, code search, or shell execution \u2014 are most predictive of a successful resolution. Supervised fine-tuning that emphasizes trajectories with a balanced, effective tool-use pattern can improve an agent&#8217;s ability to self-correct and navigate complex codebases.<\/p>\n<h2>How This Dataset Improves on Raw Trajectory Collections<\/h2>\n<p>Previous efforts to release agent trajectory data often provided raw log files or simple JSON dumps that required significant preprocessing before they could be used for training. The NVIDIA Open-SWE-Traces dataset, by contrast, includes a clearly defined normalization and feature extraction pipeline. The <code>normalize_trajectory<\/code>codecodecodecodecode, <code>role_counts<\/code>codecodecodecodecode, <code>parse_patch<\/code>codecodecodecodecode, and <code>normalize_metadata<\/code>codecodecodecodecode functions shown in the dataset\u2019s analysis code represent a standardized approach to converting unstructured agent interactions into tabular data. This is not merely a convenience \u2014 it is a methodological advance. By enforcing a consistent schema for message roles, patch structure, and metadata extraction, the dataset ensures that any model trained on this data starts from a clean, reproducible baseline. This reduces the risk of training artifacts caused by inconsistent data formatting, which is a known pitfall in SFT for code generation models.<\/p>\n<h2>Practical Implications for Developers and Researchers<\/h2>\n<h3>What is the main use case for the NVIDIA Open-SWE-Traces dataset?<\/h3>\n<p>The dataset is designed for researchers and engineers who are fine-tuning LLMs to act as autonomous software engineering agents. It provides structured, labeled trajectories from the SWE-bench evaluation that can be used directly for supervised fine-tuning, model evaluation, and trajectory analysis. The inclusion of resolved\/unresolved labels and detailed tool usage logs makes it particularly suited for training models that need to reason about real-world code repositories.<\/h3>\n<p>For those building agentic coding tools, the dataset\u2019s metrics can directly inform hyperparameter choices during training. For instance, if the analysis shows that successful trajectories average around 2,500 tokens and frequently invoke a file editing tool three to four times, a fine-tuning pipeline can be designed to penalize overly lengthy or tool-sparse completions. Similarly, understanding the distribution of patch_churn \u2014 the sum of added and deleted lines \u2014 helps define what a reasonable fix looks like. Models that consistently produce patches with churn values far outside the typical range may be overgenerating or undergenerating code, both of which are undesirable for automated software engineering.<\/p>\n<h2>Broader Context: Why Trajectory Quality Outweighs Quantity<\/h2>\n<p>The release of this dataset comes at a time when the AI community is increasingly recognizing that raw data volume is not a substitute for data quality. In the domain of software engineering, a model trained on thousands of low-quality, unresolved agent runs is unlikely to develop robust repair capabilities. The Open-SWE-Traces dataset enables practitioners to filter by <code>known_label<\/code>codecodecodecodecode and <code>is_resolved<\/code>codecodecodecodecode to focus exclusively on verified, successful trajectories. This ability to curate a high-signal subset of training data can dramatically improve the efficiency of fine-tuning, especially when compute budgets are constrained. It also supports more rigorous ablation studies, allowing researchers to test whether certain types of trajectories \u2014 for example, those that involve many tool calls or large patches \u2014 are inherently harder for models to learn from.<\/p>\n<h2>What This Means for Supervised Fine-Tuning Strategy<\/h2>\n<p>For teams currently developing or fine-tuning <a href=\"https:\/\/overcentral.com\/en\/agentjacking-ai-coding-agent-attack\/\" title=\"Agentjacking Tricks AI Coding Agents Into Running Malicious Code\" data-iacss-internal=\"1\">AI coding agents<\/a>, the dataset provides a blueprint for evaluating their own training data. The same feature extraction and analysis logic shown in the dataset\u2019s preprocessing code can be adapted to any collection of agent trajectories. If a team is planning to use supervised fine-tuning to improve an open-source or proprietary model, the recommended approach is to first run their own trajectory data through a similar pipeline. Comparing the summary statistics of their data against those revealed in the Open-SWE-Traces dataset can quickly surface discrepancies. If a team\u2019s trajectories are significantly shorter or longer in token count, or if their patch churn distribution is markedly different, this may indicate that their model is operating on a different class of problem or that the training data is not representative of the SWE-bench evaluation that many production systems are measured against.<\/p>\n<h2>Who Should Try This Now<\/h2>\n<p>Researchers and engineers actively working on supervised fine-tuning of LLMs for code generation should download the Open-SWE-Traces dataset and run the provided analysis scripts on their own trajectory collections. Comparing the structural metrics of your internal training data \u2014 message counts, tool call frequencies, patch churn, and trajectory token lengths \u2014 against the published distributions from the dataset is the fastest way to identify gaps in your curation pipeline. Start by running the <code>process_example<\/code>codecodecodecodecode function on your agent logs and examining the <code>n_messages<\/code>codecodecodecodecode, <code>n_tool<\/code>codecodecodecodecode, and <code>patch_churn<\/code>codecodecodecodecode columns. If your resolved trajectories deviate significantly from the dataset\u2019s reported averages, consider adjusting your fine-tuning data filtering criteria or revisiting the tool-use prompts in your agent system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open-source software development is one of the most active and challenging domains for modern artificial intelligence, and the newly released NVIDIA Open-SWE-Traces Dataset is providing researchers with a much-needed lens into how large language models (LLMs) actually behave when tasked with real-world code fixes. The dataset, built from thousands of agent trajectories recorded during supervised [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":84338,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/cards.overcentral.com\/cards\/en\/61097.png","fifu_image_alt":"NVIDIA Open-SWE-Traces Dataset Reveals Key Metrics for Supervised Fine-Tuning","footnotes":""},"categories":[349],"tags":[],"class_list":["post-61097","post","type-post","status-publish","format-standard","has-post-thumbnail","category-articles"],"fifu_image_url":"https:\/\/cards.overcentral.com\/cards\/en\/61097.png","fifu_image_alt":"NVIDIA Open-SWE-Traces Dataset Reveals Key Metrics for Supervised Fine-Tuning","_links":{"self":[{"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/posts\/61097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/comments?post=61097"}],"version-history":[{"count":0,"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/posts\/61097\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/media\/84338"}],"wp:attachment":[{"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/media?parent=61097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/categories?post=61097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/overcentral.com\/en\/wp-json\/wp\/v2\/tags?post=61097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}