esolang

EsoLanguage Model Benchmark

A learner gets k example programs (source, input, output) of an esolang it never trained on and must return something that runs new programs.

The score counts exact output bytes on a fixed test set, made of the classic programs translated into the language and fresh programs run on its reference interpreter. Only learners that ran every task at every k are ranked; partial rows follow, with their runs out of all. Tier 1 is the held-out languages, never used for training; tier 2 is dialects and grid languages. The example sets are nested; the k=4 set is the start of the k=8 set. Built from compete/benchmark/results/ by node compete/benchmark/build.js.

  • as-brainfuck: baseline: reads every program as plain brainfuck (the identity substitution) (112 runs saved before learners had versions)
  • detect: tools/detect/core.js: hand-port lookup or substitution search, then the base interpreter (107 runs saved before learners had versions)
  • empty: baseline: predicts no output (112 runs saved before learners had versions)
  • v1-brainfuck: version 1 (evolve.js, alias variant) from a lineage that reads brainfuck, at most 50 generations per run (1 runs saved before learners had versions)
  • v3: version 3 (shibboleth/learn.js) from an empty language, at most 50 generations per run (1 runs saved before learners had versions)

Tier 1: held-out languages (30)

Accuracy by number of examples. Rank is given only to learners that ran every task at every k; "partial" rows are not comparable.
ranklearnerk=4k=8k=16k=36allrunsgenerationstime
partialas-brainfuck3.7%3.7%3.7%3.7%3.7%112/12000s
partialempty0.0%0.0%0.0%0.0%0.0%112/12000s
partialdetect75.7%85.2%92.9%92.6%86.6%107/1200903s
partialv1-brainfuck2.2%–––2.2%1/120504s
partialv30.0%–––0.0%1/120502s
Accuracy by category, all k
learnerUnicode (6)multi-word (6)prefix overlap (5)case (2)own semantics (5)Deadfish (3)plain (6)
as-brainfuck0.0%16.7%0.0%0.0%0.0%0.0%0.0%
empty0.0%0.0%0.0%0.0%0.0%0.0%0.0%
detect97.0%65.7%94.0%33.3%100.0%66.7%97.1%
v1-brainfuck––2.2%––––
v3––0.0%––––
Accuracy by language, all k (each cell's title gives every k)
languageas-brainfuckemptydetectv1-brainfuckv3
hq9 (case, own semantics)0.0%0.0%not runnot runnot run
internationalfuck (multi-word, case)0.0%0.0%33.3%not runnot run
bct (own semantics)not runnot runnot runnot runnot run
boolfuck (own semantics)not runnot runnot runnot runnot run
befunge (own semantics)0.0%0.0%100.0%not runnot run
deadfishtilde (own semantics)0.0%0.0%100.0%not runnot run
numbered-deadfish (Deadfish)0.0%0.0%0.0%not runnot run
u19zbpjq (Deadfish)0.0%0.0%100.0%not runnot run
uae789v (Unicode, Deadfish)0.0%0.0%100.0%not runnot run
putita (prefix overlap)0.0%0.0%100.0%2.2%0.0%
wholesomefuck (prefix overlap)0.0%0.0%100.0%not runnot run
almbarc12yo (prefix overlap)0.0%0.0%80.6%not runnot run
pep-chz (prefix overlap)0.0%0.0%100.0%not runnot run
solbofuck (prefix overlap)0.0%0.0%89.4%not runnot run
uwu (Unicode)0.0%0.0%82.2%not runnot run
fuck-3 (Unicode)0.0%0.0%100.0%not runnot run
fuck-2 (Unicode)0.0%0.0%100.0%not runnot run
brainfuck2 (Unicode)0.0%0.0%100.0%not runnot run
hanzifuck (Unicode)0.0%0.0%100.0%not runnot run
omam (multi-word)0.0%0.0%100.0%not runnot run
never-gonna-fuck-you-up (multi-word)0.0%0.0%100.0%not runnot run
jp32 (multi-word)0.0%0.0%60.6%not runnot run
this-is-not-a-brainfuck-derivati-2 (multi-word)100.0%0.0%0.0%not runnot run
c-flavored-brainf-ck (multi-word)0.0%0.0%92.2%not runnot run
binaryfuck (plain)0.0%0.0%100.0%not runnot run
scratch-is-dumb (plain)0.0%0.0%100.0%not runnot run
numberfuck (plain)0.0%0.0%100.0%not runnot run
morsefuck (plain)0.0%0.0%82.8%not runnot run
alphuck (plain)0.0%0.0%100.0%not runnot run
null-none-bf (plain)0.0%0.0%100.0%not runnot run

Tier 2: dialects and grid languages (36)

Accuracy by number of examples. Rank is given only to learners that ran every task at every k; "partial" rows are not comparable.
ranklearnerk=4k=8k=16k=36allrunsgenerationstime
Accuracy by category, all k
learnercase (1)grid (1D to 3D) (11)tape (12)stack or queue (14)rewriting (4)functional (2)other machines (3)
Accuracy by language, all k (each cell's title gives every k)
language
emmental (stack or queue)
kipple (stack or queue)
glypho (stack or queue)
glyphoshort (stack or queue)
sceql (stack or queue)
qdeql (stack or queue)
markov (rewriting)
tag (stack or queue, rewriting)
cyclictag (rewriting)
itflabtijtslwi (rewriting)
bfeofunchanged (tape)
bfeofminusone (tape)
bf16 (tape)
bf32 (tape)
bfbignum (tape)
bfleftedge (tape)
smbf (tape)
brainbool (tape)
unlambdafull (functional)
lazyk (functional)
hq9f (case)
chiqrsx9 (other machines)
befunge93 (grid (1D to 3D), stack or queue)
unefunge (grid (1D to 3D), stack or queue)
trefunge (grid (1D to 3D), stack or queue)
malbolge (other machines)
snusp (grid (1D to 3D), tape)
fish (grid (1D to 3D), stack or queue)
piet (grid (1D to 3D), stack or queue)
path (grid (1D to 3D), tape)
minimal2d (grid (1D to 3D), tape)
brainloller (grid (1D to 3D), tape)
labyrinth (grid (1D to 3D), stack or queue)
hexagony (grid (1D to 3D))
whirl (other machines)
chef (stack or queue)