Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
stringlengths
5
14
language
stringclasses
8 values
domain
stringclasses
5 values
instruction
stringlengths
2.03k
190k
f2p
listlengths
2
293
p2p
listlengths
50
196
solution
stringlengths
14.4k
2.22M
TypeScript_1
TypeScript
Compilers
You are working in `/workspace/typescript`, a source tree checked out at the base commit for this task. Implement the requested behavior in the source tree, then run: ```bash lolbench-submit ``` Do not stop after editing files, running tests, or describing the solution. The task is complete only when `lolbench-submit...
[ "tests/cases/conformance/expressions/typeSatisfaction/typeSatisfaction.ts", "tests/cases/conformance/expressions/typeSatisfaction/typeSatisfactionWithDefaultExport.ts", "tests/cases/conformance/expressions/typeSatisfaction/typeSatisfaction_contextualTyping1.ts", "tests/cases/conformance/expressions/typeSatisf...
[ "tests/cases/conformance/expressions/asOperator/asOpEmitParens.ts", "tests/cases/conformance/expressions/asOperator/asOperator1.ts", "tests/cases/conformance/expressions/asOperator/asOperator2.ts", "tests/cases/conformance/expressions/asOperator/asOperator3.ts", "tests/cases/conformance/expressions/asOperat...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 0999b8b4eb..321592bcd4 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -27506,6 +27506,8 @@ namespace ts { } case SyntaxKind.NonNullExpression: return getContextualType(paren...
TypeScript_2
TypeScript
Compilers
"You are working in `/workspace/typescript`, a source tree checked out at\nthe base commit for this (...TRUNCATED)
["tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarations.1.ts","t(...TRUNCATED)
["tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInitializer.ts","t(...TRUNCATED)
"diff --git a/src/compiler/_namespaces/ts.ts b/src/compiler/_namespaces/ts.ts\nindex 5a01767f9..34d7(...TRUNCATED)
TypeScript_3
TypeScript
Compilers
"You are working in `/workspace/typescript`, a source tree checked out at\nthe base commit for this (...TRUNCATED)
["tests/cases/conformance/es2022/arbitraryModuleNamespaceIdentifiers/arbitraryModuleNamespaceIdentif(...TRUNCATED)
["tests/cases/conformance/externalModules/exportAssignmentAndDeclaration.ts","tests/cases/conformanc(...TRUNCATED)
"diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts\nindex ea263f471..cab3c6911 100644\n--(...TRUNCATED)
TypeScript_4
TypeScript
Compilers
"You are working in `/workspace/typescript`, a source tree checked out at\nthe base commit for this (...TRUNCATED)
["tests/cases/conformance/importDefer/importDeferDeclaration.ts","tests/cases/conformance/importDefe(...TRUNCATED)
["tests/cases/conformance/externalModules/exportsAndImports1.ts","tests/cases/conformance/externalMo(...TRUNCATED)
"diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts\nindex eff1b31cd..36f66cb08 100644\n(...TRUNCATED)
arrow_1
C++
Data Science
"You are working in `/workspace/arrow`, a source tree checked out at\nthe base commit for this task.(...TRUNCATED)
["parquet-schema-test::TestLogicalTypeOperation.LogicalTypeSortOrder","parquet-schema-test::TestLogi(...TRUNCATED)
["arrow-array-test::TestArray.TestNullCount","arrow-array-test::TestArray.TestSlicePreservesAllNullC(...TRUNCATED)
"diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cm(...TRUNCATED)
arrow_2
C++
Data Science
"You are working in `/workspace/arrow`, a source tree checked out at\nthe base commit for this task.(...TRUNCATED)
["python/pyarrow/tests/parquet/test_parquet_writer.py::test_parquet_content_defined_chunking","pytho(...TRUNCATED)
["python/pyarrow/tests/parquet/test_parquet_writer.py::test_parquet_incremental_file_build","python/(...TRUNCATED)
"diff --git a/.gitattributes b/.gitattributes\n--- a/.gitattributes\n+++ b/.gitattributes\n@@ -1,4 +(...TRUNCATED)
aspnetcore_1
C#
Web
"You are working in `/workspace/aspnetcore`, a source tree checked out at\nthe base commit for this (...TRUNCATED)
["src/Security/Authentication/test/Microsoft.AspNetCore.Authentication.Test.csproj::CookieTests.ApiE(...TRUNCATED)
["src/Http/Http.Abstractions/test/Microsoft.AspNetCore.Http.Abstractions.Tests.csproj::PathStringTes(...TRUNCATED)
"diff --git a/src/Http/Http.Abstractions/src/Metadata/ApiEndpointMetadata.cs b/src/Http/Http.Abstrac(...TRUNCATED)
cargo_1
Rust
Compilers
"You are working in `/workspace/cargo`, a source tree checked out at\nthe base commit for this task.(...TRUNCATED)
["sbom::artifact_dep","sbom::crate_uses_different_features_for_build_and_normal_dependencies","sbom:(...TRUNCATED)
["config::build_jobs_default","config::build_jobs_integer","config::all_profile_options","config::bu(...TRUNCATED)
"diff --git a/Cargo.lock b/Cargo.lock\n--- a/Cargo.lock\n+++ b/Cargo.lock\n@@ -457,7 +457,7 @@ versi(...TRUNCATED)
cert-manager_1
Go
Distributed Systems
"You are working in `/workspace/cert-manager`, a source tree checked out at\nthe base commit for thi(...TRUNCATED)
["github.com/cert-manager/cert-manager/pkg/util/pki::TestRenewalTime","github.com/cert-manager/cert-(...TRUNCATED)
["github.com/cert-manager/cert-manager/pkg/api/util::TestComputeName","github.com/cert-manager/cert-(...TRUNCATED)
"diff --git a/internal/apis/certmanager/types_certificate.go b/internal/apis/certmanager/types_certi(...TRUNCATED)
cpython_1
Python
Compilers
"You are working in `/workspace/cpython`, a source tree checked out at\nthe base commit for this tas(...TRUNCATED)
["test.test_peg_generator.test_c_parser.TestCParser.test_lookahead","test.test_peg_generator.test_c_(...TRUNCATED)
["test.test_grammar.TokenTests.test_backslash","test.test_grammar.TokenTests.test_ellipsis","test.te(...TRUNCATED)
"diff --git a/Grammar/python.gram b/Grammar/python.gram\nnew file mode 100644\n--- /dev/null\n+++ b/(...TRUNCATED)
End of preview. Expand in Data Studio

LoLBench

Overview

Software development often begins with user intent and high-level design rather than an implementation-ready specification. Developers must ground those goals in an existing architecture, identify the affected modules and interfaces, and produce a correct implementation without regressing the rest of the system. LoLBench (Long-horizon Tasks on Large Software Systems) evaluates coding agents in this intent-to-implementation setting.

These tasks combine two forms of difficulty. Perception complexity is the challenge of interpreting an abstract proposal, understanding cross-module dependencies, and locating the code that must change. Implementation complexity is the challenge of turning that understanding into functionally correct, regression-free changes in a large existing system.

LoLBench contains 100 modular development tasks from human-written enhancement proposals across 29 large open-source projects and five domains.

Quick Start

Prerequisites

  • Docker >= 20.0
  • Python >= 3.9
  • Harbor (recommended for agent evaluation)

1. Download Dataset

pip install -U huggingface-hub
hf download lolbench26/LoLBench --repo-type dataset --local-dir data/

Pre-built Docker images are referenced by each task's task.toml and are pulled automatically when using Harbor; no local image build is required.

2. Run Agent Evaluation (Recommended: Harbor)

Install Harbor:

uv tool install harbor

Run a task with Codex:

export OPENAI_API_KEY="your-api-key"
export OPENAI_BASE_URL="https://your-api-endpoint/v1"

harbor run \
    --path data/cpython_1 \
    --agent codex \
    --model "your-model-name" \
    --n-attempts 1 \
    --n-concurrent 1 \
    --yes \
    --jobs-dir results/codex \
    --ae OPENAI_API_KEY="$OPENAI_API_KEY" \
    --ae OPENAI_BASE_URL="$OPENAI_BASE_URL"

Run a task with OpenCode:

export OPENAI_API_KEY="your-api-key"
export OPENAI_BASE_URL="https://your-api-endpoint/v1"

harbor run \
    --path data/cpython_1 \
    --agent opencode \
    --model "your-model-name" \
    --n-attempts 1 \
    --n-concurrent 1 \
    --yes \
    --jobs-dir results/opencode \
    --ae OPENAI_API_KEY="$OPENAI_API_KEY" \
    --ae OPENAI_BASE_URL="$OPENAI_BASE_URL"

Dataset viewer schema

Column Description
task_id Harbor task identifier.
language Project language from the paper's project classification.
domain Project domain from the paper's project classification.
instruction Complete contents of the task's instruction.md.
f2p Overall fail-to-pass suite as test selectors only.
p2p Overall pass-to-pass suite as test selectors only.
solution Complete contents of solution/solution.patch.

Task Structure

Each task directory contains the Harbor task definition and its associated assets:

<task_id>/
β”œβ”€β”€ environment/
β”œβ”€β”€ solution/
β”‚   └── solution.patch
β”œβ”€β”€ tests/
β”œβ”€β”€ instruction.md
β”œβ”€β”€ README.md
└── task.toml

The task metadata records the upstream repository, base commit, target merge/solution commit, and published container image. The canonical verifier mode is union, which evaluates the overall original-plus-augmented test suites represented in the viewer.

Languages & Repositories

Language Repositories Tasks
C PHP 4
C# ASP.NET Core, Roslyn 2
C++ Apache Arrow, DuckDB 3
Go cert-manager, gRPC-Go, Kueue, Kubernetes, OpenTofu, Prometheus, Vitess 18
Java Apache Flink, Apache Iceberg, Apache Kafka, OpenJDK, Presto 36
Python CPython, Django, FastAPI, Mypy, NumPy, Pandas, Scikit-learn 25
Rust Apache DataFusion, Cargo, Ruff, Rust 8
TypeScript TypeScript 4

LoLBench-authored benchmark metadata and tooling are released under MIT. Individual upstream projects and incorporated materials remain subject to their respective licenses.

Downloads last month
179