Renaissance Labs · Code
Benchmark · 2022-08

MultiPL-E

A system that transpiles unit-test-based Python benchmarks to many programming languages, with prebuilt translated sets.

How to use it

Use to check that a gain on Python carries over to other languages (Java, JS, Rust, Lua, etc.). Needs per-language toolchains, so run it in the provided containers; moderate cost.

Caveats

Execution-based. Inherits HumanEval and MBPP's saturation and contamination issues, and translated problems stay simple function-level tasks. Low-resource-language results are sensitive to translation artifacts. Per-config counts seen on the HF card: 157, 161, 161, 158 (first four configs).

Related

  • Aider Polyglot benchmark: Hard Exercism exercises where the model must edit files in aider's format and pass tests, measuring...
  • CWEval: Outcome-driven evaluation of both functionality and security of generated code using test oracles for...
  • CodeContests (DeepMind): Competitive problems from Codeforces, CodeChef, AtCoder and others with generated tests and correct/incorrect...
  • CodeScope: Execution-based multilingual, multitask benchmark covering code understanding and generation across many...
  • CodeUltraFeedback: Preference data: coding instructions with responses ranked on five coding preferences by GPT-3.5 as judge,...
  • CyberSecEval (Purple Llama): Meta's suite for insecure-code generation and cyber misuse, with later versions adding more tests; also in...