instance_id
large_stringlengths
23
23
orig_index
int64
1
2.92k
prompt
large_stringlengths
99
58.7k
test_patch
large_stringlengths
1.18k
892k
docker_image
large_stringlengths
30
30
verifier_timeout_sec
int64
1.8k
1.8k
prog_language
large_stringclasses
15 values
test_files
listlengths
1
118
n_test_files
int64
1
118
patch_lines
int64
1
20.6k
prompt_words
int64
6
3.93k
prompt_chars
int64
99
58.7k
has_code_block
bool
2 classes
has_traceback
bool
2 classes
has_chinese
bool
2 classes
difficulty
large_stringclasses
3 values
difficulty_score
float64
0.12
0.98
issue_type
large_stringclasses
2 values
issue_type_confidence
float64
0.5
1
issue_type_confident
bool
2 classes
cluster_id
int32
0
19
cluster_name
large_stringclasses
20 values
near_duplicate
bool
2 classes
nearest_instance_id
large_stringlengths
23
23
nearest_similarity
float64
0.28
0.93
format-code-task-001457
1
[FEAT] Make `secrets` parameter optional so we can use this action just to get the token. **Is your feature request related to a problem? Please describe.** The `secrets` parameter should not be mandatory. There is the option for `exportToken`, which is what I want to use to configure the Vault Terraform provider. How...
diff --git a/src/action.test.js b/src/action.test.js index 1837eaf..9c585d8 100644 --- a/src/action.test.js +++ b/src/action.test.js @@ -332,3 +332,85 @@ with blank lines expect(core.setOutput).toBeCalledWith('key', multiLineString); }) }); + +describe('parseSecretsInput optional', () => { + it('retur...
format-code-task-001457:latest
1,800
JavaScript
[ "src/action.test.js" ]
1
82
226
1,329
false
false
false
medium
0.412
feature
0.979
true
0
Auth, users & permissions
false
format-code-task-001436
0.515
format-code-task-001240
2
I want `gz::sim::SdfEntityCreator` to support creating ECS entities from SDF projectors. Given an existing `SdfEntityCreator`, calling `Entity CreateEntities(const sdf::Projector *)` with a projector named `projector`, a raw pose of `(1, 2, 3, 0, 0, 0)`, near clip `2.0`, far clip `7.0`, horizontal FOV `0.5`, texture `p...
diff --git a/usercase-test-coderl/projector_entities_test.cc b/usercase-test-coderl/projector_entities_test.cc new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/projector_entities_test.cc @@ -0,0 +1,353 @@ + + +#include <cmath> +#include <cstdlib> +#include <iostream> +#include <memory> +#include <sstream> ...
format-code-task-001240:latest
1,800
C++
[ "usercase-test-coderl/projector_entities_test.cc" ]
1
353
146
1,043
false
false
false
medium
0.521
feature
0.998
true
4
Config, paths & metadata
false
format-code-task-002150
0.497
format-code-task-000723
3
## Role REST API silently drops `handle` on create / update I'm wiring up a small admin tool against the Corteza system API and I want to give each role a stable, machine-friendly `handle` next to its display `name` (similar to what users and the signup endpoint already accept). The `Role` type itself looks like it ca...
diff --git a/api/system/spec/role.json b/api/system/spec/role.json index e09e1de6f6..29baaddf7d 100644 --- a/api/system/spec/role.json +++ b/api/system/spec/role.json @@ -40,6 +40,12 @@ "title": "Name of Role", "type": "string" }, + { + "name": "handle", + ...
format-code-task-000723:latest
1,800
Go
[ "api/system/spec/role.json", "tests/system/role_test.go" ]
2
16
273
1,629
false
false
false
medium
0.488
bug
0.882
true
0
Auth, users & permissions
false
format-code-task-001650
0.54
format-code-task-000718
4
# Problem Statement 我现在在 Cortex 里上传 Alertmanager 配置时,receiver 的 HTTP 通知鉴权基本只能用 basic auth 或 bearer token,但我们这边的 webhook 接口要求走 OAuth2 client credentials。能不能让 `http_config` 这类通知配置直接支持 `oauth2`,比如用 client id、inline secret 和 token URL 去拿 token?另外这个配置是租户自己传的,最好不要允许它通过 `client_secret_file` 去读服务器上的本地文件。 # Expected outcomes ...
diff --git a/pkg/alertmanager/api_oauth2_test.go b/pkg/alertmanager/api_oauth2_test.go new file mode 100644 index 0000000000..44f3e1e1e0 --- /dev/null +++ b/pkg/alertmanager/api_oauth2_test.go @@ -0,0 +1,120 @@ +package alertmanager + +import ( + "bytes" + "io/ioutil" + "net/http" + "net/http/httptest" + "path/filepath...
format-code-task-000718:latest
1,800
Go
[ "pkg/alertmanager/api_oauth2_test.go", "vendor/github.com/prometheus/common/config/http_config_oauth2_test.go" ]
2
359
277
2,171
false
false
true
hard
0.812
feature
0.54
false
0
Auth, users & permissions
false
format-code-task-000386
0.534
format-code-task-000484
6
## PI and LogEI acquisition functions crash when called I'm using RoBO for some Bayesian optimization experiments. The default `EI` acquisition function works fine, so I wanted to compare against `PI` and `LogEI` on the same problem. I set them up the same way I set up `EI` (same model, same `X_lower` / `X_upper`, sa...
diff --git a/robo/test/test_ei.py b/robo/test/test_ei.py index 5b0d7ca..7eef3bc 100644 --- a/robo/test/test_ei.py +++ b/robo/test/test_ei.py @@ -8,6 +8,7 @@ import GPy from robo.models.GPyModel import GPyModel from robo.acquisition.EI import EI +from robo.recommendation.incumbent import compute_incumbent here = o...
format-code-task-000484:latest
1,800
Python
[ "robo/test/test_ei.py", "robo/test/test_logei.py", "robo/test/test_pi.py" ]
3
154
176
1,068
true
false
false
hard
0.595
bug
0.975
true
9
Python library features
false
format-code-task-002817
0.41
format-code-task-000189
7
## BroydenSolver behaves inconsistently with other nonlinear solvers (label + recording) I'm running a model where I'm experimenting with different nonlinear solvers (BroydenSolver vs NewtonSolver vs NonlinearBlockGS) on the same group, and I have a case recorder attached so I can compare their iteration behavior side...
diff --git a/openmdao/recorders/tests/test_sqlite_recorder.py b/openmdao/recorders/tests/test_sqlite_recorder.py index 3d454e8cc3..1f383d65d8 100644 --- a/openmdao/recorders/tests/test_sqlite_recorder.py +++ b/openmdao/recorders/tests/test_sqlite_recorder.py @@ -1507,16 +1507,49 @@ def test_record_solver_nonlinear_newt...
format-code-task-000189:latest
1,800
Python
[ "openmdao/recorders/tests/test_sqlite_recorder.py", "openmdao/solvers/nonlinear/tests/test_broyden.py" ]
2
39
263
1,631
false
false
false
medium
0.523
bug
0.78
true
4
Config, paths & metadata
false
format-code-task-000706
0.396
format-code-task-000720
8
## S3 bucket client keeps retrying after the request context is canceled When running Cortex against S3-backed object storage, I noticed that if an in-flight operation's context gets canceled (either explicitly, or because an upstream deadline expires), the bucket client doesn't actually stop right away. It keeps goin...
diff --git a/pkg/storage/bucket/s3/bucket_client_test.go b/pkg/storage/bucket/s3/bucket_client_test.go index 2de42c88577..2454970517d 100644 --- a/pkg/storage/bucket/s3/bucket_client_test.go +++ b/pkg/storage/bucket/s3/bucket_client_test.go @@ -34,6 +34,14 @@ func TestBucketWithRetries_ShouldRetry(t *testing.T) { e...
format-code-task-000720:latest
1,800
Go
[ "pkg/storage/bucket/s3/bucket_client_test.go" ]
1
8
233
1,520
false
false
false
easy
0.288
bug
0.975
true
13
Retries, timeouts & connections
false
format-code-task-002283
0.69
format-code-task-001661
9
I want the friendship model API to treat a stored friendship row as a bidirectional relationship between two Django users. The library should expose `Friendship.objects.friends_for_user(user)`, returning a list of dictionaries where each item has `friend` set to the other `User` and `friendship` set to the matching `Fr...
diff --git a/usercase-test-coderl/test_bidirectional_friendship.py b/usercase-test-coderl/test_bidirectional_friendship.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_bidirectional_friendship.py @@ -0,0 +1,257 @@ + + + + + + + + + + + + + + +import pytest + +from django.conf import settings + + +...
format-code-task-001661:latest
1,800
Python
[ "usercase-test-coderl/test_bidirectional_friendship.py" ]
1
257
245
1,836
false
false
false
hard
0.6
feature
0.998
true
19
Queries, filters & metrics
false
format-code-task-001635
0.51
format-code-task-001499
10
Dyson integration does not expose humidity or air quality (pm25) to homekit <!-- READ THIS FIRST: - If you need additional help with this template, please refer to https://www.home-assistant.io/help/reporting_issues/ - Make sure you are running the latest version of Home Assistant before reporting an issue: https...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 00000000000..d1dbf250c4e --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m pytest tests/components/dyson/test_sensor.py -v"] +} diff --git a/tests/components/dyson/test_sensor.py b/tests/components/dy...
format-code-task-001499:latest
1,800
Python
[ "tests/components/dyson/test_sensor.py" ]
1
37
422
3,169
true
true
false
medium
0.477
bug
0.978
true
10
Infra & ops bug reports
false
format-code-task-001498
0.593
format-code-task-000173
11
## Custom `dgs.graphql.graphiql.path` doesn't actually work end-to-end I'm using the WebFlux variant of dgs-framework and I wanted to expose GraphiQL on a non-default path (we have a routing convention internally), so in my `application.yml` I set: ```yaml dgs: graphql: graphiql: path: /my-graphiql ``` W...
diff --git a/graphql-dgs-spring-webflux-autoconfigure/src/test/kotlin/com/netflix/graphql/dgs/webflux/autoconfiguration/GraphiQlCustomEndpoint.kt b/graphql-dgs-spring-webflux-autoconfigure/src/test/kotlin/com/netflix/graphql/dgs/webflux/autoconfiguration/GraphiQlCustomEndpoint.kt index eafdeef51..259bfb73a 100644 --- a...
format-code-task-000173:latest
1,800
Kotlin
[ "graphql-dgs-spring-webflux-autoconfigure/src/test/kotlin/com/netflix/graphql/dgs/webflux/autoconfiguration/GraphiQlCustomEndpoint.kt" ]
1
4
178
1,104
true
false
false
easy
0.204
bug
0.961
true
17
HTTP & APIs
false
format-code-task-002103
0.448
format-code-task-002366
12
pvsystem.Array.get_irradiance raises an error if solar_zenith is passed as a float **Bug Description** `pvsystem.get_irradiance` documentation says solar_zenith can be passed as a float or a Series. However, if `dni_extra` is not defined and `solar_zenith` is passed as float, then `solar_zenith.index` is not defined a...
diff --git a/pvlib/tests/test_pvsystem.py b/pvlib/tests/test_pvsystem.py index c98c201..4170ae9 100644 --- a/pvlib/tests/test_pvsystem.py +++ b/pvlib/tests/test_pvsystem.py @@ -2059,6 +2059,73 @@ def test_Array_get_irradiance(solar_pos): assert_series_equal(expected, expected, check_less_precise=5) +def test_P...
format-code-task-002366:latest
1,800
Python
[ "pvlib/tests/test_pvsystem.py" ]
1
67
123
1,104
false
true
false
easy
0.284
bug
0.985
true
15
Data science (numpy, pandas...)
false
format-code-task-000149
0.501
format-code-task-001933
13
ufuzz failure ```js // original code // (beautified) var _calls_ = 10, a = 100, b = 10, c = 0; function f0(arguments_1, a_1) { { var brake1 = 5; L12709: while ((c = c + 1) + a++ && --brake1 > 0) { try { } catch (undefined_2) { { ...
diff --git a/test/compress/classes.js b/test/compress/classes.js index bbfea753..569f6882 100644 --- a/test/compress/classes.js +++ b/test/compress/classes.js @@ -304,6 +304,102 @@ retain_declaration: { node_version: ">=4" } +issue_4981_extends_in_unreachable_catch: { + options = { + dead_code: true, ...
format-code-task-001933:latest
1,800
JavaScript
[ "test/compress/classes.js" ]
1
96
3,925
27,455
true
true
false
medium
0.586
feature
0.758
true
14
JavaScript libraries & tooling
false
format-code-task-002573
0.486
format-code-task-001190
14
I want the ReNative CLI to provide hook-management commands for project build hooks: `rnv hooks run`, `rnv hooks list`, and `rnv hooks pipes`. `rnv hooks run -x <hookName>` and `rnv hooks run --exe-method <hookName>` should configure the project when a project config exists, load the project build hooks with a forced ...
diff --git a/usercase-test-coderl/usecase.sh b/usercase-test-coderl/usecase.sh new file mode 100755 --- /dev/null +++ b/usercase-test-coderl/usecase.sh @@ -0,0 +1,336 @@ +#!/usr/bin/env bash + +set -u +export LANG=C.UTF-8 LC_ALL=C.UTF-8 TZ=UTC +export RNV_TELEMETRY_DISABLED=1 +export NO_UPDATE_NOTIFIER=1 +export npm_co...
format-code-task-001190:latest
1,800
Shell
[ "usercase-test-coderl/usecase.sh" ]
1
336
238
1,485
false
false
false
hard
0.623
feature
0.996
true
3
CLI & config
false
format-code-task-000599
0.541
format-code-task-002967
15
## `vgl-extrude-geometry` doesn't actually accept any props The `vgl-extrude-geometry` component is currently just a stub — its `inst` always returns `new ExtrudeBufferGeometry([], {})`, regardless of what I pass to it. So no matter what attributes I write on the tag, I always end up with an empty extruded geometry. ...
diff --git a/test/geometries/vgl-extrude-geometry.spec.js b/test/geometries/vgl-extrude-geometry.spec.js index 241c87e4..af98e7bd 100644 --- a/test/geometries/vgl-extrude-geometry.spec.js +++ b/test/geometries/vgl-extrude-geometry.spec.js @@ -1,5 +1,5 @@ import Vue from 'vue/dist/vue'; -import { ExtrudeBufferGeometry ...
format-code-task-002967:latest
1,800
JavaScript
[ "test/geometries/vgl-extrude-geometry.spec.js" ]
1
96
340
2,462
true
false
false
medium
0.542
bug
0.857
true
11
Frontend & UI
false
format-code-task-002937
0.389
format-code-task-001027
16
Optic JSON persistence is intended to be a stable interchange boundary, but several ordinary systems cannot currently make a save/load round trip. An optic with no aperture crashes during loading, the optic name is silently discarded, and enabling polarization leaves a `PolarizationState` object in the dictionary so `s...
diff --git a/tests/test_serialization_contract.py b/tests/test_serialization_contract.py new file mode 100644 index 00000000..478e05a1 --- /dev/null +++ b/tests/test_serialization_contract.py @@ -0,0 +1,201 @@ +import json + +import numpy as np + +from optiland.fileio import load_optiland_file, save_optiland_file +from...
format-code-task-001027:latest
1,800
Python
[ "tests/test_serialization_contract.py" ]
1
201
290
2,170
false
false
false
hard
0.611
bug
0.822
true
6
Python tooling
false
format-code-task-001080
0.482
format-code-task-001993
17
I want cursor-based pagination methods on an opened `*graphdb.DB` so callers can page through stored graph data without offset scans. The public API should include `ListNodes(afterID graphdb.NodeID, limit int) (*graphdb.NodePage, error)`, `ListEdges(afterID graphdb.EdgeID, limit int) (*graphdb.EdgePage, error)`, and `L...
diff --git a/usercase-test-coderl/pagination_test.go b/usercase-test-coderl/pagination_test.go new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/pagination_test.go @@ -0,0 +1,372 @@ +package usercase_test_coderl + +import ( + "encoding/json" + "io" + "log/slog" + "testing" + + graphdb "github.com/mstrYoda/g...
format-code-task-001993:latest
1,800
Go
[ "usercase-test-coderl/pagination_test.go" ]
1
372
287
2,086
false
false
false
hard
0.69
feature
0.986
true
19
Queries, filters & metrics
false
format-code-task-001712
0.495
format-code-task-000480
18
### Version v4.38.2 ### Deployment Method Docker ### Reverse Proxy Traefik ### Reverse Proxy Version 2.11.0 ### Description In upgrading to 4.38 I changed my Traefik middleware to use the (default provided) `/api/authz/forward-auth` route. Then, I noticed requests to Home Assistant's `/api` were getting a...
diff --git a/internal/handlers/handler_authz_test.go b/internal/handlers/handler_authz_test.go index dbba67e462844..63f22b0bdfbe7 100644 --- a/internal/handlers/handler_authz_test.go +++ b/internal/handlers/handler_authz_test.go @@ -244,7 +244,7 @@ func (s *AuthzSuite) TestShouldVerifyFailureToGetDetailsUsingBasicSchem...
format-code-task-000480:latest
1,800
Go
[ "internal/handlers/handler_authz_test.go" ]
1
36
1,147
18,031
true
false
false
medium
0.489
bug
0.917
true
0
Auth, users & permissions
false
format-code-task-001436
0.471
format-code-task-002724
19
DuckDB: MAP data type not supported ### Search before asking - [X] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues. ### What Happened ```sql CREATE TABLE map (tags MAP(VARCHAR, VARCHAR)); ``` When `CREATE TABLE` statement with nested types are given SQLFl...
diff --git a/test/dialects/duckdb_map_test.py b/test/dialects/duckdb_map_test.py new file mode 100644 index 000000000..e74e65c0e --- /dev/null +++ b/test/dialects/duckdb_map_test.py @@ -0,0 +1,90 @@ + + + + + + +import pytest + +from sqlfluff.core import FluffConfig, Linter + + +@pytest.fixture(scope="module") +def lin...
format-code-task-002724:latest
1,800
Python
[ "test/dialects/duckdb_map_test.py" ]
1
90
350
3,264
true
false
false
medium
0.54
bug
0.989
true
16
SQL & databases
false
format-code-task-002719
0.596
format-code-task-001677
20
I want a stateful `Pool` class for running FFmpeg worker jobs in the browser. It should be used as `const pool = new Pool(); const files = await pool.spawnJob({params, onLog, MEMFS, WORKERFS}); pool.destroy();` where `params` is the FFmpeg argument array, `onLog(line)` receives each stdout and stderr line from the work...
diff --git a/usercase-test-coderl/pool.test.js b/usercase-test-coderl/pool.test.js new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/pool.test.js @@ -0,0 +1,370 @@ + + + + + + + + + + +"use strict"; + +const assert = require("assert"); +const Module = require("module"); + +if (typeof navigator === "undefine...
format-code-task-001677:latest
1,800
JavaScript
[ "usercase-test-coderl/pool.test.js" ]
1
370
253
1,586
false
false
false
hard
0.652
feature
0.996
true
14
JavaScript libraries & tooling
false
format-code-task-002083
0.515
format-code-task-001942
21
I'm seeing duplicate entries piling up in my function's `external_invocation_urls`. It looks like the same API gateway URL shows up twice — once with a trailing slash and once without — even though it's really the same endpoint. The invoke URL I get back from the API gateway sometimes has that trailing `/` and sometime...
diff --git a/tests/api/crud/test_functions.py b/tests/api/crud/test_functions.py index 72d994a08..a18b6aaaa 100644 --- a/tests/api/crud/test_functions.py +++ b/tests/api/crud/test_functions.py @@ -12,12 +12,38 @@ # See the License for the specific language governing permissions and # limitations under the License. #...
format-code-task-001942:latest
1,800
Python
[ "tests/api/crud/test_functions.py", "tests/common/schemas/test_api_gateway.py", "tests/projects/test_project.py" ]
3
85
260
1,668
false
false
false
hard
0.62
bug
0.813
true
17
HTTP & APIs
false
format-code-task-000878
0.597
format-code-task-000093
22
pygmt.show_versions doesn't show GDAL version ```python >>> import pygmt >>> pygmt.show_versions() PyGMT information: version: v0.17.0.dev11+g0c57126f35 System information: python: 3.13.5 | packaged by conda-forge | (main, Jun 16 2025, 08:23:50) [Clang 18.1.8 ] executable: /opt/miniforge/envs/pygmt/bin/python3.13...
diff --git a/pygmt/tests/test_show_versions.py b/pygmt/tests/test_show_versions.py index f9b6d9926..2ce71f3f4 100644 --- a/pygmt/tests/test_show_versions.py +++ b/pygmt/tests/test_show_versions.py @@ -3,10 +3,12 @@ Test the pygmt.show_versions function. """ import io +import re from unittest.mock import patch i...
format-code-task-000093:latest
1,800
Python
[ "pygmt/tests/test_show_versions.py" ]
1
72
190
1,593
true
false
false
easy
0.349
bug
0.942
true
6
Python tooling
false
format-code-task-002074
0.495
format-code-task-000717
23
# Add a reusable pan & zoom controller for the plotting views Our VisPy-based views need a small, self-contained controller that owns the **pan** (2D translation) and **zoom** (2D scale) state of a scene and keeps any attached GPU programs in sync. Right now the pan/zoom logic is tangled up inside the canvas code and ...
diff --git a/phy/plot/tests/test_panzoom.py b/phy/plot/tests/test_panzoom.py new file mode 100644 index 00000000..221d435a --- /dev/null +++ b/phy/plot/tests/test_panzoom.py @@ -0,0 +1,214 @@ +# -*- coding: utf-8 -*- + + + + + + + +import numpy as np +from numpy.testing import assert_allclose + +from phy.plot import Pa...
format-code-task-000717:latest
1,800
Python
[ "phy/plot/tests/test_panzoom.py" ]
1
214
460
2,838
false
false
false
hard
0.69
feature
0.986
true
9
Python library features
false
format-code-task-001848
0.495
format-code-task-002186
24
I want a stateful cache storage package that exposes `data_layer.DataLayerInterface` and two implementations: `data_layer.MemoryLayer` and `data_layer.RedisLayer`. A caller should be able to construct either implementation with `&data_layer.MemoryLayer{}` or `&data_layer.RedisLayer{}`, call `Init(conf *config.CacheConf...
diff --git a/usercase-test-coderl/data_layer_stateful_test.go b/usercase-test-coderl/data_layer_stateful_test.go new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/data_layer_stateful_test.go @@ -0,0 +1,485 @@ +package usercase_test_coderl + +import ( + "context" + "fmt" + "testing" + "time" + + "github.com/...
format-code-task-002186:latest
1,800
Go
[ "usercase-test-coderl/data_layer_stateful_test.go" ]
1
485
344
3,062
false
false
false
hard
0.756
feature
0.997
true
1
Go library features
false
format-code-task-000766
0.615
format-code-task-002305
25
I want `gdrive` sync commands to honor a `.gdriveignore` file placed in the root of the local sync directory. When I run `gdrive sync upload --dry-run ./local-dir <fileId>`, the sync planner should read `./local-dir/.gdriveignore` and exclude matching local files and directories from the upload plan, so ignored paths a...
diff --git a/usercase-test-coderl/fixtures/sync_ignore_harness.go b/usercase-test-coderl/fixtures/sync_ignore_harness.go new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/fixtures/sync_ignore_harness.go @@ -0,0 +1,250 @@ +package main + +import ( + "crypto/md5" + "crypto/rand" + "crypto/rsa" + "crypto/tls" ...
format-code-task-002305:latest
1,800
Go
[ "usercase-test-coderl/fixtures/sync_ignore_harness.go", "usercase-test-coderl/usecase.sh" ]
2
354
191
1,255
false
false
false
hard
0.7
feature
0.981
true
3
CLI & config
false
format-code-task-001337
0.569
format-code-task-002658
26
`extendEnv` does not work when combined with `shell: true` The `extendEnv` option does not work as intended when combined with the `shell: true` option: ```js process.env.TEST = 'test' const result = execa.sync('echo $TEST', { shell: true, env: {}, extendEnv: true }) assert.equal(result.stdout, 'test') ``` `s...
diff --git a/test.js b/test.js index 91fd135..ab49352 100644 --- a/test.js +++ b/test.js @@ -487,6 +487,31 @@ test('do not extend environment with `extendEnv` option', async t => { ]); }); +test('use extendEnv with shell:true and explicit empty env (sync)', t => { + const {stdout} = m.sync('echo $FOO', {shell: tru...
format-code-task-002658:latest
1,800
JavaScript
[ "test.js" ]
1
25
62
404
true
false
false
easy
0.182
bug
0.79
true
14
JavaScript libraries & tooling
false
format-code-task-003032
0.519
format-code-task-001079
27
## Make automatic query-engine selection resilient to engine failures Ape chooses a query engine from plugin estimates, but an engine can become unavailable after estimating successfully, and some engines only surface a failure when their result iterator is consumed. At present, either case can abort the query even th...
diff --git a/tests/functional/test_query_engine_fallback_codespec.py b/tests/functional/test_query_engine_fallback_codespec.py new file mode 100644 index 0000000..cd57f31 --- /dev/null +++ b/tests/functional/test_query_engine_fallback_codespec.py @@ -0,0 +1,232 @@ +from collections.abc import Iterator +from typing impo...
format-code-task-001079:latest
1,800
Python
[ "tests/functional/test_query_engine_fallback_codespec.py" ]
1
232
335
2,366
false
false
false
hard
0.668
bug
0.863
true
19
Queries, filters & metrics
false
format-code-task-000988
0.441
format-code-task-001769
28
I want `PointSource` to support a `"SOURCE_POSITION"` point-source model for lensed point sources whose parameters are given in the source plane. A user should be able to construct it as `PointSource(point_source_type_list=["SOURCE_POSITION"], lens_model=lens_model, fixed_magnification_list=[False], magnification_limit...
diff --git a/usercase-test-coderl/test_source_position_point_source.py b/usercase-test-coderl/test_source_position_point_source.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_source_position_point_source.py @@ -0,0 +1,272 @@ + + +import numpy as np +import pytest + +from lenstronomy.LensModel.len...
format-code-task-001769:latest
1,800
Python
[ "usercase-test-coderl/test_source_position_point_source.py" ]
1
272
238
2,089
false
false
false
hard
0.599
feature
0.997
true
9
Python library features
false
format-code-task-001770
0.567
format-code-task-001834
29
# Add an Azure Blob Storage backend to `Arctic` `Arctic` can currently be pointed at S3 (`s3://` / `s3s://`) and LMDB (`lmdb://`) backends. We want to add **Azure Blob Storage** as a first-class backend so that users can point `Arctic` at an Azure storage account using an `azure://` connection URI, exactly the way S3 ...
diff --git a/python/tests/nonreg/arcticdb/adapters/test_azure_library_adapter.py b/python/tests/nonreg/arcticdb/adapters/test_azure_library_adapter.py new file mode 100644 index 000000000..609eb4922 --- /dev/null +++ b/python/tests/nonreg/arcticdb/adapters/test_azure_library_adapter.py @@ -0,0 +1,139 @@ + + + + + + + +...
format-code-task-001834:latest
1,800
Python
[ "python/tests/nonreg/arcticdb/adapters/test_azure_library_adapter.py" ]
1
139
497
3,230
true
false
false
hard
0.635
feature
0.905
true
17
HTTP & APIs
false
format-code-task-000033
0.562
format-code-task-002952
30
## Restore picks up backups that aren't actually in the cluster I'm running Ark with a couple of `BackupStorageLocation`s configured (one default + one extra). I ran into some behavior around restores that I think is a bug, or at least surprising. ### What I'm seeing If I create a `Restore` whose `spec.backupName` r...
diff --git a/pkg/controller/restore_controller_test.go b/pkg/controller/restore_controller_test.go index 06fcb2e60d..606c341239 100644 --- a/pkg/controller/restore_controller_test.go +++ b/pkg/controller/restore_controller_test.go @@ -287,7 +287,7 @@ func TestProcessRestore(t *testing.T) { restore: ...
format-code-task-002952:latest
1,800
Go
[ "pkg/controller/restore_controller_test.go" ]
1
2
396
2,316
false
false
false
easy
0.398
bug
0.952
true
2
Cloud-native & infra (Go)
false
format-code-task-000088
0.516
format-code-task-000756
31
## `getValueNode` / `getValueNodes` can't address individual items inside a repeated field I'm using the TS `lilac` library to render rows in our web UI. After `deserializeRow`, I want to look up specific cells in the tree by path — including elements inside repeated (array) fields. Suppose I have a schema with a rep...
diff --git a/web/lib/src/lilac.spec.ts b/web/lib/src/lilac.spec.ts index 2e749d33e..bdd5a7109 100644 --- a/web/lib/src/lilac.spec.ts +++ b/web/lib/src/lilac.spec.ts @@ -10,6 +10,7 @@ import { getValueNode, getValueNodes, isSignalField, + listFieldParents, listFields, listValueNodes } from './lilac'; @@...
format-code-task-000756:latest
1,800
TypeScript
[ "web/lib/src/lilac.spec.ts" ]
1
31
355
2,209
true
false
false
medium
0.446
feature
0.776
true
14
JavaScript libraries & tooling
false
format-code-task-001429
0.511
format-code-task-002667
32
# Add a TEASER early time series classifier `sktime`'s early-classification family currently only contains a single probability-threshold based classifier. I'd like to add the **TEASER** algorithm ("Two-tier Early and Accurate Series classifiER") alongside it, exposed as a new classifier named `TEASER` that can be imp...
diff --git a/sktime/classification/early_classification/tests/_test_teaser.py b/sktime/classification/early_classification/tests/_test_teaser.py new file mode 100644 index 000000000..1714cda39 --- /dev/null +++ b/sktime/classification/early_classification/tests/_test_teaser.py @@ -0,0 +1,132 @@ +# -*- coding: utf-8 -*-...
format-code-task-002667:latest
1,800
Python
[ "sktime/classification/early_classification/tests/_test_teaser.py" ]
1
132
582
3,941
false
false
false
hard
0.631
feature
0.939
true
18
State, jobs & lifecycle
false
format-code-task-000527
0.358
format-code-task-002649
33
getkeys() returns value when it should error out ### Version 0.27.1 ### On which OS did this happen? Linux ### On which Python version did this happen? Python 3.10 ### Reproduction Steps Not sure if this is expected behavior, but it's a bit intuitive that the getkeys() returns a list when you put in the wrong ke...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 000000000..287273bea --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m pytest tests/core/test_setget.py -k \"test_getkeys_subkey_at_default_level_raises or test_getkeys_unset_name_raises or test_getke...
format-code-task-002649:latest
1,800
Python
[ "tests/core/test_setget.py" ]
1
97
208
2,810
true
false
false
easy
0.407
bug
0.998
true
6
Python tooling
false
format-code-task-001692
0.481
format-code-task-000947
34
# Problem Statement I’m checking whether an FFI memory object has a size limit, and I noticed `FFI::Pointer.new(0).size_limit?` works but `FFI::MemoryPointer.new(:int, 10).size_limit?` blows up with `NoMethodError`, even though both are memory objects I’m handling the same way. # Expected outcomes - `size_limit?` is...
diff --git a/spec/ffi/pointer_spec.rb b/spec/ffi/pointer_spec.rb index f75d28d..f49a69c 100644 --- a/spec/ffi/pointer_spec.rb +++ b/spec/ffi/pointer_spec.rb @@ -233,10 +233,24 @@ describe "Pointer" do expect(FFI::Pointer.new(0).size_limit?).to be false end + it "is available on memory pointers" do + ...
format-code-task-000947:latest
1,800
Ruby
[ "spec/ffi/pointer_spec.rb" ]
1
16
174
1,204
false
false
false
easy
0.226
bug
0.635
false
9
Python library features
false
format-code-task-000237
0.456
format-code-task-001205
35
## Slack webhook notifier doesn't actually send anything I'm trying to get Slack notifications working for Forseti violations. I added the slack webhook entry to my notifier config with a valid `webhook_url` (verified it works — I can `curl` it from the same host and a message shows up in the channel). When forseti ru...
diff --git a/tests/notifier/notifiers/slack_webhook_test.py b/tests/notifier/notifiers/slack_webhook_test.py index 8c1424163a..76b38bc61c 100644 --- a/tests/notifier/notifiers/slack_webhook_test.py +++ b/tests/notifier/notifiers/slack_webhook_test.py @@ -56,7 +56,7 @@ def test_no_url_no_run_notifier(self): """...
format-code-task-001205:latest
1,800
Python
[ "tests/notifier/notifiers/slack_webhook_test.py" ]
1
2
151
884
false
false
false
easy
0.176
bug
0.93
true
10
Infra & ops bug reports
false
format-code-task-001415
0.449
format-code-task-001250
36
BUG: NaN now None when calling df.apply? (0.10.2 -> 0.11) - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of geopandas. --- y information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python def tes...
diff --git a/geopandas/tests/test_apply_nan_regression.py b/geopandas/tests/test_apply_nan_regression.py new file mode 100644 index 00000000..4c80b257 --- /dev/null +++ b/geopandas/tests/test_apply_nan_regression.py @@ -0,0 +1,95 @@ + + + + + + +import math + +import numpy as np +import pandas as pd +import pytest +fro...
format-code-task-001250:latest
1,800
Python
[ "geopandas/tests/test_apply_nan_regression.py" ]
1
95
223
1,901
true
false
false
medium
0.426
bug
0.999
true
15
Data science (numpy, pandas...)
false
format-code-task-002226
0.677
format-code-task-002507
37
## `get_var_value` sometimes returns a `Var` instead of the actual value I'm building a Reflex app and inside an event handler I call `await self.get_var_value(some_var)` to read the current value of a var so I can do plain Python work with it (compare it, pass it to a library, log it, etc.). In most cases this works...
diff --git a/tests/units/test_state.py b/tests/units/test_state.py index e4c7b51747f..8772c159283 100644 --- a/tests/units/test_state.py +++ b/tests/units/test_state.py @@ -111,7 +111,7 @@ class TestState(BaseState): key: str map_key: str = "a" array: list[float] = [1, 2, 3.14] - mapping: dict[str, li...
format-code-task-002507:latest
1,800
Python
[ "tests/units/test_state.py" ]
1
8
200
1,231
true
false
false
easy
0.241
bug
0.979
true
6
Python tooling
false
format-code-task-002432
0.542
format-code-task-002445
38
# Problem Statement I’m hitting a couple of GUI edge cases that feel like bugs: if I pass an RGBA tuple into `UIWidget.with_background`, it later blows up like the background isn’t really a color object, and `UIBoxLayout` can crash when the available size on an axis ends up being zero. It would be nice if tuple colors...
diff --git a/tests/unit/gui/test_color_picker_example_layout.py b/tests/unit/gui/test_color_picker_example_layout.py new file mode 100644 index 00000000..a5871130 --- /dev/null +++ b/tests/unit/gui/test_color_picker_example_layout.py @@ -0,0 +1,40 @@ +import importlib +from collections import defaultdict + +from arcade...
format-code-task-002445:latest
1,800
Python
[ "tests/unit/gui/test_color_picker_example_layout.py", "tests/unit/gui/test_layouting_box_zero_size_public.py", "tests/unit/gui/test_widget_background_color_inputs.py" ]
3
164
289
1,851
false
false
false
hard
0.744
feature
0.881
true
15
Data science (numpy, pandas...)
false
format-code-task-001848
0.373
format-code-task-001418
39
I want a pure helper function `parse_mm_uuids(mm_uuids: MultiModalUUIDDict | None) -> MultiModalUUIDItems` available from `vllm.multimodal.parse` for normalizing user-supplied multimodal cache identifiers before prompt processing. When called with `None`, it should return `{}`. When called with `{"image": "hash_cherry"...
diff --git a/usercase-test-coderl/test_parse_mm_uuids.py b/usercase-test-coderl/test_parse_mm_uuids.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_parse_mm_uuids.py @@ -0,0 +1,308 @@ + + + + + + + + + +from __future__ import annotations + +import builtins +import copy +import importlib +import js...
format-code-task-001418:latest
1,800
Python
[ "usercase-test-coderl/test_parse_mm_uuids.py" ]
1
308
123
888
false
false
false
medium
0.494
feature
0.997
true
12
Data formats & library APIs
false
format-code-task-001023
0.476
format-code-task-002877
40
I want the `pluginval` command-line tool to support a `--strictness-help [level]` mode that prints which validation tests are included at a given strictness level without starting plugin validation. Running `pluginval --strictness-help` should default to level 5; running `pluginval --strictness-help 3` should use level...
diff --git a/usercase-test-coderl/usecase.sh b/usercase-test-coderl/usecase.sh new file mode 100755 --- /dev/null +++ b/usercase-test-coderl/usecase.sh @@ -0,0 +1,215 @@ +#!/usr/bin/env bash + +set -u +export LANG=C.UTF-8 LC_ALL=C.UTF-8 TZ=UTC + +fail() { echo "FAIL: $*" >&2; exit 1; } + + +( cd /workspace/repo && cmak...
format-code-task-002877:latest
1,800
Shell
[ "usercase-test-coderl/usecase.sh" ]
1
215
155
991
false
false
false
medium
0.46
feature
0.997
true
5
Text, markup & parsing
false
format-code-task-000829
0.614
format-code-task-002479
41
# Detect unreachable nodes for self-healing node pools We're building a self-healing capability for node pools: when a managed node becomes unreachable for too long, the controller should delete it (so it can be recreated). Before wiring that into the controller, we need the detection logic to live as reusable, well-t...
diff --git a/pkg/node/node_health_test.go b/pkg/node/node_health_test.go new file mode 100644 index 000000000..53dc2e495 --- /dev/null +++ b/pkg/node/node_health_test.go @@ -0,0 +1,179 @@ +package node_test + +import ( + "testing" + "time" + + "github.com/rancher/rancher/pkg/node" + v3 "github.com/rancher/types/apis/ma...
format-code-task-002479:latest
1,800
Go
[ "pkg/node/node_health_test.go" ]
1
179
325
2,238
false
false
false
hard
0.622
feature
0.913
true
2
Cloud-native & infra (Go)
false
format-code-task-002480
0.598
format-code-task-002600
42
## Feature request: easy access to support values on `TreeNode` I'm working with phylogenetic trees that have bootstrap / Bayesian support values attached to internal nodes (a very common situation — basically any tree produced by RAxML, IQ-TREE, MrBayes, etc.). In Newick these usually show up as the internal node lab...
diff --git a/skbio/tree/tests/test_tree.py b/skbio/tree/tests/test_tree.py index 9d6ae86f4..bdbe25258 100644 --- a/skbio/tree/tests/test_tree.py +++ b/skbio/tree/tests/test_tree.py @@ -1303,6 +1303,40 @@ def test_shuffle_raises(self): with self.assertRaises(MissingNodeError): next(self.simple_t.sh...
format-code-task-002600:latest
1,800
Python
[ "skbio/tree/tests/test_tree.py" ]
1
34
251
1,543
true
false
false
easy
0.364
feature
0.949
true
5
Text, markup & parsing
false
format-code-task-002113
0.475
format-code-task-001547
43
Support react-i18next "defaults" prop #### Version - i18next: <i>11.2.2</i> - i18next-scanner: <i>2.4.6</i> - react-i18next: <i>7.7.0</i> #### Configuration ```js options: { // use strings as keys nsSeparator: false, keySeparator: false, // settings defaultNs: "frontend", lngs: ["en"], resource: {...
diff --git a/test/parser.js b/test/parser.js index 959c46d..9c532ae 100644 --- a/test/parser.js +++ b/test/parser.js @@ -198,6 +198,81 @@ test('Parse Trans component #3', (t) => { t.end(); }); +test('Parse Trans component with defaults attribute on self-closing tag', (t) => { + const parser = new Parser({ + ...
format-code-task-001547:latest
1,800
JavaScript
[ "test/parser.js" ]
1
75
90
835
true
false
false
easy
0.283
bug
0.857
true
14
JavaScript libraries & tooling
false
format-code-task-001625
0.607
format-code-task-000752
44
When I call `dask.array.from_array()` on a large `numpy.memmap`, Dask seems to touch the whole mapped file while just building the graph, and on big files it can blow up memory before any computation starts. Could this avoid reading the memmap contents during tokenization and just treat it like a disk-backed array? Ex...
diff --git a/dask/tests/test_tokenize.py b/dask/tests/test_tokenize.py index a7f6060bd..241f2c01b 100644 --- a/dask/tests/test_tokenize.py +++ b/dask/tests/test_tokenize.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import datetime import decimal +import os import operator import pathlib...
format-code-task-000752:latest
1,800
Python
[ "dask/tests/test_tokenize.py" ]
1
138
190
1,378
false
false
false
medium
0.437
feature
0.713
true
15
Data science (numpy, pandas...)
false
format-code-task-001103
0.53
format-code-task-000398
45
## Problem Statement Hey, I'm running Antrea with the Flow Aggregator and I'd really like a stable way to tag the flow records with a unique cluster ID so I can tell flows from different clusters apart downstream. Right now the shipped manifests do not provide a persistent cluster identity that the Flow Aggregator and...
diff --git a/build/yamls/cluster_identity_manifest_test.go b/build/yamls/cluster_identity_manifest_test.go new file mode 100644 index 000000000..0f9ca2e64 --- /dev/null +++ b/build/yamls/cluster_identity_manifest_test.go @@ -0,0 +1,291 @@ +package yamls + +import ( + "io" + "os" + "path/filepath" + "reflect" + "sort" +...
format-code-task-000398:latest
1,800
Go
[ "build/yamls/cluster_identity_manifest_test.go" ]
1
291
283
1,997
false
false
false
hard
0.66
feature
0.992
true
2
Cloud-native & infra (Go)
false
format-code-task-001725
0.595
format-code-task-000932
46
Enforce schema when using json_writer() or json_reader() Hi, I have reproduced the example in https://fastavro.readthedocs.io/en/latest/json_writer.html but I've changed some items of the `records` array in order to introduce some type mismatches. ``` from fastavro import json_writer, parse_schema from io impor...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 0000000..5c87055 --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m pytest tests/test_json.py -k \"json_writer_validator or json_writer_custom or json_writer_no_validator or json_writer_issue\" -v"] +}...
format-code-task-000932:latest
1,800
Python
[ "tests/test_json.py" ]
1
125
322
2,671
true
true
false
medium
0.57
bug
0.758
true
16
SQL & databases
false
format-code-task-000931
0.645
format-code-task-000857
47
## Feature request: support spot allocation strategy in `instancesDistribution` I'm setting up spot nodegroups in eksctl using the `instancesDistribution` block on a NodeGroup. Today I can specify `instanceTypes`, `maxPrice`, `onDemandBaseCapacity`, `onDemandPercentageAboveBaseCapacity`, and `spotInstancePools`, but I...
diff --git a/pkg/apis/eksctl.io/v1alpha5/validation_test.go b/pkg/apis/eksctl.io/v1alpha5/validation_test.go index c31f5349ad..2361b11db1 100644 --- a/pkg/apis/eksctl.io/v1alpha5/validation_test.go +++ b/pkg/apis/eksctl.io/v1alpha5/validation_test.go @@ -4,6 +4,7 @@ import ( "github.com/bxcodec/faker" . "github.com...
format-code-task-000857:latest
1,800
Go
[ "pkg/apis/eksctl.io/v1alpha5/validation_test.go", "pkg/cfn/builder/api_test.go" ]
2
28
315
2,237
true
false
false
medium
0.55
feature
0.962
true
2
Cloud-native & infra (Go)
false
format-code-task-000859
0.498
format-code-task-000073
48
## MD029 and MD030 fire on ordered lists inside blockquotes I'm using markdownlint on my project's documentation. I often quote example snippets inside a blockquote, and sometimes those examples are ordered lists. markdownlint flags these as violations even though the markdown looks fine and renders correctly. ### Re...
diff --git a/test/ordered_list_in_blockquote.md b/test/ordered_list_in_blockquote.md new file mode 100644 index 000000000..1cc5d9163 --- /dev/null +++ b/test/ordered_list_in_blockquote.md @@ -0,0 +1,9 @@ +> 1. The simplest ordered list in blockquote + +1. ol + + > 1. ol-li-blockquote-ol-li + > 1. ol-li-blockquot...
format-code-task-000073:latest
1,800
Other
[ "test/ordered_list_in_blockquote.md" ]
1
9
225
1,346
true
false
false
easy
0.279
bug
0.971
true
5
Text, markup & parsing
false
format-code-task-001870
0.5
format-code-task-001239
49
[gatsby-remark-images]: bug: uses filename as alt text when showCaptions is true ## Description Since https://github.com/gatsbyjs/gatsby/pull/13489, when using `showCaptions:true` `gatsby-remark-images` inserts the file name, when using the standard img snippet: ``` ![](./img.jpg) ``` ### Steps to reproduce ...
diff --git a/packages/gatsby-remark-images/src/__tests__/index.js b/packages/gatsby-remark-images/src/__tests__/index.js index 7abd6adca1..90f5f3f272 100644 --- a/packages/gatsby-remark-images/src/__tests__/index.js +++ b/packages/gatsby-remark-images/src/__tests__/index.js @@ -369,4 +369,68 @@ describe(`showCaptions`,...
format-code-task-001239:latest
1,800
JavaScript
[ "packages/gatsby-remark-images/src/__tests__/index.js" ]
1
64
192
1,733
true
false
false
easy
0.336
bug
0.989
true
11
Frontend & UI
false
format-code-task-000678
0.539
format-code-task-000636
50
SSLTransport error: unexpected keyword argument 'ca_certs' Using amqp version 5.0.1, I discovered an SSLTransport error. When I use amqp version 5.0.0b1, SSL works just fine. Here's the error I get when using amqp==5.0.1: `/usr/local/lib/python3.8/dist-packages/kombu/connection.py:283: in channel chan = self...
diff --git a/t/unit/test_transport.py b/t/unit/test_transport.py index d94a520..a6a1a4e 100644 --- a/t/unit/test_transport.py +++ b/t/unit/test_transport.py @@ -700,6 +700,74 @@ class test_SSLTransport: with pytest.raises(socket.timeout): self.t._read(64) + def test_wrap_socket_sni_accepts_ca...
format-code-task-000636:latest
1,800
Python
[ "t/unit/test_transport.py" ]
1
68
313
3,632
false
true
false
medium
0.484
bug
0.908
true
6
Python tooling
false
format-code-task-002191
0.522
format-code-task-001770
52
I want `ImageLinearFit` to support natural-weighting interferometric image fitting when it is constructed with an `ImageData` object whose `likelihood_method()` is `"interferometry_natwt"`. In that session, I should be able to call `image_linear_solve(kwargs_lens=None, kwargs_source=None, kwargs_lens_light=None, kwargs...
diff --git a/usercase-test-coderl/test_interferometry_natwt_linear_fit.py b/usercase-test-coderl/test_interferometry_natwt_linear_fit.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_interferometry_natwt_linear_fit.py @@ -0,0 +1,401 @@ + + + + + + + +import numpy as np +import numpy.testing as npt ...
format-code-task-001770:latest
1,800
Python
[ "usercase-test-coderl/test_interferometry_natwt_linear_fit.py" ]
1
401
278
2,257
false
false
false
hard
0.691
feature
0.992
true
9
Python library features
false
format-code-task-001769
0.567
format-code-task-000666
53
I want `pyromat.get(idstr: str) -> object` so application code can retrieve one already-loaded substance from the PYroMat catalog by its exact substance ID. For example, after `import pyromat as pm`, `pm.get("ig.O2")` should return the oxygen substance object whose `sid()` is `"ig.O2"` and whose `pmclass()` is `"ig2"`;...
diff --git a/usercase-test-coderl/test_get_catalog_lookup.py b/usercase-test-coderl/test_get_catalog_lookup.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_get_catalog_lookup.py @@ -0,0 +1,177 @@ + + + + + + +import builtins +import copy +import json +import os +import socket +import subprocess +i...
format-code-task-000666:latest
1,800
Python
[ "usercase-test-coderl/test_get_catalog_lookup.py" ]
1
177
118
815
false
false
false
medium
0.412
feature
0.995
true
9
Python library features
false
format-code-task-001836
0.509
format-code-task-000909
54
## Activating / deactivating individual tasks in a single-host task group leaves the group in an inconsistent state I'm using a single-host task group (the kind where every task in the group runs sequentially on the same host) and ran into two related issues when I try to manage tasks in the group from the UI. ### Se...
diff --git a/model/task_lifecycle_test.go b/model/task_lifecycle_test.go index 54d395c231b..fae8622d542 100644 --- a/model/task_lifecycle_test.go +++ b/model/task_lifecycle_test.go @@ -279,6 +279,107 @@ func TestSetActiveState(t *testing.T) { So(dtFromDb.Activated, ShouldBeTrue) }) }) + Convey("with a task tha...
format-code-task-000909:latest
1,800
Go
[ "model/task_lifecycle_test.go" ]
1
101
433
2,557
false
false
false
medium
0.58
bug
0.776
true
18
State, jobs & lifecycle
false
format-code-task-000908
0.656
format-code-task-001884
55
## Non-admin users can't change the owner of their own shopping list I'm using Mealie as a regular (non-admin) household user. We share a shopping list and I wanted to hand it off to my partner, so on `/shopping-lists/<id>` I clicked the gear icon to open **Settings** — the dialog has an "Owner" dropdown that's suppos...
diff --git a/tests/integration_tests/user_tests/test_user_crud.py b/tests/integration_tests/user_tests/test_user_crud.py new file mode 100644 index 00000000000..e1adc659946 --- /dev/null +++ b/tests/integration_tests/user_tests/test_user_crud.py @@ -0,0 +1,98 @@ +import pytest +from fastapi.testclient import TestClient...
format-code-task-001884:latest
1,800
Python
[ "tests/integration_tests/user_tests/test_user_crud.py", "tests/utils/api_routes/__init__.py" ]
2
100
373
2,133
false
false
false
hard
0.7
bug
0.704
true
0
Auth, users & permissions
false
format-code-task-001300
0.454
format-code-task-002961
56
## Sorting from the App doesn't apply on an unfiltered view, and leaves indexes behind on the dataset I'm exploring a dataset in the FiftyOne App and playing with the sort control. Two behaviors look wrong: **1. Sort has no effect if I haven't applied any other filters yet.** If I open the dataset fresh (no tag filt...
diff --git a/tests/unittests/server_view_tests.py b/tests/unittests/server_view_tests.py index 86ee259cb5..a31fb39c7a 100644 --- a/tests/unittests/server_view_tests.py +++ b/tests/unittests/server_view_tests.py @@ -944,6 +944,33 @@ def test_filter_embedded_documents(self): ) self.assertEqual(len(view)...
format-code-task-002961:latest
1,800
Python
[ "tests/unittests/server_view_tests.py" ]
1
27
242
1,338
false
false
false
easy
0.338
bug
0.97
true
19
Queries, filters & metrics
false
format-code-task-001640
0.533
format-code-task-002105
57
I want the Python client to support creating custom Ollama models and uploading model file blobs through the public client API. A synchronous user should be able to call `Client.create(model: str, quantize: str | None = None, from_: str | None = None, files: dict[str, str] | None = None, adapters: dict[str, str] | None...
diff --git a/usercase-test-coderl/test_custom_model_creation.py b/usercase-test-coderl/test_custom_model_creation.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_custom_model_creation.py @@ -0,0 +1,503 @@ +import importlib +import json +import threading +from http.server import BaseHTTPRequestHand...
format-code-task-002105:latest
1,800
Python
[ "usercase-test-coderl/test_custom_model_creation.py" ]
1
503
343
2,448
false
false
false
hard
0.759
feature
0.999
true
3
CLI & config
false
format-code-task-002104
0.614
format-code-task-000529
58
Error when trying to fix a model Hi, Bashtage: I have a problem when I'm trying to `fix` a model. The use case I'm going after is to fit a model, store the parameters on disk and load it again to build a model using `fix`. But when I try that I get the error: ``` File "/usr/local/lib/python3.6/site-packages/ar...
diff --git a/arch/univariate/tests/test_mean.py b/arch/univariate/tests/test_mean.py index dd8555cb92..c0a15483c6 100644 --- a/arch/univariate/tests/test_mean.py +++ b/arch/univariate/tests/test_mean.py @@ -821,6 +821,66 @@ class TestMeanModel(TestCase): assert_almost_equal(res.params.values, res4.params.value...
format-code-task-000529:latest
1,800
Python
[ "arch/univariate/tests/test_mean.py" ]
1
60
141
1,233
true
true
false
easy
0.28
bug
0.993
true
6
Python tooling
false
format-code-task-000175
0.515
format-code-task-000567
60
## Templater 在迭代 map / 嵌套 map 时缺少几个常用判断 我在用 `bin-templater` 渲染 `.cfg` 模板,数据源是 map(有时候是嵌套 map)。在模板里 `range` 一个 map 时碰到两类问题,现有的 `isMap` / `isArray` / `isString` 这套帮不上忙: **1. 没法判断当前迭代到的 key 是 map 里的第一个还是最后一个** 典型场景是渲染逗号分隔列表,最后一项后面不能有逗号;或者第一项前面不加分隔符。模板里 `range` 一个 map 拿到 `$k, $v`,想做这种边界判断时,没有可以直接调用的函数。Go 原生 `text/templa...
diff --git a/bin-templater/tests/1/templates/etc/test.tmpl b/bin-templater/tests/1/templates/etc/test.tmpl index c691193b..0ac02063 100644 --- a/bin-templater/tests/1/templates/etc/test.tmpl +++ b/bin-templater/tests/1/templates/etc/test.tmpl @@ -1 +1,10 @@ -{{template "config" .}} +{{$data := .}} +{{range $a,$b := $da...
format-code-task-000567:latest
1,800
Other
[ "bin-templater/tests/1/templates/etc/test.tmpl", "bin-templater/tests/1/templates/test.partial" ]
2
19
95
820
false
false
true
easy
0.318
feature
0.879
true
7
Chinese & non-English prompts
false
format-code-task-001623
0.612
format-code-task-002132
61
## `MergeStructs` / `MergeStructInto` should support overwriting destination values I'm using `ygot.MergeStructs` (and `MergeStructInto`) to combine two `ValidatedGoStruct`s of the same type — think a baseline config plus an override layer that should "win" where it sets something. Currently, if the same leaf is set ...
diff --git a/ygot/struct_validation_map_test.go b/ygot/struct_validation_map_test.go index 1bb43d187..38bb1d257 100644 --- a/ygot/struct_validation_map_test.go +++ b/ygot/struct_validation_map_test.go @@ -1282,6 +1282,7 @@ func TestCopyStruct(t *testing.T) { name string inSrc GoStruct inDst GoStruct + ...
format-code-task-002132:latest
1,800
Go
[ "ygot/struct_validation_map_test.go" ]
1
130
250
1,594
false
false
false
medium
0.508
bug
0.569
false
4
Config, paths & metadata
false
format-code-task-000456
0.525
format-code-task-000102
62
Validate email address format when using automatic IAM authentication When adding IAM database users to either MySQL or Postgres the user or service account username is formatted in a certain way that differs across database engine types. This is not necessarily trivial to users when using the connectors, we should ...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 0000000..b4edd94 --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m pytest tests/unit/test_iam_user_format.py -v"] +} diff --git a/tests/unit/test_iam_user_format.py b/tests/unit/test_iam_user_format.p...
format-code-task-000102:latest
1,800
Python
[ "tests/unit/test_iam_user_format.py" ]
1
235
97
750
false
false
false
medium
0.446
feature
0.869
true
0
Auth, users & permissions
false
format-code-task-001544
0.513
format-code-task-001938
63
## Can't chain assertions, and no built-in truthy/falsy check I'm using this library to write tests and ran into two things that feel like they should already work but don't. ### 1. Chaining doesn't work I often want to make several assertions about the same value. Right now I have to repeat `expect(...)` over and o...
diff --git a/modules/__tests__/chainable-test.js b/modules/__tests__/chainable-test.js new file mode 100644 index 0000000..7a03fe3 --- /dev/null +++ b/modules/__tests__/chainable-test.js @@ -0,0 +1,18 @@ +var expect = require('../expect'); + +describe('Expectation#Chainable', function () { + it('should allow chaining ...
format-code-task-001938:latest
1,800
JavaScript
[ "modules/__tests__/chainable-test.js", "modules/__tests__/existence-test.js" ]
2
68
274
1,671
true
false
false
medium
0.584
feature
0.746
true
14
JavaScript libraries & tooling
false
format-code-task-002912
0.619
format-code-task-002598
64
I want `collidertracker` to support a manual SuperCollider mode through a `-s, --skip-sc` CLI flag. When I run `collidertracker --skip-sc` or `collidertracker -s`, command-line parsing should accept the flag and start the tracker UI without running the automatic SuperCollider detection and management path: it should no...
diff --git a/usercase-test-coderl/usecase.sh b/usercase-test-coderl/usecase.sh new file mode 100755 --- /dev/null +++ b/usercase-test-coderl/usecase.sh @@ -0,0 +1,140 @@ +#!/usr/bin/env bash + +set -u +export LANG=C.UTF-8 LC_ALL=C.UTF-8 TZ=UTC + +( cd /workspace/repo && go build -o /tmp/collidertracker-usecase ./ ) \ +...
format-code-task-002598:latest
1,800
Shell
[ "usercase-test-coderl/usecase.sh" ]
1
140
177
1,228
false
false
false
medium
0.423
feature
0.998
true
10
Infra & ops bug reports
false
format-code-task-000501
0.402
format-code-task-001321
65
I want a stateful `DeploymentWatcher` class for a single gated treatment deployment. It should be constructed as `new DeploymentWatcher({ kubeClient, logger, deploymentDescriptor, namespace, plugins, pollerIntervalMilliseconds, gatedDeploymentId })`, keep per-instance experiment state, and expose `getStream()`, `onAdde...
diff --git a/usercase-test-coderl/deployment-watcher.test.js b/usercase-test-coderl/deployment-watcher.test.js new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/deployment-watcher.test.js @@ -0,0 +1,546 @@ +/* eslint-env mocha */ + + + + + + + +const chai = require('chai') +const sinon = require('sinon') + ...
format-code-task-001321:latest
1,800
JavaScript
[ "usercase-test-coderl/deployment-watcher.test.js" ]
1
546
374
2,714
false
false
false
hard
0.778
feature
0.994
true
2
Cloud-native & infra (Go)
false
format-code-task-001795
0.588
format-code-task-000194
66
# Make Twitter share verification resilient to retweets and attached media Our bridge server verifies social "promotion" actions. For Twitter, an incoming webhook event is checked against the exact content a user was asked to share: a `SHARE` action is considered valid only when the tweet text — after Twitter's automa...
diff --git a/infra/bridge/test/event-validators.test.js b/infra/bridge/test/event-validators.test.js new file mode 100644 index 000000000..d3fcfc4f1 --- /dev/null +++ b/infra/bridge/test/event-validators.test.js @@ -0,0 +1,208 @@ +'use strict' + +const chai = require('chai') +const expect = chai.expect + +const EventVa...
format-code-task-000194:latest
1,800
JavaScript
[ "infra/bridge/test/event-validators.test.js" ]
1
208
379
2,426
false
false
false
hard
0.67
bug
0.756
true
17
HTTP & APIs
false
format-code-task-000037
0.474
format-code-task-001882
67
Component name should be quoted in error message <!-- Thank you for suggesting an idea to make this project better! Please fill in as much of the template below as you’re able. P.S. have you seen our support and contributing docs? https://mdxjs.com/support https://mdxjs.com/contributing --> ### Subject of ...
diff --git a/packages/mdx/test/index.test.js b/packages/mdx/test/index.test.js index a5a1241d..477f304a 100644 --- a/packages/mdx/test/index.test.js +++ b/packages/mdx/test/index.test.js @@ -419,3 +419,53 @@ test('Should handle layout props', () => { MDXContent.isMDXComponent = true;" `) }) + +// The issue req...
format-code-task-001882:latest
1,800
JavaScript
[ "packages/mdx/test/index.test.js" ]
1
50
158
1,118
false
false
false
easy
0.276
feature
0.676
false
11
Frontend & UI
false
format-code-task-002327
0.566
format-code-task-000832
68
[BUG] Async example wrong Seems like session for validator creates only on `__aenter__` ``` File "inapppy/asyncio/appstore.py", line 47, in validate api_response = await self.post_json(receipt_json) File "inapppy/asyncio/appstore.py", line 30, in post_json async with self._session.post( AttributeError...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 0000000..065313e --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m pytest tests/asyncio/test_asyncio_appstore.py -v"] +} diff --git a/tests/asyncio/test_asyncio_appstore.py b/tests/asyncio/test_asynci...
format-code-task-000832:latest
1,800
Python
[ "tests/asyncio/test_asyncio_appstore.py" ]
1
66
54
492
true
true
false
easy
0.252
bug
0.986
true
0
Auth, users & permissions
false
format-code-task-000324
0.5
format-code-task-000495
69
### CloudFormation Lint Version git (v1.17.2-2-ga5672f074) ### What operating system are you using? Mac ### Describe the bug PR #3768 causes problems for `AWS::StepFunctions::StateMachine` resources in `json` templates that define `DefinitionString` using intrinsic functions to construct the embedded json string....
diff --git a/test/unit/rules/resources/stepfunctions/test_state_machine_definition.py b/test/unit/rules/resources/stepfunctions/test_state_machine_definition.py index 2814b5b6e6..954fd4a85d 100644 --- a/test/unit/rules/resources/stepfunctions/test_state_machine_definition.py +++ b/test/unit/rules/resources/stepfunction...
format-code-task-000495:latest
1,800
Python
[ "test/unit/rules/resources/stepfunctions/test_state_machine_definition.py" ]
1
5
199
2,742
true
false
false
easy
0.233
bug
0.976
true
10
Infra & ops bug reports
false
format-code-task-002640
0.534
format-code-task-000939
70
# Problem Statement I'm trying to use `Predictor.predict` with a sequence labeling model and it keeps failing with a TypeError about unexpected keyword arguments. The model follows the framework's sequence-labeling forward interface, but Predictor does not appear to be respecting the task I set when it forwards prepar...
diff --git a/test/core/test_predictor_task_dispatch.py b/test/core/test_predictor_task_dispatch.py new file mode 100644 index 00000000..651c00ac --- /dev/null +++ b/test/core/test_predictor_task_dispatch.py @@ -0,0 +1,98 @@ +import torch +import pytest + +from fastNLP.core.predictor import Predictor + + +class _WordVoc...
format-code-task-000939:latest
1,800
Python
[ "test/core/test_predictor_task_dispatch.py" ]
1
98
275
1,866
false
false
false
medium
0.495
bug
0.839
true
9
Python library features
false
format-code-task-000624
0.586
format-code-task-002883
71
# Problem Statement I’m setting up Cloud Backup jobs and I need a way in the UI to choose whether restic stores absolute paths or relative paths. Could you add a “Use Absolute Paths” option on the Cloud Backup form, with a short tooltip, and make sure it isn’t changeable in cases where it wouldn’t make sense, like sna...
diff --git a/src/app/pages/data-protection/cloud-backup/cloud-backup-form/cloud-backup-form.component.spec.ts b/src/app/pages/data-protection/cloud-backup/cloud-backup-form/cloud-backup-form.component.spec.ts index 929939a0d7..ab5587bf59 100644 --- a/src/app/pages/data-protection/cloud-backup/cloud-backup-form/cloud-ba...
format-code-task-002883:latest
1,800
TypeScript
[ "src/app/pages/data-protection/cloud-backup/cloud-backup-form/cloud-backup-form.component.spec.ts" ]
1
95
255
1,595
false
false
false
medium
0.467
feature
0.885
true
4
Config, paths & metadata
false
format-code-task-002952
0.462
format-code-task-001451
73
Typed resources built through the internal SDK cannot currently evolve persisted Terraform state: the wrapper exposes CRUD, import, update, diff, and deprecation capabilities, but it drops state-version metadata. That makes a typed resource unsafe to change when its stored schema needs a migration. Add an optional stat...
diff --git a/internal/sdk/codespec_state_migration_test.go b/internal/sdk/codespec_state_migration_test.go new file mode 100644 index 000000000..9c43ebc29 --- /dev/null +++ b/internal/sdk/codespec_state_migration_test.go @@ -0,0 +1,297 @@ +package sdk_test + +import ( + "context" + "errors" + "fmt" + "strings" + "testi...
format-code-task-001451:latest
1,800
Go
[ "internal/sdk/codespec_state_migration_test.go" ]
1
297
282
1,999
false
false
false
hard
0.662
bug
0.688
false
2
Cloud-native & infra (Go)
false
format-code-task-001440
0.633
format-code-task-001969
74
## Browser sniffing helpers should be deprecated by default; expose the UA parser for general use I'm using MooTools and ran into two related awkward bits around `Browser`: ### 1. The default build still encourages UA sniffing The `Browser` docs already say things like "use feature detection / progressive enhancemen...
diff --git a/Specs/Browser/Browser.js b/Specs/Browser/Browser.js index 94b59005e..111df39de 100644 --- a/Specs/Browser/Browser.js +++ b/Specs/Browser/Browser.js @@ -78,18 +78,33 @@ describe('Browser', function(){ it('should think it is executed in a browser', function(){ var isPhantomJS = !!navigator.userAgent.m...
format-code-task-001969:latest
1,800
JavaScript
[ "Specs/Browser/Browser.js" ]
1
25
464
2,880
true
false
false
medium
0.459
feature
0.905
true
11
Frontend & UI
false
format-code-task-002766
0.462
format-code-task-002656
75
I'm seeing `unicorn/consistent-function-scoping` report `Move function to the outer scope.` for an inner React helper that returns JSX and uses values from the surrounding component scope. It happens with both a nested function declaration and a nested arrow function returning JSX. Expected outcomes: - `unicorn/consis...
diff --git a/test/consistent-function-scoping.js b/test/consistent-function-scoping.js index 9783bdbb..9411b930 100644 --- a/test/consistent-function-scoping.js +++ b/test/consistent-function-scoping.js @@ -1,11 +1,28 @@ import test from 'ava'; +import fs from 'fs'; +import path from 'path'; import avaRuleTester from...
format-code-task-002656:latest
1,800
JavaScript
[ "test/consistent-function-scoping.js" ]
1
54
126
947
false
false
false
easy
0.264
bug
0.883
true
14
JavaScript libraries & tooling
false
format-code-task-002655
0.668
format-code-task-001264
76
`nikola init <sitename>` should produce an empty site by default Right now when I run `nikola init mysite` I get a folder that's already filled with example posts, example stories and a gallery full of demo images. That's nice as a one-off "look what Nikola can do" preview, but it's a bit annoying as the default for s...
diff --git a/tests/test_command_init.py b/tests/test_command_init.py index 1e9691b8b0..3176c1f0ae 100644 --- a/tests/test_command_init.py +++ b/tests/test_command_init.py @@ -12,11 +12,15 @@ def setUp(self): self.copy_sample_site = mock.MagicMock() self.create_configuration = mock.MagicMock() ...
format-code-task-001264:latest
1,800
Python
[ "tests/test_command_init.py" ]
1
26
218
1,208
false
false
false
easy
0.304
feature
0.818
true
3
CLI & config
false
format-code-task-000493
0.447
format-code-task-002230
77
BUG: str dtype ignored for column with '.' if thousands='.' for python engine ### Pandas version checks - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confir...
diff --git a/pandas/tests/io/parser/test_python_parser_only.py b/pandas/tests/io/parser/test_python_parser_only.py index ca5a757328..a710382740 100644 --- a/pandas/tests/io/parser/test_python_parser_only.py +++ b/pandas/tests/io/parser/test_python_parser_only.py @@ -488,3 +488,120 @@ def test_header_int_do_not_infer_mu...
format-code-task-002230:latest
1,800
Python
[ "pandas/tests/io/parser/test_python_parser_only.py" ]
1
117
358
3,012
true
false
false
medium
0.579
bug
0.996
true
15
Data science (numpy, pandas...)
false
format-code-task-002219
0.659
format-code-task-000559
78
Incorrect schema generation in the beta release > well it doesn't really work since it generate 2 primary keys :/ > ```ts > export const account = pgTable("account", { > id: serial("id").primaryKey(), > accountId: text("account_id").notNull(), > providerId: text("provider_id").notNull(), > userId: serial("user_...
diff --git a/packages/cli/test/generate.test.ts b/packages/cli/test/generate.test.ts index edeba4de0..8dc0c82b0 100644 --- a/packages/cli/test/generate.test.ts +++ b/packages/cli/test/generate.test.ts @@ -173,4 +173,119 @@ describe("generate", async () => { }); expect(schema.code).toMatchFileSnapshot("./__snapsho...
format-code-task-000559:latest
1,800
TypeScript
[ "packages/cli/test/generate.test.ts" ]
1
115
95
981
true
false
false
easy
0.338
bug
0.941
true
0
Auth, users & permissions
false
format-code-task-002034
0.462
format-code-task-002084
79
Use a different method for allowing non-TLS redirect URIs I think requiring an environment variable named `DEBUG` to allow non-TLS redirect URIs isn't the best method. At the very least, it should be named something that won't collide with other libraries (i.e. something like `OAUTHLIB_INSECURE_REDIRECTS`. The best opt...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 0000000..e75014b --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m nose tests/oauth2/rfc6749/test_utils.py"] +} diff --git a/tests/oauth2/rfc6749/test_utils.py b/tests/oauth2/rfc6749/test_utils.py ind...
format-code-task-002084:latest
1,800
Python
[ "tests/oauth2/rfc6749/test_utils.py" ]
1
68
107
652
false
false
false
easy
0.279
feature
0.638
false
17
HTTP & APIs
false
format-code-task-000598
0.496
format-code-task-001102
80
Traceflow's admission webhook currently accepts internally contradictory requests which can allocate a dataplane tag and only fail later on an Agent. Tighten admission validation so invalid endpoint and packet combinations are rejected consistently before a Traceflow starts, while retaining the useful regular and live-...
diff --git a/pkg/controller/traceflow/validate_contract_test.go b/pkg/controller/traceflow/validate_contract_test.go new file mode 100644 index 000000000..e793edab1 --- /dev/null +++ b/pkg/controller/traceflow/validate_contract_test.go @@ -0,0 +1,302 @@ + + + + + + + + + + + + + + +package traceflow + +import ( + "e...
format-code-task-001102:latest
1,800
Go
[ "pkg/controller/traceflow/validate_contract_test.go" ]
1
302
343
2,272
false
false
false
hard
0.71
bug
0.838
true
2
Cloud-native & infra (Go)
false
format-code-task-001016
0.54
format-code-task-002177
81
Make the GitHub personal-access-token transport fail over across its token pool when one token is rate limited. Today `MakeGitHubTransport` simply assigns one token to each request, so an exhausted token is handed back to the generic rate-limit layer even when another configured token could serve the request immediatel...
diff --git a/clients/githubrepo/token_failover_codespec_test.go b/clients/githubrepo/token_failover_codespec_test.go new file mode 100644 index 00000000..358be3aa --- /dev/null +++ b/clients/githubrepo/token_failover_codespec_test.go @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + +package githubrepo_test + +import ( + "...
format-code-task-002177:latest
1,800
Go
[ "clients/githubrepo/token_failover_codespec_test.go" ]
1
402
392
2,625
false
false
false
hard
0.76
feature
0.667
false
0
Auth, users & permissions
false
format-code-task-001683
0.452
format-code-task-001204
82
## Problem Statement Hey, I'm hitting a weird issue with the Airtable integration in Formbricks. Whenever I add new questions to a survey that's already syncing to Airtable, the responses for those new questions just don't show up in the table — like the row gets written but those columns are empty or the whole insert...
diff --git a/apps/web/lib/airtable/service.test.ts b/apps/web/lib/airtable/service.test.ts new file mode 100644 index 000000000..8b7b05e0e --- /dev/null +++ b/apps/web/lib/airtable/service.test.ts @@ -0,0 +1,264 @@ +import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"; + +const { deleteIntegration...
format-code-task-001204:latest
1,800
TypeScript
[ "apps/web/lib/airtable/service.test.ts" ]
1
264
434
2,719
false
false
false
hard
0.72
bug
0.713
true
16
SQL & databases
false
format-code-task-000416
0.464
format-code-task-000585
84
## `rerun_filter` under pytest always receives `None` for err and name I'm using flaky with pytest and trying to set up a `rerun_filter` so that only certain kinds of failures get retried (e.g. retry on a flaky network exception, but fail immediately on `AssertionError`). Minimal repro: ```python import pytest from ...
diff --git a/test/test_pytest/test_flaky_pytest_plugin.py b/test/test_pytest/test_flaky_pytest_plugin.py index d101d55..5d11e13 100644 --- a/test/test_pytest/test_flaky_pytest_plugin.py +++ b/test/test_pytest/test_flaky_pytest_plugin.py @@ -550,18 +550,6 @@ def _test_flaky_plugin_handles_failure( ]) ...
format-code-task-000585:latest
1,800
Python
[ "test/test_pytest/test_flaky_pytest_plugin.py", "test/test_pytest/test_pytest_example.py" ]
2
27
208
1,342
true
false
false
medium
0.427
bug
0.962
true
6
Python tooling
false
format-code-task-000657
0.536
format-code-task-000027
85
Support string initialization for map in schema ### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the feature has not already been requested ### 🚀 Feature Proposal My project uses String for setting the type in schema of each keys like this: ```js us...
diff --git a/test/types/schema.test.ts b/test/types/schema.test.ts index fc0204e2a..fc7ae0fa0 100644 --- a/test/types/schema.test.ts +++ b/test/types/schema.test.ts @@ -1230,3 +1230,51 @@ async function gh13797() { expectType<IUser>(this); return ''; } } }); } + +function gh13900StringMapOfNumber() { + const ...
format-code-task-000027:latest
1,800
TypeScript
[ "test/types/schema.test.ts" ]
1
48
136
858
true
false
false
easy
0.259
feature
0.895
true
14
JavaScript libraries & tooling
false
format-code-task-000564
0.514
format-code-task-000817
87
## Problem Statement Hey, I'm trying to benchmark some GNN stuff on the Geom-GCN node classification datasets and I noticed dgl ships Cora/Citeseer/Pubmed and a bunch of others out of the box but not Chameleon. Could you add a built-in `ChameleonDataset` under `dgl.data` (the Wikipedia page-page network, Geom-GCN vari...
diff --git a/tests/python/common/data/test_dgl_dataset_cache_paths.py b/tests/python/common/data/test_dgl_dataset_cache_paths.py new file mode 100644 index 00000000..3819644f --- /dev/null +++ b/tests/python/common/data/test_dgl_dataset_cache_paths.py @@ -0,0 +1,73 @@ +import os + +from dgl.data import DGLDataset + + +...
format-code-task-000817:latest
1,800
Python
[ "tests/python/common/data/test_dgl_dataset_cache_paths.py", "tests/python/common/data/test_qm7b_single_raw_file.py", "tests/python/common/data/test_wiki_network.py", "tests/python/common/data/test_wiki_network_docs.py" ]
4
223
399
2,787
false
false
false
hard
0.858
feature
0.906
true
19
Queries, filters & metrics
false
format-code-task-001078
0.46
format-code-task-001183
88
Federated RAG retrieval currently flattens module outputs, which makes it impossible to combine ranked evidence deliberately or report partial retrieval failures. Extend the public RetrievalRagStage and RagContext APIs with deterministic fusion and diagnostics while preserving concatenation as the default behavior. Re...
diff --git a/tests/unit/engines/rag/test_retrieval_fusion_codespec.py b/tests/unit/engines/rag/test_retrieval_fusion_codespec.py new file mode 100644 index 0000000..d8bc1d1 --- /dev/null +++ b/tests/unit/engines/rag/test_retrieval_fusion_codespec.py @@ -0,0 +1,227 @@ +from collections.abc import Sequence + +import pyte...
format-code-task-001183:latest
1,800
Python
[ "tests/unit/engines/rag/test_retrieval_fusion_codespec.py" ]
1
227
359
2,669
false
true
false
hard
0.677
feature
0.658
false
9
Python library features
false
format-code-task-003023
0.638
format-code-task-000069
89
# Deterministic cluster-state translation for the partition mapper The `mapper` package turns Kafka cluster state into the objects our rebalancing/reassignment logic consumes. Two pieces of that translation are currently underspecified and need to be made reliable. ## 1. Stable ordering when building a partition map ...
diff --git a/mapper/clusterstate_translation_test.go b/mapper/clusterstate_translation_test.go new file mode 100644 index 0000000..b21b049 --- /dev/null +++ b/mapper/clusterstate_translation_test.go @@ -0,0 +1,221 @@ +package mapper + +import ( + "sort" + "strconv" + "strings" + "testing" + + "github.com/DataDog/kafka-...
format-code-task-000069:latest
1,800
Go
[ "mapper/clusterstate_translation_test.go" ]
1
221
355
2,344
false
false
false
hard
0.671
feature
0.51
false
18
State, jobs & lifecycle
false
format-code-task-001554
0.598
format-code-task-000141
90
LitProgressBar ignores TQDM_MINITERS ### Bug description tqdm supports setting the environment variable `TQDM_MINITERS` to reduce the frequency of progress bar updates. Since lightning trainer defaults to a TQDM progress bar, I expected this to work for lightning. However, pytorch lightnings trainer seems to ignore t...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 000000000..9b335f665 --- /dev/null +++ b/test_commands.json @@ -0,0 +1 @@ +{ "test_commands": ["PYTHONPATH=src python -m pytest tests/tests_pytorch/callbacks/progress/test_tqdm_progress_bar.py -k 'tqdm_miniters or colab_no_miniters or no_tq...
format-code-task-000141:latest
1,800
Python
[ "tests/tests_pytorch/callbacks/progress/test_tqdm_progress_bar.py" ]
1
37
162
1,238
true
false
false
easy
0.257
bug
0.991
true
6
Python tooling
false
format-code-task-000146
0.526
format-code-task-000844
91
I want a `hybrid.decomposers.SublatticeDecomposer(seed=None, **runopts)` runnable that I can construct once and call with `next(state, **runopts)` to select a lattice-shaped subproblem from a larger BQM. The input state provides `problem`/`bqm`, `samples`, and `origin_embeddings`; it may also provide `problem_dims`, `e...
diff --git a/usercase-test-coderl/test_sublattice_decomposer.py b/usercase-test-coderl/test_sublattice_decomposer.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/test_sublattice_decomposer.py @@ -0,0 +1,234 @@ + + + + + + + + +import itertools + +import dimod +import pytest + +from hybrid.core import S...
format-code-task-000844:latest
1,800
Python
[ "usercase-test-coderl/test_sublattice_decomposer.py" ]
1
234
261
2,033
false
false
false
hard
0.606
feature
0.997
true
9
Python library features
false
format-code-task-000018
0.506
format-code-task-001994
92
## Can't disable turn-by-turn instructions for Valhalla `directions` I'm using `Valhalla.directions(...)` against a local Valhalla instance. For my use case I only care about the geometry plus the total duration/distance — I don't need the narrative (the per-maneuver instruction strings like "Turn right onto X Street"...
diff --git a/tests/test_helper.py b/tests/test_helper.py index a6ea187..b2fda43 100644 --- a/tests/test_helper.py +++ b/tests/test_helper.py @@ -708,6 +708,7 @@ "avoid_polygons": PARAM_POLY, "date_time": {"type": 1, "value": "2021-03-03T08:06"}, "language": "pirate", + ...
format-code-task-001994:latest
1,800
Python
[ "tests/test_helper.py" ]
1
2
197
1,340
false
false
false
easy
0.223
feature
0.798
true
17
HTTP & APIs
false
format-code-task-002944
0.459
format-code-task-000776
93
## Feature request: fallback / conditional transforms for summary string templates I'm using summary string templates with filter syntax to format entry summaries. Right now I can use `upper`, `lower` and `date('<format>')`, which is great, but I keep running into two cases that aren't covered. ### 1. Fallback when a...
diff --git a/packages/netlify-cms-lib-widgets/src/__tests__/stringTemplate.spec.js b/packages/netlify-cms-lib-widgets/src/__tests__/stringTemplate.spec.js index 5d38e24206f4..3a62a34139ee 100644 --- a/packages/netlify-cms-lib-widgets/src/__tests__/stringTemplate.spec.js +++ b/packages/netlify-cms-lib-widgets/src/__test...
format-code-task-000776:latest
1,800
JavaScript
[ "packages/netlify-cms-lib-widgets/src/__tests__/stringTemplate.spec.js" ]
1
22
333
2,062
true
false
false
medium
0.413
feature
0.966
true
5
Text, markup & parsing
false
format-code-task-001047
0.527
format-code-task-002841
94
## Problem Statement 我这边用 `tier phases <org>` 查一些没有 schedule 的 Stripe subscription,发现 trial 已经过了、Stripe 状态也不是 `trialing` 了,但返回的 phase 里 trial 还像当前阶段一样;另外有个已经在 Stripe 里 canceled、只有 `canceled_at` 的订阅,phase 列表里也看不到对应取消时间的空功能结束阶段。 ## Expected outcomes - For subscriptions without schedules, elapsed trials should no longe...
diff --git a/control/schedule_test.go b/control/schedule_test.go index 845511d..4216934 100644 --- a/control/schedule_test.go +++ b/control/schedule_test.go @@ -735,9 +735,24 @@ func TestLookupPhasesNoSchedule(t *testing.T) { mpf("feature:x@0"), } + checkPhases := func(t *testing.T, got, want []Phase) { + t.Hel...
format-code-task-002841:latest
1,800
Go
[ "control/schedule_test.go" ]
1
237
194
1,311
false
false
true
medium
0.519
feature
0.733
true
7
Chinese & non-English prompts
false
format-code-task-000450
0.522
format-code-task-000855
95
The current `sortObjectsArray` helper is useful for simple flat records, but consumers now need to order data from API responses where the sort key may be nested and ties need a deterministic secondary key. Extend the exported comparator factory without breaking callers that already pass a single property string. The ...
diff --git a/test/sort-objects-array-advanced.test.js b/test/sort-objects-array-advanced.test.js new file mode 100644 index 0000000..fcfb7fd --- /dev/null +++ b/test/sort-objects-array-advanced.test.js @@ -0,0 +1,58 @@ +import test from 'ava' +import {sortObjectsArray} from '../src' + +test('sorts by multiple criteria,...
format-code-task-000855:latest
1,800
JavaScript
[ "test/sort-objects-array-advanced.test.js" ]
1
58
265
1,784
false
false
false
medium
0.422
feature
0.866
true
19
Queries, filters & metrics
false
format-code-task-001599
0.505
format-code-task-001847
96
I want a stateful `List` widget for tui-go that I can create with `NewList() *List` and use as a normal `Widget`. A new list starts empty with no selection, so `Selected()` returns `-1`; after `AddItems("one", "two", "three")`, `Length()` returns `3`, `SizeHint()` reports the width of the widest item and the number of ...
diff --git a/usercase-test-coderl/list_stateful_test.go b/usercase-test-coderl/list_stateful_test.go new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/list_stateful_test.go @@ -0,0 +1,379 @@ +package usercase_test_coderl + +import ( + "image" + "strings" + "testing" + + tui "github.com/marcusolsson/tui-go" ...
format-code-task-001847:latest
1,800
Go
[ "usercase-test-coderl/list_stateful_test.go" ]
1
379
288
2,061
false
false
false
hard
0.693
feature
0.999
true
19
Queries, filters & metrics
false
format-code-task-001848
0.511
format-code-task-002119
98
k8sclusterreceiver pod and container metadata.yaml break CI @dmitryax @atoulme heads up that CI is [broken](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/5392516937/jobs/9790995716) on `main` after #23783 got merged, because for the changes in this PR (which weren't included in the bran...
diff --git a/receiver/k8sclusterreceiver/internal/container/metadata_fix_test.go b/receiver/k8sclusterreceiver/internal/container/metadata_fix_test.go new file mode 100644 index 0000000000..58b5d48c15 --- /dev/null +++ b/receiver/k8sclusterreceiver/internal/container/metadata_fix_test.go @@ -0,0 +1,120 @@ + + + +packag...
format-code-task-002119:latest
1,800
Go
[ "receiver/k8sclusterreceiver/internal/container/metadata_fix_test.go", "receiver/k8sclusterreceiver/internal/pod/metadata_fix_test.go" ]
2
148
81
671
false
false
false
medium
0.507
bug
0.83
true
2
Cloud-native & infra (Go)
false
format-code-task-002943
0.53
format-code-task-001492
99
HDDTEMP Integration is Deprecated but is still useful. ### The problem Hddtemp is planned to be deprecated with a deprecation notice showing in 2025.6.0. The notice says it can only be run in systems with a deprecated architecture, but I don't think this is correct. I run homeassistant operating system and the integr...
diff --git a/test_commands.json b/test_commands.json new file mode 100644 index 00000000000..9e120c872de --- /dev/null +++ b/test_commands.json @@ -0,0 +1,3 @@ +{ + "test_commands": ["python -m pytest tests/components/hddtemp/test_sensor.py -v"] +} diff --git a/tests/components/hddtemp/test_sensor.py b/tests/component...
format-code-task-001492:latest
1,800
Python
[ "tests/components/hddtemp/test_sensor.py" ]
1
25
195
1,379
true
false
false
easy
0.271
bug
0.898
true
10
Infra & ops bug reports
false
format-code-task-001497
0.443
format-code-task-000367
100
I want the package entry point to expose a NestJS dynamic module registration API through `UnleashClientModule`. The class should provide `static forRoot(config: { config: UnleashConfig; isGlobal: boolean }): DynamicModule`: when called with `{ config: { url: 'http://unleash.test/api/', appName: 'api' }, isGlobal: true...
diff --git a/usercase-test-coderl/unleash-module-registration.test.ts b/usercase-test-coderl/unleash-module-registration.test.ts new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/unleash-module-registration.test.ts @@ -0,0 +1,400 @@ + + + + + + + +import { execFileSync } from 'node:child_process'; +import *...
format-code-task-000367:latest
1,800
TypeScript
[ "usercase-test-coderl/unleash-module-registration.test.ts" ]
1
400
263
2,089
false
false
false
hard
0.674
feature
0.989
true
14
JavaScript libraries & tooling
false
format-code-task-000368
0.723
format-code-task-000509
103
I want a manifest interpolation API in the Go `manifest` package that can be used as `manifest.NewInterpolator(appName string, envName string).Interpolate(input string) (string, error)`. The interpolator should parse the input as YAML, substitute `${VAR}` placeholders only in YAML string values, and return the resultin...
diff --git a/usercase-test-coderl/manifest_interpolation_test.go b/usercase-test-coderl/manifest_interpolation_test.go new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/manifest_interpolation_test.go @@ -0,0 +1,380 @@ +package usercase_test_coderl + +import ( + "fmt" + "io/fs" + "os" + "path/filepath" + "re...
format-code-task-000509:latest
1,800
Go
[ "usercase-test-coderl/manifest_interpolation_test.go" ]
1
380
230
1,807
false
false
false
hard
0.626
feature
0.995
true
3
CLI & config
false
format-code-task-001340
0.502
format-code-task-002002
104
I want the normal movie packaging command to carry matching subtitle files into the organized output alongside the movie. When I run `python Movie_Data_Capture.py /media/ABP-123.mp4 -m 1 -n ABP-123 -L 0` and `/media/ABP-123.srt` exists with `.srt` included in the public `sub_type` config, the run should move that subti...
diff --git a/usercase-test-coderl/fixtures/sitecustomize.py b/usercase-test-coderl/fixtures/sitecustomize.py new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/fixtures/sitecustomize.py @@ -0,0 +1,109 @@ +import builtins +import ipaddress +import socket +import sys +import types + +builtins.unce = False + + ...
format-code-task-002002:latest
1,800
Python
[ "usercase-test-coderl/fixtures/sitecustomize.py", "usercase-test-coderl/usecase.sh" ]
2
293
186
1,281
false
false
false
hard
0.673
feature
0.998
true
3
CLI & config
false
format-code-task-002252
0.511
format-code-task-002819
105
## Feature request: declare reverse `wants` from a stack Right now a stack can use `wants = [...]` to say "whenever I'm selected, also pull in these other stacks". That works, but it only lets me express the dependency from one direction: the *selecting* stack has to know about all the things it should drag along. I ...
diff --git a/cmd/terramate/e2etests/run_test.go b/cmd/terramate/e2etests/run_test.go index 8039ed6c4..7d0bb11ed 100644 --- a/cmd/terramate/e2etests/run_test.go +++ b/cmd/terramate/e2etests/run_test.go @@ -30,6 +30,13 @@ import ( "github.com/mineiros-io/terramate/test/sandbox" ) +type selectionTestcase struct { + n...
format-code-task-002819:latest
1,800
Go
[ "cmd/terramate/e2etests/run_test.go", "hcl/hcl_stack_test.go", "hcl/hcl_test.go", "test/sandbox/sandbox.go" ]
4
232
355
2,077
true
false
false
hard
0.85
feature
0.972
true
4
Config, paths & metadata
false
format-code-task-000016
0.454
format-code-task-002221
106
BUG: `Style` index name row does not label column class - [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- The `Styler` ignores colum...
diff --git a/pandas/tests/io/formats/test_style.py b/pandas/tests/io/formats/test_style.py index a154e51f68..447d2f9aa6 100644 --- a/pandas/tests/io/formats/test_style.py +++ b/pandas/tests/io/formats/test_style.py @@ -305,6 +305,59 @@ class TestStyler: df = DataFrame({0: [1, 2, 3]}) df.style._transla...
format-code-task-002221:latest
1,800
Python
[ "pandas/tests/io/formats/test_style.py" ]
1
53
158
1,278
true
false
false
easy
0.28
bug
0.934
true
16
SQL & databases
false
format-code-task-002218
0.538
format-code-task-000496
107
Transformation Error 'Fn::ForEach could not be resolved' when using a Mapping Default in 1.21.0 ### CloudFormation Lint Version cfn-lint 1.21.0 ### What operating system are you using? Fedora ### Describe the bug I've got a template that uses an `Fn::ForEach` with `!FindInMap`, it uses a `DefaultValue`. ...
diff --git a/test/unit/module/template/transforms/test_language_extensions.py b/test/unit/module/template/transforms/test_language_extensions.py index 921929e7c..a2f9b941d 100644 --- a/test/unit/module/template/transforms/test_language_extensions.py +++ b/test/unit/module/template/transforms/test_language_extensions.py...
format-code-task-000496:latest
1,800
Python
[ "test/unit/module/template/transforms/test_language_extensions.py" ]
1
99
484
5,456
true
false
false
medium
0.584
bug
0.991
true
4
Config, paths & metadata
false
format-code-task-001386
0.466
format-code-task-000137
108
## Problem Statement Just generated a fresh site with the defaultsite generator and I'm hitting two weird things. First, when I try to use `get_node_trans_by_node_id(id, 'en')` in one of my Twig templates I get an "unknown function" error — tried both with and without `--demosite` and it never seems to be available. S...
diff --git a/src/Kunstmaan/GeneratorBundle/Tests/Generator/DefaultSiteGeneratorTest.php b/src/Kunstmaan/GeneratorBundle/Tests/Generator/DefaultSiteGeneratorTest.php new file mode 100644 index 000000000..c132bc0ff --- /dev/null +++ b/src/Kunstmaan/GeneratorBundle/Tests/Generator/DefaultSiteGeneratorTest.php @@ -0,0 +1,4...
format-code-task-000137:latest
1,800
PHP
[ "src/Kunstmaan/GeneratorBundle/Tests/Generator/DefaultSiteGeneratorTest.php" ]
1
488
263
1,929
false
false
false
hard
0.69
bug
0.885
true
4
Config, paths & metadata
false
format-code-task-002077
0.475
format-code-task-002117
109
I want MMSelfSup to provide an `ImageList` dataset that I can import with `from mmselfsup.datasets import ImageList` and also reference in configs as `type='ImageList'`. The constructor should be `ImageList(ann_file: str, metainfo: Optional[dict] = None, data_root: str = '', data_prefix: Union[str, dict] = '', **kwargs...
diff --git a/usercase-test-coderl/fixtures/imagelist_labeled.txt b/usercase-test-coderl/fixtures/imagelist_labeled.txt new file mode 100644 --- /dev/null +++ b/usercase-test-coderl/fixtures/imagelist_labeled.txt @@ -0,0 +1,1 @@ +folder_1/xxy.png 3 diff --git a/usercase-test-coderl/fixtures/imagelist_unlabeled.txt b/use...
format-code-task-002117:latest
1,800
Python
[ "usercase-test-coderl/fixtures/imagelist_labeled.txt", "usercase-test-coderl/fixtures/imagelist_unlabeled.txt", "usercase-test-coderl/fixtures_probe/unlabeled.txt", "usercase-test-coderl/test_image_list_acceptance.py" ]
4
182
242
1,681
false
false
false
hard
0.713
feature
0.998
true
3
CLI & config
false
format-code-task-000885
0.545