{
  "id": "ecro-embedeval-e8fdc6b54762f789",
  "name": "EmbedEval",
  "tagline": "Measures whether LLMs write safe embedded firmware C code from implicit domain knowledge, scored by pass@1.",
  "description": "EmbedEval is a benchmark of 267 embedded-firmware code-generation cases (219 public + 48 private held-out) across Zephyr RTOS, ESP-IDF, STM32 HAL, FreeRTOS, Linux kernel drivers and Yocto. Each case is scored through a 5-layer pipeline (L0 static, L1 compile, L2 runtime, L3 heuristic, L4 mutation) and the primary metric is pass@1 with Wilson 95% CIs. Prompts deliberately omit safety hints so the benchmark measures implicit embedded domain knowledge. Maintained by Ecro; results are published to a Hugging Face Space leaderboard.",
  "url": "https://github.com/Ecro/embedeval",
  "host": "github",
  "status": "active",
  "domain": "firmware",
  "tags": [
    "embedded",
    "firmware",
    "zephyr",
    "llm-eval",
    "code-generation",
    "pass@1"
  ],
  "images": [
    "https://raw.githubusercontent.com/Ecro/embedeval/main/assets/launch/heatmap.png",
    "https://raw.githubusercontent.com/Ecro/embedeval/main/assets/launch/implicit-gap.png"
  ],
  "participation": {
    "howToSubmit": "Run `uv run embedeval run --model <litellm-id> --cases cases/` for n=3, then open a PR adding `results/runs/<date>_<model>/` and an updated `LEADERBOARD.md`.",
    "submissionFormat": "Run archive directory (details/, summary.json, report.md) plus updated results/LEADERBOARD.md",
    "computeDetails": "Default mode (L0+L3) needs no Docker; full L1/L2 build layers run in Docker images (embedeval-zephyr, Dockerfile.esp, Dockerfile.stm32). No GPU required.",
    "deadline": "rolling",
    "prizes": "recognition only",
    "cost": "free",
    "verification": "Deterministic regex/pattern checks across 5 layers; scripts/verify_results.py re-runs checks on generated code; CI validates reference solutions.",
    "requirements": [
      "Python 3.12+",
      "uv",
      "Docker (for L1/L2 build layers)",
      "Zephyr SDK / ESP-IDF / arm-none-eabi-gcc for full evaluation"
    ],
    "compute": "cpu"
  },
  "links": [
    {
      "label": "Live leaderboard (HF Space)",
      "url": "https://huggingface.co/spaces/ecro/embedeval"
    },
    {
      "label": "Methodology",
      "url": "https://github.com/Ecro/embedeval/blob/main/docs/METHODOLOGY.md"
    },
    {
      "label": "Contributing",
      "url": "https://github.com/Ecro/embedeval/blob/main/docs/CONTRIBUTING.md"
    },
    {
      "label": "Roadmap",
      "url": "https://github.com/Ecro/embedeval/blob/main/ROADMAP.md"
    },
    {
      "label": "Result write-up",
      "url": "https://edgelog.dev/blog/llm-firmware-benchmark/"
    }
  ],
  "organizer": {
    "name": "Ecro",
    "url": "https://github.com/Ecro",
    "type": "individual"
  },
  "venue": {
    "type": "online"
  },
  "quickstart": "git clone https://github.com/Ecro/embedeval.git\ncd embedeval\nuv sync\nuv run embedeval run --model claude-code://sonnet --cases cases/\ncat results/LEADERBOARD.md",
  "problems": [
    {
      "description": "First-attempt accuracy where all five evaluation layers must pass.",
      "metricUnit": "%",
      "id": "pass-at-1-full",
      "name": "pass@1 (full, all layers)",
      "metricName": "pass@1",
      "metricDirection": "maximize",
      "isOpen": false,
      "records": [
        {
          "contributor": "claude-code://claude-opus-5",
          "description": "n=1, 187/267 passed, CI [64.3%, 75.2%]",
          "value": 70,
          "contributorKind": "model",
          "isCurrentBest": true,
          "agent": {
            "model": "Claude Opus 5",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        },
        {
          "contributor": "claude-code://claude-sonnet-5",
          "description": "n=1, 177/263 passed, CI [61.4%, 72.7%]",
          "value": 67.3,
          "contributorKind": "model",
          "agent": {
            "model": "Claude Sonnet 5",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        },
        {
          "contributor": "claude-code://haiku",
          "description": "n=1, 133/233 passed, CI [50.7%, 63.3%]",
          "value": 57.1,
          "contributorKind": "model",
          "agent": {
            "model": "Claude Haiku 4.5",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        },
        {
          "contributor": "claude-code://sonnet",
          "description": "n=1, 157/233 passed, CI [61.1%, 73.1%]",
          "value": 67.4,
          "contributorKind": "model",
          "agent": {
            "model": "Claude Sonnet 4.6",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        }
      ],
      "contested": true
    },
    {
      "description": "Code-quality accuracy using only static and heuristic layers, ignoring build/runtime.",
      "metricUnit": "%",
      "id": "pass-at-1-quality",
      "name": "pass@1 (quality, L0+L3 only)",
      "metricName": "pass@1",
      "metricDirection": "maximize",
      "isOpen": false,
      "records": [
        {
          "contributor": "claude-code://claude-opus-5",
          "description": "223/267 quality passes",
          "value": 83.5,
          "contributorKind": "model",
          "isCurrentBest": true,
          "agent": {
            "model": "Claude Opus 5",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        },
        {
          "contributor": "claude-code://claude-sonnet-5",
          "description": "209/263 quality passes",
          "value": 79.5,
          "contributorKind": "model",
          "agent": {
            "model": "Claude Sonnet 5",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        },
        {
          "contributor": "claude-code://haiku",
          "description": "167/233 quality passes",
          "value": 71.7,
          "contributorKind": "model",
          "agent": {
            "model": "Claude Haiku 4.5",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        },
        {
          "contributor": "claude-code://sonnet",
          "description": "193/233 quality passes",
          "value": 82.8,
          "contributorKind": "model",
          "agent": {
            "model": "Claude Sonnet 4.6",
            "tool": "Claude Code",
            "family": "anthropic",
            "confidence": "high",
            "role": "subject"
          }
        }
      ],
      "contested": true
    }
  ],
  "agentStats": [],
  "repo": {
    "owner": "Ecro",
    "name": "embedeval",
    "branch": "main"
  },
  "participants": [],
  "stats": {
    "totalRecords": 8,
    "uniqueParticipants": 0,
    "recordsLast30d": 0,
    "recordsLast90d": 0
  },
  "lastUpdated": "2026-11-26T06:31:37.393Z",
  "agentDocs": [
    {
      "label": "CLAUDE.md",
      "url": "https://raw.githubusercontent.com/Ecro/embedeval/HEAD/CLAUDE.md"
    }
  ]
}