Datasets:
instance_id stringlengths 34 84 | repo stringlengths 10 25 | base_commit stringlengths 40 40 | setup_patch stringclasses 1
value | problem_statement stringlengths 688 2.9k | patch stringlengths 2.14k 57.2k | test_patch stringlengths 0 32.4k | patch_files listlengths 2 9 | grader listlengths 7 26 | grader_files listlengths 2 150 | dockerfile stringlengths 3.42k 28k | language stringclasses 7
values | repo_license stringclasses 7
values | hud_task stringlengths 19 62 | difficulty stringclasses 3
values | agent_runs int64 5 10 | agent_rewards listlengths 5 10 | agent_mean_reward float64 0.17 0.47 | agent_solve_rate float64 0 0.4 | agent_models listlengths 1 1 | gold_reward float64 1 1 | base_reward float64 0 0 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
oauth2-proxy__oauth2-proxy-proxy_cookie_accounting | oauth2-proxy/oauth2-proxy | 33c2eb92dea78204f7a18bc2dfdbccc220f39257 | You are working in a coding repository located at /workspace/repo. Please make your changes directly in /workspace/repo, not in a copy or a separate worktree.
Environment: this container has about 2 vCPUs and a hard memory limit, and a fully parallel build or test run can exhaust it. Build and test package by package, ... | diff --git a/pkg/cookies/cookies.go b/pkg/cookies/cookies.go
index be5ee451..5427b20d 100644
--- a/pkg/cookies/cookies.go
+++ b/pkg/cookies/cookies.go
@@ -60,14 +60,30 @@ func MakeCookieFromOptions(req *http.Request, opts *CookieOptions) *http.Cookie
// by checking the X-Fowarded-Host and host header of an an http req... | [
"pkg/cookies/cookies.go",
"pkg/cookies/csrf.go",
"pkg/sessions/cookie/session_store.go"
] | [
{
"criterion": "C7_trim_counts_repeated_names",
"weight": 20
},
{
"criterion": "C8_shrink_retires_every_carried_chunk",
"weight": 18
},
{
"criterion": "C11_repeats_expiry_addressed_like_the_write",
"weight": 13
},
{
"criterion": "C9_clear_retires_every_carried_chunk",
"we... | [
{
"path": "grader/harness/board.json",
"encoding": "utf-8",
"content": "{\n \"version\": \"board-v8\",\n \"blocker_cap\": \"0.6000\",\n \"gates\": [\n \"G1_repo_suite_green\",\n \"G2_repo_test_files_untouched\"\n ],\n \"_gates_note\": \"board v8, laws G-5 and G-5': the two gates are ANDed int... | # proxy_cookie_accounting on the coding-template.
#
# Substrate: oauth2-proxy/oauth2-proxy at the pinned base SHA (history vaulted
# at task setup by coding/repo.py), Go 1.26 toolchain, hud serve. The module is
# the repository root. Everything answer-key-shaped lives under /hud (root, mode
# 700): the vault, the hidde... | Go | MIT | proxy_cookie_accounting | very hard | 5 | [
0.25,
0.17,
0.1,
0.14,
0.17
] | 0.166 | 0 | [
"claude-fable-5-1"
] | 1 | 0 | ||
bashrc2__epicyon-epicyon_deleted_post_announce_cache_contract-1c066303 | bashrc2/epicyon | 76ab74c0a3e3a085393ebfb3d08edfc6397ecd83 | "You are working in a coding repository located at /workspace/repo. Please make your changes directl(...TRUNCATED) | "diff --git a/src/formats.py b/src/formats.py\nindex d35e47b..1e607c8 100644\n--- a/src/formats.py\n(...TRUNCATED) | [
"src/formats.py",
"src/tests.py",
"src/utils.py"
] | [{"criterion":"media_file_of_a_deleted_post_is_removed","weight":5.5},{"criterion":"hashtag_index_fo(...TRUNCATED) | [{"path":"grader/harness/spec_cells.py","encoding":"utf-8","content":"#!/usr/bin/env python3\n\"\"\"(...TRUNCATED) | "# epicyon: deleting a post clears every record of it, and only of it.\n#\n# Substrate: bashrc2/epic(...TRUNCATED) | Python | AGPL-3.0 | epicyon_deleted_post_announce_cache_contract-1c066303 | hard | 5 | [
0.305,
0.305,
0.465,
0.305,
0.305
] | 0.337 | 0 | [
"claude-fable-5-1"
] | 1 | 0 | ||
apache__geode-geode_oql_index_null_semantics_contract-1c066303 | apache/geode | 857d7f3e76a520aac8eae2b464b98be2febdd9d3 | "You are working in a coding repository located at /workspace/repo. Please make your changes directl(...TRUNCATED) | "diff --git a/geode-core/src/main/java/org/apache/geode/cache/query/internal/CompiledComparison.java(...TRUNCATED) | "diff --git a/geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/Indexe(...TRUNCATED) | ["geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/IndexedQueryNullVa(...TRUNCATED) | [{"criterion":"range_comparison_with_null_literal","weight":5.0},{"criterion":"range_comparison_with(...TRUNCATED) | [{"path":"grader/board_smoke.py","encoding":"utf-8","content":"#!/usr/bin/env python3\n\"\"\"The boa(...TRUNCATED) | "# Apache Geode OQL: a query returns the same rows with and without an index (null values, missing m(...TRUNCATED) | Java | Apache-2.0 | geode_oql_index_null_semantics_contract-1c066303 | hard | 5 | [
0.3,
0.32,
0.3,
0.27,
0.5
] | 0.338 | 0 | [
"claude-fable-5-1"
] | 1 | 0 | |
sequelize__sequelize-sequelize-bulkcreate-ignore-duplicates | sequelize/sequelize | 53359f95b47cc0ae075f4855bc8d4c97c2ee7e20 | "Please make your changes directly in /workspace/repo, not in a copy or a separate worktree.\n\nBulk(...TRUNCATED) | "diff --git a/packages/core/src/model.js b/packages/core/src/model.js\nindex cb25a684a..da84d6840 10(...TRUNCATED) | "diff --git a/packages/core/test/integration/model/bulk-create/ignore-duplicates.test.ts b/packages/(...TRUNCATED) | ["packages/core/src/model.js","packages/core/test/integration/model/bulk-create/ignore-duplicates.te(...TRUNCATED) | [{"criterion":"aligned_inserted","weight":18.75},{"criterion":"skipped_honest","weight":12.5},{"crit(...TRUNCATED) | [{"path":"grader/maintainer_review.judge.json","encoding":"utf-8","content":"{\n \"question\": \"Re(...TRUNCATED) | "# bulkcreate_ignore_duplicates on the coding-template (rubric flavor).\n#\n# Substrate: sequelize ((...TRUNCATED) | TypeScript | MIT | sequelize-bulkcreate-ignore-duplicates | hard | 10 | [
0.35,
0.425,
0.425,
0.125,
0.425,
0.375,
0.375,
0.4,
0.375,
0.125
] | 0.34 | 0 | [
"claude-fable-5"
] | 1 | 0 | |
alibaba__druid-druid_lenient_script | alibaba/druid | fa8dc9912637a2f729eef9f55356621fec18d40e | "A bad statement loses a whole SQL script at the first error.\n\nAdd a lenient whole script read:\n\(...TRUNCATED) | "diff --git a/core/src/main/java/com/alibaba/druid/sql/SQLUtils.java b/core/src/main/java/com/alibab(...TRUNCATED) | "diff --git a/core/src/test/java/com/alibaba/druid/bvt/sql/LenientScriptReadTest.java b/core/src/tes(...TRUNCATED) | ["core/src/main/java/com/alibaba/druid/sql/SQLUtils.java","core/src/main/java/com/alibaba/druid/sql/(...TRUNCATED) | [{"criterion":"clean_equals_strict","weight":4.17},{"criterion":"simple_bad","weight":4.17},{"criter(...TRUNCATED) | [{"path":"grader/fixtures/block_extent/block_extent.mysql.clean.sql","encoding":"utf-8","content":"S(...TRUNCATED) | "FROM maven:3.9.9-eclipse-temurin-17\n\nRUN apt-get update && apt-get install -y --no-install-recomm(...TRUNCATED) | Java | Apache-2.0 | druid_lenient_script | hard | 8 | [
0.416,
0.85,
0.668,
0.285,
0.14,
0.14,
0.14,
0.14
] | 0.347 | 0 | [
"claude-opus-5"
] | 1 | 0 | |
python-rope__rope-rope_rename_all_reexport_owners_contract-1c066303 | python-rope/rope | e1f2cc229697c277e598542f1f5ec42a82930c63 | "You are working in a coding repository located at /workspace/repo. Please make your changes directl(...TRUNCATED) | "diff --git a/rope/refactor/move.py b/rope/refactor/move.py\nindex f13aca6d..63691a08 100644\n--- a/(...TRUNCATED) | ["rope/refactor/move.py","rope/refactor/occurrences.py","rope/refactor/rename.py","ropetest/refactor(...TRUNCATED) | [{"criterion":"export_list_follows_the_rename","weight":8.0},{"criterion":"type_constructor_names_fo(...TRUNCATED) | [{"path":"grader/harness/__init__.py","encoding":"utf-8","content":"\"\"\"The hidden checks: rope's (...TRUNCATED) | "# rope: a rename has to carry the name's owners with it — on the coding-template.\n#\n# Substrate(...TRUNCATED) | Python | LGPL-3.0 | rope_rename_all_reexport_owners_contract-1c066303 | hard | 5 | [
0.79,
0.19,
0.41,
0.27,
0.11
] | 0.354 | 0 | [
"claude-fable-5-1"
] | 1 | 0 | ||
igniterealtime__Openfire-openfire_userdeleting_last_owner_contract-0163de9c | igniterealtime/Openfire | c1b8d31a49f17a273aea2ccd89321d34c72fad3b | "You are working in a coding repository located at /workspace/repo. Please make your changes directl(...TRUNCATED) | "diff --git a/xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java b/xmppserver/src/m(...TRUNCATED) | "diff --git a/xmppserver/src/test/java/org/jivesoftware/openfire/muc/UserDeletionOwnershipTest.java (...TRUNCATED) | ["xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java","xmppserver/src/main/java/org(...TRUNCATED) | [{"criterion":"db_path_persistent_room_keeps_an_owner","weight":3.0},{"criterion":"db_path_promotion(...TRUNCATED) | [{"path":"grader/board_smoke.py","encoding":"utf-8","content":"#!/usr/bin/env python3\n\"\"\"The boa(...TRUNCATED) | "# Openfire MUC ownership on user deletion, on the coding-template.\n#\n# Substrate: https://github.(...TRUNCATED) | Java | Apache-2.0 | openfire_userdeleting_last_owner_contract-0163de9c | hard | 5 | [
0.29,
0.65,
0.26,
0.29,
0.29
] | 0.356 | 0 | [
"claude-fable-5-1"
] | 1 | 0 | |
Zettlr__Zettlr-zettlr_clickable_keywords | Zettlr/Zettlr | a143cc1c7518def522ab2bb7d31f0794e9262da3 | "Please make your changes directly in /workspace/repo, not in a copy or a separate worktree.\n\nHi,\(...TRUNCATED) | "diff --git a/source/common/modules/markdown-editor/plugins/click-listeners.ts b/source/common/modul(...TRUNCATED) | "diff --git a/test/frontmatter-keyword-click.spec.ts b/test/frontmatter-keyword-click.spec.ts\nnew f(...TRUNCATED) | ["source/common/modules/markdown-editor/plugins/click-listeners.ts","source/common/modules/markdown-(...TRUNCATED) | [{"criterion":"field_names","weight":12.0},{"criterion":"click_lands","weight":10.0},{"criterion":"c(...TRUNCATED) | [{"path":"grader/failing_cases.py","encoding":"utf-8","content":"#!/usr/bin/env python3\n\"\"\"Print(...TRUNCATED) | "# zettlr_clickable_keywords on the coding-template (rubric flavor).\n#\n# Substrate: Zettlr/Zettlr (...TRUNCATED) | TypeScript | GPL-3.0 | zettlr_clickable_keywords | hard | 5 | [
0.52,
0.31,
0.22,
0.21,
0.56
] | 0.364 | 0 | [
"claude-opus-5"
] | 1 | 0 | |
buchgr__bazel-remote-bazel_remote_disk_eviction_accounting_contract-afe5ea56 | buchgr/bazel-remote | a69b6b5ed933234d93b489ffd216bee5bb74aa06 | "You are working in a coding repository located at /workspace/repo. Please make your changes directl(...TRUNCATED) | "diff --git a/cache/disk/disk.go b/cache/disk/disk.go\nindex 4db928c..cb54739 100644\n--- a/cache/di(...TRUNCATED) | "diff --git a/cache/disk/accounting_test.go b/cache/disk/accounting_test.go\nnew file mode 100644\ni(...TRUNCATED) | [
"cache/disk/accounting_test.go",
"cache/disk/disk.go",
"cache/disk/load.go",
"cache/disk/lru.go"
] | [{"criterion":"admitted_blob_survives_restart_with_the_same_limits","weight":27.0},{"criterion":"adm(...TRUNCATED) | [{"path":"grader/harness/spec/cells_test.go","encoding":"utf-8","content":"// Cells of the hidden gr(...TRUNCATED) | "# bazel-remote: disk cache byte accounting, on the coding-template.\n#\n# Substrate: https://github(...TRUNCATED) | Go | Apache-2.0 | bazel_remote_disk_eviction_accounting_contract-afe5ea56 | hard | 5 | [
0.46,
0.37,
0.37,
0.28,
0.37
] | 0.37 | 0 | [
"claude-fable-5-1"
] | 1 | 0 | |
terser__terser-retained_top_level_names_keep_their_values | terser/terser | 317f449862b8d48756818cdcaf67c22c31ec852c | "Please make your changes directly in /workspace/repo, not in a copy or a separate worktree.\n\n# Re(...TRUNCATED) | "diff --git a/lib/compress/tighten-body.js b/lib/compress/tighten-body.js\n--- a/lib/compress/tighte(...TRUNCATED) | [
"lib/compress/inline.js",
"lib/compress/tighten-body.js"
] | [{"criterion":"called_at_its_single_use_site","weight":19.0},{"criterion":"read_through_a_second_bin(...TRUNCATED) | [{"path":"grader/.gitignore","encoding":"utf-8","content":".calib/\n__pycache__/\n*.pyc\n"},{"path":(...TRUNCATED) | "# retained_top_level_names_keep_their_values on the coding-template.\n#\n# Substrate: terser/terser(...TRUNCATED) | JavaScript | NOASSERTION | retained_top_level_names_keep_their_values | hard | 5 | [
0.32,
0.32,
0.6,
0.32,
0.32
] | 0.376 | 0 | [
"claude-fable-5-1"
] | 1 | 0 |
Dataset Card for ExpertCrowd SWE (EC-SWE)
This dataset contains real software engineering tasks for evaluating coding agents. Each one is a bug or missing behaviour in a real open-source repository, pinned to a commit, with a written problem statement, a reference fix, and a weighted grader backed by hidden tests. The tasks were chosen to sit at the typical difficulty of the pool of reviewed tasks they were drawn from, measured by how well current frontier agents scored on them. Mean agent reward runs from 0.17 to 0.47, and 3.1% of agent runs scored a full 1.0.
Dataset Details
Dataset Description
Every task was written by a software engineer, run on the HUD evaluation
platform, and accepted by a human reviewer (review status verified). Before a
task can be accepted, its reference fix has to score 1.0 on every grader
criterion, the unchanged repository has to fail, and at least 5 agent runs on a
current frontier model have to be graded. Automated checks also look at the
prompt (it must state the symptom, not the fix), the grader (weights add up to
100, each criterion is one observable requirement), and whether the task
overlaps a public benchmark.
This dataset keeps the tasks closest to the typical difficulty of all verified tasks with agent scores, chosen from those that met every export check (see Curation Rationale).
Uses
Direct Use
- Evaluating coding agents on realistic repository-level tasks: give the agent
problem_statementand a checkout ofrepoatbase_commitwithsetup_patchapplied, then score the resulting diff with the task's grader. - Studying difficulty: every task carries the per-run rewards of graded agent runs, so results can be compared against a known baseline.
- Building or validating graders and task-quality tooling, using the reference fix, the hidden tests and the weighted criteria together.
Dataset Structure
One split, test, with one row per task.
| Field | Type | What it holds |
|---|---|---|
instance_id |
string | <owner>__<repo>-<task>, unique |
repo |
string | upstream GitHub repository, owner/name |
base_commit |
string | the 40-character upstream commit the task is built on |
setup_patch |
string | a patch the environment applies to base_commit before the agent starts; empty for most tasks. Apply it first: patch and test_patch are written against the result |
problem_statement |
string | the exact prompt the agent was sent, including a short preamble about the workspace (/workspace/repo) and resource limits |
patch |
string | the reference fix, non-test files only |
test_patch |
string | test files the reference fix adds or changes (may be empty) |
patch_files |
list of string | every file the reference fix touches |
grader |
list of (criterion, weight) | the grader's criteria and their weights in percent; weights add up to 100 |
grader_files |
list of (path, encoding, content) | the grader as built into the task environment (grader/, grading/ or protected/): hidden tests, the repository's regression suite where the grader reruns it, and the script that scores a run. encoding is utf-8, or base64 for binary fixtures. The author's calibration notes, control diffs and adversarial manifests are left out |
dockerfile |
string | the environment the agent ran in |
language, repo_license |
string | from the GitHub API for repo |
hud_task |
string | the task's name on HUD, for tracing a row back |
difficulty |
string | bucket of agent_mean_reward: very hard (under 0.2), hard, medium, easy, very easy (0.8 and up) |
agent_runs, agent_rewards |
int, list of float | graded agent runs on current models and each run's reward (0 to 1) |
agent_mean_reward, agent_solve_rate |
float | mean reward, and the share of runs that scored a full 1.0 |
agent_models |
list of string | the models those runs used |
gold_reward, base_reward |
float | reward of the reference fix (1.0) and of the unchanged repository |
from datasets import load_dataset
ds = load_dataset("ExpertCrowd/ec-swe", split="test")
hard = ds.filter(lambda r: r["difficulty"] in ("very hard", "hard"))
At a glance
- Tasks: one per repository
- Models those runs used: claude-fable-5, claude-fable-5-1, claude-opus-5, gpt-6-astra
| Language | Tasks |
|---|---|
| Python | 6 |
| Go | 6 |
| TypeScript | 5 |
| Java | 3 |
| JavaScript | 2 |
| Rust | 1 |
| C# | 1 |
Difficulty
Difficulty is the mean reward of graded agent runs on current frontier models. The tasks sit around the middle of the distribution of every verified task with 5 or more graded agent runs, so the mean and median stay close to the pool's. The easy tail is left out, and one task comes from the very hard end:
| Mean agent reward | Difficulty | All verified with agent scores | This dataset |
|---|---|---|---|
| 0.0 to 0.2 | very hard | (4%) | 4% |
| 0.2 to 0.4 | hard | (49%) | 46% |
| 0.4 to 0.6 | medium | (44%) | 50% |
| 0.6 to 0.8 | easy | (2%) | 0% |
| 0.8 to 1.0 | very easy | 0 (0%) | 0% |
| mean | 0.377 | 0.383 | |
| median | 0.379 | 0.395 |
Tasks
| Instance | Repository | Language | Difficulty | Mean reward |
|---|---|---|---|---|
oauth2-proxy__oauth2-proxy-proxy_cookie_accounting |
oauth2-proxy/oauth2-proxy | Go | very hard | 0.17 |
bashrc2__epicyon-epicyon_deleted_post_announce_cache_contract-1c066303 |
bashrc2/epicyon | Python | hard | 0.34 |
apache__geode-geode_oql_index_null_semantics_contract-1c066303 |
apache/geode | Java | hard | 0.34 |
sequelize__sequelize-sequelize-bulkcreate-ignore-duplicates |
sequelize/sequelize | TypeScript | hard | 0.34 |
alibaba__druid-druid_lenient_script |
alibaba/druid | Java | hard | 0.35 |
python-rope__rope-rope_rename_all_reexport_owners_contract-1c066303 |
python-rope/rope | Python | hard | 0.35 |
igniterealtime__Openfire-openfire_userdeleting_last_owner_contract-0163de9c |
igniterealtime/Openfire | Java | hard | 0.36 |
Zettlr__Zettlr-zettlr_clickable_keywords |
Zettlr/Zettlr | TypeScript | hard | 0.36 |
buchgr__bazel-remote-bazel_remote_disk_eviction_accounting_contract-afe5ea56 |
buchgr/bazel-remote | Go | hard | 0.37 |
terser__terser-retained_top_level_names_keep_their_values |
terser/terser | JavaScript | hard | 0.38 |
ory__kratos-kratos_cleanup_stale_flows_courier_contract |
ory/kratos | Go | hard | 0.38 |
dotnet__Open-XML-SDK-open_xml_sdk_deletepart_refs_contract-1c066303 |
dotnet/Open-XML-SDK | C# | hard | 0.39 |
dgraph-io__badger-journal_recovery_after_unclean_stop |
dgraph-io/badger | Go | medium | 0.40 |
pomerium__pomerium-pomerium_route_order_contract |
pomerium/pomerium | Go | medium | 0.40 |
BabylonJS__Babylon.js-babylonjs_scene_remove_owner_refs_contract-382616f8 |
BabylonJS/Babylon.js | TypeScript | medium | 0.40 |
alibaba__hooks-ahooks_request_cache_races |
alibaba/hooks | TypeScript | medium | 0.41 |
go-mysql-org__go-mysql-go_mysql_mariadb_compressed_columns |
go-mysql-org/go-mysql | Go | medium | 0.41 |
sfackler__rust-postgres-shared_handle_abandoned_operations |
sfackler/rust-postgres | Rust | medium | 0.42 |
celery__celery-celery_retry_expires_countdown_contract |
celery/celery | Python | medium | 0.43 |
colinhacks__zod-zod-json-schema-target-legality |
colinhacks/zod | TypeScript | medium | 0.43 |
pallets__click-click-help-defaults |
pallets/click | Python | medium | 0.43 |
tsileo__microblog.pub-microblogpub_deleted_object_resurrect_lookup_contract-382616f8 |
tsileo/microblog.pub | Python | medium | 0.43 |
jelmer__xandikos-xandikos_itip_recurrence_id_override_contract-c6aa163a |
jelmer/xandikos | Python | medium | 0.46 |
Automattic__mongoose-mongoose_syncindexes_contract-97c2a76f |
Automattic/mongoose | JavaScript | medium | 0.47 |
Running the tasks
There are two ways to run a task: on HUD, the platform the tasks were written for, or with Harbor on your own machine.
On HUD
Every task runs on HUD, including the ones that have no Harbor package. The tasks are
published there as the taskset ec-swe,
which anyone can view; it holds all 24.
To run a task in a HUD workspace of your own: each folder under harbor/sources/ is the build
source of one task's HUD environment. With a HUD account, on Linux, macOS or WSL:
pip install hud # the hud command
hud set HUD_API_KEY=<your key> # a key from hud.ai/project/api-keys
hf download ExpertCrowd/ec-swe --repo-type dataset --include "harbor/sources/**" --local-dir ec-swe
cd ec-swe/harbor/sources/<task folder>
hud deploy # builds the environment in your HUD workspace
hud sync tasks my-ec-swe tasks.py # puts this folder's task into a taskset of yours
hud eval my-ec-swe claude --full # runs it on the platform with an agent
Results appear as jobs and traces on hud.ai (hud jobs). On HUD the agent and the grader
share one container, kept apart by file permissions, and the four tasks with a criterion
judged by a model get that judge from HUD's gateway. The commands follow HUD's
documentation. We deployed twenty-two of the folders this way ourselves and synced the task of
every folder into the taskset above; we have not run an agent with hud eval from this
folder.
With Harbor
The harbor/ folder of this repository makes tasks runnable end
to end with Harbor 0.23.0 and
Docker, and nothing else. Each task is packaged as two containers: one for the
agent, holding the repository at its base commit and nothing from the grading
side, and a separate one that grades the patch the agent leaves behind with the
task's original grader. Both are offline by default. The folder holds each
task's complete build context, so its environment can be rebuilt from this
repository alone.
hf download ExpertCrowd/ec-swe --repo-type dataset --include "harbor/**" --local-dir ec-swe
cd ec-swe/harbor
pip install harbor==0.23.0
python build_images.py --task <task folder>
harbor run -p tasks/<task folder> -a oracle # the reference fix: reward 1.0
harbor run -p tasks/<task folder> -a nop # no change: reward 0.0
harbor run -p tasks/<task folder> -a <agent> -m <model> --allow-agent-host <model API host>
harbor/README.md has the requirements, a table that maps each task folder to
its instance_id here, the scripted checks, and what was recorded for each
task. Every packaged task was run through Harbor on the files in the folder: an
empty change scores 0, and the reference fix scores 1.0 with every criterion
equal to the task's original grading. The folder contains the reference fixes
and the hidden graders, as the rows of this dataset do.
7 more (geode, go-mysql, mongoose, oauth2-proxy, open-xml-sdk, pomerium, rust-postgres) are being packaged or re-checked; they are added as each one passes.
Five tasks have no Harbor package yet: click, sequelize, druid and hooks (one criterion each
is judged by a model) and Babylon.js. The folder holds the complete build context of each,
and harbor/README.md says for each how it is built and graded and what it needs.
Dataset Creation
Curation Rationale
The goal was a public set at the typical difficulty of the full pool: hard enough that no current agent solves the tasks reliably, without tasks so hard that every agent scores near zero, or so easy that they no longer separate models.
- Pool. Every task whose current review status on HUD is `verified'. Validation copies of a task are not tasks and were left out.
- Export checks. A task was kept only if HUD gave a prompt, a GitHub repository and a pinned 40-character commit, a non-empty reference fix, grader weights adding up to 100, a reference run on the current task version scoring 1.0, and at least 5 graded agent runs on a current model. The repository had to be an established upstream project, not one created for the task, and the environment could not depend on a task author's personal images. Two tasks with the same reference fix, or the same repository and scenario, count once.
- Stratified sample. All verified tasks with 5 or more graded agent runs were ranked by mean agent reward and cut into bins of equal size. Each bin contributed one task that passed the export checks, preferring a repository not yet in the sample. Matching against the whole scored pool, not only the exportable part, keeps the export checks from skewing the difficulty curve.
- Typical difficulty. From that sample, the tasks whose mean agent reward was closest to the sample mean (0.374) were kept: every task within 0.059 of it. The nearest task left out was 0.064 away, so the cut does not split a tie.
- Replacement. Six tasks of that selection were later replaced by six other verified tasks from the same pool. The replacements were picked by their average score across six current models, not by the rule in step 4, so three of them lie outside its band (mean agent reward 0.17, 0.46 and 0.47).
Source Data
Data Collection and Processing
Task authors chose a bug or missing behaviour in an open-source repository, wrote the problem statement, built a container that checks out the repository at a pinned commit, wrote a reference fix and a hidden-test grader, and ran the task on HUD: a reference run, a run with no fix, and at least 5 agent runs. The export reads the prompt from the agent's own trace, the criteria and weights from the reference run's grading, and the repository, commit, reference fix and grader from the environment build.
Who are the source data producers?
The code comes from the upstream open-source projects named in repo, written
by their contributors. The problem statements, reference fixes, hidden tests and
graders were written by professional software engineers contracted to build the
tasks.
Annotations
Annotation process
Each task was reviewed on HUD by a human reviewer, who could send it back for
revision or reject it; only tasks marked verified are included. Automated
checks run before review on the prompt, the grader, the reference and baseline
runs, and overlap with public benchmarks. The difficulty fields come from graded
agent runs, not from people.
Who are the annotators?
Experienced software engineers acting as reviewers, separate from each task's author.
Personal and Sensitive Information
The tasks are about source code. Author and reviewer names were left out of the export. Upstream code can contain contributor names in comments, licence headers or commit metadata, as it does in the upstream repositories.
Recommendations
Report agent_solve_rate-style full solves alongside mean reward, report
results per difficulty bucket as well as overall, and give the model's training
cutoff relative to this dataset's release.
Citation
BibTeX:
@misc{toptal2026ecswe,
author = {{Toptal, LLC}},
title = {{EC SWE}},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/ExpertCrowd/ec-swe}}
}
APA:
Toptal, LLC. (2026). EC SWE [Data set]. Hugging Face. https://huggingface.co/datasets/ExpertCrowd/ec-swe
Glossary
- Gold run: the task run with the reference fix applied. It must score 1.0.
- Base run: the task run on the unchanged repository. It should score low.
- Reward: the grader's weighted score for one run, 0 to 1.
- Verified: a task a human reviewer accepted on HUD.
Dataset Card Authors
Toptal, LLC
Dataset Card Contact
Toptal, LLC, through the ExpertCrowd organization on Hugging Face.
- Downloads last month
- 492