Dataset Viewer
Auto-converted to Parquet Duplicate
source
stringclasses
7 values
messages
listlengths
3
115
verified_ast_bugfix
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
multilang_oss
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
verified_ast_bugfix
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
codeforces_py
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
codeforces_cpp
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
codeforces_py
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
opencode_pass100
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
codeforces_py
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
multilang_oss
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
opencode_pass100
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
swe_smith_unified
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
swe_rebench_long_horizon
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
multilang_oss
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
codeforces_py
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
swe_smith_unified
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
multilang_oss
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
opencode_pass100
[ { "role": "system", "content": "You are a fast, accurate local coding agent running on a developer's machine.\n\nRules:\n1. For simple conceptual questions, explanations, or syntax lookups that do not require inspecting files or running commands, answer directly and concisely WITHOUT calling any tools.\n2. ...
End of preview. Expand in Data Studio

m4-coding-agent-v2-dataset

Training and verification dataset built for netm8/qwen3-8b-m4-agent-v2, an 8B local coding agent based on Qwen/Qwen3-8B.

What's in the dataset

The dataset has 30,475 rows organized into three configs matching the three training stages:

Config Rows Purpose
default 23,475 train / 500 val Multi-turn coding trajectories and multi-language coding examples normalized into a single five-tool schema (read_file, edit_file, grep_search, list_files, run_command).
opd_prompts 4,000 Diverse coding prompts used for Stage 2 on-policy distillation from Qwen3-Coder-30B-A3B-Instruct.
rlvr 2,500 Executable verification tasks: 1,500 decontaminated competitive programming problems (stdin/stdout test cases) and 1,000 Python AST bug-mutation edit_file tasks where each bug was verified to fail tests before the fix and pass after. The final 100 bug-fix tasks were held out strictly for evaluation.

Key data engineering steps

  • Unified 5-tool schema: Multi-turn trajectories from different agent harnesses (such as SWE-rebench and SWE-smith) were remapped into a single consistent Qwen3 <tool_call> JSON schema.
  • Execution-verified bug mutations: Python AST mutations (off-by-one errors, boundary condition flips, operator bugs) were automatically executed against unit tests so only genuine, reproducible failing-to-passing fixes were kept.
  • Multi-language coverage: Stage 1 SFT includes Python, C++, TypeScript/JavaScript, Rust, Go, Java, Bash, and SQL alongside tool-use trajectories.

Loading

from datasets import load_dataset

sft = load_dataset("netm8/m4-coding-agent-v2-dataset", "default")
opd = load_dataset("netm8/m4-coding-agent-v2-dataset", "opd_prompts")
rlvr = load_dataset("netm8/m4-coding-agent-v2-dataset", "rlvr")
Downloads last month
32

Models trained or fine-tuned on netm8/m4-coding-agent-v2-dataset