Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'docker_image', 'swe_type'})
This happened while the json dataset builder was generating data using
hf://datasets/ernie-research/MEnvData-SWE/swe-images.jsonl (at revision 2f2c5efe0ddcfbf54f3c35740e154949ac7a5802), [/tmp/hf-datasets-cache/medium/datasets/78380009121373-config-parquet-and-info-ernie-research-MEnvData-S-cd349d9b/hub/datasets--ernie-research--MEnvData-SWE/snapshots/2f2c5efe0ddcfbf54f3c35740e154949ac7a5802/swe-images.jsonl (origin=hf://datasets/ernie-research/MEnvData-SWE@2f2c5efe0ddcfbf54f3c35740e154949ac7a5802/swe-images.jsonl)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 674, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
repo: string
pull_number: int64
instance_id: string
issue_numbers: list<item: int64>
child 0, item: int64
base_commit: string
patch: string
test_patch: string
problem_statement: string
hints_text: string
all_hints_text: string
commit_urls: list<item: string>
child 0, item: string
created_at: timestamp[s]
version: string
language: string
env_setup_script: string
original_env_setup_script: string
eval_script: string
image_name: string
swe_type: string
docker_image: string
to
{'repo': Value('string'), 'pull_number': Value('int64'), 'instance_id': Value('string'), 'issue_numbers': List(Value('int64')), 'base_commit': Value('string'), 'patch': Value('string'), 'test_patch': Value('string'), 'problem_statement': Value('string'), 'hints_text': Value('string'), 'all_hints_text': Value('string'), 'commit_urls': List(Value('string')), 'created_at': Value('timestamp[s]'), 'version': Value('string'), 'language': Value('string'), 'env_setup_script': Value('string'), 'original_env_setup_script': Value('string'), 'eval_script': Value('string'), 'image_name': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1889, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'docker_image', 'swe_type'})
This happened while the json dataset builder was generating data using
hf://datasets/ernie-research/MEnvData-SWE/swe-images.jsonl (at revision 2f2c5efe0ddcfbf54f3c35740e154949ac7a5802), [/tmp/hf-datasets-cache/medium/datasets/78380009121373-config-parquet-and-info-ernie-research-MEnvData-S-cd349d9b/hub/datasets--ernie-research--MEnvData-SWE/snapshots/2f2c5efe0ddcfbf54f3c35740e154949ac7a5802/swe-images.jsonl (origin=hf://datasets/ernie-research/MEnvData-SWE@2f2c5efe0ddcfbf54f3c35740e154949ac7a5802/swe-images.jsonl)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
repo string | pull_number int64 | instance_id string | issue_numbers list | base_commit string | patch string | test_patch string | problem_statement string | hints_text string | all_hints_text string | commit_urls list | created_at timestamp[us] | version string | language string | env_setup_script string | original_env_setup_script string | eval_script string | image_name string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
systemd/systemd | 24,645 | systemd__systemd-24645 | [
17078
] | 6d64cb0625691e2b9eda8babe07ac8281f9467ee | diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index 882547d655fba..cd0915e2b2661 100644
--- a/src/shared/seccomp-util.c
+++ b/src/shared/seccomp-util.c
@@ -1602,7 +1602,7 @@ int seccomp_restrict_address_families(Set *address_families, bool allow_list) {
return 0;
}
-int seccomp_restrict... | diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
index 3aaeb7147ef00..4c704badbd71c 100644
--- a/src/test/test-seccomp.c
+++ b/src/test/test-seccomp.c
@@ -559,22 +559,32 @@ TEST(restrict_realtime) {
assert_se(pid >= 0);
if (pid == 0) {
- assert_se(sched_setscheduler(0, S... | test: test-seccomp randomly fails on CentOS CI (CentOS 7/8)
https://jenkins-systemd.apps.ocp.ci.centos.org/job/upstream-centos7/127/artifact//systemd-centos-ci/artifacts_xC5blF/testsuite-logs-upstream.rAb/ninja-test_FAIL.log
https://jenkins-systemd.apps.ocp.ci.centos.org/job/upstream-centos7/132/artifact//systemd-cent... | I checked last ~60 CentOS 7 builds and the issue seems to be gone (given the previous frequency of the fails). Closing this for now, please reopen if the issue reoccurs.
*Sigh*, looks like the issue resurfaced one again... I wonder what set it off.
* https://jenkins-systemd.apps.ocp.ci.centos.org/job/upstream-cento... | I checked last ~60 CentOS 7 builds and the issue seems to be gone (given the previous frequency of the fails). Closing this for now, please reopen if the issue reoccurs.
*Sigh*, looks like the issue resurfaced one again... I wonder what set it off.
* https://jenkins-systemd.apps.ocp.ci.centos.org/job/upstream-cento... | [
"https://github.com/systemd/systemd/commit/436095a4cf09bb32690c300e044e394ac2f57091"
] | 2022-09-12T17:40:20 | 0.0 | C | #!/usr/bin/env bash
set -e
cd /testbed
git reset --hard 6d64cb0625691e2b9eda8babe07ac8281f9467ee
| #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
# =================... | #!/usr/bin/env bash
set -uxo pipefail
# === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
cd /testbed
git config --global --add safe.directory /testbed
# === Repository Status Before Patch ===
echo "=== Repository Status Before Patch ==="
git status
git show --sta... | swe-images-c:systemd-systemd-pr-24645 |
systemd/systemd | 31,171 | systemd__systemd-31171 | [
31168
] | 3092bd7aa12ca6c51cba8dae937c9a5c360c4e6a | diff --git a/src/libsystemd-network/ndisc-router.c b/src/libsystemd-network/ndisc-router.c
index 89681d00758b9..e50a0b966b627 100644
--- a/src/libsystemd-network/ndisc-router.c
+++ b/src/libsystemd-network/ndisc-router.c
@@ -9,6 +9,7 @@
#include "alloc-util.h"
#include "dns-domain.h"
+#include "escape.h"
#include ... | diff --git a/src/libsystemd-network/test-ndisc-rs.c b/src/libsystemd-network/test-ndisc-rs.c
index d0648b95fabf1..cc00461839fe3 100644
--- a/src/libsystemd-network/test-ndisc-rs.c
+++ b/src/libsystemd-network/test-ndisc-rs.c
@@ -150,6 +150,10 @@ static void router_dump(sd_ndisc_router *rt) {
in... | networkd: "State changed: configured -> failed" on receiving malformed DNSSL RA options
```sh
eived Router Advertisement: flags none preference medium lifetime 30min
host0: NDISC: Invoking callback for 'router' event.
host0: Requesting NDisc route (configuring,configured): dst: n/a, src: n/a, gw: fe80::741a:afff:fe8... | @evverx Thank you for the detailed reproducer. Fix is waiting in #31171.
| @evverx Thank you for the detailed reproducer. Fix is waiting in #31171.
What's weird is that it seems the idea behind c2eb7753dd47ec04ae0d66400e70bc87fbf1adcc was to fix things automatically (at least when failures aren't caused deliberately very often) but it doesn't seem to always work with transient one-off failure... | [
"https://github.com/systemd/systemd/commit/6244184e3ff2f7659406c2d08a9a4d75e08bccb2",
"https://github.com/systemd/systemd/commit/38a80ba1089fcad427f4376e28f74f9eb630fb91",
"https://github.com/systemd/systemd/commit/a39d8396a986cb6291486b1d8451de8b0fd2b6cc"
] | 2024-02-02T02:01:01 | 0.0 | C | #!/usr/bin/env bash
set -e
cd /testbed
git reset --hard 3092bd7aa12ca6c51cba8dae937c9a5c360c4e6a
| #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
# =================... | #!/bin/bash
set -uxo pipefail
# === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
cd /testbed
git config --global --add safe.directory /testbed
echo "=== Repository Status Before Patch ==="
git status
git show --stat
meson --version
ninja --version
echo "=== Rese... | swe-images-c:systemd-systemd-pr-31171 |
libgit2/libgit2 | 6,125 | libgit2__libgit2-6125 | [
6065
] | f9c4dc10d90732cfbe2271dd58b01dd8f4003d15 | diff --git a/src/commit.c b/src/commit.c
index 752d98b022f..81e5b02d352 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -546,7 +546,7 @@ const char *git_commit_message(const git_commit *commit)
const char *git_commit_summary(git_commit *commit)
{
git_str summary = GIT_STR_INIT;
- const char *msg, *space;
+ const ch... | diff --git a/tests/commit/commit.c b/tests/commit/commit.c
index d4e333b6ad8..fd574f7f254 100644
--- a/tests/commit/commit.c
+++ b/tests/commit/commit.c
@@ -139,8 +139,11 @@ void test_commit_commit__summary(void)
{
assert_commit_summary("One-liner with no trailing newline", "One-liner with no trailing newline");
a... | `git_commit_summary` creates too long output for some commits
### Description
`git_commit_summary` produces too long paragraphs for some commits, like for this one in the Linux repository - https://github.com/torvalds/linux/commit/3218357c94af92478ef39163163a81e654385320. It creates 925 characters long text (almost th... | Indeed. The commit message in https://github.com/torvalds/linux/commit/3218357c94af92478ef39163163a81e654385320 is `message<nl><sp><sp><sp><sp><nl>...` We should treat two newlines as a paragraph separator even when those two newlines have whitespace in between.
The documentation of [git_commit_summary](https://libgi... | Indeed. The commit message in https://github.com/torvalds/linux/commit/3218357c94af92478ef39163163a81e654385320 is `message<nl><sp><sp><sp><sp><nl>...` We should treat two newlines as a paragraph separator even when those two newlines have whitespace in between.
The documentation of [git_commit_summary](https://libgi... | [
"https://github.com/libgit2/libgit2/commit/1e015088d0878ebbf6545702688dff2d69c9eeb5"
] | 2021-11-25T14:21:48 | 1.3 | C | #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# ========================================================... | #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/bin/bash
set -uxo pipefail
cd /testbed
echo "=== Reset patched test files to clean state ==="
git checkout f9c4dc10d90732cfbe2271dd58b01dd8f4003d15 -- tests/commit/commit.c
echo "=== Applying Test Patch ==="
git apply -v - <<'EOF_114329324912'
diff --git a/tests/commit/commit.c b/tests/commit/commit.c
index d4e333... | swe-images-c:libgit2-libgit2-pr-6125 |
libuv/libuv | 4,040 | libuv__libuv-4040 | [
4036
] | b9b6db052b82dd0a429091238181195ec785ac0b | diff --git a/docs/src/pipe.rst b/docs/src/pipe.rst
index 9d95b206a97..4abdc65e715 100644
--- a/docs/src/pipe.rst
+++ b/docs/src/pipe.rst
@@ -68,15 +68,18 @@ API
Bind the pipe to a file path (Unix) or a name (Windows).
- ``flags`` must be zero. Returns ``UV_EINVAL`` for unsupported flags
- without perform... | diff --git a/test/test-list.h b/test/test-list.h
index 6da7812360a..b2c88170051 100644
--- a/test/test-list.h
+++ b/test/test-list.h
@@ -198,6 +198,7 @@ TEST_DECLARE (pipe_connect_close_multiple)
TEST_DECLARE (pipe_connect_multiple)
TEST_DECLARE (pipe_listen_without_bind)
TEST_DECLARE (pipe_bind_or_listen_er... | unix: return error if strlen(socket path) > sizeof sun_path?
https://github.com/nodejs/node/issues/48316 made me realize that:
1. libuv currently truncates long paths, but
2. when #4030 lands, it returns `UV_EINVAL` when the path is too long
It's an unintentional change (because I thought it already worked tha... | Both uv_pipe_bind() and uv_pipe_connect() document the fact that libuv truncates the path:
> Paths on Unix get truncated to ``sizeof(sockaddr_un.sun_path)`` bytes, typically between
So I suppose that speaks in favor of backing out the change but we should probably address the Windows discrepancy.
| Both uv_pipe_bind() and uv_pipe_connect() document the fact that libuv truncates the path:
> Paths on Unix get truncated to ``sizeof(sockaddr_un.sun_path)`` bytes, typically between
So I suppose that speaks in favor of backing out the change but we should probably address the Windows discrepancy.
| [
"https://github.com/libuv/libuv/commit/ee357219db8dab3c74725c53c15bd5e77386d231",
"https://github.com/libuv/libuv/commit/21b219698b59ebbb9d7978d7a633610faa7306e1"
] | 2023-06-04T21:03:43 | 0.7 | C | #!/usr/bin/env bash
set -e
cd /testbed
git reset --hard b9b6db052b82dd0a429091238181195ec785ac0b
| #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/bin/bash
set -euxo pipefail
# === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export UV_TEST_TIMEOUT_MULTIPLIER=2
cd /testbed
git config --global --add safe.directory /testbed
# === Pre-Patch Info ===
echo "=== Repository Status Before Patch ==="
git status
... | swe-images-c:libuv-libuv-pr-4040 |
libgit2/libgit2 | 5,360 | libgit2__libgit2-5360 | [
5357
] | dea5ce3df6f62a490b3307edd06958eddc5e90f4 | diff --git a/src/refs.c b/src/refs.c
index 29dd1bdebe0..633d83abdde 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -145,6 +145,11 @@ int git_reference_delete(git_reference *ref)
const git_oid *old_id = NULL;
const char *old_target = NULL;
+ if (!strcmp(ref->name, "HEAD")) {
+ git_error_set(GIT_ERROR_REFERENCE, "can... | diff --git a/tests/iterator/workdir.c b/tests/iterator/workdir.c
index 926cc6af0fc..72f8bf42cca 100644
--- a/tests/iterator/workdir.c
+++ b/tests/iterator/workdir.c
@@ -620,6 +620,7 @@ void test_iterator_workdir__filesystem2(void)
"heads/subtrees",
"heads/test",
"heads/testrepo-worktree",
+ "symref",
"tags... | reject attempts to delete HEAD
I just wrote some buggy code in which I accidentally deleted HEAD, rather than its symbolic target. However, HEAD is required to exist.
Given that deleting HEAD is not a legitimate git operation (it turns a git dir into a non-git dit), perhaps libgit2 could prevent this by returning an... | Yeah, deleting HEAD is no good. We should prevent this. Here's what git says when you try to `symbolic-ref --delete HEAD`:
> deleting 'HEAD' is not allowed
I think the `GIT_ERROR_REFERENCE` is appropriate here.
| Yeah, deleting HEAD is no good. We should prevent this. Here's what git says when you try to `symbolic-ref --delete HEAD`:
> deleting 'HEAD' is not allowed
I think the `GIT_ERROR_REFERENCE` is appropriate here.
| [
"https://github.com/libgit2/libgit2/commit/852c83ee44d6d53137f12443c9f82f70bbabbadc"
] | 2020-01-15T21:57:11 | 0.99 | C | #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/bin/bash
set -uxo pipefail
# === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
cd /testbed
git config --global --add safe.directory /testbed
# === Pre-Patch Info ===
echo "=== Repository Status Before Patch ==="
git status
git show --stat
# === Reset Test Fil... | swe-images-c:libgit2-libgit2-pr-5360 |
fluent/fluent-bit | 4,510 | fluent__fluent-bit-4510 | [
4509
] | b3857f4961216b87e61dc49c388ac99f605aed39 | diff --git a/src/flb_filter.c b/src/flb_filter.c
index 3afbadfdfd6..43af1e14731 100644
--- a/src/flb_filter.c
+++ b/src/flb_filter.c
@@ -316,7 +316,7 @@ struct flb_filter_instance *flb_filter_new(struct flb_config *config,
mk_list_foreach(head, &config->filter_plugins) {
plugin = mk_list_entry(head, str... | diff --git a/tests/runtime/filter_stdout.c b/tests/runtime/filter_stdout.c
index 886faf8a193..8d75c155a6e 100644
--- a/tests/runtime/filter_stdout.c
+++ b/tests/runtime/filter_stdout.c
@@ -7,13 +7,36 @@
/* Test functions */
void flb_test_filter_stdout_json_multiple(void);
+void flb_test_filter_stdout_case_insensiti... | Filter plugin name is case sensitive
## Bug Report
**Describe the bug**
<!--- A clear and concise description of what the bug is. -->
Fluent-bit allows case-sensitive filter plugin name.
e.g. `recOrd_ModiFier` is not allowed.
On the other hand, fluent-bit allows case-insensitive input/output plugin name.
... | [
"https://github.com/fluent/fluent-bit/commit/545c70255240591e8a5540220513bf5dd45d6da5",
"https://github.com/fluent/fluent-bit/commit/417f5a64049c6ba3d2791dc072b2299b3fe102e6"
] | 2021-12-22T07:41:30 | 1.8 | C | #!/usr/bin/env bash
set -e
cd /testbed
git reset --hard b3857f4961216b87e61dc49c388ac99f605aed39
| #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/usr/bin/env bash
set -euxo pipefail
### === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
cd /testbed
git config --global --add safe.directory /testbed
### === Pre-Patch Info ===
echo "=== Repository Status Before Patch ==="
git status
git show --stat
cmake --v... | swe-images-c:fluent-fluent-bit-pr-4510 | ||
cc65/cc65 | 1,842 | cc65__cc65-1842 | [
1812
] | 168f42bb836ba940ec7aedaf76356d3facf7d595 | diff --git a/src/cc65/compile.c b/src/cc65/compile.c
index d6069e9143..11dcbced0b 100644
--- a/src/cc65/compile.c
+++ b/src/cc65/compile.c
@@ -396,9 +396,10 @@ void Compile (const char* FileName)
DefineNumericMacro ("__EAGERLY_INLINE_FUNCS__", 1);
}
- /* Placeholders for __FILE__ and __LINE__ macros ... | diff --git a/test/val/counter.c b/test/val/counter.c
new file mode 100644
index 0000000000..4efa18359e
--- /dev/null
+++ b/test/val/counter.c
@@ -0,0 +1,60 @@
+/* Tests for predefined macro __COUNTER__ */
+
+#include <stdio.h>
+
+static int failures = 0;
+
+#if __COUNTER__ /* 0 */
+# error __COUNTER__... | [cc65] Extension: predefined macro __COUNTER__
`__COUNTER__` is a commonly supported predefined macro in many major C compilers (eg. [GCC](https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html)), which has well-established and understood behavior (except when involved with precompiled headers, maybe) and bee... | Yes, I use WDMs with unique signature bytes at the beginning of each proc I am debugging to tell them apart. It would be nice if the signature bytes could be generated automatically at assemble-time and some kind of map back to proc names were generated.
On second thought, having a `__LINE__` predefined macros woul... | [
"https://github.com/cc65/cc65/commit/43d2fd2a960c1fb40c740eb057a34329f8d54075"
] | 2022-08-27T05:07:36 | 2.19 | C | #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/usr/bin/env bash
set -uxo pipefail
# === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
cd /testbed
git config --global --add safe.directory /testbed
# === Repository Status Before Patch ===
echo "=== Repository Status Before Patch ==="
git status
git show --st... | swe-images-c:cc65-cc65-pr-1842 | |
fluent/fluent-bit | 5,412 | fluent__fluent-bit-5412 | [
5336
] | 26926608acf30e438ba0b84b1ed1dc3554c557b3 | diff --git a/src/flb_pack.c b/src/flb_pack.c
index 1adea691ede..249b075ee94 100644
--- a/src/flb_pack.c
+++ b/src/flb_pack.c
@@ -361,24 +361,33 @@ int flb_pack_json_state(const char *js, size_t len,
* are OK in the array of tokens, if any, process them and adjust
* the JSMN context/buffers.
... | diff --git a/tests/internal/pack.c b/tests/internal/pack.c
index 4b635394c00..4b1ec0d6dc5 100644
--- a/tests/internal/pack.c
+++ b/tests/internal/pack.c
@@ -634,6 +634,154 @@ void test_json_pack_bug1278()
}
}
+static int check_msgpack_val(msgpack_object obj, int expected_type, char *expected_val)
+{
+ int le... | TCP input plugin dropping records
## Bug Report
**Describe the bug**
The 1.9.x releases contain a regression that makes TCP input plugin dropping records. The actual breaking commit is [f3ac138b0](https://github.com/fluent/fluent-bit/commit/f3ac138b0)
**To Reproduce**
1. Create a test data set having 64k record... | @edsiper any comments?
@edsiper I think below line causes this issue.
https://github.com/fluent/fluent-bit/commit/f3ac138b0#diff-7228b3553f609319f8501a9d8815f08fbb6c451a69dbccb9faec6bdaff57cbdeR368
If jsmn API returns `JSMN_ERROR_PART`, `state->tokens_count` doesn't increase.
https://github.com/fluent/fluent-bit... | @edsiper any comments?
@edsiper I think below line causes this issue.
https://github.com/fluent/fluent-bit/commit/f3ac138b0#diff-7228b3553f609319f8501a9d8815f08fbb6c451a69dbccb9faec6bdaff57cbdeR368
If jsmn API returns `JSMN_ERROR_PART`, `state->tokens_count` doesn't increase.
https://github.com/fluent/fluent-bit... | [
"https://github.com/fluent/fluent-bit/commit/3dfa8b3abe2789794a8418993256249bbd6b22b3",
"https://github.com/fluent/fluent-bit/commit/8356b95eb64f5d417ebf78928a6c843645fcc578",
"https://github.com/fluent/fluent-bit/commit/174fb9caed262d63344535a8bb1584a8e5a4da99"
] | 2022-05-05T12:17:24 | 1.8 | C | #!/usr/bin/env bash
set -e
cd /testbed
git reset --hard 26926608acf30e438ba0b84b1ed1dc3554c557b3
| #!/usr/bin/env bash
set -euxo pipefail
# ========================================================
# 0οΈβ£ Basic Env Vars (independent of packages)
# ========================================================
export TZ=UTC
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# =======================================================... | #!/usr/bin/env bash
set -euxo pipefail
# === Environment Setup ===
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
cd /testbed
git config --global --add safe.directory /testbed
# === Pre-Patch Info ===
echo "=== Repository Status Before Patch ==="
git status
git show --stat
cmake --versi... | swe-images-c:fluent-fluent-bit-pr-5412 |
microsoft/ebpf-for-windows | 3,793 | microsoft__ebpf-for-windows-3793 | [
3736
] | 7848d3790d905f011e650413fa16d3c57ff80ba1 | "diff --git a/docs/tutorial.md b/docs/tutorial.md\nindex dc9089a6bb..1606cd91ed 100644\n--- a/docs/t(...TRUNCATED) | "diff --git a/tests/bpf2c_tests/expected/droppacket_dll.c b/tests/bpf2c_tests/expected/droppacket_dl(...TRUNCATED) | "XDP header declarations belong in XDP-for-Windows repo, not eBPF-for-Windows\n### Describe the bug\(...TRUNCATED) | "@mtfriesen I am assigning this bug to you for now. Please let me know if you want this to be re-ass(...TRUNCATED) | "@mtfriesen I am assigning this bug to you for now. Please let me know if you want this to be re-ass(...TRUNCATED) | ["https://github.com/microsoft/ebpf-for-windows/commit/4dd5e586b718210e4ff0012f2513b4f736d2e629","ht(...TRUNCATED) | 2024-08-27T23:27:50 | 0.18 | C | "#!/usr/bin/env bash\nset -euxo pipefail\n\n# ======================================================(...TRUNCATED) | "#!/usr/bin/env bash\nset -euxo pipefail\n\n# ======================================================(...TRUNCATED) | "#!/bin/bash\nset -euxo pipefail\n\nexport LANG=en_US.UTF-8\nexport LC_ALL=en_US.UTF-8\nexport LANGU(...TRUNCATED) | swe-images-c:microsoft-ebpf-for-windows-pr-3793 |
systemd/systemd | 22,972 | systemd__systemd-22972 | [
22957
] | c0da575a0e94e7ecae7f5f0c72dea0be853af352 | "diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c\nindex e0dc47ecd8d52..66e0c01c2324(...TRUNCATED) | "diff --git a/src/test/test-load-fragment.c b/src/test/test-load-fragment.c\nindex c3206e1e7ab8b..9c(...TRUNCATED) | "systemd fails to process a unit with a long line (but shorter than `LONG_LINE_MAX`)\n**systemd vers(...TRUNCATED) | "065364920281e1cf59cab989e17aff21790505c4 is the first bad commit.\r\n\r\nHere's a test case for `te(...TRUNCATED) | "065364920281e1cf59cab989e17aff21790505c4 is the first bad commit.\r\n\r\nHere's a test case for `te(...TRUNCATED) | [
"https://github.com/systemd/systemd/commit/11c35921a3fcb3423f4985ccbb7261793a42cfd6"
] | 2022-04-05T12:49:30 | 0.0 | C | "#!/usr/bin/env bash\nset -e\ncd /testbed\ngit reset --hard c0da575a0e94e7ecae7f5f0c72dea0be853af352(...TRUNCATED) | "#!/usr/bin/env bash\nset -euxo pipefail\n\n# ======================================================(...TRUNCATED) | "#!/bin/bash\nset -uxo pipefail\n\n# === Environment Setup ===\nexport LANG=en_US.UTF-8\nexport LC_A(...TRUNCATED) | swe-images-c:systemd-systemd-pr-22972 |
MEnvData-SWE: Polyglot Software Engineering Dataset with Executable Environments
π Dataset Description
MEnvData-SWE is the largest open-source polyglot dataset of realistic verifiable Docker environments, comprising 3,005 task instances from 942 repositories across 10 programming languages. Each instance includes a fully executable Docker environment with pre-verified test cases, environment setup scripts, and evaluation scripts.
Key Features
- π Multi-Language Support: 10 programming languages (Python, Java, TypeScript, JavaScript, Rust, Go, C++, Ruby, PHP, C)
- π³ 3,005 Docker Images: Pre-built environment images with verified dependencies
- β Verified Quality: Each instance includes Fail2Pass validated test cases
- π§ Complete Setup Scripts: Both incremental and full environment configuration scripts
- π Evaluation Scripts: Ready-to-use verification scripts with exit code validation
- β‘ Efficient Verification: Exit code-based validation (no complex log parsing required)
Dataset
| Name | Value |
|---|---|
| Total Instances | 3,005 |
| Repositories | 942 |
| Languages | 10 |
| Docker Images | 3,005 (one per instance) |
π³ Docker Image Registry
All pre-built Docker images are publicly available on Docker Hub:
π Docker Hub Repository: https://hub.docker.com/u/mcatwj
Each instance's image_name field references a specific image that can be pulled directly:
# Example: Pull a specific instance image
docker pull mcatwj/swe-images-c:systemd-systemd-pr-24645
# Or use the image_name from the dataset
docker pull mcatwj/<image_name_from_dataset>
All images are fully configured with:
- Project dependencies installed
- Repository cloned at
/testbed - Ready for immediate test execution
π Dataset Structure
MEnvData-SWE extends the standard SWE-Bench schema with executable environment configurations. Each instance contains the following fields:
| Field | Type | Description |
|---|---|---|
| repo | str |
The full GitHub repository name (e.g., "home-assistant/core"). |
| pull_number | int |
The pull request number associated with the fix. |
| instance_id | str |
A unique identifier for the task instance. |
| issue_numbers | list |
A list of linked issue numbers. |
| base_commit | str |
The commit SHA of the repository prior to the fix. |
| version | str |
The version of the dataset. |
| patch | str |
The ground-truth patch (git diff) that resolves the issue. |
| test_patch | str |
The test patch (git diff) containing new tests to reproduce the issue. |
| problem_statement | str |
The natural language description of the issue. |
| hints_text | str |
Hints extracted from the issue discussion. |
| all_hints_text | str |
Comprehensive context including all comments and reviews. |
| commit_urls | list |
A list of URLs pointing to the relevant commits. |
| created_at | str |
The creation timestamp (e.g., "2015-12-27T19:33:55Z"). |
| language | str |
The programming language (e.g., "Python"). |
| env_setup_script | str |
π Incremental bash commands used to configure the environment (for reuse scenarios). |
| original_env_setup_script | str |
π The foundational setup commands. Represents the reused base image's setup or the full build script if built from scratch. |
| eval_script | str |
π The complete verification script that applies the test_patch and executes the test commands. |
| image_name | str |
π The specific Docker image name/tag available for this instance. |
π Usage
Loading the Dataset
from datasets import load_dataset
# Load the full dataset
dataset = load_dataset("ernie-research/MEnvData-SWE")
# Access a single instance
instance = dataset['train'][0]
print(f"Repository: {instance['repo']}")
print(f"Language: {instance['language']}")
print(f"Docker Image: {instance['image_name']}")
Example Instance
{
"repo": "systemd/systeinstance_id": "systemd__systemd-24645",
"language": "C",
"image_name": "swe-images-c:systemd-systemd-pr-24645",
"base_commit": "6d64cb0625691e2b9eda8babe07ac8281f9467ee",
"env_setup_script": "#!/usr/bin/env bash\nset -e\ncd /testbed\ngit reset --hard 6d64cb0625...",
"eval_script": "#!/usr/bin/env bash\nset -uxo pipefail\nexport LANG=en_US.UTF-8...",
...
}
π― Use Cases
- Agent Training: Train code generation and debugging agents on realistic software engineering tasks
- Benchmark Evaluation: Evaluate model performance on multi-language software issues
π Related Datasets
- MEnvData-SWE-Trajectory: Extended version with 3,872 agent execution trajectories
π Citation
If MEnvData-SWE helps your research, please cite:
@misc{guo2026menvagent,
title={MEnvAgent: Scalable Polyglot Environment Construction for Verifiable Software Engineering},
author={Chuanzhend Jingjing Wu and Sijun He and Yang Chen and Zhaoqi Kuang and Shilong Fan and Bingjin Chen and Siqi Bao and Jing Liu and Hua Wu and Qingfu Zhu and Wanxiang Che and Haifeng Wang},
year={2026},
url={https://arxiv.org/abs/2601.22859},
}
π§ Contact
For questions or issues:
- GitHub: MEnvAgent Repository
- Email: czguo@ir.hit.edu.cn
π Acknowledgements
We thank all open-source maintainers whose projects contributed to this dataset.
- Downloads last month
- 1,111