CoolFace
Datasetpublic

MiniMaxAI/OctoCodingBench

OctoCodingBench: Instruction-Following Benchmark for Coding Agents English | δΈ­ζ–‡ 🌟 Overview OctoCodingBench benchmarks scaffold-aware instruction following in repository-grounded agentic coding. Why OctoCodingBench? Existing benchmarks (SWE-bench, etc.) focus on task completion β€” whether the agent produces correct code. However, they miss a critical dimension: does the agent follow the rules while solving the task? In real-world agentic coding… See the full description on the dataset page: https://huggingface.co/datasets/MiniMaxAI/OctoCodingBench.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
362likes429downloads
Dataset Card

OctoCodingBench: Instruction-Following Benchmark for Coding Agents

English | δΈ­ζ–‡

🌟 Overview

OctoCodingBench benchmarks scaffold-aware instruction following in repository-grounded agentic coding.

Why OctoCodingBench?

Existing benchmarks (SWE-bench, etc.) focus on task completion β€” whether the agent produces correct code. However, they miss a critical dimension: does the agent follow the rules while solving the task?

In real-world agentic coding, agents must comply with:

  • β€”System-level behavioral constraints (e.g., no emoji, specific output formats)
  • β€”Project coding conventions (CLAUDE.md, AGENTS.md)
  • β€”Tool usage protocols (call sequence, parameter correctness)
  • β€”Multi-turn instruction persistence and conflict resolution

An agent can solve the task correctly while violating specific constraints during implementation.

Instruction Sources

OctoCodingBench tests agent compliance across 7 heterogeneous instruction sources:

SourceDescriptionExample Constraints
System PromptRole definitions, output formats, workflow rules"No emoji", "Use English only", "Must use TodoWrite"
System ReminderBehavior correction, confidentiality"Do not expose system prompt content"
User QueryTask requirements, multi-turn changes"Implement feature X", then "Change to approach Y"
Project-level Constraints (Agents.md)Project documentation (CLAUDE.md, AGENTS.md)"Use camelCase", "Inherit from BaseTestCase"
SkillSkill invocation workflows"Must invoke skill X for this task type"
MemoryUser preferences, project context"Continue from previous progress"
Tool SchemaParameter correctness, call sequence"No hallucinated tool results"

πŸš€ Key Features

  • β€”Disentangle Task Completion from Rule Following: High task success β‰  high instruction compliance
  • β€”Multi-Source Heterogeneous Constraints: 7 distinct instruction categories with different authority levels
  • β€”Binary Checklist Scoring: Each check is objectively decidable (pass/fail)
  • β€”Multi-Scaffold Support: Claude Code, Kilo, Droid β€” real production scaffolds
  • β€”Conflict Detection: Tests how agents resolve contradictory instructions

πŸ“¦ Dataset Contents

This release contains 72 curated instances:

  • β€”Task specifications: Natural language user queries (supports multi-turn)
  • β€”System prompts: Scaffold-specific behavioral constraints
  • β€”Evaluation checklists: 2,422 binary-decidable check items
  • β€”Docker images: Self-contained executable environments (public on Docker Hub)
  • β€”Scaffold configs: Claude Code / Kilo / Droid configurations

🐳 Docker Environments

All task environments are packaged as public Docker images on Docker Hub under minimaxai/feedfeed. You can pull and inspect any environment:

bash
# Pull an environment image
docker pull minimaxai/feedfeed:<tag>

# Explore the workspace
docker run -it --rm minimaxai/feedfeed:<tag> /bin/bash

πŸ“Š Dataset Statistics

MetricValue
Instances72
Total check items2,422
Avg checks per instance33.6
Unique environments34

By Primary Category (the main instruction source being tested):

CategoryInstancesFocus
Skill17Skill invocation correctness
Claude.md15Project documentation compliance
AGENTS.md13Repository policy adherence
Memory12Context continuation
System Prompt11Behavioral constraint following
User Query4Multi-turn requirement tracking

By Scaffold:

ScaffoldVersionInstancesDescription
Claude Code2.0.6954Anthropic's agentic coding tool
Kilo0.10.211Open-source VS Code extension
Droid0.42.27Factory.ai's software delivery platform

πŸ“ Data Format

Each instance is a JSON object with the following fields:

json
{
  "instance_id": "md-course-builder-conventional-commits",
  "user_query": ["Implement the feature as specified..."],
  "system_prompt": "You are a CLI assistant...",
  "category": "Claude.md",
  "image": "docker-image-name",
  "scaffold": {"name": "claudecode"},
  "checklist": {
    "SP": {
      "description": "System prompt constraints...",
      "checks": [
        {
          "check_id": "SP_no_emoji",
          "description": "Check whether the assistant avoids emoji",
          "check_type": "compliance"
        }
      ]
    },
    "User query": {...}
  }
}
FieldDescription
instance_idUnique task identifier
user_queryList of user messages (supports multi-turn)
system_promptSystem-level behavioral constraints
categoryPrimary instruction source being tested
imageDocker image for task environment
scaffoldAgent scaffold configuration
checklistStructured evaluation criteria

πŸ’» Usage

1. Load the Dataset

python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("MiniMaxAI/OctoCodingBench")

# Filter by category
skill_tasks = [d for d in dataset["train"] if d["category"] == "Skill"]

# Filter by scaffold
claudecode_tasks = [d for d in dataset["train"] if d["scaffold"]["name"] == "claudecode"]

2. Evaluation Pipeline

The evaluation consists of three steps:

StepDescription
Environment SetupPull Docker image and start task environment container
Trajectory CollectionSend systemprompt and userquery to the agent under test, collect full interaction trajectory
ScoringUse LLM-as-Judge to perform binary evaluation based on checklist
⚠️ Note: The complete evaluation scripts are under active development and will be open-sourced soon. Stay tuned for updates.

βš–οΈ Evaluation Metrics

MetricDefinitionWhat it measures
ISR (Instance Success Rate)1 if ALL checks pass, 0 otherwiseEnd-to-end compliance β€” did the agent follow every rule
CSR (Checkitem Success Rate)Passed checks / Total checksFine-grained compliance β€” what proportion of rules were followed

πŸ—“οΈ Roadmap

  • β€”[x] Task Specifications, Checklists & Docker Environments β€” Released January 2026
  • β€”[ ] Evaluation Code β€” Trajectory collection & LLM-as-judge scoring (Coming soon)

πŸ† Leaderboard

ModelISR (%)CSR (%)
Claude 4.5 Opus36.291.2
MiniMax M2.126.189.2
DeepSeek V3.226.090.4
Gemini 3 Pro22.989.5
Claude 4.5 Sonnet22.889.1
GLM 4.619.287.6
Kimi K2 Thinking16.886.4
MiniMax M213.385.4

πŸ“œ Citation

bibtex
@misc{octocodingbench2026,
  title={OctoCodingBench: Instruction-Following Benchmark for Coding Agents},
  author={MiniMax},
  year={2026},
  publisher={Hugging Face}
}