lolbench26 commited on
Commit
b9eef3b
·
verified ·
1 Parent(s): 0218cad

Add Quick Start and language overview

Browse files
Files changed (1) hide show
  1. README.md +82 -1
README.md CHANGED
@@ -25,6 +25,65 @@ LoLBench (Long-horizon Tasks on Large Software Projects) evaluates coding agents
25
 
26
  The source task directories are included at the dataset root. The `tasks_overview.jsonl` file provides a compact dataset-viewer representation similar to RoadmapBench.
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  ## Dataset viewer schema
29
 
30
  | Column | Description |
@@ -39,7 +98,7 @@ The source task directories are included at the dataset root. The `tasks_overvie
39
 
40
  `f2p` and `p2p` use the canonical overall suite: the original selectors followed by the augmented selectors in execution order. Repeated selectors are retained because they are part of the executed suite. These columns do not contain test implementations or test patch contents.
41
 
42
- ## Task layout
43
 
44
  Each task directory contains the Harbor task definition and its associated assets:
45
 
@@ -56,4 +115,26 @@ Each task directory contains the Harbor task definition and its associated asset
56
 
57
  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.
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  LoLBench-authored benchmark metadata and tooling are released under Apache-2.0. Individual upstream projects and incorporated materials remain subject to their respective licenses.
 
25
 
26
  The source task directories are included at the dataset root. The `tasks_overview.jsonl` file provides a compact dataset-viewer representation similar to RoadmapBench.
27
 
28
+ ## Quick Start
29
+
30
+ ### Prerequisites
31
+
32
+ - Docker >= 20.0
33
+ - Python >= 3.9
34
+ - [Harbor](https://docs.harbor.ai/) (recommended for agent evaluation)
35
+
36
+ ### 1. Download Dataset
37
+
38
+ ```bash
39
+ pip install -U huggingface-hub
40
+ hf download lolbench26/LoLBench --repo-type dataset --local-dir data/
41
+ ```
42
+
43
+ > 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.
44
+
45
+ ### 2. Run Agent Evaluation (Recommended: Harbor)
46
+
47
+ Install Harbor:
48
+
49
+ ```bash
50
+ uv tool install harbor
51
+ ```
52
+
53
+ Run a task with Terminus 2:
54
+
55
+ ```bash
56
+ export OPENAI_API_KEY="your-api-key"
57
+ export OPENAI_BASE_URL="https://your-api-endpoint/v1"
58
+
59
+ harbor run \
60
+ --path data/cpython_1 \
61
+ --agent terminus-2 \
62
+ --model "your-model-name" \
63
+ --n-attempts 1 \
64
+ --n-concurrent 1 \
65
+ --yes \
66
+ --jobs-dir results/terminus2
67
+ ```
68
+
69
+ Run a task with OpenHands:
70
+
71
+ ```bash
72
+ export OPENAI_API_KEY="your-api-key"
73
+ export OPENAI_BASE_URL="https://your-api-endpoint/v1"
74
+
75
+ harbor run \
76
+ --path data/cpython_1 \
77
+ --agent openhands \
78
+ --model "your-model-name" \
79
+ --n-attempts 1 \
80
+ --n-concurrent 1 \
81
+ --yes \
82
+ --jobs-dir results/openhands \
83
+ --ae OPENAI_API_KEY=your-api-key \
84
+ --ae OPENAI_BASE_URL=https://your-api-endpoint/v1
85
+ ```
86
+
87
  ## Dataset viewer schema
88
 
89
  | Column | Description |
 
98
 
99
  `f2p` and `p2p` use the canonical overall suite: the original selectors followed by the augmented selectors in execution order. Repeated selectors are retained because they are part of the executed suite. These columns do not contain test implementations or test patch contents.
100
 
101
+ ## Task Structure
102
 
103
  Each task directory contains the Harbor task definition and its associated assets:
104
 
 
115
 
116
  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.
117
 
118
+ ## Languages & Repositories
119
+
120
+ | Language | Repositories | Tasks |
121
+ | --- | --- | ---: |
122
+ | C | PHP | 1 |
123
+ | C# | ASP.NET Core, Roslyn | 2 |
124
+ | C++ | Apache Arrow, DuckDB, OpenJDK | 4 |
125
+ | C++/Python | Apache Arrow | 1 |
126
+ | C/PHP | PHP | 3 |
127
+ | C/Python | CPython | 6 |
128
+ | Go | cert-manager, gRPC-Go, Kueue, Kubernetes, OpenTofu, Prometheus, Vitess | 18 |
129
+ | Java | Apache Flink, Apache Iceberg, Apache Kafka, OpenJDK, Presto | 27 |
130
+ | Java/C | OpenJDK | 1 |
131
+ | Java/C++ | OpenJDK | 1 |
132
+ | Java/C++/C | OpenJDK | 1 |
133
+ | Java/Scala | Apache Flink, Apache Kafka | 4 |
134
+ | Python | CPython, Django, FastAPI, mypy, scikit-learn | 16 |
135
+ | Python/C | NumPy | 2 |
136
+ | Python/Cython/C | pandas | 1 |
137
+ | Rust | Apache DataFusion, Cargo, Ruff, Rust | 8 |
138
+ | TypeScript | TypeScript | 4 |
139
+
140
  LoLBench-authored benchmark metadata and tooling are released under Apache-2.0. Individual upstream projects and incorporated materials remain subject to their respective licenses.