CoolFace
Datasetpublic

MERA-evaluation/SWE-MERA

SWE-MERA Continuously updated SWE-MERA dataset SWE-MERA splits: dev: for testing (10 samples) lite: presented at the leaderboard here (750 samples) full: continuously updated to collect more data (2738 samples) Load dataset from datasets import load_dataset ds = load_dataset("MERA-evaluation/SWE-MERA", split='dev') Evaluation Description The main tool to validate tasks is repotest (available at PyPI or GitHub)… See the full description on the dataset page: https://huggingface.co/datasets/MERA-evaluation/SWE-MERA.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
11likes811downloads
Dataset Card

SWE-MERA

Continuously updated SWE-MERA dataset

SWE-MERA splits:

  • dev: for testing (10 samples)
  • lite: presented at the leaderboard here (750 samples)
  • full: continuously updated to collect more data (2738 samples)

Load dataset

python
from datasets import load_dataset
ds = load_dataset("MERA-evaluation/SWE-MERA", split='dev')

Evaluation

Description

The main tool to validate tasks is repotest (available at PyPI or GitHub)

data.jsonl - dataset file, where after the agent run, the patch column was changed

Install dependencies
bash
pip install repositorytest
Run evaluation
bash
swemera --fn_input=data.jsonl --fn_output=submission.jsonl --column_patch=patch --mode=docker

If you don't want to use Docker and prefer Conda or local execution:

bash
swemera --fn_input=data.jsonl --fn_output=submission.jsonl --column_patch=patch --mode=local

Schema

Column NameTypeDescriptionIs New Column
repoVARCHARRepository name (e.g., GitHub repository)False
instance_idVARCHARUnique identifier for task: f"{repo.replace('/', '_') + '' + pr_number}"False
base_commitVARCHARCommit hash of the base code before patch appliedFalse
patchVARCHARCode patch or diff applied to the base_commit to be the correct solutionFalse
test_patchVARCHARPatch for test code, if separate from main code patchFalse
problem_statementVARCHARDescription or statement of the problem to solveFalse
hint_textVARCHARHints or tips for solving the problem from GitHub issue commentsFalse
created_atVARCHARDate when the instance was createdFalse
closed_atVARCHARDate when the instance was closed or resolvedTrue
versionVARCHARVersion identifier for the instance or datasetFalse
FAILTOPASSLIST[VARCHAR]Test cases which were failing but later passedFalse
PASSTOPASSLIST[VARCHAR]Test cases which passed at all timesFalse
environmentsetupcommitVARCHARCommit hash for environment setup configurationFalse
command_buildVARCHARCommand used to build the repoTrue
command_testVARCHARCommand used to run the tests inside repoTrue
image_nameVARCHARDocker or container image name used for testing environmentTrue
commandtestsmallVARCHARCommand to run a smaller subset of testsTrue
timeout_buildINTEGERTimeout limit in seconds for build commandTrue
timeout_testINTEGERTimeout limit in seconds for test commandTrue
metaDICT[STR,ANY]Additional metadata about the instance*

*meta field description:

json
{
  "score": {
    "task_correctness": "INTEGER",
    "test_correctness": "INTEGER",
    "complexity": "INTEGER",
    "test_completeness": "INTEGER"
  },
  "type": "VARCHAR",
  "pr_number": "INTEGER",
  "issue_number": "INTEGER",
  "merged_at": "VARCHAR",
  "tag": "VARCHAR // Information on how data was collected",
  "merge_commit": "VARCHAR",
  "task_id": "VARCHAR // Latency identifier of the task",
  "url": {
    "issue": "VARCHAR",
    "pr": "VARCHAR",
    "diff": "VARCHAR"
  },
  "command_test_small": "VARCHAR // Command to run only a small number of tests"
}

Dev tasks Examples

Instances

Instance IDShort Title
reframe-0Performance threshold goes to -inf when it should be zero.
pyflakes-1Walrus operator + annotation can cause F821
sqlglot-2MySQL dialect fails to parse PRIMARY KEY USING BTREE syntax
matchms-3matchms fails when reading spectra where abundance is in scientific notation #809
guarddog-4Add Mach-O magic bytes to bundled binary detector #523
pdoc-5Include HTML headers in ToC
QCElemental-6QCElemental allows floating point numbers for molecular charges, however when computing the spin with the fractional electron there is no way to represent the molecular multiplicity with just an integer.
sqlglot-7TSQL: PRIMARY KEY constraint fails to parse if
sqlglot-8[BUG] Conversion from SQL Server's DATEADD(quarter...) to PostgreSQL not working properly
python-markdownify-9Inline Quotation element ignored