ability stringclasses 2
values | agent_name stringclasses 2
values | prompt listlengths 1 1 | reward_model unknown |
|---|---|---|---|
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## `get_es()` doesn't let callers override settings; `ES_DUMP_CURL` also seems to do nothing\n\nI'm using elasticutils inside a Django project and `get_es()` is normally fine, but I keep running into two situations where it gets in my way.\n\n**1. No way to ask for a one-off ES... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/tests.py b/tests/tests.py\nindex 27f3660..9cf003e 100644\n--- a/tests/tests.py\n+++ b/tests/tests.py\n@@ -33,6 +33,31 @@ def __init__(self, **kw):\n model_cache.append(self)\n \n \n+class ESTest(TestCase):\n+ def test_get_es_defau... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## README map-reduce example doesn't run\n\nJust trying communist out for the first time — looks great for what I want to do (crunch some numbers across a few workers). I copy-pasted the map-reduce example straight from the README:\n\n```js\nvar worker = communist(4);\n//pass i... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/node-test.js b/test/node-test.js\nindex 4b7b42c..70e0096 100644\n--- a/test/node-test.js\n+++ b/test/node-test.js\n@@ -88,13 +88,13 @@ describe('communist()', function () {\n \t});\n \tdescribe('MapReduce', function () {\n \t\tit('should work... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Support Managed Identity auth for the azure-arm builder\n\nI'd like to run Packer with the `azure-arm` builder from inside an Azure VM that has a system-assigned managed identity, and have Packer use that identity to talk to Azure — without me having to hand it a service pri... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/builder/azure/arm/config_test.go b/builder/azure/arm/config_test.go\nindex d25329dc7e8..d9b79eabeca 100644\n--- a/builder/azure/arm/config_test.go\n+++ b/builder/azure/arm/config_test.go\n@@ -124,6 +124,87 @@ func TestConfigShouldNotDefaultImageVe... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Extend the shared Redis connection options so the collection can use mutual TLS without forcing callers to replace these modules with custom code. The affected public modules are `community.general.redis`, `redis_info`, `redis_data`, `redis_data_info`, and `redis_data_incr`, al... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/unit/plugins/modules/test_redis_tls_profile.py b/tests/unit/plugins/modules/test_redis_tls_profile.py\nnew file mode 100644\nindex 000000000..28cf8b977\n--- /dev/null\n+++ b/tests/unit/plugins/modules/test_redis_tls_profile.py\n@@ -0,0 +1,11... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Typed QuarkChain transactions already carry a version-1 recovery path, but the Python API cannot produce the same typed signatures that wallet clients verify. Complete the public transaction surface so a dApp can build, sign, serialize, and recover one transaction consistently.... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/quarkchain/evm/tests/test_typed_transaction_contract.py b/quarkchain/evm/tests/test_typed_transaction_contract.py\nnew file mode 100644\nindex 00000000..ba644eab\n--- /dev/null\n+++ b/quarkchain/evm/tests/test_typed_transaction_contract.py\n@@ -0,... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Problem Statement\n\nRight now the only way I can run my custom scripts is by clicking through the web UI or hitting the REST API, but I really want to be able to kick them off straight from the command line on the server. Ideally I'd just point `manage.py` at a script and ha... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/netbox/extras/tests/test_runscript_command.py b/netbox/extras/tests/test_runscript_command.py\nnew file mode 100644\nindex 000000000..7eb7b07bd\n--- /dev/null\n+++ b/netbox/extras/tests/test_runscript_command.py\n@@ -0,0 +1,195 @@\n+import io\n+im... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Cannot force a sequence type when reading a FASTA file\n\nWhen I load a FASTA file with `fasta.get_sequence(...)` / `fasta.get_sequences(...)` / `fasta.get_alignment(...)`, biotite always tries to guess the sequence type by first attempting to parse the string as a `Nucleoti... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/sequence/test_fasta.py b/tests/sequence/test_fasta.py\nindex 3f2802413..1b7103e30 100644\n--- a/tests/sequence/test_fasta.py\n+++ b/tests/sequence/test_fasta.py\n@@ -39,10 +39,11 @@ def test_access_low_level():\n }\n \n \n-def test_acces... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "**Is your feature request related to a problem? Please describe.**\nUsing the websocket server with web browsers causes inconsistent behavior with using tracking cookies because of the attributes (or lack of) for the cookie. \n\n**Describe the solution you'd like**\nI would lik... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/router/websocketserver_test.go b/router/websocketserver_test.go\nindex 7cf2d20d..8eb52bcd 100644\n--- a/router/websocketserver_test.go\n+++ b/router/websocketserver_test.go\n@@ -82,6 +82,86 @@ func TestWSHandshakeMsgpack(t *testing.T) {\n \trequir... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Default text align for tables should use ---\nTables created without using text_align, should use `---` as a default, instead of `:---:`. This gives more support for version of markdown that do not use text align"
}
] | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 0000000..65d14b7\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python -m unittest tests.test_tools.test_table_default_align -v\"]\n+}\nd... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## virtio-scsi controller doesn't respect the `useTransitionalVirtio` flag\n\nI'm running some older guest workloads that need transitional virtio devices, so I'm setting `useTransitionalVirtio` on my VMIs. For most of my devices this works as I'd expect — when I look at the li... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/pkg/virt-launcher/virtwrap/converter/converter_test.go b/pkg/virt-launcher/virtwrap/converter/converter_test.go\nindex 8043cd330091..9487bb095cfa 100644\n--- a/pkg/virt-launcher/virtwrap/converter/converter_test.go\n+++ b/pkg/virt-launcher/virtwra... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Add a dark-mode theme store to the frontend\n\nThe web app is built with Tailwind configured for class-based dark mode (the `dark`\nvariant activates when an ancestor element carries the `dark` CSS class). We want a\nsmall, reusable piece of state that the UI can use to drive... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/apps/frontend/src/lib/store/theme.test.ts b/apps/frontend/src/lib/store/theme.test.ts\nnew file mode 100644\nindex 000000000..b561a24ba\n--- /dev/null\n+++ b/apps/frontend/src/lib/store/theme.test.ts\n@@ -0,0 +1,163 @@\n+import { describe, it, exp... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "### postgres_user.present / postgres_group.present report bogus changes under `test=True`\n\nI'm using `postgres_user.present` (and `postgres_group.present`) to manage a few roles on a PostgreSQL server. When I run a real apply, salt correctly reports the role as already presen... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/unit/states/postgres_test.py b/tests/unit/states/postgres_test.py\nindex 3a669170e2d5..12a212ac2185 100644\n--- a/tests/unit/states/postgres_test.py\n+++ b/tests/unit/states/postgres_test.py\n@@ -3,7 +3,7 @@\n # Import Salt Testing libs\n fr... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## `responseHeadersEndTime` is unreliable for cached / `data:` requests\n\nI'm doing some custom analysis over Lighthouse's network records — specifically I want the time spent receiving response headers, computed as `responseHeadersEndTime - networkRequestTime` for each reques... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/core/test/lib/network-recorder-test.js b/core/test/lib/network-recorder-test.js\nindex 3eba3bc9d464..3811cb5cf73f 100644\n--- a/core/test/lib/network-recorder-test.js\n+++ b/core/test/lib/network-recorder-test.js\n@@ -587,7 +587,7 @@ describe('net... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "The Travis CI wrapper should prepare repository state reliably before delegating to commitlint. A normal push build needs the base repository available as the `base` remote, while a pull-request build needs both the base repository and the pull-request source repository availab... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/@commitlint/travis-cli/src/travis-behavior.test.js b/@commitlint/travis-cli/src/travis-behavior.test.js\nnew file mode 100644\nindex 00000000..918bfcbb\n--- /dev/null\n+++ b/@commitlint/travis-cli/src/travis-behavior.test.js\n@@ -0,0 +1,196 @@\n+c... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "### Calling `NpyIter_GetIterNext` from Cython via the bundled numpy pxd doesn't work\n\nI'm trying to use NumPy's NpyIter C API from a Cython extension to iterate over an ndarray efficiently. The standard idiom (straight out of the NumPy C-API docs) is to grab an `iternext` fun... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/numpy/_core/tests/examples/cython/checks.pyx b/numpy/_core/tests/examples/cython/checks.pyx\nindex 34359fb42fcb..028dc6a6c9e4 100644\n--- a/numpy/_core/tests/examples/cython/checks.pyx\n+++ b/numpy/_core/tests/examples/cython/checks.pyx\n@@ -242,6... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Support signs for number format spec?\nWould it be possible to allow numeric fields to include a sign? e.g. `parse.parse(\"{:+05d}\", \"+1234\")`. I realize that `parse` handles signs just fine without even having to specify the sign, but this request is so that the same strin... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 0000000..b12a11f\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python -m unittest test_parse.TestParse -v\"]\n+}\ndiff --git a/test_pars... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## RangeIterator.Seek can return keys outside the requested range\n\nI'm using bleve's KV store `RangeIterator(start, end)` and calling `Seek` on it to jump around within the range. I noticed that if I pass `Seek` a key that's lexicographically before `start`, the iterator happ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/index/store/boltdb/store_test.go b/index/store/boltdb/store_test.go\nindex 0380a92cb..4abde11b1 100644\n--- a/index/store/boltdb/store_test.go\n+++ b/index/store/boltdb/store_test.go\n@@ -72,6 +72,12 @@ func TestBoltDBRangeIterator(t *testing.T) {... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Periodically clean up abandoned checkouts\n\nCheckout objects pile up in the database forever. Shoppers start a checkout and never\nfinish, sessions get abandoned, and bots create empty carts that never receive a single\nline. We need a recurring maintenance job that prunes s... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/saleor/checkout/tests/test_tasks.py b/saleor/checkout/tests/test_tasks.py\nnew file mode 100644\nindex 0000000000..94ef32584f\n--- /dev/null\n+++ b/saleor/checkout/tests/test_tasks.py\n@@ -0,0 +1,189 @@\n+from datetime import timedelta\n+\n+from d... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "logging: log.Entry.Severity can't unmarshal after marshalling\n**Client**\r\nlogging\r\n\r\n**Environment**\r\nMacOS Mojave\r\n\r\n**Go Environment**\r\n```\r\ngo version go1.15.5 darwin/amd64\r\nGOARCH=\"amd64\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOPROXY=\"https... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/logging/logging_test.go b/logging/logging_test.go\nindex 495303ed94..d042a893bc 100644\n--- a/logging/logging_test.go\n+++ b/logging/logging_test.go\n@@ -806,3 +806,63 @@ func TestSeverityUnmarshal(t *testing.T) {\n \t\tt.Fatalf(\"Severity: got %v... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Problem Statement\n\nI'm seeing my webhook receiver choke on the timestamp field in NetBox payloads — it's coming through as `2023-11-29 12:34:56.789012+00:00` with a space between the date and time, and my parser expects something it can read as a proper datetime. Also noti... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/netbox/core/tests/test_job_webhook_timestamp_format.py b/netbox/core/tests/test_job_webhook_timestamp_format.py\nnew file mode 100644\nindex 000000000..4aa4985b1\n--- /dev/null\n+++ b/netbox/core/tests/test_job_webhook_timestamp_format.py\n@@ -0,0... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "'Notify me about token promotions' switch doesn't work if you've already said 'Maybe Later'\n<!--\r\nHave you searched for similar issues? We have received a lot of feedback and bug reports that we have closed as duplicates. Before submitting this issue, please visit our commun... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/unit/app/browser/api/ledgerNotificationsAllowPromotionsTest.js b/test/unit/app/browser/api/ledgerNotificationsAllowPromotionsTest.js\nnew file mode 100644\nindex 000000000..f079dc591\n--- /dev/null\n+++ b/test/unit/app/browser/api/ledgerNotif... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "The REST subscription model is used by several API endpoints and must be able to carry every subscriber shape that the event layer already supports. At present, a run-child-patch subscription cannot be converted at all, and GitHub pull-request targets lose metadata used to iden... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/rest/model/subscriber_compatibility_test.go b/rest/model/subscriber_compatibility_test.go\nnew file mode 100644\nindex 000000000..c8aa6543d\n--- /dev/null\n+++ b/rest/model/subscriber_compatibility_test.go\n@@ -0,0 +1,142 @@\n+package model\n+\n+i... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want a file-backed cache API for workflow code. The public API should provide `NewCache(dir string) *Cache`, a `Cache` value exposing its `Dir string`, and these methods: `Store(name string, data []byte) error`, `Load(name string) ([]byte, error)`, `StoreJSON(name string, v i... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/cache_stateful_test.go b/usercase-test-coderl/cache_stateful_test.go\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/cache_stateful_test.go\n@@ -0,0 +1,499 @@\n+package usercase_test_coderl\n+\n+import (\n+\t\... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## `resources.Parse` rejects scope collection IDs\n\nI'm working with UCP resource IDs and need to handle the URL that lists all resources under a resource group (a \"collection\" at the scope level), e.g.\n\n```\n/planes/radius/local/resourceGroups/test-rg/resources\n```\n\nTh... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/pkg/connectorrp/renderers/mongodatabases/renderer_test.go b/pkg/connectorrp/renderers/mongodatabases/renderer_test.go\nindex 8d18be66d8..987dd18e0b 100644\n--- a/pkg/connectorrp/renderers/mongodatabases/renderer_test.go\n+++ b/pkg/connectorrp/rend... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "The environment loader needs to support dependable composition of property files for real projects that keep shared values in `env/default` and override them in one or more named environments. Today interpolation is checked against the process environment while files are being ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/env/interpolation_contract_test.go b/env/interpolation_contract_test.go\nnew file mode 100644\nindex 0000000..5ffca6b\n--- /dev/null\n+++ b/env/interpolation_contract_test.go\n@@ -0,0 +1,225 @@\n+\n+\n+\n+\n+package env_test\n+\n+import (\n+\t\"os... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## `arith` interpreter is missing several common signed integer ops\n\nI'm running some IR through the xdsl interpreter as part of testing my compiler pipeline. As soon as my programs do anything beyond the basics, the interpreter fails because the relevant op has no implementa... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/interpreters/test_arith_interpreter.py b/tests/interpreters/test_arith_interpreter.py\nindex ba81c5c81e..bb5dbcbf47 100644\n--- a/tests/interpreters/test_arith_interpreter.py\n+++ b/tests/interpreters/test_arith_interpreter.py\n@@ -10,8 +10,... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "error: Cannot infer type of lambda\nRepro:\n\n``` python\nfrom typing import TypeVar, Callable\nT = TypeVar('T')\ndef foo(arg: Callable[..., T]) -> None: pass\nfoo(lambda: 1) # E: Cannot infer type of lambda\nx = lambda: 1\nfoo(x) # OK\n```\n\nThat error message was introduce... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/mypy/test/data/check-inference-context.test b/mypy/test/data/check-inference-context.test\nindex a63d2e8ca..fe889409a 100644\n--- a/mypy/test/data/check-inference-context.test\n+++ b/mypy/test/data/check-inference-context.test\n@@ -730,3 +730,45 @... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want the library to provide a Persian `Lemmatizer` API that I can use as `lemmatizer = Lemmatizer(words_file=default_words, verbs_file=default_verbs, joined_verb_parts=True)` and then call `lemmatizer.lemmatize(word: str, pos: str = '') -> str` for individual tokens.\n\nWith ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/fixtures/custom_verbs.dat b/usercase-test-coderl/fixtures/custom_verbs.dat\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/fixtures/custom_verbs.dat\n@@ -0,0 +1,1 @@\n+دوخت#دوز\ndiff --git a/usercase-test-code... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want Turbolift to provide a `turbolift pr-status` command for checking the rollout status of pull requests in a campaign. The command should read campaign data from `repos.txt` by default, accept `--repos <file>` to use a different repository list, and `turbolift pr-status --... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/fixtures/fake-gh b/usercase-test-coderl/fixtures/fake-gh\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/fixtures/fake-gh\n@@ -0,0 +1,59 @@\n+#!/usr/bin/env bash\n+set -u\n+\n+if [ \"$#\" -lt 3 ] || [ \"$1 $2\... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Trace.copy: Using deepcopy causes derived Stats keys setting parent keys with computed values (leading to wrong values in edge cases)\nHi everybody,\r\n\r\nFirst, I hope all of you are happy and healthy.\r\n\r\nSecond, I've got a puzzling issue when working with highly-sampled ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/obspy/core/tests/test_stats.py b/obspy/core/tests/test_stats.py\nindex 950072fcd..cb547166d 100644\n--- a/obspy/core/tests/test_stats.py\n+++ b/obspy/core/tests/test_stats.py\n@@ -5,6 +5,8 @@ import pickle\n import unittest\n import warnings\n \n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Feature request: narrow down interactive results without enumerating everything to delete\n\nWhen I run vgrep over a big tree I often get hundreds of matches, and the interactive shell is great for whittling them down — but `delete` is the only filtering tool, and it's awkwa... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/interactive.bats b/test/interactive.bats\nindex 4c73a2b..f9c4acf 100644\n--- a/test/interactive.bats\n+++ b/test/interactive.bats\n@@ -1,7 +1,9 @@\n #!/usr/bin/env bats -t\n \n+FILE=test/search_files/foobar.txt\n+\n @test \"Interactive mode a... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Problem Statement: I noticed `jsdoc/valid-types` catches bad JSDoc types, but it seems to let completely empty inline tags like `{@link}` or `{@tutorial}` slip through, even inside a `@param` description. Could it report those as missing content instead of treating them as vali... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/rules/assertions/validTypes.js b/test/rules/assertions/validTypes.js\nindex d7b12db9..f0969c03 100644\n--- a/test/rules/assertions/validTypes.js\n+++ b/test/rules/assertions/validTypes.js\n@@ -1102,6 +1102,136 @@ export default {\n },... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want BitBake's `bb.fetch2.Fetch` API to support Google Cloud Storage source URLs using the `gs://bucket/path/to/object` scheme. A typical session should work as `f = bb.fetch2.Fetch(['gs://example-bucket/releases/pkg-1.0.tar.gz'], d); f.download(); f.checkstatus()`, with the ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_gcp_fetch.py b/usercase-test-coderl/test_gcp_fetch.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_gcp_fetch.py\n@@ -0,0 +1,380 @@\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+import os\n+import sys\n+impor... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Project-specific requirements\nWould be nice to have an ability to specify project-specific requirements, so that if requirements are specified for a project then this settings overrides the global requirements file.\r\n\r\nThis feature would be very useful for developing page ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 0000000..b518d39\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python -m pytest tests/test_config.py -v -k \\\"project_specific or mixed... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Please add metadata-cascade-policies:create\n### Is your feature request related to a problem? Please describe.\r\n\r\nWe need to create metadata cascade policy for many folders. \r\nWe want to use CLI but it looks like it doesn’t have `metadata-cascade-policies:create` command... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/commands/metadata-cascade-policies.test.js b/test/commands/metadata-cascade-policies.test.js\nindex 90efa51..50b5104 100644\n--- a/test/commands/metadata-cascade-policies.test.js\n+++ b/test/commands/metadata-cascade-policies.test.js\n@@ -131... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Regal's existing inline ignore directive is tied to a physical next line and is applied during Rego evaluation, which makes suppressions fragile around spacing and inconsistent with diagnostics produced elsewhere in the linter. Make inline suppression a property of the complete... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/pkg/linter/inline_suppression_codespec_test.go b/pkg/linter/inline_suppression_codespec_test.go\nnew file mode 100644\nindex 00000000..db3e9ec5\n--- /dev/null\n+++ b/pkg/linter/inline_suppression_codespec_test.go\n@@ -0,0 +1,187 @@\n+package linte... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## `bson_validate_with_error_and_offset` returns false but leaves `error` / `offset` uninitialized for some invalid inputs\n\nI'm using `bson_validate_with_error_and_offset` to vet untrusted BSON buffers before handing them to the rest of my pipeline. My code roughly looks like... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c\nindex f2b91d23701..d16395d563c 100644\n--- a/src/libbson/tests/test-bson.c\n+++ b/src/libbson/tests/test-bson.c\n@@ -1119,6 +1119,18 @@ test_bson_validate_dbpointer (void)\n }\n \n \n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## CloudFormation `Condition:` references don't seem to be evaluated\n\nI'm scanning a CloudFormation template that uses the top-level `Conditions:` block, and several places in the template reference those conditions by name. The references don't appear to take effect during s... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/pkg/scanners/cloudformation/parser/fn_condition_test.go b/pkg/scanners/cloudformation/parser/fn_condition_test.go\nnew file mode 100644\nindex 000000000..f43b84b44\n--- /dev/null\n+++ b/pkg/scanners/cloudformation/parser/fn_condition_test.go\n@@ -... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Imports may get removed if using Prettier range-start/range-end options\n**Steps to reproduce**\r\n- Create a trivial project with a few files:\r\n\r\n`package.json:`\r\n```\r\n{\r\n \"devDependencies\": {\r\n \"prettier\": \"3.0.3\",\r\n \"prettier-plugin-organize-impor... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/range.js b/test/range.js\nnew file mode 100644\nindex 0000000..4478d3e\n--- /dev/null\n+++ b/test/range.js\n@@ -0,0 +1,54 @@\n+const { prettify } = require('./_utils');\n+const test = require('ava').default;\n+\n+const codeWithUsedImport = 'i... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Secret arrays make key rotation possible, but every unsigned cookie must be checked against each secret and the signature itself gives operators no way to identify which key produced it. Add an opt-in named keyring form that produces authenticated key-ID tags while remaining ab... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/keyring-synth.test.js b/test/keyring-synth.test.js\nnew file mode 100644\nindex 0000000..713af59\n--- /dev/null\n+++ b/test/keyring-synth.test.js\n@@ -0,0 +1,223 @@\n+'use strict'\n+\n+const crypto = require('crypto')\n+const { test } = requi... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Flake8 reports wrong severity level for code Fxxx\nFlake8 uses Fxxx for error codes generated by PyFlakes, see https://flake8.pycqa.org/en/latest/user/error-codes.html and https://flake8.pycqa.org/en/latest/glossary.html#term-error-code\r\n\r\nCurrently, these error codes are r... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/plugins/test_flake8_lint.py b/test/plugins/test_flake8_lint.py\nindex a72383e..8e118f5 100644\n--- a/test/plugins/test_flake8_lint.py\n+++ b/test/plugins/test_flake8_lint.py\n@@ -160,6 +160,70 @@ exclude =\n os.unlink(os.path.join(workspa... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want the public finite-automaton facade on `regexpTree.fa` to accept a regular expression and expose one-shot helpers for building automata and testing strings. The API should include `fa.toNFA(regexp: string | RegExp | AST): NFA`, `fa.toDFA(regexp: string | RegExp | AST): DF... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/finite_automaton_facade.test.js b/usercase-test-coderl/finite_automaton_facade.test.js\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/finite_automaton_facade.test.js\n@@ -0,0 +1,251 @@\n+\n+\n+\n+\n+\n+\n+\n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Applications importing an audience currently have to call `subscribe()` once per address, which is slow and makes it difficult to correlate a large import with Mailchimp's batch receipts. Add a public `Newsletter::subscribeMany(array $members, $listName = '', array $options = [... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/Codespec/BulkSubscriptionContractTest.php b/tests/Codespec/BulkSubscriptionContractTest.php\nnew file mode 100644\nindex 0000000..f73b2b1\n--- /dev/null\n+++ b/tests/Codespec/BulkSubscriptionContractTest.php\n@@ -0,0 +1,342 @@\n+<?php\n+\n+n... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Replace `total_ordering` usage with comparison functions implementation\n### Is your proposal related to a problem?\r\n\r\nWe have two instances of `total_ordering` usage within the codebase:\r\n\r\nhttps://github.com/wagtail/wagtail/blob/cd5200c8e1ac0d7299fd9c398b2b994606b3c7d... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 0000000000..dda897990d\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python runtests.py wagtail.admin.tests.test_button_searcharea_compa... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "PRAW submission drafts currently blur the distinction between an omitted option and an explicitly empty or false one. That makes it impossible to clear a saved title/body or turn off flags when submitting an existing draft, and empty self-posts can be encoded as link drafts. Al... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/unit/models/reddit/test_draft_contract.py b/tests/unit/models/reddit/test_draft_contract.py\nnew file mode 100644\nindex 00000000..61d38f4e\n--- /dev/null\n+++ b/tests/unit/models/reddit/test_draft_contract.py\n@@ -0,0 +1,173 @@\n+from unitt... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Is there any way of avoiding the encoding of '<' and '>' to \\u003c and \\u003e using json format. It seems to be the default in go. It would help to avoid diffs with phrase using simple json format, since phrase does not encode html characters in its json output."
}
] | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/v2/goi18n/marshal_test.go b/v2/goi18n/marshal_test.go\nnew file mode 100644\nindex 00000000..de6b392f\n--- /dev/null\n+++ b/v2/goi18n/marshal_test.go\n@@ -0,0 +1,21 @@\n+package main\n+\n+import \"testing\"\n+\n+func TestMarshal(t *testing.T) {\n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## rhc list commands crash when the result is empty\n\nWhen I run an `rhc` command that's supposed to show me a list of things and I currently have nothing to list, the command crashes instead of printing an empty list / \"no items\" message.\n\nEasy way to hit it: fresh accoun... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/spec/rhc/highline_extensions_spec.rb b/spec/rhc/highline_extensions_spec.rb\nindex f8e9cdf77..2fbff9b9d 100644\n--- a/spec/rhc/highline_extensions_spec.rb\n+++ b/spec/rhc/highline_extensions_spec.rb\n@@ -139,6 +139,14 @@ def reset\n output.sho... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Results from Gini index are negative\nHi, I ran the following command, which gave me negative results\r\n\r\nalpha_diversity(metric='gini_index',counts=[2,2,2,2,2])\r\noutput: -0.2\r\n\r\nAs each entry is the same in my inout [2,2,2,2,2], I think the output should be 0.\r\n\r\n... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/skbio/diversity/alpha/tests/test_gini.py b/skbio/diversity/alpha/tests/test_gini.py\nindex 3154662c..eaa1873b 100644\n--- a/skbio/diversity/alpha/tests/test_gini.py\n+++ b/skbio/diversity/alpha/tests/test_gini.py\n@@ -56,6 +56,56 @@ class GiniTest... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want `RequestModel.to_curl(extra_args: str = \"\") -> str` to serialize a request model into a reproducible multiline `curl` command string. For a GET request with URL `https://example.com/api`, it should return exactly `curl \\\n 'https://example.com/api'`. For a POST reque... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_to_curl.py b/usercase-test-coderl/test_to_curl.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_to_curl.py\n@@ -0,0 +1,396 @@\n+\n+\n+\n+\n+\n+from __future__ import annotations\n+\n+import json\n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "**Prettier 2.0.5**\r\n[Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuE8DOMA6UAEOD8OA9AFQ6QC2FCWueeJR29OAZhBMzkjgEYCGAJwDc2bOlp5CpchCo0u9fjkaK2HLjwEjsIADQgIABxgBLaGmSghgiAHcACkISWU-ADZ3+AT0sHegvxgANZwMADKRkGmUADmyDCCAK5wBgAWMBTuAOpppuhRYHDhLvmmAG753sjgaH4gMWh... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/js/conditional/__snapshots__/jsfmt.spec.js.snap b/tests/js/conditional/__snapshots__/jsfmt.spec.js.snap\nindex 79e96b2a979d..52296ec2f6fb 100644\n--- a/tests/js/conditional/__snapshots__/jsfmt.spec.js.snap\n+++ b/tests/js/conditional/__snaps... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## `Generator.random` silently accepts (or unhelpfully asserts) mismatched `out` arguments\n\nWhen using `cunumeric.random.default_rng().random(...)` with an `out=` argument, the validation of `out` against `size` / `dtype` doesn't behave like a normal user-facing API.\n\nMinim... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/integration/test_random_advanced.py b/tests/integration/test_random_advanced.py\nindex ab8031344..c5ae2bc42 100644\n--- a/tests/integration/test_random_advanced.py\n+++ b/tests/integration/test_random_advanced.py\n@@ -12,6 +12,7 @@\n # See t... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "### Search before asking\n\n- [X] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues.\n\n\n### What Happened\n\nASOF join syntax was [recently added in Snowflake](https://docs.snowflake.com/en/sql-reference/constructs/asof-join) and... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/fixtures/dialects/snowflake/select_asof_join.sql b/test/fixtures/dialects/snowflake/select_asof_join.sql\nnew file mode 100644\nindex 00000000000..809a47a1e5e\n--- /dev/null\n+++ b/test/fixtures/dialects/snowflake/select_asof_join.sql\n@@ -0,... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want embedding-backed passage rerankers for OpenDeepSearch. The API should expose a `BaseSemanticSearcher` class whose public methods are `calculate_scores(queries: List[str], documents: List[str], normalize: str = \"softmax\") -> torch.Tensor`, `rerank(query: Union[str, List... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_embedding_rerankers.py b/usercase-test-coderl/test_embedding_rerankers.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_embedding_rerankers.py\n@@ -0,0 +1,412 @@\n+\n+\n+\n+\n+\n+\n+\n+\n+from __fu... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "The `decode_json_fields` processor currently decodes only the selected field's top-level JSON object. This leaves structured log payloads partially opaque when a decoded object contains more JSON strings, and it is especially inconvenient for arrays of embedded records. Extend ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/libbeat/processors/actions/decode_json_fields_recursive_test.go b/libbeat/processors/actions/decode_json_fields_recursive_test.go\nnew file mode 100644\nindex 000000000..f3d8a93a1\n--- /dev/null\n+++ b/libbeat/processors/actions/decode_json_fields... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "schema.response without a status code throws a cryptic error message\n### Prerequisites\n\n- [X] I have written a descriptive issue title\n- [X] I have searched existing issues to ensure the bug has not already been reported\n\n\n### Fastify version\n\n3.29\n\n### Plugin versio... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/schema-feature.test.js b/test/schema-feature.test.js\nindex 6d0f2ae0..c54a55dd 100644\n--- a/test/schema-feature.test.js\n+++ b/test/schema-feature.test.js\n@@ -1755,3 +1755,118 @@ test('Should coerce the array if the default validator is use... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Problem Statement\n\nWhen I list SCIM users or service principals through the Go APIs, the responses are huge because every item drags along all its roles, even though I usually don’t need them for filtering/listing. Can we avoid fetching roles for those list/filter calls by... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/exporter/exporter_test.go b/exporter/exporter_test.go\nindex 669b057d16..7b235d7b93 100644\n--- a/exporter/exporter_test.go\n+++ b/exporter/exporter_test.go\n@@ -340,7 +340,7 @@ func TestImportingUsersGroupsSecretScopes(t *testing.T) {\n \t\t\t},\... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I'm using `schemaspec.Resource.As` to decode into a struct that has an interface field and a `[]MyInterface` field. The child blocks are registered extension types that implement that interface, but after `As` runs those fields are still nil/empty and the same blocks are still ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/schema/schemaspec/extension_test.go b/schema/schemaspec/extension_test.go\nindex 01402273..1a09c56d 100644\n--- a/schema/schemaspec/extension_test.go\n+++ b/schema/schemaspec/extension_test.go\n@@ -1,6 +1,8 @@\n package schemaspec_test\n \n import... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Change `dims` keyword of sum functions to `dim`\nI have come across a case where linopy does not adhere to the naming of xarray and this problem can only be solved with an unnecessary type check. Here is a short linear equation that should work with both pure xarray instances a... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/test_linear_expression.py b/test/test_linear_expression.py\nindex 06794a2..122d0c4 100644\n--- a/test/test_linear_expression.py\n+++ b/test/test_linear_expression.py\n@@ -399,6 +399,73 @@ def test_linear_expression_sum_drop_zeros(z):\n as... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Deprecate {train/val/test}_transforms, dims, and size from the DataModule\n## 🚀 Feature\r\n\r\nDeprecate these properties off the LightningDataModule interface:\r\nhttps://github.com/PyTorchLightning/pytorch-lightning/blob/963c26764682fa4cf64c93c5a7572ae0040e9c32/pytorch_light... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 000000000..0eda835f6\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python -m pytest tests/deprecated_api/test_remove_1-7.py -v\"]\n+}\nd... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Problem Statement\n\nI'm linting some SQL Server deployment scripts with SQLFluff, and right now the T-SQL partition setup statements just show up as unparsable. It'd be great if `sqlfluff parse --dialect tsql` could understand `CREATE/ALTER PARTITION FUNCTION` and `CREATE/AL... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/dialects/tsql_partition_ddl_test.py b/test/dialects/tsql_partition_ddl_test.py\nnew file mode 100644\nindex 0000000..1111111\n--- /dev/null\n+++ b/test/dialects/tsql_partition_ddl_test.py\n@@ -0,0 +1,65 @@\n+\n+\n+from sqlfluff.core import Li... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## sendConn doesn't support sending to alternate remote addresses (needed for connection migration)\n\nWorking on connection migration support (#234). The path validation flow needs two capabilities from the underlying send path that `sendConn` currently doesn't offer:\n\n1. **... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/mock_send_conn_test.go b/mock_send_conn_test.go\nindex bfbaee730b6..a025eb8b3cd 100644\n--- a/mock_send_conn_test.go\n+++ b/mock_send_conn_test.go\n@@ -41,6 +41,42 @@ func (m *MockSendConn) EXPECT() *MockSendConnMockRecorder {\n \treturn m.recorde... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Confirmable wallet transactions\n\nToday a deposit or withdrawal can be recorded as *unconfirmed* by passing `false` as the\nthird argument to `deposit(...)` / `withdraw(...)` (and their `force*` variants). An unconfirmed\ntransaction is persisted, exposes `confirmed === fals... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/ConfirmTest.php b/tests/ConfirmTest.php\nnew file mode 100644\nindex 00000000..f8e7e9bc\n--- /dev/null\n+++ b/tests/ConfirmTest.php\n@@ -0,0 +1,158 @@\n+<?php\n+\n+namespace Bavix\\Wallet\\Test;\n+\n+use Bavix\\Wallet\\Models\\Transaction;\n... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "js2php currently treats some source it cannot translate as if conversion succeeded: the library logs an AST node to the console, drops that construct, and returns plausible-looking partial PHP. The command-line wrapper can then print that partial output with a zero status. This... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test/codespec_safe_diagnostics.js b/test/codespec_safe_diagnostics.js\nnew file mode 100644\nindex 0000000..3459f3c\n--- /dev/null\n+++ b/test/codespec_safe_diagnostics.js\n@@ -0,0 +1,241 @@\n+var assert = require('assert');\n+var childProcess = r... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Add a circuit breaker for the Typesense HTTP transport\n\nWhen the Typesense server starts failing, the client currently keeps hammering it with\nrequests, which makes a bad situation worse. I'd like us to add a **circuit breaker** that\nmonitors request failures and short-ci... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/typesense/api/circuit/circuit_behavior_test.go b/typesense/api/circuit/circuit_behavior_test.go\nnew file mode 100644\nindex 0000000..45a8aa0\n--- /dev/null\n+++ b/typesense/api/circuit/circuit_behavior_test.go\n@@ -0,0 +1,307 @@\n+package circuit... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Meta refresh tag URLs are not being archived correctly\n\nI'm using Zeno to archive some pages that rely on `<meta>` refresh tags to redirect users to the actual content, e.g.:\n\n```html\n<meta http-equiv=\"refresh\" content=\"0; url=https://example.com/real-page\">\n```\n\... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/internal/pkg/postprocessor/extractor/html_test.go b/internal/pkg/postprocessor/extractor/html_test.go\nindex a60e5c99..6d1e6040 100644\n--- a/internal/pkg/postprocessor/extractor/html_test.go\n+++ b/internal/pkg/postprocessor/extractor/html_test.g... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want `udiskie-umount` to support an all-devices mode. When I run `udiskie-umount -a` or `udiskie-umount --all`, it should not require any DEVICE argument; instead it should find every handleable root device known to udiskie and attempt to remove each one.\n\nFor this mode, ud... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/fixtures/run_umount_fixture.py b/usercase-test-coderl/fixtures/run_umount_fixture.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/fixtures/run_umount_fixture.py\n@@ -0,0 +1,242 @@\n+#!/usr/bin/env python3\n... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Support graphql-java 14\n\n`federation-jvm` is currently pinned to `graphql-java` 13.0 (see `graphql-java.version` in the parent `pom.xml`). graphql-java 14 has been out for a while now and we'd like to be able to use it together with this library.\n\nWhen I tried to overrid... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/graphql-java-support/src/test/java/com/apollographql/federation/graphqljava/FederationTest.java b/graphql-java-support/src/test/java/com/apollographql/federation/graphqljava/FederationTest.java\nindex 79b9213c..015ccaa6 100644\n--- a/graphql-java-... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Problem Statement\n\nI’d like to use zstd-compressed cache archives with drone-cache, but right now setting `archive_format: zstd` doesn’t seem to give me a real zstd archive. Could you add proper zstd support so rebuild/restore works with it, and ideally let the existing com... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/archive/archive_zstd_behavior_test.go b/archive/archive_zstd_behavior_test.go\nnew file mode 100644\nindex 00000000..00000000\n--- /dev/null\n+++ b/archive/archive_zstd_behavior_test.go\n@@ -0,0 +1,339 @@\n+package archive_test\n+\n+import (\n+\t\... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want Restyle to provide built-in spacing shorthand props for the standard spacing restyle function set. The public API should export `spacingShorthand` and `SpacingShorthandProps<Theme extends BaseTheme>` from the package, so I can pass `spacingShorthand` into `composeRestyle... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/spacing_shorthand.test.ts b/usercase-test-coderl/spacing_shorthand.test.ts\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/spacing_shorthand.test.ts\n@@ -0,0 +1,386 @@\n+import React from 'react';\n+import {cr... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Annotate `@extend_schema` to accept a list of integers\nI'd roughly like to express that my API endpoint directly accepts a list of integers (in my case they will be a list of IDs in the POST body to operate on). The input to the endpoint would look like:\r\n\r\n```json\r\n[1, ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 0000000..6282830\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python3 -m pytest tests/test_extend_schema.py -k 'typing_list_int or typi... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Open a memiavl database at a historical version\n\nThe embedded `memiavl` database (the `memiavl` Go module in this repository) can\ncurrently only be opened at its latest committed version: loading the database\nreplays the entire write-ahead log, so you always end up at the... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/memiavl/load_version_test.go b/memiavl/load_version_test.go\nnew file mode 100644\nindex 00000000..a63759aa\n--- /dev/null\n+++ b/memiavl/load_version_test.go\n@@ -0,0 +1,60 @@\n+package memiavl\n+\n+import (\n+\t\"strconv\"\n+\t\"testing\"\n+\n+\... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Problem Statement\n\nI'm hitting some weird inconsistencies with error handling across the different framework integrations. When I send a GET request with malformed JSON in the query params to my aiohttp, asgi, and fastapi GraphQL views, I get a 500 / unhandled crash instead... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/aiohttp/test_query_params.py b/tests/aiohttp/test_query_params.py\nindex a50fa785..050ffb57 100644\n--- a/tests/aiohttp/test_query_params.py\n+++ b/tests/aiohttp/test_query_params.py\n@@ -1,3 +1,6 @@\n+MALFORMED_JSON_TEXT = \"Unable to parse... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Nested ORM-mode models can no longer be initialized from nested dictionaries\n### Checks\r\n\r\n* [x] I added a descriptive title to this issue\r\n* [x] I have searched (google, github) for similar issues and couldn't find anything\r\n* [x] I have read and followed [the docs](h... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 000000000..58d93acda\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"python -m pytest tests/test_orm_mode.py -v -k \\\"nested_orm or top_l... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Incorrect requirements.txt formatting in poetry export\nThe `requirements.txt` format needs to put a space in front of the semicolon that specifies the package and the pyversion and platform constraints. Right now, without the space, the semicolon will be interpreted as part o... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/utils/test_exporter.py b/tests/utils/test_exporter.py\nindex 03f878aa..6aa71c40 100644\n--- a/tests/utils/test_exporter.py\n+++ b/tests/utils/test_exporter.py\n@@ -1601,3 +1601,211 @@ foo==1.2.3\n \"\"\"\n \n assert out == expected\n+\n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Problem Statement\n\nRight now circuit strings only seem to take single-letter element names like R, C, L — but I want to define my own custom elements with longer names (like \"RR\") and use them in a circuit, and at the moment it just doesn't parse them right. Could the pa... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/impedance/tests/test_multiletter_elements.py b/impedance/tests/test_multiletter_elements.py\nnew file mode 100644\nindex 0000000..14ae6a4\n--- /dev/null\n+++ b/impedance/tests/test_multiletter_elements.py\n@@ -0,0 +1,81 @@\n+import numpy as np\n+i... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "### snap login tests are unreliable on ppc64el / powerpc\n\nWhen building and running the `cmd/snap` test suite on ppc64el (and also powerpc), the tests covering `snap login` are flaky / fail outright. On amd64 they pass.\n\nLooking at how the login tests work, they spin up a p... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/cmd/snap/cmd_buy_test.go b/cmd/snap/cmd_buy_test.go\nindex bc62fdba5f9..36fa6334e4a 100644\n--- a/cmd/snap/cmd_buy_test.go\n+++ b/cmd/snap/cmd_buy_test.go\n@@ -26,7 +26,6 @@ import (\n \n \t\"gopkg.in/check.v1\"\n \n-\t\"github.com/snapcore/snapd/... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Make offline evaluation usable and enforce label consistency\n\nThe library exposes a public evaluation helper `evaluate`, importable from\n`libreco.evaluation`. It is meant to score an already-fitted model on a chunk of\ndata and return the requested metrics. Two problems: t... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/test_evaluate_neg_sampling.py b/tests/test_evaluate_neg_sampling.py\nnew file mode 100644\nindex 0000000..0584f68\n--- /dev/null\n+++ b/tests/test_evaluate_neg_sampling.py\n@@ -0,0 +1,106 @@\n+\n+\n+\n+\n+\n+\n+\n+import numpy as np\n+import... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Nested `as` type assertions get wrapped in unnecessary parens\n\nWhen I run Prettier on TypeScript that uses a double `as` cast (the common `value as unknown as TargetType` pattern that TS often forces you into), Prettier adds parens around the inner cast.\n\nInput:\n\n```ts... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/typescript/argument-expansion/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/argument-expansion/__snapshots__/jsfmt.spec.js.snap\nindex 11f5d08f2fc6..f4c5c473e446 100644\n--- a/tests/typescript/argument-expansion/__snapshots__/jsfmt.spe... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "[BUG] inconsistency in the naming\n### Is there an existing issue for this?\n\n- [X] I have searched the existing issues\n\n### Operating system\n\n- [X] Linux\n- [ ] Mac\n- [ ] Windows\n\n### Operating system version\n\nFor example one of the following:\r\n- Linux Ubuntu 22.04... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/nilearn/glm/tests/test_stat_type_deprecation.py b/nilearn/glm/tests/test_stat_type_deprecation.py\nnew file mode 100644\nindex 000000000..fbe5cf39c\n--- /dev/null\n+++ b/nilearn/glm/tests/test_stat_type_deprecation.py\n@@ -0,0 +1,133 @@\n+\n+\n+\n... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I need `usbguard::Device` to expose `std::shared_ptr<usbguard::Rule> getDeviceRule(bool with_port = true, bool with_parent_hash = true, bool match_rule = false)` so code can turn an already-populated device object into the policy rule that matches that device.\n\nFor a device w... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_device_rule.cpp b/usercase-test-coderl/test_device_rule.cpp\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_device_rule.cpp\n@@ -0,0 +1,404 @@\n+\n+\n+\n+\n+\n+\n+\n+#include \"usbguard/Device.hpp\"\... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Model Go's `net/smtp` email API for data-flow analysis\n\nOur Go data-flow library can already recognise many \"interesting\" data sinks\n(SQL queries, OS commands, HTTP responses, …), but it currently has no notion\nof *email*. As a result, security queries can't reason abou... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/ql/test/library-tests/semmle/go/frameworks/Email/MailData.expected b/ql/test/library-tests/semmle/go/frameworks/Email/MailData.expected\nnew file mode 100644\nindex 00000000..a22a9641\n--- /dev/null\n+++ b/ql/test/library-tests/semmle/go/framework... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Backslashes in quoted strings aren't escaped/unescaped properly\n\nI ran into this while setting display names that happen to contain a backslash. For example a name like `Foo\\Bar \"baz\"` — perfectly legal content for a quoted-string per RFC-822, but mail doesn't seem to h... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/spec/mail/elements/address_spec.rb b/spec/mail/elements/address_spec.rb\nindex 4d4b085dd..c29d0335d 100644\n--- a/spec/mail/elements/address_spec.rb\n+++ b/spec/mail/elements/address_spec.rb\n@@ -516,7 +516,7 @@\n ... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want a `loadavg(prog: Program) -> tuple[float, float, float]` helper for Linux kernel programs. It should be importable as `from drgn.helpers.linux.sched import loadavg`, and also from the top-level Linux helper package as `from drgn.helpers.linux import loadavg`. Users shoul... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_loadavg.py b/usercase-test-coderl/test_loadavg.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_loadavg.py\n@@ -0,0 +1,494 @@\n+\n+\n+\n+import json\n+import os\n+import pkgutil\n+import socket\n+i... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Creating a 2nd Captcha before the API scripts loads causes 2nd script to load\nThis is best explained by an example:\r\n\r\n1. User is on Page A which has a Captcha A\r\n2. Captcha A mounts, [putting an API script tag on the page](https://github.com/hCaptcha/react-hcaptcha/blob... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/test_commands.json b/test_commands.json\nnew file mode 100644\nindex 0000000..d981a6e\n--- /dev/null\n+++ b/test_commands.json\n@@ -0,0 +1,3 @@\n+{\n+ \"test_commands\": [\"npx jest tests/hcaptcha.script.spec.js\"]\n+}\ndiff --git a/tests/hcaptch... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## ChoiceType with a Python Enum class doesn't work\n\n`sqlalchemy_utils.ChoiceType` supports two forms for its `choices` argument:\neither a list of `(value, label)` tuples, or a Python `enum.Enum` subclass.\nThe tuple form works fine with graphene-sqlalchemy, but if I pass an... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/graphene_sqlalchemy/tests/test_converter.py b/graphene_sqlalchemy/tests/test_converter.py\nindex 459a3139..e8051a18 100644\n--- a/graphene_sqlalchemy/tests/test_converter.py\n+++ b/graphene_sqlalchemy/tests/test_converter.py\n@@ -145,6 +145,32 @@ ... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want an initialized `Document` to provide `guess_notes(horizontal: str, vertical: str, current_page: int = 0) -> PdfPage` so Pympress can decide which notes mode to use when a PDF is opened. The method should inspect the document's page labels, page count, renderability, and ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_guess_notes.py b/usercase-test-coderl/test_guess_notes.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_guess_notes.py\n@@ -0,0 +1,293 @@\n+import pathlib\n+\n+from pympress.document import Documen... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want `XcodeProject.add_file(path, parent=None, tree=TreeType.SOURCE_ROOT, target_name=None, force=True, file_options=FileOptions())` to support duplicate-safe insertion when `force=False`. In a session where I load a project and `file.m` is already present in the selected tar... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/fixtures/duplicate_file_project.json b/usercase-test-coderl/fixtures/duplicate_file_project.json\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/fixtures/duplicate_file_project.json\n@@ -0,0 +1,117 @@\n+{\n+ ... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I need the cash wallet controller to expose `BaseController.MoveCoins(store weave.KVStore, src weave.Address, dest weave.Address, amount coin.Coin) error` so application handlers and other modules can transfer funds between wallet addresses through an existing controller create... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/cash_move_coins_test.go b/usercase-test-coderl/cash_move_coins_test.go\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/cash_move_coins_test.go\n@@ -0,0 +1,268 @@\n+package usercase_test_coderl\n+\n+import (\n+... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Time field has no way to customize its display format\n\nOn my dashboard I have a model with a `time` attribute (think \"store opening time\" — just an hour of day, no date). Administrate renders it like `09:00AM`, but I want it shown in 24-hour form (e.g. `09:00`).\n\nFor `... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/spec/administrate/views/fields/time/_index_spec.rb b/spec/administrate/views/fields/time/_index_spec.rb\nindex 282e6c69d9..dd6ee9af4f 100644\n--- a/spec/administrate/views/fields/time/_index_spec.rb\n+++ b/spec/administrate/views/fields/time/_inde... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Problem Statement\n\nI noticed our Datadog CI Visibility events are showing credentials from URLs, like the token in our Git remote ending up in `git.repository_url`, and even `GITHUB_SERVER_URL` leaking into the GitHub Actions CI tags/env vars. Can dd-trace-js strip the use... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json b/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json\nindex 9262c3298..5815c38f9 100644\n--- a/packages/dd-trace/test/plugins/util/ci-env/azurepipelines.json\n+++ b/package... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Extracted method fails when it contains multi subscriptables\n**Describe the bug**\r\n\r\nError while extracting method that contains augmented assignment to multi subscriptables (dict, list etc.).\r\n\r\n**To Reproduce**\r\n\r\nSteps to reproduce the behavior:\r\n\r\n1. Code b... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/ropetest/refactor/extracttest.py b/ropetest/refactor/extracttest.py\nindex 69a930bb..77d3054d 100644\n--- a/ropetest/refactor/extracttest.py\n+++ b/ropetest/refactor/extracttest.py\n@@ -3150,6 +3150,156 @@ class ExtractMethodTest(unittest.TestCase... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want a public `scirpy.ir_dist.sequence_dist(seqs: Sequence[str], seqs2: Sequence[str] | None = None, *, metric: MetricType = \"identity\", cutoff: int | None = None, n_jobs: int = -1, **kwargs) -> scipy.sparse.csr_matrix` helper for one-shot CDR3 sequence distance matrices fr... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/test_sequence_dist.py b/usercase-test-coderl/test_sequence_dist.py\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/test_sequence_dist.py\n@@ -0,0 +1,292 @@\n+\n+\n+\n+\n+\n+\n+\n+from __future__ import annotat... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## VM query endpoint fails when the queried function produces log entries\n\nI'm using the node's VM query API (POST `/vm-values/query`) to call view-style functions on a deployed smart contract. Most queries work fine, but one particular query consistently fails — that functio... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/facade/nodeFacade_test.go b/facade/nodeFacade_test.go\nindex e886b56a5ff..f4742753e17 100644\n--- a/facade/nodeFacade_test.go\n+++ b/facade/nodeFacade_test.go\n@@ -17,6 +17,7 @@ import (\n \t\"github.com/ElrondNetwork/elrond-go-core/data/block\"\n... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Library improvements for downstream integrations\n\nI'm integrating `sucks` into Home Assistant and ran into a few rough edges while wrapping `VacBot` for end users. None of these are bugs — the library works — but they each push complexity onto the integrator that I think r... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/tests/test_vacbot.py b/tests/test_vacbot.py\nindex 6114e9e..d2cb463 100644\n--- a/tests/test_vacbot.py\n+++ b/tests/test_vacbot.py\n@@ -95,6 +95,40 @@ def test_lifespan_reports():\n v._handle_ctl({'event': 'life_span', 'type': 'a_weird_compone... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Problem Statement\n\nI'm running Airbyte's HubSpot source on an account with a lot of custom contact/deal properties, and those streams keep failing with HubSpot HTTP 414 / `Request-URI Too Long`. Smaller HubSpot objects sync fine, so it looks like the connector is building a... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_property_request_urls.py b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_property_request_urls.py\nnew file mode 100644\nindex 0000000000000..79b754bf39416\n--- /dev/n... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "# Namespace-aware file attachments for publications\n\nOn the publication feed, people can now attach files both to a publication and to the\ncomments below it. Content that is created from the publication area lives under its own\n\"publication\" content namespace, which is di... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/frontend_lib/test/commentFileNamespace.spec.js b/frontend_lib/test/commentFileNamespace.spec.js\nnew file mode 100644\nindex 000000000..fe5d45b14\n--- /dev/null\n+++ b/frontend_lib/test/commentFileNamespace.spec.js\n@@ -0,0 +1,120 @@\n+import Reac... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "### Cannot override the default image registry on `SecuredCluster` via the operator\n\nWhen deploying RHACS Secured Cluster services through the operator, there is no way to make the secured-cluster components pull their images from a mirror / internal registry instead of the d... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/operator/pkg/securedcluster/values/translation/translation_test.go b/operator/pkg/securedcluster/values/translation/translation_test.go\nindex 4f3d72f3234dc..8a6728b8390dd 100644\n--- a/operator/pkg/securedcluster/values/translation/translation_te... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Problem Statement\n\nI just ran `doctl kubernetes cluster node-pool update <pool-id>` to change the pool's labels and my pool got resized to 0 nodes — I didn't pass `--count` at all. Same thing seems to happen with `doctl kubernetes cluster update`: if I don't pass `--auto-u... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/commands/kubernetes_test.go b/commands/kubernetes_test.go\nindex 46f7c155..24953b8a 100644\n--- a/commands/kubernetes_test.go\n+++ b/commands/kubernetes_test.go\n@@ -7,6 +7,7 @@ import (\n \t\"github.com/digitalocean/doctl\"\n \t\"github.com/digit... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "Teach the public `dask.compute` function to compute Dask collections nested inside ordinary Python containers. Today only arguments that are themselves Dask collections are discovered, so a structure such as `{'left': [x + 1], 'total': x.sum()}` is returned with lazy objects st... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/dask/tests/test_nested_compute_codespec.py b/dask/tests/test_nested_compute_codespec.py\nnew file mode 100644\nindex 000000000..e69de29\n--- /dev/null\n+++ b/dask/tests/test_nested_compute_codespec.py\n@@ -0,0 +1,170 @@\n+from __future__ import ab... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Image `registry` and `tag` context fields are empty when not explicitly set in the spec\n\nI'm writing a couple of Kyverno policies around container images:\n\n1. One that requires all images to come from our internal mirror (i.e. denies anything from `docker.io`).\n2. One t... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/pkg/engine/context/imageutils_test.go b/pkg/engine/context/imageutils_test.go\nindex e88a3e811514..a599fe80c0a2 100644\n--- a/pkg/engine/context/imageutils_test.go\n+++ b/pkg/engine/context/imageutils_test.go\n@@ -17,12 +17,12 @@ func Test_extract... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.