EsoLang-Bench: A Coding Benchmark Using Esoteric Languages to Test LLM Reasoning

EsoLang-Bench is a new coding benchmark designed to test whether large language models can genuinely reason through problems or are simply pattern-matching against training data. The benchmark uses esoteric programming languages with minimal training data presence.
Benchmark Design
The benchmark uses five esoteric programming languages: Brainfuck, Befunge-98, Whitespace, Unlambda, and Shakespeare. These languages were chosen because they have almost zero training data in typical pretraining pipelines. The benchmark contains the same algorithmic problems as HumanEval across the same difficulty range, just translated to these esoteric languages.
Testing Methodology
Researchers tested five models: GPT-5.2, O4-mini, Gemini 3 Pro, Qwen3-235B, and Kimi K2. They used five prompting strategies including:
- Self-scaffolding
- Coder-critic pairs
- ReAct pipeline
Results
The best single result was 11.2% on Befunge-98 with self-scaffolding. Medium, Hard, and Extra-Hard difficulty problems stayed at 0% across all models, languages, and strategies. Few-shot prompting gave only +0.8 percentage points on average, which researchers describe as statistically indistinguishable from noise.
Agentic systems like Claude Code and Codex performed 2-3x better than non-agentic approaches, but this improvement came primarily from sharper feedback loops and context management rather than evidence of actual reasoning transfer.
Error Analysis
The error breakdown reveals interesting patterns:
- On Brainfuck (which has some online presence), models could produce valid syntax but failed on logic
- On Whitespace (which has almost no training data), models couldn't even produce valid programs at all
This shows a clear gap between models' performance on languages with some pretraining data versus those with basically none.
Purpose and Availability
The benchmark aims to create evaluations where high scores are actually hard to fake, moving beyond just harder problems in mainstream languages like Python. The researchers suggest this approach creates evaluations where the economic incentive to game the benchmark doesn't exist, and the only route to good performance is genuine learning to generalize.
EsoLang-Bench is available as a template for others to build upon, whether through new languages, new problem types, or entirely different out-of-distribution domains.
📖 Read the full source: r/LocalLLaMA
👀 See Also

mcp-optimizer reduces token waste from idle MCP servers in Claude Code
mcp-optimizer is a plugin that addresses token waste from MCP servers in Claude Code by analyzing tool usage and generating optimized configurations. It includes four utilities: mcp-doctor for server health checks, mcp-audit for usage analysis, mcp-optimize for creating project-local configs, and mcp-to-skills for converting tools to on-demand Skills.

Local Memory System for AI Coding Tools Extracts 2,600+ Facts from Conversation Logs
A developer built a local memory layer that ingests conversation logs from Claude Code, Factory.ai, and Codex CLI, extracts structured facts using a local LLM, and auto-injects context into new sessions. After months of use, it has indexed 13,000+ messages and extracted 2,600+ facts.

Claude's Code Dashboard Tracks 19M+ AI-Generated Commits on GitHub
A developer built a dashboard tracking over 19 million commits generated by Claude Code on GitHub public repositories, showing TypeScript (35.3%), Python (19.2%), and JavaScript (10.3%) as the top languages. The system uses Next.js with Recharts and PostgreSQL, with an ETL pipeline that works around GitHub's API rate limits.

Spectyra Plugin for OpenClaw: Real-Time AI Cost Optimization by Analyzing Full Request Flow
Spectyra plugin reduces AI API costs by surfacing hidden waste like repeated calls, excessive context, and expensive model misuse in real time.