Renaissance Labs · Code
Benchmark · 2025-01

CWEval

Outcome-driven evaluation of both functionality and security of generated code using test oracles for CWE-linked tasks.

How to use it

Cheap secure-code regression check next to HumanEval-style functional tests.

Caveats

Execution-based. Small, public since January 2025.

Related

  • Aider Polyglot benchmark: Hard Exercism exercises where the model must edit files in aider's format and pass tests, measuring...
  • 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...
  • DevEval (SDLC benchmark, arXiv 2403.08604): Evaluates LLMs across the software lifecycle: design, environment setup, implementation, acceptance and unit...