Kevin589981 commited on
Commit
900a792
·
verified ·
1 Parent(s): 91895bb

publish SWE-bench Science release (part 2)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. tasks/task_041/task.toml +44 -0
  2. tasks/task_041/tests/Dockerfile +2 -0
  3. tasks/task_041/tests/test.sh +6 -0
  4. tasks/task_042/environment/Dockerfile +60 -0
  5. tasks/task_042/instruction.md +29 -0
  6. tasks/task_042/metadata.json +12 -0
  7. tasks/task_042/task.toml +44 -0
  8. tasks/task_042/tests/Dockerfile +2 -0
  9. tasks/task_042/tests/test.sh +6 -0
  10. tasks/task_043/environment/Dockerfile +60 -0
  11. tasks/task_043/instruction.md +19 -0
  12. tasks/task_043/metadata.json +12 -0
  13. tasks/task_043/task.toml +44 -0
  14. tasks/task_043/tests/Dockerfile +2 -0
  15. tasks/task_043/tests/test.sh +6 -0
  16. tasks/task_044/environment/Dockerfile +60 -0
  17. tasks/task_044/instruction.md +17 -0
  18. tasks/task_044/metadata.json +12 -0
  19. tasks/task_044/task.toml +44 -0
  20. tasks/task_044/tests/Dockerfile +2 -0
  21. tasks/task_044/tests/test.sh +6 -0
  22. tasks/task_045/environment/Dockerfile +60 -0
  23. tasks/task_045/instruction.md +35 -0
  24. tasks/task_045/metadata.json +12 -0
  25. tasks/task_045/task.toml +44 -0
  26. tasks/task_045/tests/Dockerfile +2 -0
  27. tasks/task_045/tests/test.sh +6 -0
  28. tasks/task_046/environment/Dockerfile +60 -0
  29. tasks/task_046/instruction.md +16 -0
  30. tasks/task_046/metadata.json +12 -0
  31. tasks/task_046/task.toml +44 -0
  32. tasks/task_046/tests/Dockerfile +2 -0
  33. tasks/task_046/tests/test.sh +6 -0
  34. tasks/task_047/environment/Dockerfile +60 -0
  35. tasks/task_047/instruction.md +20 -0
  36. tasks/task_047/metadata.json +12 -0
  37. tasks/task_047/task.toml +44 -0
  38. tasks/task_047/tests/Dockerfile +2 -0
  39. tasks/task_047/tests/test.sh +6 -0
  40. tasks/task_048/environment/Dockerfile +60 -0
  41. tasks/task_048/instruction.md +27 -0
  42. tasks/task_048/metadata.json +12 -0
  43. tasks/task_048/task.toml +44 -0
  44. tasks/task_048/tests/Dockerfile +2 -0
  45. tasks/task_048/tests/test.sh +6 -0
  46. tasks/task_049/environment/Dockerfile +60 -0
  47. tasks/task_049/instruction.md +31 -0
  48. tasks/task_049/metadata.json +12 -0
  49. tasks/task_049/task.toml +44 -0
  50. tasks/task_049/tests/Dockerfile +2 -0
tasks/task_041/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-041"
6
+ description = "Repair an inconsistent near-Earth vector conversion"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "041"
12
+ language = "python"
13
+ base_commit_hash = "470d13491dd2c2a9440b3c657af33373ca8d47c1"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-041:v0.1.0@sha256:2d7000ea85b0ce1a1df141d46ccce61e3edcd53e86e9d5136a1b26096799aa77"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_041"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-041:v0.1.0@sha256:7e3b7b1a0ab181ed010a5bdb2bde149d115188f96418edea77331caf6e20b00a"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_041"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_041 && git config --global --add safe.directory /app/task_041 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_041/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-041:v0.1.0@sha256:7e3b7b1a0ab181ed010a5bdb2bde149d115188f96418edea77331caf6e20b00a
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_041/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_042/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.12-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_042
41
+ COPY repo/ /app/task_042/source/
42
+ COPY public/ /app/task_042/
43
+ COPY requirements.lock /app/task_042/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_042:/app/task_042/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_042/instruction.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair an inconsistent solar-coordinate archive workflow
2
+
3
+ A solar-observation catalogue uses the supplied scientific package to attach
4
+ coordinate objects to a table before archiving the catalogue for later
5
+ analysis. The coordinates describe a short sequence of features observed from
6
+ changing locations. Object construction and the in-memory analysis are valid,
7
+ but the archive/reload workflow does not yield a catalogue that can be reused
8
+ consistently in the same downstream analysis.
9
+
10
+ Reproduce the problem, inspect the source and public workflow, and repair the
11
+ implementation so that valid solar-observation
12
+ catalogues retain their scientific meaning through supported archive
13
+ workflows. The repair must generalize beyond the supplied catalogue. Do not
14
+ replace scientific objects with fixed outputs, special-case the supplied data,
15
+ or change the public reproduction to hide a failure.
16
+
17
+ Work only under this task directory. The evaluation environment is Linux and
18
+ has no network access. You may modify files under `source/`; do not modify the
19
+ task statement, reproduction, fixtures, workflow, or evaluation infrastructure.
20
+
21
+ Run the public smoke test with:
22
+
23
+ ```bash
24
+ python reproduce.py
25
+ ```
26
+
27
+ The command returns `1` when the untouched source reproduces the scientific
28
+ archive failure, `0` after a successful repair, and `2` for a runner or
29
+ environment failure.
tasks/task_042/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "042",
3
+ "title": "Repair an inconsistent solar-coordinate archive workflow",
4
+ "domain": "solar-physics-scientific-data-semantics",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/sunpy/sunpy",
7
+ "source_commit": "c961a1507a83b9dab24ccce12ab92a53b30359d7",
8
+ "source_license": "UNKNOWN",
9
+ "license_source": "LICENSE.rst",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "2b237d17e4f9409c1a9f77b47e60d782df91ca4aa81205bb312c597781819fe9"
12
+ }
tasks/task_042/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-042"
6
+ description = "Repair an inconsistent solar-coordinate archive workflow"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "042"
12
+ language = "python"
13
+ base_commit_hash = "c961a1507a83b9dab24ccce12ab92a53b30359d7"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-042:v0.1.0@sha256:38b71d095fa30606c636c19aa2145fde1f74993809cff837b6da5e5597895181"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_042"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-042:v0.1.0@sha256:133f5154d63c2614e6e754d68ca91bef2a8ea4af1210de147a794c570c06d8f9"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_042"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_042 && git config --global --add safe.directory /app/task_042 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_042/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-042:v0.1.0@sha256:133f5154d63c2614e6e754d68ca91bef2a8ea4af1210de147a794c570c06d8f9
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_042/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_043/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_043
41
+ COPY repo/ /app/task_043/source/
42
+ COPY public/ /app/task_043/
43
+ COPY requirements.lock /app/task_043/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_043:/app/task_043/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_043/instruction.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair an inconsistent porous-volume characterization
2
+
3
+ A porous-media research group is reprocessing segmented X-ray tomography
4
+ data from sandstone with this historical PoreSpy source snapshot. The
5
+ supplied offline workflow completes normally, but the summaries produced from
6
+ the supplied segmented volume and an explicit axis-permuted representation of
7
+ that same volume are not mutually consistent. A radial two-point
8
+ characterization should not depend on which array axis stores a physical
9
+ direction.
10
+
11
+ Run the reproduction, inspect the supplied sample data and project source, and
12
+ repair the implementation so the
13
+ scientific characterization is consistent with the definitions supported by
14
+ the project. The repair must generalize to other valid segmented images and
15
+ documented analysis options.
16
+
17
+ Do not hard-code the supplied volume, permutation, any public observation,
18
+ fixed dimensions, or filename-specific behavior. Do not modify the scientific
19
+ input, workflow, public observations, or generated reports.
tasks/task_043/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "043",
3
+ "title": "Repair an inconsistent porous-volume characterization",
4
+ "domain": "porous-media-image-analysis",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/PMEAL/porespy",
7
+ "source_commit": "f2360a52bc77ec917aa07ce0cf6128dc7687ea64",
8
+ "source_license": "MIT",
9
+ "license_source": "LICENSE",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "dc0ef803237a7f1beab83b5eeaa8fe68fb3c39a553bb28ce9acde348e912b0be"
12
+ }
tasks/task_043/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-043"
6
+ description = "Repair an inconsistent porous-volume characterization"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "043"
12
+ language = "python"
13
+ base_commit_hash = "f2360a52bc77ec917aa07ce0cf6128dc7687ea64"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-043:v0.1.0@sha256:3e82e859587bdd681272bac9ecb4a415e77fe9f2160afe76a9f0bc641cf7096f"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_043"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-043:v0.1.0@sha256:c9a3a93ea8eca723583d471b478202553f011baaaee8411063a1aabec7c1651e"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_043"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_043 && git config --global --add safe.directory /app/task_043 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_043/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-043:v0.1.0@sha256:c9a3a93ea8eca723583d471b478202553f011baaaee8411063a1aabec7c1651e
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_043/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_044/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_044
41
+ COPY repo/ /app/task_044/source/
42
+ COPY public/ /app/task_044/
43
+ COPY requirements.lock /app/task_044/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_044:/app/task_044/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_044/instruction.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair inconsistent battery-model predictions
2
+
3
+ A battery-modeling group is using this historical PyBaMM snapshot to study a
4
+ realistic lithium-ion cell parameterised for the supplied study. A
5
+ valid offline discharge workflow completes, but its scientific output does not
6
+ satisfy the discharge behavior required by the model and protocol.
7
+
8
+ Run the supplied reproduction, inspect the complete project source and task
9
+ workflow. Diagnose the cause of the inconsistent battery prediction and repair
10
+ the implementation so that the documented scientific workflow is correct for
11
+ supported inputs.
12
+
13
+ The repair must be general. Do not hard-code the supplied result, parameter
14
+ names, model class, protocol, or file paths. Do not modify the scientific
15
+ inputs, workflow, reproduction, or generated reports.
16
+ Validate your change with additional legal parameter values and model paths,
17
+ not only the public run.
tasks/task_044/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "044",
3
+ "title": "Repair inconsistent lithium-ion discharge predictions",
4
+ "domain": "electrochemical-battery-modeling",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/pybamm-team/PyBaMM",
7
+ "source_commit": "a42d7a92dd9a2c63240c8ccb6f240e5c3c42de46",
8
+ "source_license": "BSD-3-Clause",
9
+ "license_source": "LICENSE.txt",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "735b90c38de21e5576b5f999f18e125f63adcef3b45423c2115fea41665d1bff"
12
+ }
tasks/task_044/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-044"
6
+ description = "Repair inconsistent lithium-ion discharge predictions"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "044"
12
+ language = "python"
13
+ base_commit_hash = "a42d7a92dd9a2c63240c8ccb6f240e5c3c42de46"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-044:v0.1.0@sha256:513707a2950f87958370d940ca542603b5a4b83443e5c712c916abd1cc37eeb0"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_044"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-044:v0.1.0@sha256:61f22d5c7943225471bcdeed86f32470249eaefe57453989c3af1314811f3671"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_044"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_044 && git config --global --add safe.directory /app/task_044 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_044/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-044:v0.1.0@sha256:61f22d5c7943225471bcdeed86f32470249eaefe57453989c3af1314811f3671
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_044/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_045/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_045
41
+ COPY repo/ /app/task_045/source/
42
+ COPY public/ /app/task_045/
43
+ COPY requirements.lock /app/task_045/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_045:/app/task_045/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_045/instruction.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair inconsistent finite-volume operations on a connected multi-face grid
2
+
3
+ An ocean-modeling group is post-processing a tracer field from a global
4
+ finite-volume calculation. The supplied grid is represented as several
5
+ logically rectangular faces that meet at rotated edges. Interpolation and
6
+ differencing across those edges are part of the same diagnostic workflow used
7
+ to form transport and mixing budgets.
8
+
9
+ The workflow completes and returns finite arrays, but a connected padding call
10
+ can reorder the local dimensions. Values occupying the expected connected-halo
11
+ positions then no longer come from the neighboring face declared by the
12
+ cubed-sphere topology. The result can also depend on process-level ordering
13
+ even though the physical grid and field are unchanged. A connected edge is a
14
+ geometric interface: padding must preserve the input dimension order, and for a
15
+ scalar face-label field every non-corner halo position in that layout must have
16
+ the label of the declared neighboring face, independent of process hash seed.
17
+
18
+ Inspect the complete source snapshot, the finite-volume references, the grid
19
+ description, and the public reproduction. Repair the implementation so that
20
+ connected-face operations are geometrically consistent for valid inputs
21
+ supported by the project. The repair must remain correct for other connected
22
+ multi-face grids, fields, widths, orientations, and valid scientific workflows,
23
+ not only for the supplied probes.
24
+
25
+ Do not hard-code the supplied field, face count, process seeds, edge probes,
26
+ array values, or fixture path. Do not change the scientific input or public
27
+ report to hide a failure. Preserve existing behavior for ordinary single-face
28
+ grids and valid disconnected boundaries.
29
+
30
+ Run `python reproduce.py` before and after your repair. The command checks a
31
+ small, transparent subset of connected edges by deriving each required
32
+ neighbor directly from the public `face_connections` table. It also reports a
33
+ dimension-order comparison as a non-authoritative observation. Hidden tests
34
+ cover the complete topology and broader field and operation families, so the
35
+ public observations are not the complete correctness oracle.
tasks/task_045/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "045",
3
+ "title": "Repair inconsistent finite-volume operations on a connected multi-face grid",
4
+ "domain": "computational-oceanography-finite-volume-grids",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/xgcm/xgcm",
7
+ "source_commit": "3831b46accbff35f06e4ed3831600d71d5d8da18",
8
+ "source_license": "MIT",
9
+ "license_source": "LICENSE",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "f7e001f18305b0978520b26cb621a76014f6e5d030992ae0bc4f03f76f4ad82b"
12
+ }
tasks/task_045/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-045"
6
+ description = "Repair inconsistent finite-volume operations on a connected multi-face grid"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "045"
12
+ language = "python"
13
+ base_commit_hash = "3831b46accbff35f06e4ed3831600d71d5d8da18"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-045:v0.1.0@sha256:bdf7ecf2141952410df47d69d36d45b662047a720f6ff26ceeef1c33486b3fa0"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_045"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-045:v0.1.0@sha256:a3cd9863966518102f06bbf956ddfa7b6578debf5bcf92ccfbe0d1252c3a4b20"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_045"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_045 && git config --global --add safe.directory /app/task_045 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_045/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-045:v0.1.0@sha256:a3cd9863966518102f06bbf956ddfa7b6578debf5bcf92ccfbe0d1252c3a4b20
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_045/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_046/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_046
41
+ COPY repo/ /app/task_046/source/
42
+ COPY public/ /app/task_046/
43
+ COPY requirements.lock /app/task_046/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_046:/app/task_046/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_046/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair an inconsistent X-ray spectral-timing analysis
2
+
3
+ An X-ray timing group is replaying a two-band quality-control observation with
4
+ the historical scientific-software source supplied in this task. The
5
+ observation loads successfully and the Fourier calculation completes, but the
6
+ returned frequency-dependent products do not satisfy the statistical behavior
7
+ described by the supplied method material.
8
+
9
+ Run the offline reproduction, inspect the complete observation and historical
10
+ source, and repair the implementation so the reconstructed analysis agrees
11
+ with the required observation semantics. The repair must generalize to
12
+ other valid simultaneous light-curve inputs supported by the project.
13
+
14
+ Do not hard-code this observation, a filename-specific result, or report
15
+ fields. Do not modify the supplied observation, public reproduction, or
16
+ generated reports.
tasks/task_046/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "046",
3
+ "title": "Repair an inconsistent X-ray spectral-timing analysis",
4
+ "domain": "astrophysical-xray-spectral-timing",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/StingraySoftware/stingray",
7
+ "source_commit": "79b8f9bb9d122bd0176bb37f48f0fd4926eb9afb",
8
+ "source_license": "MIT",
9
+ "license_source": "LICENSE.rst",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "f358c234dfb9d428b07da73956df43b4e327aa28922de1f7380efd56563d9435"
12
+ }
tasks/task_046/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-046"
6
+ description = "Repair an inconsistent X-ray spectral-timing analysis"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "046"
12
+ language = "python"
13
+ base_commit_hash = "79b8f9bb9d122bd0176bb37f48f0fd4926eb9afb"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-046:v0.1.0@sha256:5113cc358a6f5df25d7b7c09e02cb5b9bd9964248f2d51ead28308c90febd15d"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_046"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-046:v0.1.0@sha256:73e5bc8338655f2d15e7dd871c42544ec9e7d16af3f24e6ecb69030f71edefbf"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_046"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_046 && git config --global --add safe.directory /app/task_046 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_046/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-046:v0.1.0@sha256:73e5bc8338655f2d15e7dd871c42544ec9e7d16af3f24e6ecb69030f71edefbf
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_046/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_047/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_047
41
+ COPY repo/ /app/task_047/source/
42
+ COPY public/ /app/task_047/
43
+ COPY requirements.lock /app/task_047/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_047:/app/task_047/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_047/instruction.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair an inconsistent broadband microwave composite
2
+
3
+ I am replaying a lossy two-port measurement workflow with the supplied
4
+ historical scientific-library source, two measured microstrip records, and a
5
+ declared replay configuration. The calculation completes, the frequency sweep
6
+ is nonempty, and the reported response is finite. However, the end-to-end
7
+ network behavior is not scientifically consistent with the supplied material
8
+ for the same records and configuration.
9
+
10
+ Run `python reproduce.py` to reproduce the observation. Inspect the complete
11
+ source tree and public measurement records, then repair the
12
+ library implementation so this workflow and related supported network
13
+ workflows are scientifically consistent. Preserve the established public APIs.
14
+ The repair must generalize beyond the supplied records, frequencies, and replay
15
+ values; do not hard-code the public fixture or replace the scientific
16
+ calculation with stored output.
17
+
18
+ The task is fully offline. The Touchstone files are authentic upstream
19
+ measurement examples. The replay configuration is a fixed input record, not
20
+ code under repair.
tasks/task_047/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "047",
3
+ "title": "Repair an inconsistent broadband microwave composite",
4
+ "domain": "microwave-network-analysis",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/scikit-rf/scikit-rf",
7
+ "source_commit": "a6dae181dbcf76fc738fc7fbc03d7de0a6c22634",
8
+ "source_license": "BSD-3-Clause",
9
+ "license_source": "LICENSE.txt",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "fa85f0105f3ab7a955fd95d203fbe54b220508b0f1d04065e60bc9bb1aac505b"
12
+ }
tasks/task_047/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-047"
6
+ description = "Repair an inconsistent broadband microwave composite"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "047"
12
+ language = "python"
13
+ base_commit_hash = "a6dae181dbcf76fc738fc7fbc03d7de0a6c22634"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-047:v0.1.0@sha256:a94de21354f66e978943e80946546812dbf404c4468baf12a84d23c34720e3d6"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_047"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-047:v0.1.0@sha256:8529979be314893a77f9c51cf5d2c0d6266d6f9df10fb33d332eb242f38953db"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_047"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_047 && git config --global --add safe.directory /app/task_047 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_047/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-047:v0.1.0@sha256:8529979be314893a77f9c51cf5d2c0d6266d6f9df10fb33d332eb242f38953db
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_047/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_048/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_048
41
+ COPY repo/ /app/task_048/source/
42
+ COPY public/ /app/task_048/
43
+ COPY requirements.lock /app/task_048/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_048:/app/task_048/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_048/instruction.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Repair an inconsistent alloy equilibrium assessment
2
+
3
+ A materials-thermodynamics group is replaying literature-linked alloy studies
4
+ with the supplied historical pycalphad source and databases. The calculations
5
+ complete and return finite datasets, but several observations no longer agree
6
+ with the group's archived results:
7
+
8
+ - a composition-temperature phase boundary moves when an equivalent database
9
+ representation is admitted to the same assessment;
10
+ - the associated phase fractions and internal-state evolution cease to form a
11
+ physically consistent transition;
12
+ - chemical-potential and heat-response curves disagree with the corresponding
13
+ baseline calculation; and
14
+ - the equilibrium topology depends on a representation that should not create
15
+ a new thermodynamic state for the requested components.
16
+
17
+ Run the offline workflow, inspect the databases and source snapshot, and repair
18
+ the scientific
19
+ implementation. Determine the common cause rather than treating the symptoms
20
+ independently. The repair must generalize to other valid CALPHAD database
21
+ representations and supported phase states while preserving public APIs and
22
+ unrelated model behavior.
23
+
24
+ Do not hard-code the supplied grids or generated artifacts, and do not modify
25
+ the scientific input files. The public workflow only establishes that the real
26
+ project calculation runs and saves results; correctness is evaluated on
27
+ independent scientific cases.
tasks/task_048/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "048",
3
+ "title": "Repair an inconsistent alloy equilibrium assessment",
4
+ "domain": "computational-thermodynamics-calphad",
5
+ "language": "python",
6
+ "source_repository": "",
7
+ "source_commit": "",
8
+ "source_license": "MIT",
9
+ "license_source": "LICENSE.txt",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "5a22842c3c77c8730dca22e3e922c35f6b0018b981a092d0ef6752cd92855917"
12
+ }
tasks/task_048/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-048"
6
+ description = "Repair an inconsistent alloy equilibrium assessment"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "048"
12
+ language = "python"
13
+ base_commit_hash = ""
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-048:v0.1.0@sha256:38893d5510a1f2c722c39dc851c1f4c0698c52602753e0e9a0531ea466ee9a4b"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_048"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-048:v0.1.0@sha256:66acaa226780910a92acf5076beb045a8f521ec7f222277fb4fa1e37296d46da"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_048"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_048 && git config --global --add safe.directory /app/task_048 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_048/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-048:v0.1.0@sha256:66acaa226780910a92acf5076beb045a8f521ec7f222277fb4fa1e37296d46da
2
+ FROM ${VERIFIER_IMAGE}
tasks/task_048/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Pier requires a public tests entrypoint when loading a local task. In
5
+ # separate-verifier mode the executable grader remains inside the verifier image.
6
+ exec python /tests/grader.py
tasks/task_049/environment/Dockerfile ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=python:3.11-slim
2
+ FROM ${BASE_IMAGE}
3
+
4
+ ARG DEBIAN_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian
5
+ ARG DEBIAN_SECURITY_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/debian-security
6
+ ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
7
+ ARG INSTALL_FORTRAN=0
8
+ ARG INSTALL_OCTAVE=0
9
+ ENV DEBIAN_FRONTEND=noninteractive \
10
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
11
+ PIP_INDEX_URL=${PIP_INDEX_URL} \
12
+ PIP_NO_CACHE_DIR=1 \
13
+ PYTHONDONTWRITEBYTECODE=1
14
+
15
+ RUN sed -i \
16
+ -e "s|http://deb.debian.org/debian-security|${DEBIAN_SECURITY_MIRROR}|g" \
17
+ -e "s|http://deb.debian.org/debian|${DEBIAN_MIRROR}|g" \
18
+ /etc/apt/sources.list.d/debian.sources
19
+
20
+ RUN apt-get -o Acquire::Retries=10 update \
21
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends \
22
+ build-essential \
23
+ ca-certificates \
24
+ curl \
25
+ git \
26
+ ripgrep \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
+ RUN if [ "${INSTALL_FORTRAN}" = "1" ]; then \
30
+ apt-get -o Acquire::Retries=10 update \
31
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends gfortran \
32
+ && rm -rf /var/lib/apt/lists/*; \
33
+ fi \
34
+ && if [ "${INSTALL_OCTAVE}" = "1" ]; then \
35
+ apt-get -o Acquire::Retries=10 update \
36
+ && apt-get -o Acquire::Retries=10 install -y --no-install-recommends octave \
37
+ && rm -rf /var/lib/apt/lists/*; \
38
+ fi
39
+
40
+ WORKDIR /app/task_049
41
+ COPY repo/ /app/task_049/source/
42
+ COPY public/ /app/task_049/
43
+ COPY requirements.lock /app/task_049/requirements.lock
44
+
45
+ RUN python -m pip install --no-cache-dir --upgrade pip \
46
+ && python -m pip install --no-cache-dir -r requirements.lock
47
+ ENV PYTHONPATH=/app/task_049:/app/task_049/source
48
+
49
+ RUN git init \
50
+ && git checkout -b main \
51
+ && git config user.email science-bench@example.invalid \
52
+ && git config user.name "SWE-bench Science baseline" \
53
+ && git add -A \
54
+ && GIT_AUTHOR_DATE=2025-01-01T00:00:00Z \
55
+ GIT_COMMITTER_DATE=2025-01-01T00:00:00Z \
56
+ git commit -m baseline \
57
+ && git reflog expire --expire=now --all \
58
+ && git gc --prune=now
59
+
60
+ CMD ["bash"]
tasks/task_049/instruction.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Restore the stochastic sampling and discretization contract
2
+
3
+ A computational physics group is maintaining the supplied historical py-pde
4
+ source. Complete stochastic `PDE.solve()` calculations remain numerically
5
+ stable because the current implementation compensates one scaling choice with
6
+ another. The defect is instead at the reusable interface between Gaussian
7
+ sampling and spatial discretization.
8
+
9
+ The backend Gaussian primitive is a standard-normal sampling service. For the
10
+ same backend, seed, dtype, and array shape, its draw must not change when only
11
+ the physical grid measure changes. Cell volumes belong to the discretization
12
+ of a stochastic field: a variance-based solver converts continuum noise
13
+ variance to a cell increment using the inverse cell measure. Keeping these
14
+ responsibilities separate lets the primitive remain reusable across fields and
15
+ backends while solvers consistently interpret the public noise variance.
16
+
17
+ The package also documents a lower-level direct-realization interface. A user
18
+ who chooses that route supplies the complete spatially discretized realization,
19
+ including any required measure factor. That does not change the contract of the
20
+ backend standard-normal primitive used by variance-based solvers.
21
+
22
+ Run the offline reproduction, inspect the task context and complete source
23
+ snapshot, and repair the implementation so that both sides of this contract
24
+ hold for all supported valid inputs. Preserve deterministic PDE
25
+ behavior, public APIs, stochastic interpretations, supported backends, device
26
+ and dtype behavior, and unrelated functionality.
27
+
28
+ Do not hard-code the public grids, seeds, controlled draw, lifecycle status, or
29
+ generated report. The public experiment states the architecture being studied
30
+ but does not name a target source file or prescribe a patch shape. Hidden tests
31
+ vary geometry, backend, solver, noise interpretation, and realization route.
tasks/task_049/metadata.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "049",
3
+ "title": "Restore consistent stochastic-field behavior on nonuniform grids",
4
+ "domain": "finite-difference-stochastic-partial-differential-equations",
5
+ "language": "python",
6
+ "source_repository": "https://github.com/zwicker-group/py-pde",
7
+ "source_commit": "a9f8256c1b4b48ac73f3df35b3e570993501b333",
8
+ "source_license": "MIT",
9
+ "license_source": "LICENSE",
10
+ "gpl_family": false,
11
+ "public_payload_sha256": "2102d49be26585ee8217bb375347adb25a008f36d62c783554d2a4e930489433"
12
+ }
tasks/task_049/task.toml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/logs/artifacts/model.patch"]
3
+
4
+ [task]
5
+ name = "openmoss/swe-bench-science-049"
6
+ description = "Restore consistent stochastic-field behavior on nonuniform grids"
7
+ authors = []
8
+ keywords = ["scientific-computing", "software-engineering"]
9
+
10
+ [metadata]
11
+ task_id = "049"
12
+ language = "python"
13
+ base_commit_hash = "a9f8256c1b4b48ac73f3df35b3e570993501b333"
14
+
15
+ [agent]
16
+ network_mode = "no-network"
17
+ timeout_sec = 5400.0
18
+
19
+ [environment]
20
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-environment-python-task-049:v0.1.0@sha256:5d2c93c90c190f69ed1f8bb05014f34d900f4c68ca483cf428399caa5c80f339"
21
+ os = "linux"
22
+ allow_internet = false
23
+ cpus = 2
24
+ memory_mb = 8192
25
+ storage_mb = 20480
26
+ workdir = "/app/task_049"
27
+
28
+ [verifier]
29
+ network_mode = "no-network"
30
+ environment_mode = "separate"
31
+ timeout_sec = 1800.0
32
+
33
+ [verifier.environment]
34
+ docker_image = "docker.io/kevinxulearning/swe-bench-science-verifier-python-task-049:v0.1.0@sha256:7a8babe7c3e8d6121a1fff866e0e6ae5871de381c8e759897a4b40244b6b76b6"
35
+ os = "linux"
36
+ allow_internet = false
37
+ cpus = 2
38
+ memory_mb = 8192
39
+ storage_mb = 20480
40
+ workdir = "/app/task_049"
41
+
42
+ [[verifier.collect]]
43
+ command = "cd /app/task_049 && git config --global --add safe.directory /app/task_049 && baseline=$(git rev-list --max-parents=0 --reverse HEAD | head -n 1) && git add -A && git diff --cached --binary \"$baseline\" > /logs/artifacts/model.patch"
44
+ timeout_sec = 300.0
tasks/task_049/tests/Dockerfile ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ARG VERIFIER_IMAGE=docker.io/kevinxulearning/swe-bench-science-verifier-python-task-049:v0.1.0@sha256:7a8babe7c3e8d6121a1fff866e0e6ae5871de381c8e759897a4b40244b6b76b6
2
+ FROM ${VERIFIER_IMAGE}