Renaissance Labs · Code
Benchmark · 2023-12

CanItEdit

Hand-crafted instructional code editing problems with descriptive and lazy instruction variants, tested by execution.

How to use it

Cheap check of instruction-following edits; run when training on commit or edit data.

Caveats

Execution-based. Small (105). Python only; public since 2023-24. GitHub repo license field shows NOASSERTION; HF card says MIT.

load
from datasets import load_dataset
ds = load_dataset("nuprl/CanItEdit", split="test")

Related

  • Code-Feedback (OpenCodeInterpreter): Multi-turn code data with execution feedback and human-feedback-style follow-ups for iterative refinement...
  • EditPackFT: Further-filtered CommitPackFT subset formatted for instructional code editing (before code, instruction,...
  • LiveCodeBench: Contamination-aware benchmark from LeetCode, AtCoder and Codeforces with problem release dates; DeepCoder...
  • Aider Polyglot benchmark: Hard Exercism exercises where the model must edit files in aider's format and pass tests, measuring...
  • CodeScope: Execution-based multilingual, multitask benchmark covering code understanding and generation across many...
  • CommitPack: Raw commit corpus (code before/after plus message) from which CommitPackFT was...