CIBench

OpenCompass's interactive benchmark for LLM code-interpreter agents -- 234 multi-step data-science tasks (1,900+ questions) across ten Python libraries, scored end-to-end and in an error-corrected oracle mode.

unassessed

This page is a discovery lead. Nobody has yet assessed it against the catalogue contract, so it carries no disposition. Absence of evidence here is not evidence of staleness.
Categoryagentic
Subcategorycode-interpreter tool use across interactive, multi-step data-science notebooks
Page statusactive
Metricprocess-oriented (tool-call rate, executable rate) and output-oriented (numeric accuracy, text score, visualization score) metrics
Directionhigher_is_better
Unit%
Dataset size234
Dataset licenceApache License 2.0, per the open-compass/CIBench GitHub repository's licence
PublisherShanghai Artificial Intelligence Laboratory, with ShanghaiTech University

What it measures

CIBench tests whether an LLM agent can use a Python code interpreter to carry out a realistic, multi-step data-science workflow, rather than just produce an isolated code snippet for one self-contained problem. Each task is a simulated, interactive IPython/Jupyter session of 10 to 15 progressive steps of increasing complexity, built around one of ten widely used Python libraries (lightgbm, matplotlib, nltk, opencv, pandas, pytorch, scipy, seaborn, sklearn, tensorflow), with a Chinese-language translation of the same task set, plus a separate, smaller six-library open-ended "generation" split (matplotlib, opencv, pandas, pytorch, scipy, seaborn). Tasks were built with an LLM-human cooperative method: an advanced LLM (GPT-4) proposed instructions and code in notebook form, and human experts then wrote reusable template tasks from the common patterns observed, so each template can be instantiated over multiple interchangeable underlying datasets. It is a multi-turn, tool-use task combining natural-language instructions, generated code, and the code interpreter's own output (including numbers, text and rendered plots) at each step.

Task format

A sequence of 10 to 15 interconnected natural-language instructions per task, each requiring the model to write and execute Python code in a live IPython kernel and use the returned output to inform its next step; evaluated in two modes -- end-to-end, where the model must solve every step unaided, and oracle, where the model is handed the correct code whenever it fails a step, which isolates a step's individual difficulty from upstream error compounding.

Models reporting this benchmark

No model card in ModelSpec reports this benchmark yet.

Data

This page as JSON · Edit on GitHub