base_commit
stringlengths
40
40
created_at
stringdate
2014-11-10 05:17:52
2025-10-31 18:00:44
image_name
stringlengths
41
98
instance_id
stringlengths
11
68
interface
stringlengths
33
16.8k
language
stringclasses
20 values
license
stringclasses
16 values
patch
stringlengths
198
252k
pr_description
stringlengths
0
37.8k
problem_statement
stringlengths
0
235k
repo
stringlengths
5
63
test_patch
stringlengths
149
150k
FAIL_TO_PASS
listlengths
1
118k
PASS_TO_PASS
listlengths
0
327k
install_config
dict
meta
dict
0f2f816f77b70cbc5a1ad73badf5da64280585de
2022-07-20 14:41:38
docker.io/swerebenchv2/scalameta-scalameta:2790-0f2f816
scalameta__scalameta-2790
Method: local0() Location: generated method `b` inside the anonymous class created by `example.StructuralTypes.a`. Inputs: none (parameterless method). Outputs: `Int` – the value of the field `b` defined in the structural type. Description: Provides access to the structural member `b` of the anonymous object crea...
scala
BSD-3-Clause
diff --git a/build.sbt b/build.sbt index aa9fb8062f..bfd0a0d529 100644 --- a/build.sbt +++ b/build.sbt @@ -53,10 +53,11 @@ commands += Command.command("download-scala-library") { s => s } commands += Command.command("save-expect") { s => - "semanticdbScalacPlugin/compile" :: + s"++$LatestScala212" :: + "seman...
Previously, semanticdb-scalac never emitted occurrences for invocations of members on structural types. The motivation for this behavior was that there was no reasonable symbol we could use since there no official defintion for a structural type, the same structural type can be re-declared in multiple places. This ...
Missing occurrence for reflective calls ```scala ❯ cat i414.scala package minimized object Issue414 { val x = new { val b = 1 } x.b } ❯ metac i414.scala metawarning: 1 feature warning; re-run with -feature for details 1 warning ``` The generated SemanticDB is missing an occurrence for the ref...
scalameta/scalameta
diff --git a/tests/jvm/src/test/resources/example/Advanced.scala b/tests/jvm/src/test/resources/example/Advanced.scala index 7b5a319fad..11d6bdf174 100644 --- a/tests/jvm/src/test/resources/example/Advanced.scala +++ b/tests/jvm/src/test/resources/example/Advanced.scala @@ -25,11 +25,11 @@ class D/*<=advanced.D#*/[CC/*...
[ "A & B", "A | B", "[X] =>> (X, X)", "[_] =>> Unit", "inline def f = 1", "open trait a", "extension [A, B](i: A)(using a: F[A], G[B]) def isZero = i == 0", "extension (i: A) {\\n def isZero = i == 0\\n def isOne = i == 1\\n}", "def foo(implicit a: A, b: B): Unit", "enum Day[T](e: T) extends A wit...
[]
{ "base_image_name": "scala_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2ff26e05d2b5a6fbc82e8321f8c1d959548ba5eb
2024-03-11 04:20:06
docker.io/swerebenchv2/swc-project-swc:8727-2ff26e0
swc-project__swc-8727
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/crates/swc_ecma_minifier/src/compress/pure/evaluate.rs b/crates/swc_ecma_minifier/src/compress/pure/evaluate.rs index c1b7ff797f..cd2ac1aea2 100644 --- a/crates/swc_ecma_minifier/src/compress/pure/evaluate.rs +++ b/crates/swc_ecma_minifier/src/compress/pure/evaluate.rs @@ -132,7 +132,10 @@ impl Pure<'_> { ...
fix(es/minifier): Fix eval of `toString` of array with holes **Description:** **Related issue:** - Closes #8717.
Minifier evaluates `toString` of array containing 1-empty hole to invalid expression when `unsafe` is true ### Describe the bug Currently with `unsafe` option, minifier reduces `toString` call expression with 1-item array. When the only item in that array is empty hole, minifier results wrong output. ### Input code...
swc-project/swc
diff --git a/crates/swc_ecma_minifier/tests/fixture/issues/8717/config.json b/crates/swc_ecma_minifier/tests/fixture/issues/8717/config.json new file mode 100644 index 0000000000..4e7520f965 --- /dev/null +++ b/crates/swc_ecma_minifier/tests/fixture/issues/8717/config.json @@ -0,0 +1,48 @@ +{ + "defaults": true, + ...
[ "config::tests::array", "modules::sort::tests::sort_001", "modules::sort::tests::deno_jszip_03", "bundler::chunk::plan::tests::deno_10820_1", "modules::sort::tests::sort_009", "expr::tests::html_comment", "expr::tests::regression_increments", "expr::tests::member_expression", "stmt::tests::issue_197...
[ "tests::valid", "tests::access_tag", "tests::issue_1058", "tests::line_1", "tests::abstract_tag", "tests::skip_1", "tests::one_of_1", "tests::trim_1", "tests::word_1", "tests::yield_tag_1", "version::tests::should_enable_android_falls_back_to_chrome", "query::tests::test_empty", "config::tes...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://play.swc.rs/?version=1.4.6&code=H4sIAAAAAAAAA0vO...
0f3d47597e977361dfff3bbade4004de1e1475ed
2019-06-20 16:12:37
docker.io/swerebenchv2/rooseveltframework-roosevelt:745-0f3d475
rooseveltframework__roosevelt-745
No new interfaces are introduced.
js
custom-check-github
diff --git a/CHANGELOG.md b/CHANGELOG.md index 931a824..e25d4d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next version -- Put your changes here... +- Fixed a bug which required the folder name of a roosevelt fork/clone to match exactly "roosevelt" to run tests in it successfully ## 0.14.5 ...
Regex now matches test/app Closes #744
Regex in cleanupTestApp too strict Tests fail when doing tests in Roosevelt/test, regex is explicitly looking for roosevelt/test, making it less strict would be nice
rooseveltframework/roosevelt
diff --git a/test/util/cleanupTestApp.js b/test/util/cleanupTestApp.js index 8fea630..efaa8fb 100644 --- a/test/util/cleanupTestApp.js +++ b/test/util/cleanupTestApp.js @@ -1,8 +1,8 @@ const fse = require('fs-extra') module.exports = function (appDir, next) { - // use regexp to make sure that the appDir included '...
[ "should be able to post files to the server, move them, and read their content" ]
[ "should be able to set the parameters for formidable to set an upload directory", "should not throw an error if the user deletes temps files in the controller", "should default multipart to an object if the param passed in is not an object and it is not false", "should force alwaysHostPublic on (\"--host-publ...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
a339e1f7089ced06bae1eaf374cdfb950e92d2e8
2024-06-04 22:03:57
docker.io/swerebenchv2/burntsushi-toml:414-a339e1f
burntsushi__toml-414
No new interfaces are introduced.
go
MIT
diff --git a/encode.go b/encode.go index 73366c0..bde6535 100644 --- a/encode.go +++ b/encode.go @@ -402,31 +402,30 @@ func (enc *Encoder) eMap(key Key, rv reflect.Value, inline bool) { // Sort keys so that we have deterministic output. And write keys directly // underneath this key first, before writing sub-stru...
Allow custom string types as map keys Because the map keys were converted to []string, rv.MapIndex(reflect.ValueOf(mapKey)) would panic as it's the "wrong" type (string, instead of the custom string type). Just keep track of the reflect.Value instead; don't really need to convert it to strings. Fixes #413
panic when marshalling a map with the key in a custom string type ### Env - Go version: 1.22.3 - BurntSushi/toml@v1.4.0 ### Description When marshalling a map with keys in a custom string type like: ```go type CustomString string type MyMap map[CustomString]int func main() { var myKey CustomString = "MyK...
BurntSushi/toml
diff --git a/encode_test.go b/encode_test.go index fbf17de..a5c3a7e 100644 --- a/encode_test.go +++ b/encode_test.go @@ -837,10 +837,13 @@ func TestEncodeJSONNumber(t *testing.T) { } func TestEncode(t *testing.T) { - type Embedded struct { - Int int `toml:"_int"` - } - type NonStruct int + type ( + Embedded struc...
[ "TestMapCustomKeytype", "TestErrorPosition", "TestErrorPosition/array/missing-separator-2.toml", "TestErrorPosition/array/no-close-1.toml", "TestErrorPosition/array/tables-2.toml", "TestErrorPosition/local-date/trailing-t.toml", "TestErrorPosition/key/without-value-1.toml", "TestErrorPosition/key/with...
[ "TestDecodeReader", "TestDecodeFile", "TestDecodeFS", "TestDecodeBOM", "TestDecodeBOM/#00", "TestDecodeBOM/#01", "TestDecodeBOM/#02", "TestDecodeEmbedded", "TestDecodeErrors", "TestDecodeErrors/#00", "TestDecodeErrors/#01", "TestDecodeErrors/#02", "TestDecodeErrors/#03", "TestDecodeErrors/...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
668e563b01749bcbb55a017e39b0cf94d8256619
2024-07-15 18:37:33
docker.io/swerebenchv2/pybamm-team-pybamm:4267-668e563
pybamm-team__pybamm-4267
Method: FuzzyDict.__getitem__(self, key) Location: pybamm/util.py (class FuzzyDict) Inputs: - **key** (str): Parameter name to retrieve. May be a current name (e.g., containing “particle diffusivity”) or a legacy name (containing “electrode diffusivity”). Outputs: - Returns the value stored for the matching key. - ...
python
BSD-3-Clause
diff --git a/pybamm/util.py b/pybamm/util.py index 0fe02c835..130cb5ba4 100644 --- a/pybamm/util.py +++ b/pybamm/util.py @@ -57,14 +57,22 @@ class FuzzyDict(dict): try: return super().__getitem__(key) except KeyError as error: - if "particle diffusivity" in key: - ...
Corrects "electrode diffusivity" error catch # Description This reverts an incorrect change applied in #4179. This adds to the error catch for the old parameter name `"{domain} electrode diffusivity [m2.s-1]"` to use the new name, likewise if the new name `"{domain} particle diffusivity [m2.s-1]" `is provided the er...
[Bug]: "electrode diffusivity" -> "particle diffusivity" is still breaking change on `develop` when using pre-24.5 pybamm.ParameterValues ### PyBaMM Version develop ### Python Version 3.9.13 ### Describe the bug Since #4072 re-inverted the logic fix in #3871, the release candidate on `develop` causes the...
pybamm-team/PyBaMM
diff --git a/tests/unit/test_util.py b/tests/unit/test_util.py index 21673a44f..abcdb4dca 100644 --- a/tests/unit/test_util.py +++ b/tests/unit/test_util.py @@ -34,6 +34,11 @@ class TestUtil: "SEI current": 3, "Lithium plating current": 4, "A dimensional variable [m]":...
[ "tests/unit/test_util.py::TestUtil::test_fuzzy_dict" ]
[ "tests/unit/test_util.py::TestUtil::test_is_constant_and_can_evaluate", "tests/unit/test_util.py::TestUtil::test_get_parameters_filepath", "tests/unit/test_util.py::TestSearch::test_url_gets_to_stdout", "tests/unit/test_util.py::TestUtil::test_git_commit_info", "tests/unit/test_util.py::TestUtil::test_optio...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
1b940dcd0e3539b3b6b06c64cd6f7ec26e9210a0
2022-12-01 17:07:51
docker.io/swerebenchv2/deislabs-ratify:452-1b940dc
deislabs__ratify-452
Method: defaultAuthProvider.Provide(self, ctx context.Context, artifact string) (AuthConfig, error) Location: pkg/referrerstore/oras/authprovider/authprovider.go Inputs: - ctx: request context for cancellation/timeout. - artifact: full image reference (e.g., “registry.io/repo/image:tag”) used to locate the matching D...
go
Apache-2.0
diff --git a/pkg/referrerstore/oras/authprovider/authprovider.go b/pkg/referrerstore/oras/authprovider/authprovider.go index 3603ba5..332bed9 100644 --- a/pkg/referrerstore/oras/authprovider/authprovider.go +++ b/pkg/referrerstore/oras/authprovider/authprovider.go @@ -34,6 +34,7 @@ import ( type AuthConfig struct { ...
Add Docker identity token support for ORAS store # Description Per https://github.com/deislabs/ratify/issues/449, this PR adds support for `identitytoken` with Docker config Fixes #449 ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functio...
Docker config auth provider should work with identity tokens ## Problem The ORAS store currently supports the [Docker config file](https://github.com/deislabs/ratify/blob/main/docs/reference/oras-auth-provider.md#1-docker-config) as an authentication provider, which is useful for development and standalone usage of ...
deislabs/ratify
diff --git a/pkg/referrerstore/oras/authprovider/authprovider_test.go b/pkg/referrerstore/oras/authprovider/authprovider_test.go index 32f301e..d7efc7b 100644 --- a/pkg/referrerstore/oras/authprovider/authprovider_test.go +++ b/pkg/referrerstore/oras/authprovider/authprovider_test.go @@ -72,3 +72,39 @@ func TestProvide...
[ "TestProvide_ExternalDockerConfigPath_ExpectedResults", "TestProvide_ExternalDockerConfigPathWithIdentityToken_ExpectedResults", "TestCreateAuthProvidersFromConfig_BuiltInAuthProviders_ReturnsExpected", "TestCreateAuthProvidersFromConfig_NonexistentAuthProviders_ReturnsExpected", "TestCreateAuthProvidersFro...
[ "TestLoad_FromDefaultPath", "TestLoad_FromGivenPath", "TestLoad_NonExistentConfigFile", "TestLoad_EmptyConfigSucceeds", "TestLoad_InvalidConfigFile", "TestLoad_ComputeHash", "TestServer_Timeout_Failed", "TestServer_Timeout_Failed/server_timeout_fail", "TestServer_MultipleSubjects_Success", "TestSe...
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.21.0", "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.88, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/deislabs/ratify/blob/main/docs/refe...
a64c8235c76813498ca933b6bdb01b12820c82f5
2020-04-02 02:51:05
docker.io/swerebenchv2/intuit-auto:1103-a64c823
intuit__auto-1103
Function: loadPlugin([pluginPath, options]: [string, any], logger: ILogger, extendedLocation?: string): IPlugin | undefined Location: packages/core/src/utils/load-plugins.ts Inputs: - **pluginPath** – string identifying the plugin (local path, package name, or scoped name). - **options** – any options that will be pass...
ts
MIT
diff --git a/docs/pages/non-npm.md b/docs/pages/non-npm.md index ea9e7d19..eb6c7fb7 100644 --- a/docs/pages/non-npm.md +++ b/docs/pages/non-npm.md @@ -4,7 +4,8 @@ ## Installation -If you're on some platform other than [npm](https://npmjs.com) it doesn't make sense to download `auto` through [npm](https://npmjs.com...
Add `--list-plugins` flag to `info` command # What Changed see title. # Why closes #1102 Todo: - [ ] Add tests - [x] Add docs <!-- GITHUB_RELEASE PR BODY: canary-version --> <details> <summary>📦 Published PR as canary version: <code>under canary scope @auto-canary@9.24.0-canary.1103.14427.0</code>...
Documentation: how to install and use unofficial plugins with binary bundle I am looking to use auto with multiple projects, including maven (which has a plugin) and sbt (which does not). The maven plugin is not considered "official" and therefore will not be bundled with the binary distribution. **Describe the solu...
intuit/auto
diff --git a/packages/core/src/__tests__/auto.test.ts b/packages/core/src/__tests__/auto.test.ts index d9bcedef..533179ec 100644 --- a/packages/core/src/__tests__/auto.test.ts +++ b/packages/core/src/__tests__/auto.test.ts @@ -3,7 +3,7 @@ import { IPRStatusOptions } from "../auto-args"; import SEMVER from "../semver";...
[ "should load official plugins", "should load community plugins", "should load scoped plugins", "should require custom plugins -- fallback to cwd", "should require custom plugins -- surface errors", "should load config", "should find local modules", "should exclude non plugins", "should find modules ...
[ "publish", "graphql", "getFirstCommit", "addLabelToPr", "removeLabel", "lockIssue", "getCommitDate", "getSha", "getLastTagNotInBaseBranch", "getGitLog", "getUser", "createStatus", "search", "getProject", "getCommitsForPR", "getPullRequests", "updateLabel", "successful", "handles ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install -g yarn --force", "yarn install --frozen-lockfile --non-interactive --ignore-engines", "yarn build" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn test --verbose --silent --no-colors --runInBand" }
{ "llm_metadata": { "code": "B4", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/terradatum/github-runner", "h...
9cb30f2e761e6581b69d7f365c972a2c6d92ed9b
2019-09-23 22:58:42
docker.io/swerebenchv2/codeception-codeceptjs:1898-9cb30f2
codeception__codeceptjs-1898
Function: I.executeScript(fn, ...args) Location: lib/actor.js (via helper Puppeteer) Inputs: - **fn**: Function to be evaluated in the browser context. Can be a string‑ified function or an arrow function. - **...args**: Optional arguments that will be passed to the evaluated function (as in Puppeteer’s `page.evaluate`...
js
MIT
diff --git a/bin/codecept.js b/bin/codecept.js index 2616e6f1..4bb63c37 100755 --- a/bin/codecept.js +++ b/bin/codecept.js @@ -125,6 +125,7 @@ program.command('run-workers <workers>') .option('-c, --config [file]', 'configuration file to be used') .option('-g, --grep <pattern>', 'only run tests matching <pattern>...
Updated Puppeteer, fixed compatibility with Puppeteer 1.20 The issue was that executeScript was switching to a context of an iframe. Before 1.20 Puppeteer couldn't execute scripts on elements, now it can, so it was switching to element contexts too and failed on that. Fixes #1894
[regress] I.executeScript() Evaluation failed #### What am I trying to achieve? Execute script in `test.js` via built in `executeScript` ```javascript // css like selector let myArg = '[data-test-selector="news"] [data-test-id="701340"]'; let element = await I.executeScript(function(selectorLocator){ retur...
Codeception/CodeceptJS
diff --git a/test/data/sandbox/codecept.retryFailed.json b/test/data/sandbox/codecept.retryFailed.json new file mode 100644 index 00000000..2b3e78ba --- /dev/null +++ b/test/data/sandbox/codecept.retryFailed.json @@ -0,0 +1,19 @@ +{ + "tests": "./*_test.retryFailed.js", + "timeout": 10000, + "output": "./output", + ...
[ "should not propagate retries to non retried steps", "should use retryFailedStep plugin for failed steps", "should not retry wait* steps in retryFailedStep plugin", "should not retry steps if retryFailedStep plugin disabled", "should include grep option tests", "should run all tests with data of array by ...
[ "should take all methods from helpers and built in", "should return promise", "should produce step events", "should retry failed step with #retry", "should retry once step with #retry", "should print handle failed steps", "should handle asserts", "should handle negative asserts", "should parse gherk...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
588f5ea73c3865373b5f7abd7c637361a7e003c3
2022-06-22 17:58:12
docker.io/swerebenchv2/datadog-dd-trace-js:2146-588f5ea
datadog__dd-trace-js-2146
No new interfaces are introduced.
js
custom-check-github
diff --git a/package.json b/package.json index 78ac9fbdf..b903a64c8 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@datadog/native-appsec": "^1.2.0", "@datadog/native-metrics": "^1.2.0", "@datadog/pprof": "^0.5.0", - "@datadog/sketches-js": "^1.0.4", + "@datadog/sketches-js": "^1.0...
bump sketches to 1.0.5 ### What does this PR do? <!-- A brief description of the change being made with this pull request. --> bump sketches to 1.0.5 ### Motivation <!-- What inspired you to submit this pull request? --> Fixes #2096 #2127
Upgrade protobufjs to prevent Prototype Pollution **Expected behaviour** use protobufjs to version 6.11.3 or higher **Actual behaviour** ![Screen Shot 2565-06-01 at 10 20 14](https://user-images.githubusercontent.com/22723894/171321196-920b63b3-00ad-406d-8643-28d9488eac79.png) more detail here: https://security...
DataDog/dd-trace-js
diff --git a/packages/datadog-plugin-http/test/client.spec.js b/packages/datadog-plugin-http/test/client.spec.js index b82338a8e..5dc7da504 100644 --- a/packages/datadog-plugin-http/test/client.spec.js +++ b/packages/datadog-plugin-http/test/client.spec.js @@ -708,7 +708,7 @@ describe('Plugin', () => { }) ...
[ "should flush its traces to the agent, and call callback" ]
[ "should sample a span", "should sample a span by span name", "should not sample by default", "should sample if `measuredByDefault` is true", "should instanciate DDWAF", "should log exceptions", "should parse rules", "should get wafContext from cache", "should create wafContext and cache it", "shou...
{ "base_image_name": "node_20", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "B1", "confidence": 0.9, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://security.snyk.io/vuln/SNYK-JS-PROTOBUFJS-244124...
cb102a24fd537948f34ab297bb52eaa5c961c327
2023-03-14 15:50:56
docker.io/swerebenchv2/analysis-dev-diktat:1624-cb102a2
analysis-dev__diktat-1624
No new interfaces are introduced.
kotlin
MIT
diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/ClassLikeStructuresOrderRule.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/ClassLikeStructuresOrderRule.kt index 1b47ce6b48..facf5d6f67 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chap...
Bug in fix mode of `WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES` rule Consider the following code ```kotlin package com.test class MyClass { private val classSimpleName = SarifFixAdapter::class.simpleName!! private val log = KotlinLogging.logger(classSimpleName) private val tmpDir = createTempDir(classSi...
analysis-dev/diktat
diff --git a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/ClassLikeStructuresOrderFixTest.kt b/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/ClassLikeStructuresOrderFixTest.kt index 1e1bef6fa0..7666177329 100644 --- a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/ClassLi...
[ "org.cqfn.diktat.plugin.gradle.ReporterSelectionTest should fallback to plain reporter for unknown reporter types()", "org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskTest check system property with multiproject build with custom config()", "org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskTest check command lin...
[]
{ "base_image_name": "kotlin-jdk-11", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
e3fe10851b6f3208347d71ac7fa7f5fc6d521f6f
2018-09-18 01:18:49
docker.io/swerebenchv2/twitch-apis-twitch-js:159-e3fe108
twitch-apis__twitch-js-159
No new interfaces are introduced.
js
MIT
diff --git a/src/Chat/index.js b/src/Chat/index.js index c44697b..5ba10f7 100644 --- a/src/Chat/index.js +++ b/src/Chat/index.js @@ -326,7 +326,7 @@ class Chat extends EventEmitter { new Errors.TimeoutError(constants.ERROR_JOIN_TIMED_OUT), ), join, - ]) + ]), ) } @@ -357...
Bugfix: force `isSelf` to `true` on certain events ## Proposed changes Fixes #157 by adding a workaround on concerned events, until a better solution can be implemented. ## Types of changes * [x] Bugfix (non-breaking change which fixes an issue) ## Checklist * [x] I have read the [CONTRIBUTING](https://g...
Bug: isSelf is false for membership commands ## Expected behavior `isSelf === true` or `isSelf === undefined` for membership commands (cc @T1MOXA https://github.com/twitch-apis/twitch-js/issues/145#issuecomment-420771512). ## Actual behavior `isSelf === false` ## Steps to reproduce Issue a membership com...
twitch-apis/twitch-js
diff --git a/src/Chat/__tests__/__snapshots__/index.test.js.snap b/src/Chat/__tests__/__snapshots__/index.test.js.snap index 4015b35..0ab5a86 100644 --- a/src/Chat/__tests__/__snapshots__/index.test.js.snap +++ b/src/Chat/__tests__/__snapshots__/index.test.js.snap @@ -99,7 +99,7 @@ Array [ "_raw": ":ronni!ronni@...
[ "should reconnect and rejoin channels", "JOIN", "PART", "NAMES" ]
[ "should allow options to be updated", "should join channel", "should send message to channel", "should part a channel", "should disconnect", "should connect", "should call onAuthenticationFailure", "should update token and successfully connect", "should reconnect on RECONNECT event", "should updat...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/twitch-apis/twitch-js/issues/145#is...
d54eb4efb8c0bf7286d0971577f51b5851a940d0
2018-05-16 23:59:53
docker.io/swerebenchv2/kripken-emscripten:6545-d54eb4e
kripken__emscripten-6545
Function: js_error(message, line, col, pos, text) Location: tools/eliminator/node_modules/uglify-js/lib/parse-js.js Inputs: - **message** (str): error description from the parser. - **line** (int): line number where the error occurred (1‑based). - **col** (int): column number within the line (0‑based). - **pos**...
c
custom-check-github
diff --git a/emscripten-version.txt b/emscripten-version.txt index fa531c11c..1c28674a7 100644 --- a/emscripten-version.txt +++ b/emscripten-version.txt @@ -1,1 +1,1 @@ -"1.38.0" +"1.38.1" diff --git a/tools/eliminator/node_modules/uglify-js/lib/parse-js.js b/tools/eliminator/node_modules/uglify-js/lib/parse-js.js inde...
Show JS context for uglify parse errors Inspired by https://github.com/kripken/emscripten/issues/5700#issuecomment-387684922 Fixes #5700
Impossible to diagnose uglifyjs failures (JS_Parse_Error) Any code included with `--pre/post-js` gets run through Emscripten's uglifyjs. This doesn't cope with lots of more modern JS, as is documented in other issues. However, figuring out _why_ it fails is currently next to impossible. Including some bit of modern ...
kripken/emscripten
diff --git a/tests/test_other.py b/tests/test_other.py index b98e23cde..2fdbe9069 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -8361,3 +8361,20 @@ end def test_fd_closed(self): self.do_other_test(os.path.join('other', 'fd_closed')) + + def test_js_optimizer_parse_error(self): + # check we...
[ "INFO:root: - ok", "assert process.returncode is 0, '-llsomenonexistingfile is not an error if -s ERROR_ON_MISSING_LIBRARIES=0 is passed'", "+INFO:root: - ok" ]
[]
{ "base_image_name": "c", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "apt-get update -qq", "apt-get install -y -qq nodejs npm clang", "sed -i '1s|python2|python3|' tests/runner.py", "sed -i 's/for async in \\[0, 1\\]:/for async_flag in [0, 1]:/' tests/test_othe...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
9f14f4758f171ffd6fec463efc34e5caac138811
2024-12-03 19:56:57
docker.io/swerebenchv2/joshuakgoldberg-create-typescript-app:1734-9f14f47
joshuakgoldberg__create-typescript-app-1734
Function: createCSpellConfig(options) Location: src/steps/writing/creation/createCSpellConfig.ts Inputs: - `options`: a partial `Options` object (Pick) containing the boolean flags   `excludeAllContributors?`, `excludeLintMd?`, `excludeReleases?`, `excludeRenovate?`, `excludeTemplatedBy?`, `excludeTests?`. These f...
ts
MIT
diff --git a/cspell.json b/cspell.json index 99ddf58..407cbdf 100644 --- a/cspell.json +++ b/cspell.json @@ -1,35 +1,28 @@ { - "dictionaries": ["typescript"], + "dictionaries": ["npm", "node", "typescript"], "ignorePaths": [ - "./coverage*", - "./script/__snapshots__", ".all-contributorsrc", ".github", "C...
feat: pre-fill cspell.json words ## PR Checklist - [x] Addresses an existing open issue: fixes #1716; fixes #1737 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CO...
🚀 Feature: Remove npmpackagejsonlintrc cleanups/migrations ### Bug Report Checklist - [X] I have pulled the latest `main` branch of the repository. - [X] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue. ### Overvi...
JoshuaKGoldberg/create-typescript-app
diff --git a/script/__snapshots__/migrate-test-e2e.ts.snap b/script/__snapshots__/migrate-test-e2e.ts.snap index 3428595..dd81cbb 100644 --- a/script/__snapshots__/migrate-test-e2e.ts.snap +++ b/script/__snapshots__/migrate-test-e2e.ts.snap @@ -105,39 +105,33 @@ exports[`expected file changes > cspell.json 1`] = ` "--...
[ "src/steps/writing/creation/createCSpellConfig.test.ts > createCSpellConfig > creates an ignore file with all words when exclusions are disabled", "src/steps/writing/creation/createCSpellConfig.test.ts > createCSpellConfig > creates an ignore file with minimal words when exclusions are enabled", "src/create/cre...
[ "src/shared/options/createRepositoryWithApi.test.ts > createRepositoryWithApi > creates using a template when preserveGeneratedFrom is true", "src/shared/options/createRepositoryWithApi.test.ts > createRepositoryWithApi > creates under the user when the user is the owner", "src/shared/options/createRepositoryWi...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0", "pnpm install --frozen-lockfile", "pnpm build" ], "log_parser": "parse_log_js_4", "test_cmd": "pnpm test --run --reporter=verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/JoshuaKGoldberg/create-typescript-a...
c4ac03118a2eb3de6dff5c7577ddff5e53bf60b7
2024-03-20 09:34:08
docker.io/swerebenchv2/external-secrets-external-secrets:3288-c4ac031
external-secrets__external-secrets-3288
Method: client.useAuthNamespace(self, ctx context.Context) func() Location: pkg/provider/vault/auth.go Inputs: ctx context.Context – the request context (currently unused); the method reads c.store.Namespace and c.store.Auth.Namespace from the Provider’s VaultStore configuration. Outputs: a function func() that, when i...
go
Apache-2.0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e9d87550..7de3c58fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,7 @@ jobs: run: go mod download - name: Cache envtest binaries - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f56...
fix: allow pushing the whole secret to Vault ## Problem Statement This PR is adding support to pushing the whole secret to the Hashicorp Vault provider. ## Related Issue Fixes #3287 ## Proposed Changes Proper treating when the `secretKey` is missing and therefore making the whole secret available for pus...
Support pushing the whole secret for the Vault provider **Is your feature request related to a problem? Please describe.** Even though pushing the whole secret is generically documented as supported for the `PushSecret` resource [here](https://external-secrets.io/latest/guides/pushsecrets/#pushing-the-whole-secret), i...
external-secrets/external-secrets
diff --git a/pkg/provider/vault/auth_test.go b/pkg/provider/vault/auth_test.go new file mode 100644 index 000000000..823d260df --- /dev/null +++ b/pkg/provider/vault/auth_test.go @@ -0,0 +1,167 @@ +/* +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with t...
[ "TestSetAuthNamespace", "TestSetAuthNamespace/StoreNoNamespace", "TestSetAuthNamespace/StoreWithNamespace", "TestSetAuthNamespace/StoreWithAuthNamespace", "TestSetAuthNamespace/StoreWithSameNamespace", "TestSetAuthNamespace/StoreWithDistinctNamespace", "TestGetAllSecrets/FindByName", "TestGetAllSecret...
[ "TestExternalSecretConvertFrom", "TestExternalSecretConvertTo", "TestSecretStoreConvertFrom", "TestSecretStoreConvertTo", "TestClusterSecretStoreConvertFrom", "TestClusterSecretStoreConvertTo", "TestValidateExternalSecret", "TestValidateExternalSecret/nil", "TestValidateExternalSecret/deletion_polic...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.94, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://external-secrets.io/latest/guides/pushsecrets/...
669ab8999236dd84b93deec4eb8dd68ab230b610
2025-06-13 11:06:39
docker.io/swerebenchv2/prestashop-prestashop:38903-669ab89
prestashop__prestashop-38903
Function: setMinLength(?int $min) Location: class FormField Inputs: Optional integer specifying the minimum number of characters allowed for the field; null to disable the constraint. Outputs: Returns $this (self) to allow method chaining. Description: Sets the minimum length validation rule for the form field. When a ...
php
custom-check-github
diff --git a/classes/form/AbstractForm.php b/classes/form/AbstractForm.php index ab28f369ed..7d0786cc12 100644 --- a/classes/form/AbstractForm.php +++ b/classes/form/AbstractForm.php @@ -158,7 +158,7 @@ abstract class AbstractFormCore implements FormInterface ); continue; - ...
CustomerAddressForm : Set a minimum length in HTML5 <!----------------------------------------------------------------------------- Thank you for contributing to the PrestaShop project! Please take the time to edit the "Answers" rows below with the necessary information. Check out our contribution guidelines to ...
Postcode - set the minimum length for html5 forms ### Prerequisites - [x] I understand and accept the project's [code of conduct](https://github.com/PrestaShop/PrestaShop/blob/develop/CODE_OF_CONDUCT.md). - [x] I have already [searched in existing issues](https://github.com/PrestaShop/PrestaShop/issues?q=is%3Aissue+la...
PrestaShop/PrestaShop
diff --git a/tests/Unit/Classes/form/AbstractFormTest.php b/tests/Unit/Classes/form/AbstractFormTest.php new file mode 100644 index 0000000000..e8fec38b7a --- /dev/null +++ b/tests/Unit/Classes/form/AbstractFormTest.php @@ -0,0 +1,157 @@ +<?php +/** + * Copyright since 2007 PrestaShop SA and Contributors + * PrestaShop...
[ "Abstract Form > Validate min length with data set #0", "Abstract Form > Validate min length with data set #1", "Abstract Form > Validate min length with data set #2", "Abstract Form > Validate min length with data set #3", "Abstract Form > Validate min length with data set #4", "Abstract Form > Validate ...
[ "Abstract Bulk Command Handler > It throws invalid argument exception when unsupported type is provided", "Abstract Bulk Command Handler > It stops on first error when exception is not instance of exception to catch", "Abstract Bulk Command Handler > It does not stop looping and throws bulk command exception wh...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=/tmp/composer", "mkdir -p $COMPOSER_HOME", "composer install --no-interaction --ignore-platform-reqs --quiet" ], "log_parser": "parse_log_phpunit", "test_cmd": "php -d date.timezone=UTC ./vendor/phpunit/p...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/PrestaShop/PrestaShop/blob/develop/...
e687020a87ec08466c941878552ee7008ff59c2f
2020-03-05 16:31:16
docker.io/swerebenchv2/ontodev-robot:646-e687020
ontodev__robot-646
Method: ExportOperation.createExportTable(OWLOntology ontology, IOHelper ioHelper, List<String> columnNames, Map<String, String> options) Location: org.obolibrary.robot.ExportOperation Inputs: - ontology – the OWL ontology to be exported. - ioHelper – helper for IRI‑label resolution and IRI handling. - columnNames...
java
BSD-3-Clause
diff --git a/CHANGELOG.md b/CHANGELOG.md index 259d9759..4028a548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- Add [`export`] command [#481] +- Add JSON format to [`export`] in [#645] +- ...
Add Excel format to export Resolves #637 - [x] `docs/` have been added/updated - [x] tests have been added/updated - [x] `mvn verify` says all tests pass - [x] `mvn site` says all JavaDocs correct - [x] `CHANGELOG.md` has been updated Add excel/`xlsx` format to export. Support for cell styling for when we re...
Export to Excel This is one part of #629. I would like revisions in #636 to use this feature, and there's code on the `validate` branch as a starting point. Excel output should be similar to HTML table output. It should support comments and background colours on each Cell.
ontodev/robot
diff --git a/robot-core/src/test/java/org/obolibrary/robot/ExportOperationTest.java b/robot-core/src/test/java/org/obolibrary/robot/ExportOperationTest.java new file mode 100644 index 00000000..a4c42442 --- /dev/null +++ b/robot-core/src/test/java/org/obolibrary/robot/ExportOperationTest.java @@ -0,0 +1,54 @@ +package ...
[ "org.obolibrary.robot.reason.EquivalentClassReasoningModeTest", "org.obolibrary.robot.reason.EquivalentClassReasoningTest", "org.obolibrary.robot.DiffOperationTest", "org.obolibrary.robot.ExportOperationTest", "org.obolibrary.robot.ExtractOperationTest", "org.obolibrary.robot.FilterOperationTest", "org....
[]
{ "base_image_name": "java_11", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "B2", "confidence": 0.86, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
da739ee708279defa9642e91139b0146260862ac
2023-09-27 18:58:03
docker.io/swerebenchv2/cockroachdb-pebble:2949-da739ee
cockroachdb__pebble-2949
Function: ErrCancelledCompaction Location: package pebble Inputs: none Outputs: error – a sentinel error value indicating that a compaction was cancelled by a concurrent excise or ingest‑split operation. Callers can compare using errors.Is(err, pebble.ErrCancelledCompaction). Description: Exported error introduced to a...
go
BSD-3-Clause
diff --git a/compaction.go b/compaction.go index 530e160b..47abc977 100644 --- a/compaction.go +++ b/compaction.go @@ -32,7 +32,10 @@ import ( ) var errEmptyTable = errors.New("pebble: empty table") -var errCancelledCompaction = errors.New("pebble: compaction cancelled by a concurrent operation, will retry compacti...
metamorphic: Ignore ErrCancelledCompaction in background errors Previously, if we cancelled a compaction due to an excise or ingest-split, the resultant error would error out the metamorphic test as it wasn't ignored in the metamorphic test's EventListener. This change updates the ignore rule in the metamorphic test...
metamorphic: TestMeta failed [compaction cancelled by a concurrent operation] I think the metamorphic tests need to be adjusted to tolerate background errors. ``` === NAME TestMeta/execution/random-005 meta.go:218: ===== SEED ===== 1695839048661996000 ===== ERR ===== exit ...
cockroachdb/pebble
diff --git a/metamorphic/test.go b/metamorphic/test.go index f1ec3794..90d2d27b 100644 --- a/metamorphic/test.go +++ b/metamorphic/test.go @@ -73,7 +73,7 @@ func (t *test) init(h *history, dir string, testOpts *TestOptions) error { // difference between in-memory and on-disk which causes different code paths // and...
[ "TestMeta", "TestMeta/execution", "TestMeta/execution/random-000", "TestMeta/execution/standard-019", "TestMeta/execution/random-026", "TestMeta/execution/standard-022", "TestMeta/execution/standard-007", "TestMeta/execution/random-017", "TestMeta/execution/random-002", "TestMeta/execution/standar...
[]
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
c830b3e6a91b7f1d2486665ed2485aa53319228c
2025-04-24 09:34:14
docker.io/swerebenchv2/sigstore-sigstore-go:465-c830b3e
sigstore__sigstore-go-465
No new interfaces are introduced.
go
Apache-2.0
diff --git a/pkg/root/signing_config.go b/pkg/root/signing_config.go index 1490e14..6842618 100644 --- a/pkg/root/signing_config.go +++ b/pkg/root/signing_config.go @@ -46,6 +46,27 @@ type ServiceConfiguration struct { Count uint32 } +func NewService(s *prototrustroot.Service) Service { + validFor := s.GetValid...
Fix SigningConfig ValidFor when dates are missing Fixes #464: Make sure we handle missing dates in ValidFor protobuf as a special case. The time that we deserialize in that case needs to be 01-01-01 and not the protobuf default 1970-01-01 because we want to be able to check for it with `Time.IsZero()`
Validity periods are handled incorrectly This was found during #457: The handling for ValidFor time ranges is incorrect in multiple places * The code uses `Time.IsZero()` as a proxy for _"was the time stamp value unset in the protobuf?"_ * This is incorrect because IsZero compares to date 01-01-01 whereas the the prot...
sigstore/sigstore-go
diff --git a/pkg/root/signing_config_test.go b/pkg/root/signing_config_test.go index a339d67..e2baa4a 100644 --- a/pkg/root/signing_config_test.go +++ b/pkg/root/signing_config_test.go @@ -760,6 +760,26 @@ func TestSigningConfig_TimestampAuthorityURLs(t *testing.T) { }, }, }, + { + name: "valid, unset en...
[ "TestSigningConfig_TimestampAuthorityURLs", "TestSigningConfig_TimestampAuthorityURLs/valid,_unset_end_date" ]
[ "TestCRLWrapper", "Test_getBundleVersion", "Test_getBundleVersion/mediatype:application/vnd.dev.sigstore.bundle+json;version=0.1", "Test_getBundleVersion/mediatype:application/vnd.dev.sigstore.bundle+json;version=0.2", "Test_getBundleVersion/mediatype:application/vnd.dev.sigstore.bundle+json;version=0.3", ...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
0790e8c7cc4b5d933a034f1a6da1cdc1072c2e01
2020-01-08 23:14:03
docker.io/swerebenchv2/ouranosinc-xclim:339-0790e8c
ouranosinc__xclim-339
Method: ensemble_percentiles(ens: xr.Dataset, values: Tuple[int, int, int] = (10, 50, 90), keep_chunk_size: Optional[bool] = None) Location: xclim/ensembles.py Inputs: - **ens** – an `xarray.Dataset` that contains a `'realization'` dimension (the ensemble axis). - **values** – a tuple of three percentile level...
python
Apache-2.0
diff --git a/HISTORY.rst b/HISTORY.rst index 2da52984..50dd6f92 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,6 +10,7 @@ History * Fixed `ensembles.create_ensemble` errors for builds against xarray master branch. * Reformatted code to make better use of Python3.6 conventions (f-strings and object signatures). * ...
Improvement of ensemble_percentile | Fix of #298 <!--Please ensure the PR fulfills the following requirements! --> <!-- If this is your first PR, make sure to add your details to the AUTHORS.rst! --> ### Pull Request Checklist: - [x] This PR addresses an already opened issue (for bug fixes / features) - This PR...
Optimize/improve xclim ensemble stats utilities There are currently functional versions of the following utilities but they could use improvement / polishing: ```python xclim.utils.utils.create_ensemble() xclim.utils.ensemble_percentiles() xclim.utils.calc_percentiles_simple() xclim.utils.calc_percentiles_blocks(...
Ouranosinc/xclim
diff --git a/tests/test_ensembles.py b/tests/test_ensembles.py index 60f94f58..34aa4aa7 100644 --- a/tests/test_ensembles.py +++ b/tests/test_ensembles.py @@ -137,10 +137,13 @@ class TestEnsembleStats: out1 = ensembles.ensemble_percentiles(ens, values=(25, 75)) assert np.all(out1["tg_mean_p75"] > out1...
[ "tests/test_ensembles.py::TestEnsembleStats::test_calc_perc_dask[False]", "tests/test_ensembles.py::TestEnsembleStats::test_calc_perc_dask[True]", "tests/test_ensembles.py::TestEnsembleStats::test_calc_perc_dask[None]" ]
[ "tests/test_ensembles.py::TestEnsembleStats::test_checktimes", "tests/test_ensembles.py::TestEnsembleStats::test_create_ensemble", "tests/test_ensembles.py::TestEnsembleStats::test_no_time", "tests/test_ensembles.py::TestEnsembleStats::test_calc_perc[False]", "tests/test_ensembles.py::TestEnsembleStats::tes...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.9, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": [...
6632b95497423ed07ddaee8035abed99aaf5a777
2017-02-11 19:41:34
docker.io/swerebenchv2/jlongster-prettier:666-6632b95
jlongster__prettier-666
No new interfaces are introduced.
js
MIT
diff --git a/editors/jetbrains/README.md b/editors/jetbrains/README.md index f75eddde7..1a7ae61f4 100644 --- a/editors/jetbrains/README.md +++ b/editors/jetbrains/README.md @@ -14,6 +14,6 @@ If on the other hand you have `prettier` installed locally, replace the **Progra ### Configure Keymap -Now when you setup **...
Stabilize comments inside of ternaries Now, all the variations of comments in ternaries are printed the same way. Fixes #617
Ternary comments are not stable ```js var inspect = (4 === util.inspect.length ? // node <= 0.8.x function (v, colors) { return util.inspect(v, void 0, void 0, colors); } : // node > 0.8.x function (v, colors) { return util.inspect(v, { colors: colors }); } ); ``` turns into ```js ...
jlongster/prettier
diff --git a/tests/comments/__snapshots__/jsfmt.spec.js.snap b/tests/comments/__snapshots__/jsfmt.spec.js.snap index 063b75f2d..b6c036234 100644 --- a/tests/comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/comments/__snapshots__/jsfmt.spec.js.snap @@ -74,6 +74,32 @@ declare class Foo extends Qux<string> {/* dangli...
[ "comment.js", "dangling_array.js", "if_comments.js", "first_long.js" ]
[ "indent.js", "test.js", "number.js", "brackets.js", "long-line.js", "multiple_standalones.js", "arrow.js", "keys.js", "trailing.js", "new_expression.js", "This.js", "arrows.js", "export.js", "functions.js", "strings.js", "Bar.js", "copyProperties.js", "invariant.js", "lib.js", ...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "B1", "confidence": 0.87, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://jlongster.github.io/prettier/#%7B%22content%22...
66ecc0bd38dc8273f34532cec194a673d9de9808
2020-04-22 08:27:22
docker.io/swerebenchv2/jsonata-js-jsonata:435-66ecc0b
jsonata-js__jsonata-435
No new interfaces are introduced.
js
MIT
diff --git a/src/functions.js b/src/functions.js index e64d5ef..656c4ec 100644 --- a/src/functions.js +++ b/src/functions.js @@ -1671,7 +1671,7 @@ const functions = (() => { var res = lookup(input[ii], key); if (typeof res !== 'undefined') { if (Array.isArray(res)...
rewrite array flattening to avoid RangeError resolves #434 Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Path expression on very large object causes RangeError When mapping over objects that contain a large number of properties (>> 100000), the evaluator throws the js error `RangeError: Maximum call stack size exceeded`. This is a bug in the flattening logic caused by the use of `Array.prototype.push.apply` to join arr...
jsonata-js/jsonata
diff --git a/test/test-suite/groups/flattening/large.json b/test/test-suite/groups/flattening/large.json new file mode 100644 index 0000000..a436972 --- /dev/null +++ b/test/test-suite/groups/flattening/large.json @@ -0,0 +1,16 @@ +[ + { + "expr": "( $data := { 'number': [1..2e5].$string() }; $values := $data...
[ "large.json: ( $data := { 'number': [1..2e5].$string() }; $values := $data.number; $count($values) )" ]
[ "should return promise to results", "should throw", "should handle an undefined value", "should handle a null value", "should handle a value", "should handle a promise", "should process two expressions concurrently", "basic function that returns a thenable", "basic function that returns a thenable, ...
{ "base_image_name": "node_20", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/nodejs/node/issues/27732" ], ...
46201a64c5ee19584e45c27940566776765d11e4
2024-01-29 11:17:23
docker.io/swerebenchv2/cosmwasm-cosmwasm:2008-46201a6
cosmwasm__cosmwasm-2008
Function: SubMsg<T> Location: packages/std/src/results/submessages.rs Inputs: - id: u64 – the identifier chosen by the contract for the submessage. - payload: Binary – arbitrary binary data supplied by the contract; default is empty (`Binary::default()`). This data is forwarded to the `Reply` when the submessage fin...
rust
Apache-2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 805fe4b91..8bfeedb76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to ## [Unreleased] +### Added + +- cosmwasm-std: Add new field `payload` to `SubMsg` and `Reply`. This is binary + data the contract can set in a contract spec...
Add payload field to SubMsg and Reply Closes #1909 - [x] Implementation - [x] CHANGELOG entry - [x] MIGRATING entry
`Reply` should contain the original payload from the triggering `SubMsg` ### Motivation We want to send a ReplyAlways SubMsg. If and only if that message fails, we want to send a different message with the same context. The first message has the payload `ExecuteMsg::TryThis{ important_context: Context }`. If and...
CosmWasm/cosmwasm
diff --git a/contracts/ibc-reflect/tests/integration.rs b/contracts/ibc-reflect/tests/integration.rs index 7c6962106..ecbb60cb8 100644 --- a/contracts/ibc-reflect/tests/integration.rs +++ b/contracts/ibc-reflect/tests/integration.rs @@ -91,11 +91,13 @@ fn connect( res.events[0] ); let id = res.messag...
[ "results::submessages::tests::sub_msg_new_works", "results::submessages::tests::reply_deserialization_works", "results::submessages::tests::sub_msg_reply_always_works", "results::submessages::tests::sub_msg_reply_never_works", "results::submessages::tests::sub_msg_with_gas_limit_works", "results::submessa...
[ "ed25519::tests::test_cosmos_ed25519_batch_verify_empty_works", "ed25519::tests::test_cosmos_ed25519_batch_verify_one_msg_zero_sigs_pubkeys_works", "ed25519::tests::test_cosmos_ed25519_batch_verify_one_pubkey_zero_msgs_sigs_works", "ed25519::tests::test_cosmos_ed25519_verify", "errors::tests::batch_err_work...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.94, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
40fff1b45c4323abe2dd5d44f7d212d75172f8bc
2019-06-06 15:27:54
docker.io/swerebenchv2/neet-masto.js:55-40fff1b
neet__masto.js-55
Method: Masto.fetchAccountIdentityProofs(id: string) Location: src/client/masto.ts Inputs: - **id** (string): the ID of the account whose identity proofs are being requested. Outputs: - **Promise\<IdentityProof[]>** – resolves with an array of `IdentityProof` objects returned by the `/api/v1/accounts/{id}/ide...
ts
MIT
diff --git a/src/client/masto.ts b/src/client/masto.ts index a1b3d7f8..7a0e2854 100644 --- a/src/client/masto.ts +++ b/src/client/masto.ts @@ -1,4 +1,8 @@ -import { Account, AccountCredentials } from '../entities/account'; +import { + Account, + AccountCredentials, + IdentityProof, +} from '../entities/account'; im...
Support Identity proofs Ref: https://github.com/tootsuite/mastodon/pull/10297 Closes #53
Add `identitiy_proofs` API Add identity proofs API on `GET /api/v1/accounts/$id/identity_proofs`
neet/masto.js
diff --git a/src/client/__tests__/__snapshots__/masto.spec.ts.snap b/src/client/__tests__/__snapshots__/masto.spec.ts.snap index 77ed8a4e..02e6b0d6 100644 --- a/src/client/__tests__/__snapshots__/masto.spec.ts.snap +++ b/src/client/__tests__/__snapshots__/masto.spec.ts.snap @@ -434,6 +434,22 @@ exports[`Masto fetchAcco...
[ "login", "streamUser", "streamPublicTimeline", "streamCommunityTimeline", "streamTagTimeline", "streamLocalTagTimeline", "streamListTimeline", "streamDirectTimeline", "fetchAccessToken with authorization code", "fetchAccessToken with password", "revokeAccessToken", "fetchAccount", "fetchAcco...
[ "streamingApiUrl has been set if construct with streamingApiUrl", "version has been set if construct with version", "accessToken has been set if construct with accessToken", "this._uri accessor works", "this._streamingApiUrl accessor works", "transform JSON to JS object", "return raw data when response ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "npm install --prefer-offline --no-audit --quiet" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --coverage --runInBand --config=jest.config.js --verbose --colors=false" }
{ "llm_metadata": { "code": "B2", "confidence": 0.78, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
8e8b36e3792701b50cbcafc77a615dce97cc98b4
2023-04-21 21:07:01
docker.io/swerebenchv2/dart-lang-dartdoc:3393-8e8b36e
dart-lang__dartdoc-3393
Method: DartdocTestBase.bootPackageWithReexportedLibrary(this, String reexportedContent, String libraryContent, {bool reexportPrivate = false, List<String> show = const [], List<String> hide = const []}) Location: test/dartdoc_test_base.dart Inputs: - **reexportedContent** – Dart source code string that will beco...
dart
BSD-3-Clause
diff --git a/lib/src/model/container_member.dart b/lib/src/model/container_member.dart index e91c1f7a8d..49d4b03b27 100644 --- a/lib/src/model/container_member.dart +++ b/lib/src/model/container_member.dart @@ -43,11 +43,8 @@ mixin ContainerMember on ModelElement implements EnclosedElement { as Container?; ...
Fixes #3325. Also introduces a new test helper for reflective tests that should make it easier to test canonicalization edge cases. There were some shortcuts in the code here that I do not think actually needed to be there given the current implementation -- they may have been parts of older extension method code t...
canonicalization is sometimes failing to return any results for links to extension methods I have an extension `CoreChecks` which is in scope, that extension defines a method `equals`. I hoped that a doc comment `/// [CoreChecks.equals]` would have a link to the docs for `equals`, but it renders as a code block instead...
dart-lang/dartdoc
diff --git a/test/dartdoc_test_base.dart b/test/dartdoc_test_base.dart index ad4dca0909..d4a492fe06 100644 --- a/test/dartdoc_test_base.dart +++ b/test/dartdoc_test_base.dart @@ -11,6 +11,16 @@ import 'package:meta/meta.dart'; import 'src/test_descriptor_utils.dart' as d; import 'src/utils.dart'; +/// Exception thr...
[ "Renderer renders a non-bool variable node, escaped", "ExtensionMethodsTest | test_reexportWithShow", "ExtensionMethodsTest | test_reexportWithHide", "ExtensionMethodsTest | test_reexportFull" ]
[ "Basic comment reference lookups Check that basic lookups work", "Basic comment reference lookups Check that filters work", "Basic comment reference lookups Check that allowTree works", "Basic comment reference lookups Check that grandparent overrides work", "StringTrie tests test partials", "StringTrie t...
{ "base_image_name": "dart_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
b30dda7ca39ee7b350ea5e833bf1be0dbfd571ea
2022-07-07 04:28:24
docker.io/swerebenchv2/mosn-layotto:701-b30dda7
mosn__layotto-701
Function: closeConn(conn utils.ZKConnection, expireInSecond int32) Location: components/lock/zookeeper/zookeeper_lock.go Inputs: - **conn**: utils.ZKConnection – an established Zookeeper connection that should be gracefully closed after the lock’s expiration period. - **expireInSecond**: int32 – the lock’s TTL in secon...
go
Apache-2.0
diff --git a/components/lock/zookeeper/zookeeper_lock.go b/components/lock/zookeeper/zookeeper_lock.go index 9ea22296..18c060f0 100644 --- a/components/lock/zookeeper/zookeeper_lock.go +++ b/components/lock/zookeeper/zookeeper_lock.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or...
fix: ut unstable of zk lock <!-- Thanks for sending a pull request! Read contributing.md before commit pull request. --> **What this PR does**: fix ut unstable of zookeeper lock, wait connection to close. **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fi...
fix unstable ut; 修复不稳定的单测 <!-- Please only use this template for submitting enhancement requests --> **What would you like to be added**: The UT in `components/lock/zookeeper/zookeeper_lock_test.go` is not stable. Sometimes some lines of `components/lock/zookeeper/zookeeper_lock.go` are not covered in the UT and wi...
mosn/layotto
diff --git a/components/lock/zookeeper/zookeeper_lock_test.go b/components/lock/zookeeper/zookeeper_lock_test.go index 4246110f..7ccfc4b2 100644 --- a/components/lock/zookeeper/zookeeper_lock_test.go +++ b/components/lock/zookeeper/zookeeper_lock_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIN...
[ "TestZookeeperLock_ALock_AUnlock", "TestZookeeperLock_ALock_BUnlock", "TestZookeeperLock_ALock_BLock_AUnlock_BLock_BUnlock", "TestActuator", "TestEndpoint_WhenNoIndicator", "TestEndpoint_Handle", "TestGetFileSize", "TestGetFileSize/TestGetFileSize", "TestCalculateMd5", "TestGetSystemUsageRate", ...
[ "TestNewClient", "TestNewClient/no_arg_for_with_port", "TestNewClient/no_arg_for_with_address", "TestNewClient/new_client_closed_with_empty_token", "TestNewClient/new_client_with_trace_ID", "TestSaveConfiguration", "TestSaveConfiguration/save_configuration", "TestGetConfiguration", "TestGetConfigura...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/mosn/layotto/pull/678#issuecomment-11...
f7c77fe69c4c9223c46ed9ff594acef28834723d
2017-08-25 10:12:22
docker.io/swerebenchv2/infernojs-inferno:1193-f7c77fe
infernojs__inferno-1193
No new interfaces are introduced.
js
MIT
diff --git a/packages/inferno-server/src/utils.ts b/packages/inferno-server/src/utils.ts index d98832fde..57b88d821 100644 --- a/packages/inferno-server/src/utils.ts +++ b/packages/inferno-server/src/utils.ts @@ -3,8 +3,8 @@ */ /** TypeDoc Comment */ export function escapeText(text: string): string { - let result...
Issue #1191: Double text in SSR when started with quote symbols Closes #1191 Fixed and added test for this issue
Double text in SSR when started with quote symbols **Observed Behaviour** Trying this code: ```js const InfernoServer = require("inferno-server") const createElement = require("inferno-create-element") InfernoServer.renderToString(createElement('div', {}, '"test')) ``` Gives: ```html <div>"test&quot;test</d...
infernojs/inferno
diff --git a/packages/inferno-server/__tests__/creation.spec.jsx b/packages/inferno-server/__tests__/creation.spec.jsx index 647de8198..f43d3122c 100644 --- a/packages/inferno-server/__tests__/creation.spec.jsx +++ b/packages/inferno-server/__tests__/creation.spec.jsx @@ -46,6 +46,11 @@ describe("SSR Creation (JSX)", (...
[ "should render text with escaped symbols" ]
[ "props override context", "store should be available", "inject merges (and overrides) props", "support static hoisting, wrappedComponent and wrappedInstance", "warning is printed when attaching contextTypes to HOC", "propTypes and defaultProps are forwarded", "warning is not printed when attaching propT...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://npm.runkit.com/" ], "intent_completeness...
636deb86488cd93945df6a7a1ec4d26434f25af2
2023-02-09 10:31:01
docker.io/swerebenchv2/auth0-node-auth0:785-636deb8
auth0__node-auth0-785
Method: UsersManager.deleteAllAuthenticators(params, cb) Location: src/management/UsersManager.js – instance method of the UsersManager class. Inputs: - **params** (object) – must contain an **id** property identifying the user. - `id` must be a non‑null string; otherwise an `ArgumentError` is thrown. - **cb...
ts
MIT
diff --git a/src/management/UsersManager.js b/src/management/UsersManager.js index 0d7e22383..ee247787a 100644 --- a/src/management/UsersManager.js +++ b/src/management/UsersManager.js @@ -85,6 +85,13 @@ class UsersManager extends BaseManager { */ this.permissions = this._getRestClient('/users/:id/permission...
Add DELETE /api/v2/users/{id}/authenticators ### Changes fixes #782 ### References https://auth0.com/docs/api/management/v2#!/Users/delete_authenticators https://github.com/auth0/auth0-python/pull/301 ### Testing - [x] This change adds unit test coverage ### Checklist - [x] I have read the [Auth0...
[ManagementClient] Delete All User Authenticators ### Describe the problem you'd like to have solved The [Delete All Authenticators](https://auth0.com/docs/api/management/v2#!/Users/delete_authenticators) endpoint doesn't seem to be available in the `ManagementClient` ### Describe the ideal solution Make it po...
auth0/node-auth0
diff --git a/test/management/users.tests.js b/test/management/users.tests.js index 9c0ab1dea..55a3664a2 100644 --- a/test/management/users.tests.js +++ b/test/management/users.tests.js @@ -1489,6 +1489,71 @@ describe('UsersManager', () => { }); }); + describe('#deleteAllAuthenticators', () => { + let para...
[ "should perform a DELETE request to /api/v2/users/user_id/authenticators" ]
[ "should raise an error when no options object is provided", "should raise an error when the domain is not valid", "should expose an instance of OAuthAuthenticator", "should expose an instance of DatabaseAuthenticator", "should expose an instance of PasswordlessAuthenticator", "should expose an instance of...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install --silent" ], "log_parser": "parse_log_js_4", "test_cmd": "npx mocha --reporter spec './test/**/*.tests.js'" }
{ "llm_metadata": { "code": "B2", "confidence": 0.88, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://auth0.com/docs/api/management/v2#!/Users/delet...
a97830028841b1bf2766d5bc2aa1d09e14383e14
2024-10-17 14:04:46
docker.io/swerebenchv2/digitalocean-doctl:1593-a978300
digitalocean__doctl-1593
No new interfaces are introduced.
go
Apache-2.0
diff --git a/args.go b/args.go index fee16266..416e3f1c 100644 --- a/args.go +++ b/args.go @@ -54,6 +54,8 @@ const ( ArgAppLogFollow = "follow" // ArgAppLogTail tail logs. ArgAppLogTail = "tail" + // ArgNoPrefix no prefix to json logs + ArgNoPrefix = "no-prefix" // ArgAppForceRebuild forces a deployment rebuild...
fix(app): #1536 fix logging format to work with pino-pretty ## Summary This PR introduces a new --output-json flag for the RunAppsGetLogs function in the DigitalOcean CLI (doctl). When this flag is used, the logs are outputted in JSON format without the service name and timestamp prefix. ### Changes Made - Added -...
doctl apps logs doesn't output JSON **What is the problem this feature would solve? Please describe.** On our apps services, we use JSON logging (pino) and it'd be really helpful to be able to do `doctl apps logs <id> -f | pino-pretty` but I can't because the log lines include the service name and the log timestamp,...
digitalocean/doctl
diff --git a/integration/apps_test.go b/integration/apps_test.go index 3f72d776..531df000 100644 --- a/integration/apps_test.go +++ b/integration/apps_test.go @@ -923,7 +923,7 @@ var _ = suite("apps/get-logs", func(t *testing.T, when spec.G, it spec.S) { wsServer *httptest.Server upgrader = websocket.Upgrader{} ...
[ "TestRun", "TestRun/doctl", "TestRun/doctl/apps/get-logs/removes_the_prefix_from_an_app's_logs" ]
[ "TestRun/doctl/registry/logout/removes_the_registry_from_the_docker_config.json_file", "TestRun/doctl/compute/load-balancer/add-forwarding-rules/all_required_flags_are_passed/attaches_forwarding_rules_to_a_load_balancer", "TestRun/doctl/compute/load-balancer/add-droplets/all_required_flags_are_passed/attaches_d...
{ "base_image_name": "go_1.22.12", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.22.1", "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.87, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
f33f00e5d0add6b17c3a51407720710a58bacd0b
2020-10-20 23:18:59
docker.io/swerebenchv2/randombit-botan:2425-f33f00e
randombit__botan-2425
No new interfaces are introduced.
cpp
BSD-2-Clause
diff --git a/src/lib/pubkey/ec_group/point_gfp.cpp b/src/lib/pubkey/ec_group/point_gfp.cpp index c78763829..6c2302bd6 100644 --- a/src/lib/pubkey/ec_group/point_gfp.cpp +++ b/src/lib/pubkey/ec_group/point_gfp.cpp @@ -427,6 +427,12 @@ void PointGFp::force_all_affine(std::vector<PointGFp>& points, return; }...
Fix ECC multiexponentiation when two points are related If the points are related by x = -{1,2,3}y then an infinity was silently produced, causing validation failures. Fixes #2424
PointGFp_Multi_Point_Precompute gives wrong result when an infinity point occurs in the precomputation We were recently contacted by @guidovranken, who alerted us that our signature verification function in https://github.com/trezor/trezor-firmware/tree/master/crypto accepts the following signature as valid whereas Bot...
randombit/botan
diff --git a/src/tests/data/pubkey/ecdsa_verify.vec b/src/tests/data/pubkey/ecdsa_verify.vec index 2bdf3299b..df3b2a41c 100644 --- a/src/tests/data/pubkey/ecdsa_verify.vec +++ b/src/tests/data/pubkey/ecdsa_verify.vec @@ -54,3 +54,11 @@ Px = 0x6564C83962A17949120C5E0E65290527A02CC7B635A829B33C083A09AAF67A12 Py = 0xBFEC...
[ "AES-128 ran 17235 tests in 31.97 msec all ok", "AES-192 ran 20250 tests in 36.95 msec all ok", "AES-256 ran 23130 tests in 42.52 msec all ok", "Blowfish ran 930 tests in 7.33 msec all ok", "DES ran 4815 tests in 5.73 msec all ok", "GOST-28147-89(R3411_CryptoPro) ran 150 tests in 0.25 msec all ok", "MIS...
[ "ARIA-128 ran 30 tests in 0.05 msec all ok", "ARIA-192 ran 30 tests in 0.04 msec all ok", "ARIA-256 ran 30 tests in 0.05 msec all ok", "CAST-128 ran 720 tests in 0.92 msec all ok", "CAST-256 ran 195 tests in 0.29 msec all ok", "Camellia-128 ran 90 tests in 0.12 msec all ok", "Camellia-192 ran 45 tests i...
{ "base_image_name": "c", "docker_specs": null, "install": [ "./configure.py --prefix=/usr/local --disable-shared", "make -j$(nproc)" ], "log_parser": "parse_log_cpp_v3", "test_cmd": "./botan-test --verbose --test-threads=1" }
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/randombit/botan/issues/2424" ],...
eed1b809a954778baed8117abd72efcd39c9c0c8
2024-12-01 12:11:36
docker.io/swerebenchv2/azat-io-eslint-plugin-perfectionist:406-eed1b80
azat-io__eslint-plugin-perfectionist-406
No new interfaces are introduced.
ts
MIT
diff --git a/utils/compare.ts b/utils/compare.ts index cade523..38dcf0c 100644 --- a/utils/compare.ts +++ b/utils/compare.ts @@ -59,7 +59,6 @@ export let compare = <T extends SortingNode>( } else if (options.type === 'natural') { let naturalCompare = createNaturalCompare({ locale: options.locales.toStrin...
fix: fixes `natural` sort ignoring `order` Fixes #405. ### Description One line fix. The issue comes from the fact that the sort order is provided to the `natural-orderby` library, while an additional sort by order is done at the end, cancelling it. https://github.com/azat-io/eslint-plugin-perfectionist/blo...
Bug: `natural` sort ignores `order` ### Describe the bug Please see the self-explicit code example below. ### Code example Configuration: ```ts { type: 'natural', order: 'desc' } ``` Code: ```ts interface Test { a b } ``` No error is reported. ### ESLint version 8.57.0 ### ESLint Plu...
azat-io/eslint-plugin-perfectionist
diff --git a/test/compare.test.ts b/test/compare.test.ts new file mode 100644 index 0000000..245118a --- /dev/null +++ b/test/compare.test.ts @@ -0,0 +1,140 @@ +import { describe, expect, it } from 'vitest' + +import type { SortingNode } from '../typings' + +import { compare } from '../utils/compare' + +describe('compa...
[ "test/compare.test.ts > compare > natural > sorts by order desc" ]
[ "test/clean-groups-option.test.ts > get-options-with-cleaned-groups > get options with cleaned groups", "test/get-settings.test.ts > get-settings > throws an error when an invalid setting is provided", "test/get-settings.test.ts > get-settings > accepts official settings provided", "test/validate-groups-confi...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0", "pnpm install --frozen-lockfile --reporter=silent" ], "log_parser": "parse_log_js_4", "test_cmd": "pnpm test:unit --reporter=verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://perfectionist.dev", "https://github.com/az...
4f8ae493f64d944a30672ce64397df4a743f297a
2020-12-27 14:22:00
docker.io/swerebenchv2/xknx-xknx:544-4f8ae49
xknx__xknx-544
Method: Connect.__init__(self, xknx: XKNX, udp_client: UDPClient, route_back: bool = False) Location: xknx/io/connect.py Inputs: - xknx: XKNX instance providing core functionality. - udp_client: UDPClient handling UDP communication. - route_back: Boolean flag (default False) indicating whether the KNXnet/IP server...
python
MIT
diff --git a/changelog.md b/changelog.md index b8648063..eefef6fa 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,11 @@ ## Unreleased changes +### New Features + +- Add new optional config `route_back` for connections to be able to work behind NAT. +- Read env vars after reading config file to allow dynami...
Route back <!-- You are awesome! Thanks for contributing to our project! Please, DO NOT DELETE ANY TEXT from this template!. --> ## Description <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required f...
Can't connect to Knx gateway behind NAT on VM I am trying to connect to a knx ip gateway from a homeassistant vm but get a connection error. The vm is behind a NAT on the host. KNX Gateway IP: 192.168.2.191 Host IP: 192.168.2.249 VM IP: 192.168.1.11 My homeassistant configuration <pre>Tunneling: Host: '1...
XKNX/xknx
diff --git a/test/config_tests/config_v1_test.py b/test/config_tests/config_v1_test.py index d0d224fe..f428ea6c 100644 --- a/test/config_tests/config_v1_test.py +++ b/test/config_tests/config_v1_test.py @@ -1,5 +1,6 @@ """Unit test for Configuration logic.""" import asyncio +import os import unittest from unittest....
[ "test/config_tests/config_v1_test.py::TestConfig::test_config_cnx_from_env", "test/config_tests/config_v1_test.py::TestConfig::test_config_cnx_route_back", "test/config_tests/config_v1_test.py::TestConfig::test_config_general_from_env", "test/io_tests/connect_test.py::TestConnect::test_connect", "test/io_te...
[ "test/config_tests/config_v1_test.py::TestConfig::test_config_binary_sensor", "test/config_tests/config_v1_test.py::TestConfig::test_config_climate_controller_status_state", "test/config_tests/config_v1_test.py::TestConfig::test_config_climate_operation_mode", "test/config_tests/config_v1_test.py::TestConfig:...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
6476d1e0ede3ef4ba225e532dc35d865b0906b08
2022-03-04 19:30:39
docker.io/swerebenchv2/fortio-fortio:516-6476d1e
fortio__fortio-516
Method: RunHTTPTest(o *HTTPRunnerOptions) (*HTTPRunnerResults, error) Location: fhttp/httprunner.go Inputs: - **o** – pointer to `HTTPRunnerOptions`; the embedded `HTTPOptions` may have the new `SequentialWarmup` bool set to control warm‑up mode (parallel (default) or sequential). Outputs: - Pointer to `HTTPRunnerRes...
go
Apache-2.0
diff --git a/.circleci/config.yml b/.circleci/config.yml index 21edd4c..86551d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ version: 2 defaultEnv: &defaultEnv docker: # specify the version - - image: docker.io/fortio/fortio.build:v37 + - image: docker.io/fortio/fo...
fix the warm up race/crash and add `-sequential-warmup` option - [x] reproduce issue #514 with a test - [x] actual fix from #515 (thanks @howardjohn ) - [x] make the parallel vs sequential warmup configurable (`-sequential-warmup` flag) Fixes #514
Data race with parallel warmup and standard client (was Fortio crash when payload added in UI) **Bug Description** Adding Payload through the UI causes fortio to crash when increasing the number of threads. ***How to Reproduce*** 1. Launch fortio v1.21.0 on a k8s cluster. Expose outside cluster via Ingress/Virtual...
fortio/fortio
diff --git a/Dockerfile.test b/Dockerfile.test index 00e7153..4465a70 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,5 +1,5 @@ # Getting the source tree ready for running tests (sut) -FROM docker.io/fortio/fortio.build:v37 +FROM docker.io/fortio/fortio.build:v38 WORKDIR /go/src/fortio.org COPY . fortio RU...
[ "TestMultiProxy", "TestMultiProxyErrors", "TestGetHeaders", "TestNewHTTPRequest", "TestMultiInitAndEscape", "TestSchemeCheck", "TestFoldFind1", "TestFoldFind2", "TestASCIIToUpper", "TestParseDecimal", "TestParseChunkSize", "TestDebugSummary", "TestParseStatus", "TestParseDelay", "TestGen...
[]
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "http://httpbin.myingress.com/post" ], "intent_...
d5626018074a3f3a7c284500ce9cb3cdfa28f8af
2023-04-27 01:45:24
docker.io/swerebenchv2/willowtreeapps-assertk:457-d562601
willowtreeapps__assertk-457
Method: Assert<CharSequence>.containsMatch(self, regex: Regex) Location: assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt Inputs: regex – a `Regex` defining the pattern that should appear somewhere inside the examined `CharSequence`. Outputs: Returns the same `Assert<CharSequence>` for chaining. Throws ...
kotlin
MIT
diff --git a/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt b/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt index 89c18394..01a71147 100644 --- a/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt +++ b/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt @...
Unlike 'contains' this is a regex rather than a literal. Unlike 'matches' this looks for a subset of the charsequence to match rather than the entire contents. Closes #452
New assertion: `containsMatch` A mixture of `contains` and `match`, but only looks for a match within the string rather than against the whole thing. Implementation is basically `matchesPredicate(regex::containsMatchIn)`, but it's nice to not have to do that every time you want to switch from an exact `contains` to ...
willowtreeapps/assertk
diff --git a/assertk/src/commonTest/kotlin/test/assertk/assertions/CharSequenceTest.kt b/assertk/src/commonTest/kotlin/test/assertk/assertions/CharSequenceTest.kt index 7ec39104..cddd8754 100644 --- a/assertk/src/commonTest/kotlin/test/assertk/assertions/CharSequenceTest.kt +++ b/assertk/src/commonTest/kotlin/test/asse...
[ "isNotEqualTo_same_nullable_string_fails[jvm] (test.assertk.assertions.JavaNullableStringTest)", "isNotEqualTo_different_string_passes[jvm] (test.assertk.assertions.JavaNullableStringTest)", "isEqualTo_same_nullable_string_passes[jvm] (test.assertk.assertions.JavaNullableStringTest)", "isEqualTo_different_str...
[]
{ "base_image_name": "kotlin-jdk-21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
44172506200effa28022916c3827e066342ce5ce
2019-11-09 01:28:40
docker.io/swerebenchv2/jnwatson-py-lmdb:222-4417250
jnwatson__py-lmdb-222
Function: main(argv) Location: lmdb/tool.py Inputs: argv – a list of command‑line argument strings (e.g., what would normally be ``sys.argv[1:]``). The caller must supply the argument list explicitly; it is parsed by the tool’s ``argparse`` parser. Outputs: Returns the tool’s exit status (typically ``0`` for success) o...
c
custom-check-github
diff --git a/lmdb/tool.py b/lmdb/tool.py index ff43d64..d3b7ef8 100755 --- a/lmdb/tool.py +++ b/lmdb/tool.py @@ -251,7 +251,7 @@ def cmd_copyfd(opts, args): die('"copyfd" command takes no arguments (see --help)') try: - fp = os.fdopen(opts.out_fd, 'w', 0) + os.fdopen(opts.out_fd, 'w', 0) ...
Fix lmdb.tool database encoding for Python3 Resolves #219. Fix missing bytes encoding in parameter to rewrite command and the default --env option Add regression tests for both.
rewrite command does not encode database name ### Affected Operating Systems * Linux (nothing else tested) ### Affected py-lmdb Version 0.95 ### py-lmdb Installation Method sudo pip install lmdb ### Using bundled or distribution-provided LMDB library? Bundled, I think. I have Arch Linux's ...
jnwatson/py-lmdb
diff --git a/tests/testlib.py b/tests/testlib.py index 418ac91..7c06b11 100644 --- a/tests/testlib.py +++ b/tests/testlib.py @@ -29,6 +29,7 @@ import stat import sys import tempfile import traceback +import unittest try: import __builtin__ @@ -50,6 +51,10 @@ def cleanup(): atexit.register(cleanup) +clas...
[ "tests/tool_test.py::ToolTest::test_cmd_get PASSED [ 72%]", "tests/tool_test.py::ToolTest::test_cmd_rewrite PASSED [ 73%]", "======================== 178 passed, 1 warning in 0.87s ========================" ]
[ "tests/crash_test.py::CrashTest::testCloseWithTxn PASSED [ 0%]", "tests/crash_test.py::CrashTest::testDbCloseActiveIter PASSED [ 1%]", "tests/crash_test.py::CrashTest::testDoubleClose PASSED [ 1%]", "tests/crash_test.py::CrashTest::testOldCrash PASSED ...
{ "base_image_name": "c", "docker_specs": null, "install": [ "python3 -m venv venv", "sed -i \"s/if sys.version\\[:3\\] < '2.7' or (sys.version_info\\[0\\] == 3 and sys.version\\[:3\\] < '3.4'):/if sys.version_info < (2, 7) or (sys.version_info\\[0\\] == 3 and sys.version_info < (3, 4)):/g\" setup.py", ...
{ "llm_metadata": { "code": "A", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a8c19464842f9ac467e8e74eae16cc07c6651c4c
2024-07-28 15:49:25
docker.io/swerebenchv2/nats-io-nats-server:5709-a8c1946
nats-io__nats-server-5709
Method: fileStore.checkSkipFirstBlock(filter string, wc bool) (int, int) Location: server/filestore.go (method of the private *fileStore type) Inputs: - filter: string – a subject filter; when equal to the internal constant _EMPTY_ it is treated as a wildcard filter covering all subjects. - wc: bool – indicates whether...
go
Apache-2.0
diff --git a/server/filestore.go b/server/filestore.go index b034ac77..6c2a902f 100644 --- a/server/filestore.go +++ b/server/filestore.go @@ -2610,6 +2610,11 @@ func (fs *fileStore) FilteredState(sseq uint64, subj string) SimpleState { // This is used to see if we can selectively jump start blocks based on filter sub...
Fix 'checkSkipFirstBlock' with '_EMPTY_' filter As mentioned in https://github.com/nats-io/nats-server/issues/5705#issuecomment-2254268218, an issue was introduced starting from 2.10.17. A call to `fs.numFilteredPending(filter, &ss)` was replaced with `nbi := fs.checkSkipFirstBlock(filter, wc)`. But the latter would...
Consumer dropping messages in 2.10.17 / 2.10.18 ### Observed behavior I have an example where there are two streams (full example below in **Steps to reproduce**): * A **workqueue stream** (TEST_WORKQUEUE), populated with numbers from 0 to 129999. * A stream of **active work items** (TEST_ACTIVE_WORK_ITEMS), whe...
nats-io/nats-server
diff --git a/server/filestore_test.go b/server/filestore_test.go index 371b7256..0542781e 100644 --- a/server/filestore_test.go +++ b/server/filestore_test.go @@ -7349,6 +7349,28 @@ func TestFileStoreCheckSkipFirstBlockBug(t *testing.T) { require_NoError(t, err) } +// https://github.com/nats-io/nats-server/issues/...
[ "TestFileStoreCheckSkipFirstBlockEmptyFilter" ]
[ "TestFileStoreBasics", "TestFileStoreBasics/None-None", "TestFileStoreBasics/None-S2", "TestFileStoreBasics/AES-GCM-None", "TestFileStoreBasics/AES-GCM-S2", "TestFileStoreBasics/ChaCha20-Poly1305-None", "TestFileStoreBasics/ChaCha20-Poly1305-S2", "TestFileStoreMsgHeaders", "TestFileStoreMsgHeaders/N...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.10", "helm_version": null, ...
{ "llm_metadata": { "code": "B5", "confidence": 0.86, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4980b2f9e84b631c3cbe64645206eedd75298071
2019-12-10 00:24:14
docker.io/swerebenchv2/segmentio-encoding:19-4980b2f
segmentio__encoding-19
Method: Decoder.Decode(v interface{}) error Location: package json, type Decoder Inputs: v – pointer to a value where the decoded JSON will be stored; the decoder must have been created with NewDecoder and may have buffered data. Outputs: error – returns a *SyntaxError when the input contains malformed JSON (e.g., a tr...
go
MIT
diff --git a/Makefile b/Makefile index 4134c4a..a95e7c7 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ test: go test -v -cover ./json go test -v -cover ./iso8601 go run ./json/bugs/issue11/main.go + go run ./json/bugs/issue18/main.go $(benchcmp): GO111MODULE=off go install golang.org/x/tools/cmd/benc...
fix issue 18 Fixes #18 Fixes the issue where we had an infinite loop in the decode when parsing some invalid JSON.
Decoder hangs when decoding invalid json ```go func TestHangingDecoder(t *testing.T) { b := []byte(`{ "userId": "blah", }`) d := NewDecoder(bytes.NewReader(b)) var a struct { UserId string `json:"userId"` } err := d.Decode(&a) if err == nil { t.Fatal("should have errored") } } ``` This...
segmentio/encoding
diff --git a/json/json_test.go b/json/json_test.go index f651615..95dab27 100644 --- a/json/json_test.go +++ b/json/json_test.go @@ -1325,3 +1325,30 @@ func TestGithubIssue16(t *testing.T) { }) } } + +func TestGithubIssue18(t *testing.T) { + // https://github.com/segmentio/encoding/issues/18 + b := []byte(`{ + "u...
[ "TestGithubIssue18", "TestParseString", "TestParseString/\"\"", "TestParseString/\"1234567890\"", "TestParseString/\"Hello_World!\"", "TestParseString/\"Hello\\\"World!\"", "TestParseString/\"\\\\\"", "TestAppendToLower", "TestTokenizer", "TestTokenizer/null", "TestTokenizer/true", "TestTokeni...
[ "TestMarshal", "TestMarshalBadUTF8", "TestMarshalNumberZeroVal", "TestMarshalEmbeds", "TestUnmarshal", "TestUnmarshalMarshal", "TestNumberAccessors", "TestLargeByteSlice", "TestUnmarshalInterface", "TestUnmarshalPtrPtr", "TestEscape", "TestErrorMessageFromMisusedString", "TestRefUnmarshal", ...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
1d8d0a0b0359ae6da5b99fd3fa8cb016b74b8a6c
2024-10-04 12:32:44
docker.io/swerebenchv2/googleapis-python-bigquery:2039-1d8d0a0
googleapis__python-bigquery-2039
Function: determine_requested_streams(preserve_order: bool, max_stream_count: Union[int, None]) -> int Location: google.cloud.bigquery._pandas_helpers Inputs: - preserve_order (bool): if True, order must be preserved; this forces a single stream and overrides max_stream_count. - max_stream_count (int | None): optional ...
python
Apache-2.0
diff --git a/google/cloud/bigquery/_pandas_helpers.py b/google/cloud/bigquery/_pandas_helpers.py index 210ab487..bf7d10c0 100644 --- a/google/cloud/bigquery/_pandas_helpers.py +++ b/google/cloud/bigquery/_pandas_helpers.py @@ -21,13 +21,14 @@ from itertools import islice import logging import queue import warnings -...
feat: updates to allow users to set max_stream_count Adds a function `determine_requested_streams()` to compare `preserve_order` and the new argument `max_stream_count` to determine how many streams to request. ``` preserve_order (bool): Whether to preserve the order of streams. If True, this limits the number...
Make `max_stream_count` configurable when using Bigquery Storage API Currently, for API that can use BQ Storage Client to fetch data like `to_dataframe_iterable` or `to_arrow_iterable`, the client library always uses the maximum number of read streams recommended by BQ server. https://github.com/googleapis/python-b...
googleapis/python-bigquery
diff --git a/tests/unit/test__pandas_helpers.py b/tests/unit/test__pandas_helpers.py index 203cc1d1..3a5fddac 100644 --- a/tests/unit/test__pandas_helpers.py +++ b/tests/unit/test__pandas_helpers.py @@ -18,6 +18,7 @@ import decimal import functools import operator import queue +from typing import Union from unittes...
[ "tests/unit/test__pandas_helpers.py::test_do_all", "tests/unit/test__pandas_helpers.py::test_all_", "tests/unit/test__pandas_helpers.py::test_verify_pandas_imports_no_pandas", "tests/unit/test__pandas_helpers.py::test_determine_requested_streams[True-10-1]", "tests/unit/test__pandas_helpers.py::test_determi...
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.88, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/googleapis/python-bigquery/blob/ef8...
a53c91521d7082259f1b82a490ab93c873e17b7b
2025-04-14 11:30:05
docker.io/swerebenchv2/switchbacktech-compass:354-a53c915
switchbacktech__compass-354
No new interfaces are introduced.
ts
MIT
diff --git a/packages/backend/src/auth/controllers/auth.controller.ts b/packages/backend/src/auth/controllers/auth.controller.ts index 9efbb434..bd6a5a87 100644 --- a/packages/backend/src/auth/controllers/auth.controller.ts +++ b/packages/backend/src/auth/controllers/auth.controller.ts @@ -18,7 +18,10 @@ import compass...
✨ Feat: Resync user data if sync token not found during login Closes #308 This PR resyncs user data if their sync token couldn't be found during login ---- This pull request introduces several changes to improve the handling of Google synchronization errors and adds comprehensive tests for the `AuthController...
Can't sign in after sync expired ### Where did this happen? Local code with an up-to-date main branch ### Expected Behavior _No response_ ### Current Behavior User isn't able to sign in. After clicking through the Oauth screen, they are sent back to the login page. Backend error: ``` [error] app:error.handler: {...
SwitchbackTech/compass
diff --git a/packages/backend/src/auth/controllers/auth.controller.test.ts b/packages/backend/src/auth/controllers/auth.controller.test.ts new file mode 100644 index 00000000..8d5adc24 --- /dev/null +++ b/packages/backend/src/auth/controllers/auth.controller.test.ts @@ -0,0 +1,68 @@ +import { ObjectId } from "mongodb";...
[ "should resync google data when NoSyncToken error occurs" ]
[ "yearsAgo is a Date object", "recognizes invalid sync token error", "recognizes invalid (sync)value error", "recognizes expired refresh token", "returns email with @", "returns correct format and value", "should return CREATE_SERIES after new recurring event creation", "should return UPDATE_INSTANCE a...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0", "yarn install --frozen-lockfile --network-timeout 300000" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn jest --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
df92852e44d59949176f48ded3967ba916832116
2022-01-04 20:29:19
docker.io/swerebenchv2/spaze-phpstan-disallowed-calls:102-df92852
spaze__phpstan-disallowed-calls-102
Method: IsAllowedFileHelper.__construct(self, FileHelper $fileHelper, ?string $allowInRootDir = null) Location: src/IsAllowedFileHelper.php Inputs: An instance of PHPStan\\File\\FileHelper; optional root directory path used to prefix all allowIn entries. Outputs: A new IsAllowedFileHelper object. No return value (const...
php
MIT
diff --git a/README.md b/README.md index 3a7c1cd..a64854a 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,23 @@ parameters: - tests/*.test.php ``` -The paths in `allowIn` are relative to the config file location and support [fnmatch()](https://www.php.net/function.fnmatch) patterns. +Paths in ...
Can now specify root dir for all `allowIn` paths Seems I can't get the "root" directory in an automated way. Directives like `ignoreError`'s `path`/`paths` [resolve relative paths](https://phpstan.org/user-guide/ignoring-errors#ignoring-in-configuration-file) based on the directory of the config file is in but those ar...
When running phpstan from a subdirectory, allowIn is ignored When you run phpstan from a subdirectory of the project the allowIn is not checked `../../vendor/bin/phpstan --configuration=../../phpstan.neon` ```yaml disallowedFunctionCalls: - function: 'var_export()' message: 'use logger instea...
spaze/phpstan-disallowed-calls
diff --git a/tests/Calls/EchoCallsTest.php b/tests/Calls/EchoCallsTest.php index b1226e2..a86228f 100644 --- a/tests/Calls/EchoCallsTest.php +++ b/tests/Calls/EchoCallsTest.php @@ -3,12 +3,12 @@ declare(strict_types = 1); namespace Spaze\PHPStan\Rules\Disallowed\Calls; -use PHPStan\File\FileHelper as PHPStanFileHe...
[ "Function Calls Allow In Functions > Rule", "Function Calls Allow In Methods > Rule", "Is Allowed File Helper > Absolutize path with data set #0", "Is Allowed File Helper > Absolutize path with data set #1", "Is Allowed File Helper > Absolutize path with data set #2", "Is Allowed File Helper > Absolutize ...
[]
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=/tmp/composer", "mkdir -p $COMPOSER_HOME", "chmod 777 $COMPOSER_HOME", "chmod 777 /phpstan-disallowed-calls", "composer install --no-progress --no-interaction" ], "log_parser": "parse_log_phpunit", ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7b40929a3f5ca285e058267c42ea3d3ad947ed98
2020-01-13 08:08:17
docker.io/swerebenchv2/hypothesisworks-hypothesis:2322-7b40929
hypothesisworks__hypothesis-2322
Function: _can_hash(val) Location: hypothesis.strategies._internal.types._can_hash Inputs: val – any Python object whose hashability needs to be determined; no particular type constraints. Outputs: bool – True if hash(val) succeeds without raising, False otherwise (e.g., for signaling NaN Decimals or other unhashable v...
python
custom-check-github
diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 000000000..5ad532169 --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,6 @@ +RELEASE_TYPE: patch + +This patch fixes :issue:`2320`, where ``from_type(Set[Hashable])`` could raise +an internal error because `...
Ensure generic set elems can be hashed Fixes #2320.
`from_type(Set[Decimal])` raises an internal error because signalling NaN is not hashable I've gotten `from_type(Set[Hashable])` to reliably fail during generation. It seems that `Hashable` generates `Decimal` objects, which is fine. However, hypothesis fails when trying to hash signaling NaNs. I'm not too familiar ...
HypothesisWorks/hypothesis
diff --git a/hypothesis-python/tests/cover/test_lookup.py b/hypothesis-python/tests/cover/test_lookup.py index ec99d728a..1fa1088f3 100644 --- a/hypothesis-python/tests/cover/test_lookup.py +++ b/hypothesis-python/tests/cover/test_lookup.py @@ -632,3 +632,21 @@ def test_can_cast(): def test_timezone_lookup(type_): ...
[ "hypothesis-python/tests/cover/test_lookup.py::test_generic_collections_only_use_hashable_elements[Set]", "hypothesis-python/tests/cover/test_lookup.py::test_generic_collections_only_use_hashable_elements[FrozenSet]", "hypothesis-python/tests/cover/test_lookup.py::test_generic_collections_only_use_hashable_elem...
[ "hypothesis-python/tests/cover/test_lookup.py::test_resolve_typing_module[ByteString]", "hypothesis-python/tests/cover/test_lookup.py::test_resolve_typing_module[Callable]", "hypothesis-python/tests/cover/test_lookup.py::test_resolve_typing_module[DefaultDict]", "hypothesis-python/tests/cover/test_lookup.py::...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/HypothesisWorks/hypothesis/issues/2...
2de1a1ce4cb2f63b3a7b7951614ae0c749ddb253
2020-05-29 02:33:32
docker.io/swerebenchv2/jeremydaly-dynamodb-toolbox:53-2de1a1c
jeremydaly__dynamodb-toolbox-53
Function: formatItem(DocumentClient)(attributes, linked, item, include = []) Location: Inputs: - **DocumentClient** – an instance of AWS DynamoDB DocumentClient (used for type validation). - **attributes** – object describing the entity’s attribute metadata (type, alias, map, prefix, suffix, etc.). - **linked** – ...
ts
MIT
diff --git a/lib/formatItem.js b/lib/formatItem.js index 2138bde4..28791391 100644 --- a/lib/formatItem.js +++ b/lib/formatItem.js @@ -18,9 +18,9 @@ module.exports = (DocumentClient) => (attributes,linked,item,include=[]) => { const validateType = validateTypes(DocumentClient) return Object.keys(item).reduce((a...
Allow attributes not specified in entity to be passed through Fixes #50 Looking at the code I figured this was a bug, since there were guards for everything else. PS. Thanks for this library, truly makes single table design approachable 🥇
Entities need to list all attributes If an entity does not list an attribute that exists in the database, `get` fails. To make `await entityName.get(item)` work, in the definition of the entity `entityName`, it needs to list all attributes it may pull from the database for that particular item. Otherwise, it shows a...
jeremydaly/dynamodb-toolbox
diff --git a/__tests__/formatItem.unit.test.js b/__tests__/formatItem.unit.test.js index 286fac30..d673d8cd 100644 --- a/__tests__/formatItem.unit.test.js +++ b/__tests__/formatItem.unit.test.js @@ -28,7 +28,13 @@ DefaultTable.entities = new Entity({ list_alias2: { type: 'list', map: 'list2' }, test: 'map', ...
[ "passes through attribute not specified in entity" ]
[ "parses entity definition with all available options", "fails on extra config option", "parse simple attributes", "fails when partitionKey is an invalid type", "fails when sortKey is an invalid type", "fails when attribute is an invalid type", "fails when partitionKey is an invalid type (in object confi...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci --legacy-peer-deps" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --silent=false --useStderr --no-colors" }
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
50f85ab245063c4ba7bb8adb050db7bfdc489a32
2023-11-20 20:26:55
docker.io/swerebenchv2/microsoft-kiota:3760-50f85ab
microsoft__kiota-3760
No new interfaces are introduced.
csharp
MIT
diff --git a/CHANGELOG.md b/CHANGELOG.md index e9db905a57..61cabd0020 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Fixed a bug where path parameters deduplication would create collisions on sub path se...
fixes #3757
Chained builder does not work when parameters change names for subrequests I am trying to generate a client for the ConnectWise REST API. In that API are two get requests, one inside the other: ``` /finance/agreements/{id} /finance/agreements/{parentId}/additions/{id} ``` When building the second request with...
microsoft/kiota
diff --git a/tests/Kiota.Builder.Tests/KiotaBuilderTests.cs b/tests/Kiota.Builder.Tests/KiotaBuilderTests.cs index 61ae73c1a3..76d25f805b 100644 --- a/tests/Kiota.Builder.Tests/KiotaBuilderTests.cs +++ b/tests/Kiota.Builder.Tests/KiotaBuilderTests.cs @@ -6334,6 +6334,25 @@ public void SinglePathParametersAreDeduplicate...
[ "--ll, --log-level <Critical|Debug|Error|Information|None|Trace|Warning> Kiota.Builder.Tests.Extensions.StringExtensionsTests.CleansUp...
[ "Kiota.Builder.Tests.Writers.StringExtensionsTests.StripsSuffix", "Kiota.Builder.Tests.Writers.Python.CodeClassEndWriterTests.ClosesNestedClasses", "Kiota.Builder.Tests.Lock.LockManagementServiceTests.DefensiveProgramming", "Kiota.Builder.Tests.CodeDOM.CodeUsingComparerTests.ComparesWithDeclaration", "Kiota...
{ "base_image_name": "csharp_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
74c8749bb52fc2347bb99bb7430b5fbf54fa2173
2019-10-15 19:22:56
docker.io/swerebenchv2/remy-nodemon:1620-74c8749
remy__nodemon-1620
No new interfaces are introduced.
js
MIT
diff --git a/README.md b/README.md index 6f00bd9..aeffea6 100644 --- a/README.md +++ b/README.md @@ -178,10 +178,10 @@ Don't use unix globbing to pass multiple directories, e.g `--watch ./lib/*`, it By default, nodemon looks for files with the `.js`, `.mjs`, `.coffee`, `.litcoffee`, and `.json` extensions. If you use ...
Replace `jade` references by `pug` Resolves #1595
Replace `jade` references by `pug` - `nodemon -v`: 1.19.1 ### Expected behaviour Display the actual template engine name, and use it in defaults. ### Actual behaviour Using the old name. ### Steps to reproduce See `nodemon -h`
remy/nodemon
diff --git a/test/cli/exec.test.js b/test/cli/exec.test.js index 3a6482c..f2b1a92 100644 --- a/test/cli/exec.test.js +++ b/test/cli/exec.test.js @@ -83,14 +83,14 @@ describe('nodemon exec', function () { }); it('should support multiple extensions', function () { - var options = exec({ script: 'app.js', ext: ...
[ "should kill child with SIGINT (after ~10 seconds)", "should respect ignore rules", "should not watch directory when given a single file", "should ignore node_modules by default", "should restart when new files are added", "should wait when the script crashes", "should wait when the script cleanly exits...
[ "should expand app.js", "should expand hello.py", "should ignore foo.js", "should default to node", "should support --debug", "should support --debug=XXXX", "should support multiple extensions", "should support watching all extensions", "should replace {{filename}}", "should not split on spaces in...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
e8326f899e037904a8e47928e4eedec6a56cf5ef
2020-07-17 21:51:37
docker.io/swerebenchv2/samuelcolvin-pydantic:1737-e8326f8
samuelcolvin__pydantic-1737
Method: BaseModel.__init__(self, **data) -> BaseModel Location: pydantic/main.py Inputs: keyword arguments matching model fields; fields may be annotated with `enum.Enum` or `enum.IntEnum` (or subclasses thereof). Outputs: a model instance; if a value for an `Enum` field is not an instance of the enum (or an allowed ...
python
MIT
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52084de03..97e5776b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.6', '3.7', '3.8'] + python-version: ['3.6', '...
feat(field): add `Enum` and `IntEnum` as valid types for fields _This is a proposal as I agree with the author of the issue. Feel free to close it if need be_ ## Change Summary Support `Enum` type as follows ```python class Model(BaseModel): fruit: Enum ``` ## Related issue number closes #1735 ##...
Doesn't correctly validate when type is Enum # Bug Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`: ``` pydantic version: 1.5.1 pydantic compiled: True install path: /Users/<redacted>/.venvs/<redacted>/lib/python3.6/site-packages/pydan...
samuelcolvin/pydantic
diff --git a/tests/requirements.txt b/tests/requirements.txt index b7a012b01..8fee4e032 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -2,8 +2,8 @@ black==20.8b1 coverage==5.3 flake8==3.8.4 flake8-quotes==3.2.0 -isort==5.6.1 -mypy==0.782 +isort==5.6.4 +mypy==0.790 pycodestyle==2.6.0 pyflakes==...
[ "tests/test_schema.py::test_enum_schema_custom_field", "tests/test_schema.py::test_enum_and_model_have_same_behaviour", "tests/test_schema.py::test_unenforced_constraints_schema[kwargs8-Callable]", "tests/test_schema.py::test_unparameterized_schema_generation", "tests/test_schema.py::test_frozen_set", "te...
[ "tests/test_schema.py::test_key", "tests/test_schema.py::test_by_alias", "tests/test_schema.py::test_by_alias_generator", "tests/test_schema.py::test_sub_model", "tests/test_schema.py::test_schema_class", "tests/test_schema.py::test_schema_repr", "tests/test_schema.py::test_schema_class_by_alias", "te...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [ "https://pydantic-docs.helpmanual.io/usage/types/#enums-a...
53770139237370ffd438c11bac551f38fd11e98c
2025-04-28 11:46:23
docker.io/swerebenchv2/biotite-dev-biotite:795-5377013
biotite-dev__biotite-795
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/pyproject.toml b/pyproject.toml index 4e857dfc..c0eeda8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,12 +4,12 @@ requires-python = ">=3.11" description = "A comprehensive library for computational molecular biology" readme = "README.rst" authors = [{name = "The Biotite contributors"}] -licens...
Fix #794 Fixes #794
altloc_id missing from get_structure() output The last few recent commits have altered the behavior of get_structure() so that its output is missing the altloc_id annotation. I can't tell if this is expected behavior or a bug, however the docstring implies that its a bug. ``` altloc : {'first', 'occupancy', 'all'} ...
biotite-dev/biotite
diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index f830691b..73633f87 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -106,7 +106,7 @@ jobs: - uses: actions/checkout@v4 - name: Install cibuildwheel # M...
[ "tests/structure/io/test_pdbx.py::test_filter_altloc[1aki]" ]
[ "tests/structure/io/test_pdbx.py::test_get_model_count[cif]", "tests/structure/io/test_pdbx.py::test_get_model_count[bcif]", "tests/structure/io/test_pdbx.py::test_escape[-False]", "tests/structure/io/test_pdbx.py::test_escape[-True]", "tests/structure/io/test_pdbx.py::test_escape[", "tests/structure/io/t...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
68b579903e096d0e974a3d90beb405bacedd9718
2022-11-18 17:48:48
docker.io/swerebenchv2/platers-obsidian-linter:504-68b5799
platers__obsidian-linter-504
No new interfaces are introduced.
ts
MIT
diff --git a/src/rules/capitalize-headings.ts b/src/rules/capitalize-headings.ts index 1f6e37e..216f20f 100644 --- a/src/rules/capitalize-headings.ts +++ b/src/rules/capitalize-headings.ts @@ -117,7 +117,9 @@ export default class CapitalizeHeadings extends RuleBuilder<CapitalizeHeadingsOp // based on https...
Fix First Letter Being Capitalized if not Preceded by Tab or Space Fixes #484 Changes Made: - Added a test for the case in question and made sure that the first letter capitalization only affects a letter preceded by a space or tab.
Bug: "Capitalize headings" incorrectly capitalizes ## Describe the Bug "Capitalize headings—first letter" rule is perhaps a bit too literal. It will capitalize the first letter even if it preceded by several other characters. This is usually not desirable. ## How to Reproduce ### Input `### 1.0.0-b.4` ### Expecte...
platers/obsidian-linter
diff --git a/__tests__/capitalize-headings.test.ts b/__tests__/capitalize-headings.test.ts index 6d74352..34c3832 100644 --- a/__tests__/capitalize-headings.test.ts +++ b/__tests__/capitalize-headings.test.ts @@ -97,8 +97,7 @@ ruleTest({ style: 'First letter', }, }, - { - // accounts for ht...
[ "Make sure that first letter ot be capitalized by `First Letter` is preceded by a space or tab" ]
[ "No YAML", "No ignored rules", "Ignore one rule", "Ignore some rules", "Ignored no rules", "Ignored all rules", "Works with misformatted yamls", "When the sort changes the yaml contents and yaml timestamp date modified is active, update date modified value", "Sort works with dictionary Yaml value", ...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/platers/obsidian-linter/issues/321", ...
30264e519f9e983e034df6fc45f2e5c6c092bbed
2019-12-15 18:25:31
docker.io/swerebenchv2/vaskoz-dailycodingproblem-go:786-30264e5
vaskoz__dailycodingproblem-go-786
Function: LongestContiguousBrowsingHistory(user1 []string, user2 []string) []string Location: day391/problem.go Inputs: - user1 []string – chronological list of URLs visited by the first user. - user2 []string – chronological list of URLs visited by the second user. Both slices may contain duplicate URLs and are o...
go
MIT
diff --git a/README.md b/README.md index 4909e5f..7644b94 100644 --- a/README.md +++ b/README.md @@ -383,4 +383,5 @@ problems from * [Day 385](https://github.com/vaskoz/dailycodingproblem-go/issues/774) * [Day 386](https://github.com/vaskoz/dailycodingproblem-go/issues/778) * [Day 390](https://github.com/vaskoz/dail...
Day391 Resolves #785.
Day 391 Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. We have some historical clickstream data gathered from our site anonymously using cookies. The histories contain URLs that users have visited in chronological order. Write a function that takes two users' ...
vaskoz/dailycodingproblem-go
diff --git a/day391/problem_test.go b/day391/problem_test.go new file mode 100644 index 0000000..26706c5 --- /dev/null +++ b/day391/problem_test.go @@ -0,0 +1,41 @@ +package day391 + +import ( + "reflect" + "testing" +) + +// nolint +var testcases = []struct { + user1, user2 []string + expected []string +}{ + { + ...
[ "TestLongestContiguousBrowsingHistory" ]
[ "TestCountNodes", "TestTwoSumsSmall", "TestTwoSumsSmall/Brute", "TestTwoSumsSmall/Better", "TestTwoSumsSmall/Best", "TestTwoSumsLarge", "TestTwoSumsLarge/Best", "TestTwoSumsLarge/Better", "TestTwoSumsLarge/Brute", "TestScheduler", "TestSchedulerParallel", "TestMinimumStepsPath", "TestSieve",...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.93, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
262f1772a7676b20b802c0fc54bdc816874b9774
2020-12-09 14:32:21
docker.io/swerebenchv2/jimhester-lintr:698-262f177
jimhester__lintr-698
Function: object_name_linter(styles = c("snake_case", "symbols")) Location: R/object_name_linters.R Inputs: - **styles**: character vector of style names. Valid entries include `"snake_case"` (enforces snake_case naming) and `"symbols"` (skips linting for all‑symbol object names such as `%+%`). The default is `c("snake...
r
custom-check-github
diff --git a/NEWS.md b/NEWS.md index 27e895a526..0d0fd060b0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -21,7 +21,7 @@ * `equals_na_linter()` now lints `x != NA` and `NA == x`, and skips usages in comments (#545, @michaelchirico) * Malformed Rmd files now cause a lint instead of an error (#571, #575, @AshesITR) * `object_...
fixes #495 the major issue was that `as.character()` doesn't unescape XML entities. `xml2::xml_text()` should have been used instead.
False-positive object_name_linter for `%<-%` This line `%<-%` <- zeallot::`%<-%` raises > Variable and function name style should be snake_case.
jimhester/lintr
diff --git a/tests/testthat/test-object_name_linter.R b/tests/testthat/test-object_name_linter.R index fd9a967a1f..5d683592af 100644 --- a/tests/testthat/test-object_name_linter.R +++ b/tests/testthat/test-object_name_linter.R @@ -48,6 +48,7 @@ test_that("linter ignores some objects", { expect_lint(".onLoad <- funct...
[ "object_name_linter::linter_ignores_some_objects" ]
[ "absolute_path_linter::unquote", "absolute_path_linter::unescape", "absolute_path_linter::is_root_path", "absolute_path_linter::is_absolute_path", "absolute_path_linter::is_relative_path", "absolute_path_linter::is_path", "absolute_path_linter::is_valid_path", "absolute_path_linter::is_long_path", "...
{ "base_image_name": "r_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "java...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a75c1ce73d213c4de31f9515288d6defc4eebbf3
2023-11-17 21:36:05
docker.io/swerebenchv2/googlecloudplatform-cloud-sql-python-connector:906-a75c1ce
googlecloudplatform__cloud-sql-python-connector-906
No new interfaces are introduced.
python
Apache-2.0
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 97aaa27..7a234e6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -31,7 +31,7 @@ jobs: steps: - name: Remove PR Label if: "${{ github.event.action == 'labeled' && github.event.label...
feat: introduce compatibility with native namespace packages Fixes #876 Ref: https://github.com/googleapis/google-auth-library-python/pull/1205
Remove `declare_namespace` calls in package Need to move off of using `pkg_resources.declare_namespace()` for package structure as it is deprecated. ``` DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud.sql')`. Implementing implicit namespace packages (as specified in PEP 420)...
GoogleCloudPlatform/cloud-sql-python-connector
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8bb4fa8..0b6d04a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: steps: - name: Remove PR label if: "${{ github.event.action == 'labeled' && github.event.label.name == 'te...
[ "tests/unit/test_packaging.py::test_namespace_package_compat" ]
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://setuptools.pypa.io/en/latest/references/keywor...
2169cdaeed82dc1d82736112339ad461916d0273
2023-01-19 11:39:29
docker.io/swerebenchv2/chainguard-dev-apko:465-2169cda
chainguard-dev__apko-465
No new interfaces are introduced.
go
Apache-2.0
diff --git a/pkg/apk/impl/implementation.go b/pkg/apk/impl/implementation.go index 72de336..1998681 100644 --- a/pkg/apk/impl/implementation.go +++ b/pkg/apk/impl/implementation.go @@ -338,7 +338,7 @@ func (a *APKImplementation) InitKeyring(keyFiles, extraKeyFiles []string) (err e var data []byte switch asURL.S...
read keyfiles from local; read local repositories Fixes #464 Issue with two problems was a regression caused by #426 It was treating keyfiles to read when passed via `--keyring-append` as relative to workdir, which made no sense; when someone types `build --keyring-append /path/to/file`, they mean, "relative to...
failed to read apk key: open /tmp/apko-3984880358/work/local-melange.rsa.pub: no such file or directory When building locally apko has started to fail this morning. ``` failed to read apk key: open /tmp/apko-3984880358/work/local-melange.rsa.pub: no such file or directory ``` ``` --keyring-append /work/local-m...
chainguard-dev/apko
diff --git a/pkg/apk/impl/implementation_test.go b/pkg/apk/impl/implementation_test.go index 8d97405..f19c5a2 100644 --- a/pkg/apk/impl/implementation_test.go +++ b/pkg/apk/impl/implementation_test.go @@ -124,12 +124,13 @@ func TestInitKeyring(t *testing.T) { a, err := NewAPKImplementation(WithFS(src), WithIgnoreMkno...
[ "TestInitKeyring" ]
[ "TestInitialize", "TestAdditionalTags", "TestAdditionalTags/tag_with_go", "TestAdditionalTags/nginx_has_no_version", "TestAdditionalTags/tag_with_boop", "TestAdditionalTags/tag_with_boop_(stemmed)", "TestAdditionalTags/tag_with_boop_(stemmed_and_prefixed)", "TestInitDB", "TestSetWorld", "TestSetRe...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.4", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://alpinelinux.org/keys/alpine-devel%40lists.alpi...
41339a9e5aa06f63c8b15db2234c90b7b8628b3b
2019-10-02 19:56:26
docker.io/swerebenchv2/gokcehan-lf:238-41339a9
gokcehan__lf-238
Function: escape(s string) string Location: misc.go Inputs: A string `s` that may contain whitespace characters, backslashes, semicolons, hash marks, or tab characters. The function treats these characters as needing escaping. Outputs: A new string where each whitespace, backslash, `;`, `#`, or tab character is prefixe...
go
MIT
diff --git a/app.go b/app.go index 2eb095a..35e718e 100644 --- a/app.go +++ b/app.go @@ -179,6 +179,11 @@ func (app *app) loop() { continue } + if app.nav.deleting { + app.ui.echoerr("quit: delete operation in progress") + continue + } + log.Print("bye!") if err := app.writeHistory(); err...
Asynchronous delete Fixes #215 Tried to implement it as similar to moving as I could. I did test it by closing the lf instance while it was deleting large files and it worked fine. Therefore, I am still confused and looking for feedback why just an asynchronous `os.RemoveAll` wasn't enough. (I can only guess o...
Make :delete async So today I wanted to delete a very large directory. It surprised me that Lf was frozen during the deletion. Is `:delete` async? I assume not, in comparison to `paste`. Anyway, I think it should be.
gokcehan/lf
diff --git a/eval_test.go b/eval_test.go index 24947c6..788b4df 100644 --- a/eval_test.go +++ b/eval_test.go @@ -67,8 +67,8 @@ var gEvalTests = []struct { { `echo "hello\zworld"`, - []string{"echo", "helloworld", "\n"}, - []expr{&callExpr{"echo", []string{"helloworld"}, 1}}, + []string{"echo", `hello\zworld`,...
[ "TestScan", "TestParse", "TestEscape", "TestUnescape" ]
[ "TestApplyAnsiCodes", "TestMatchLongest", "TestMatchWord", "TestRemoveDiacritics", "TestSearchSettings", "TestSplitKeys", "TestIsRoot", "TestRuneSliceWidth", "TestRuneSliceWidthRange", "TestTokenize", "TestSplitWord", "TestHumanize", "TestNaturalLess" ]
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.0", "helm_version": null, ...
{ "llm_metadata": { "code": "B1", "confidence": 0.78, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4f6f40d0620050b5162b36746b63985b7fc63b24
2021-11-04 17:03:48
docker.io/swerebenchv2/cloudant-couchbackup:384-4f6f40d
cloudant__couchbackup-384
No new interfaces are introduced.
js
Apache-2.0
diff --git a/CHANGES.md b/CHANGES.md index 48ff06e..e72fdc8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,6 @@ # Unreleased - [FIXED] Corrected `user-agent` header on requests. +- [FIXED] Restore of shallow backups created with versions <=2.4.2. # 2.7.0 (2021-09-14) - [UPGRADED] Cloudant client dependency f...
Fix restore of old version shallow backups ## Checklist - [x] Tick to sign-off your agreement to the [Developer Certificate of Origin (DCO) 1.1](../blob/master/DCO1.1.txt) - [x] Added tests for code changes _or_ test/build only changes - [x] Updated the change log file (`CHANGES.md`|`CHANGELOG.md`) _or_ test/build...
Version 2.7.0 cannot restore shallow backups from before 2.4.2 ## Bug Description ### 1. Steps to reproduce and the simplest code sample possible to demonstrate the issue 1. Make a shallow backup with a version `<2.4.2` 2. Try to restore the backup with version `2.7.0` ### 2. What you expected to happen Th...
cloudant/couchbackup
diff --git a/test/fixtures/animaldb_old_shallow.json b/test/fixtures/animaldb_old_shallow.json new file mode 100644 index 0000000..2f4a277 --- /dev/null +++ b/test/fixtures/animaldb_old_shallow.json @@ -0,0 +1,1 @@ +[{"_id":"_design/views101","views":{"latin_name_jssum":{"map":"function(doc) {\n if(doc.latin_name){\n ...
[ "should restore shallow backups without rev info successfully", "should get a batch error for non-empty array response with new_edits false" ]
[ "returns error for invalid URL type", "returns no error for valid URL type", "returns error for invalid (no host) URL", "returns error for invalid (no protocol) URL", "returns error for invalid (wrong protocol) URL", "returns error for invalid (no path) URL", "returns error for invalid (no protocol, no ...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "B2", "confidence": 0.88, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/cloudant/couchbackup/blob/68c802b64...
3e4f20fedcdbef87c5c3f977136eb11bb2f09505
2020-05-18 21:16:46
docker.io/swerebenchv2/fastify-fastify-jwt:91-3e4f20f
fastify__fastify-jwt-91
Function: extractToken(request) Location: Property of the `verify` option object passed to the Fastify‑JWT plugin (e.g., `fastify.register(jwt, { verify: { extractToken: … } })`). Inputs: `request` – a `FastifyRequest` instance representing the incoming HTTP request. Outputs: Returns a JWT token string extracted from t...
js
custom-check-github
diff --git a/README.md b/README.md index c196b50..225cb8c 100644 --- a/README.md +++ b/README.md @@ -418,6 +418,7 @@ fastify.listen(3000, err => { * `clockTolerance`: number of seconds to tolerate when checking the `nbf` and `exp` claims, to deal with small clock differences among different servers * `maxAge`: the ma...
Add ability to specify the token location in request headers Fixes #90 Add ability to specify the token location in request headers #### Checklist - [x] run `npm run test` and `npm run benchmark` - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message and code fo...
Add ability to specify the token location in request headers <!-- Before you submit an issue we recommend you visit [Fastify Help](https://github.com/fastify/help) and ask any questions you have or mention any problems you've had getting started with Fastify. **Please read this entire template before posting any is...
fastify/fastify-jwt
diff --git a/jwt.test-d.ts b/jwt.test-d.ts index d9fb7eb..48cd938 100644 --- a/jwt.test-d.ts +++ b/jwt.test-d.ts @@ -13,7 +13,8 @@ app.register(fastifyJwt, { cookieName: 'jwt' }, verify: { - maxAge: '1h' + maxAge: '1h', + extractToken: (request) => 'token' }, dec...
[ "should be equal", "token can be extracted correctly", "token can not be extracted", "extract custom token", "test.js" ]
[ "expect truthy value", "Expose jwt methods", "secret as an object", "secret as a Buffer", "deprecated use of options prefix", "only private key (Must return an error)", "only public key (Must return an error)", "secret as a malformed object", "decode, sign and verify global options (with default HS ...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/fastify/fastify-jwt/blob/340860ac7b...
524b57de7be82121fb51c49abf8a1648cafe258c
2021-04-10 23:57:06
docker.io/swerebenchv2/friendsofphp-php-cs-fixer:5618-524b57d
friendsofphp__php-cs-fixer-5618
Method: NamespaceUseAnalysis.getType(self) Location: src/Tokenizer/Analyzer/Analysis/NamespaceUseAnalysis.php Inputs: none (operates on the instance) Outputs: int – one of the newly introduced constants TYPE_CLASS, TYPE_FUNCTION, TYPE_CONSTANT indicating the import kind. Description: Returns the type of the use declar...
php
MIT
diff --git a/src/Fixer/Import/GroupImportFixer.php b/src/Fixer/Import/GroupImportFixer.php index 1c7620d7f..4e3ba3641 100644 --- a/src/Fixer/Import/GroupImportFixer.php +++ b/src/Fixer/Import/GroupImportFixer.php @@ -79,22 +79,22 @@ private function getSameNamespaces(Tokens $tokens) return []; } ...
GroupImportFixer - fix removal of import type when mixing multiple types Fixes #5346
group_import removes import type when mixing multiple types ## Bug report The `group_import` rule removes the import type when mixing imports of different types. ### Code snippet that reproduces the problem ```php <?php use Foo\Bar; use function Foo\baz; ``` This will be fixed to ```php <?php use Fo...
FriendsOfPHP/PHP-CS-Fixer
diff --git a/tests/Fixer/Import/GroupImportFixerTest.php b/tests/Fixer/Import/GroupImportFixerTest.php index b38815d61..48ebd0583 100644 --- a/tests/Fixer/Import/GroupImportFixerTest.php +++ b/tests/Fixer/Import/GroupImportFixerTest.php @@ -290,6 +290,19 @@ public function provideFixCases() use Framework\Bar\Class5; ...
[ "Abstract Fixer > Configure unconfigurable [0.42 ms]", "Abstract Fixer > Get configuration definition unconfigurable [0.03 ms]", "Abstract Fixer > Create configuration definition unconfigurable [0.03 ms]", "Abstract Function Reference Fixer > Abstract function reference fixer with data set \"simple case I\" [...
[ "Abstract Fixer > Set whitespaces config unconfigurable [0.03 ms]", "Abstract Function Reference Fixer > Abstract function reference fixer with data set \"simple case II\" [0.10 ms]", "Abstract Function Reference Fixer > Abstract function reference fixer with data set \"test start offset\" [0.10 ms]", "Abstra...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export HOME=/tmp", "composer install --no-interaction --prefer-dist" ], "log_parser": "parse_log_phpunit", "test_cmd": "./vendor/bin/phpunit --testdox --verbose --colors=never" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
d1aafeeaff199e335c0a03cb7a475ff6ec50f475
2023-06-14 21:10:37
docker.io/swerebenchv2/elastic-synthetics:784-d1aafee
elastic__synthetics-784
No new interfaces are introduced.
ts
MIT
diff --git a/src/plugins/browser-console.ts b/src/plugins/browser-console.ts index bad449b..5f25e25 100644 --- a/src/plugins/browser-console.ts +++ b/src/plugins/browser-console.ts @@ -23,6 +23,7 @@ * */ +import type { ConsoleMessage } from 'playwright-core'; import { BrowserMessage, Driver } from '../common_typ...
feat: listen to console events in browser context + fix #721 + Playwright added this capability recently, where we can listen to all the browser console events for all pages that are created via the created browser context. We make use of that and create all the events that are of type `warning, error` and report the...
listen to console events on browser context instead of page + We are not capturing some of the console logs from other pages/windows when the journey involves multiple pages. This can be fixed in our browser console plugin by listening to console events on the browser context, instead of the page. We need Playwrigh...
elastic/synthetics
diff --git a/__tests__/plugins/browser-console.test.ts b/__tests__/plugins/browser-console.test.ts index 25d0046..607f8cf 100644 --- a/__tests__/plugins/browser-console.test.ts +++ b/__tests__/plugins/browser-console.test.ts @@ -41,20 +41,34 @@ describe('BrowserConsole', () => { it('should capture browser console lo...
[ "should capture browser console logs" ]
[ "does not add empty values in array", "add journey details", "add step to the journey", "compute user timing metrics", "compute user experience trace and metrics", "computes layout shift", "computes cls with session window", "calculate cls score with simulated sessions", "cls to 0 when no events fou...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci --quiet" ], "log_parser": "parse_log_js_4", "test_cmd": "npm run test:unit -- --verbose --no-color" }
{ "llm_metadata": { "code": "B3", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": true, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/microsoft/playwright/pull/22805" ...
0659bf4f3cf33f05f8cfeb380af749971ab3f4fb
2025-08-05 13:17:49
docker.io/swerebenchv2/effekt-lang-effekt:1098-0659bf4
effekt-lang__effekt-1098
Method: Parser.maybeBlockTypeAnnotation(self) → Maybe[BlockType] Location: class `Parser` in `effekt/shared/src/main/scala/effekt/Parser.scala` Inputs: none (operates on the parser’s current token stream) Outputs: a `Maybe[BlockType]` – `Maybe.Some(blockType, span)` if a `:` token is present, otherwise `Maybe.Non...
scala
MIT
diff --git a/effekt/js/src/main/scala/effekt/LanguageServer.scala b/effekt/js/src/main/scala/effekt/LanguageServer.scala index 46c8b6377..c82f6ccf0 100644 --- a/effekt/js/src/main/scala/effekt/LanguageServer.scala +++ b/effekt/js/src/main/scala/effekt/LanguageServer.scala @@ -117,7 +117,7 @@ class LanguageServer extend...
Now shows capture inlay hints using the `at` syntax on (function) definitions: <img width="500" alt="image" src="https://github.com/user-attachments/assets/e6c1c415-49a5-49ae-81be-9de465c4b12b" /> This PR does not change the grammar, meaning it remains invalid syntax to explicitly annotate captures in these posit...
Wrong capture hint position on documented definitions I would assume the capture would be before the `def`, _after_ the `/// ...` comments. <img width="385" height="97" alt="Image" src="https://github.com/user-attachments/assets/ae94ff41-ab7b-43f9-a065-06426b5a15c5" /> Here's the source: ```scala /// here is my doc co...
effekt-lang/effekt
diff --git a/effekt/jvm/src/test/scala/effekt/LSPTests.scala b/effekt/jvm/src/test/scala/effekt/LSPTests.scala index 15106427f..e69fd67ae 100644 --- a/effekt/jvm/src/test/scala/effekt/LSPTests.scala +++ b/effekt/jvm/src/test/scala/effekt/LSPTests.scala @@ -609,7 +609,7 @@ class LSPTests extends FunSuite { val (t...
[ "Simple normalization with renamings", "Sanity check: compiling empty list of clauses", "Simple guard", "Match then guard", "should not propagate filtered captures into bounds", "should not propagate filtered existing captures into bounds", "should not conflict with solved substitutions", "if bounded ...
[ "empty buffer", "single line", "multi line", "replaceRange - empty replacement", "replaceRange - single line insert", "replaceRange - multi line insert", "replaceRange - replace entire line", "replaceRange - replace across lines", "edge cases", "compound edits", "empty rope", "single character...
{ "base_image_name": "scala_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "B2", "confidence": 0.78, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
4b0dafd4ae11fee4e3f31ff577af4eb7ae67823e
2024-08-21 14:28:07
docker.io/swerebenchv2/crossplane-contrib-provider-gitlab:156-4b0dafd
crossplane-contrib__provider-gitlab-156
Method: Token (struct) Location: pkg/apis/projects/v1alpha1/hook_types.go Inputs: SecretRef *xpv1.SecretKeySelector – a reference (name, namespace, key) to a Kubernetes Secret that holds the hook token. The field is required. Outputs: None (struct definition). Holds the secret reference used by HookParameters to obtain...
go
Apache-2.0
diff --git a/apis/generate.go b/apis/generate.go index ad20167..baeffd2 100644 --- a/apis/generate.go +++ b/apis/generate.go @@ -32,7 +32,6 @@ limitations under the License. package apis import ( - _ "sigs.k8s.io/controller-tools/cmd/controller-gen" //nolint:typecheck - _ "github.com/crossplane/crossplane-tools/c...
fix(project/hook)!: hooksecret as reference <!-- Thank you for helping to improve Crossplane! Please read through https://git.io/fj2m9 if this is your first time opening a Crossplane pull request. Find us in https://slack.crossplane.io/messages/dev if you need any help contributing. --> ### Description of you...
Hook token as secret reference ### What happened? When using the Hook MR for projects, the secret token which verifies the webhook call is written directly into the MR itself. Thus having the Secret not in a kubernetes Secret. It would be better giving a secret ref to the hook and read the secret from that locat...
crossplane-contrib/provider-gitlab
diff --git a/pkg/clients/projects/hook_test.go b/pkg/clients/projects/hook_test.go index 29c5cc6..a6adb06 100644 --- a/pkg/clients/projects/hook_test.go +++ b/pkg/clients/projects/hook_test.go @@ -17,12 +17,18 @@ limitations under the License. package projects import ( + "context" "testing" "time" + v1 "githu...
[ "TestGenerateCreateGroupDeployTokenOptions", "TestGenerateCreateGroupDeployTokenOptions/AllFields", "TestGenerateCreateGroupDeployTokenOptions/SomeFields", "TestGenerateObservation", "TestGenerateObservation/SharedWithGroupExpiresAtIsNil", "TestGenerateObservation/Full", "TestGenerateCreateGroupOptions"...
[]
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
db7265e5a1958528da8f28e985a94478955ebef1
2021-05-17 14:28:37
docker.io/swerebenchv2/ably-ably-go:317-db7265e
ably__ably-go-317
No new interfaces are introduced.
go
Apache-2.0
diff --git a/ably/internal/ablyutil/websocket.go b/ably/internal/ablyutil/websocket.go index d1f7cda..61aa913 100644 --- a/ably/internal/ablyutil/websocket.go +++ b/ably/internal/ablyutil/websocket.go @@ -49,7 +49,6 @@ func DialWebsocket(proto string, u *url.URL, timeout time.Duration) (*WebsocketC default: return...
Rewrite RTN14c to test full connection establishment Also, mock time to make it deterministic. Fixes #315.
Fix RTN14c test to include full connection establishment We were wrongly using `realtimeRequestTimeout` as a timeout for establishing a transport; it should be the timeout for establishing a realtime connection, which includes receiving the CONNECTED protocol message. For the transport, we now use `httpOpenTimeout` (se...
ably/ably-go
diff --git a/ably/realtime_conn_spec_test.go b/ably/realtime_conn_spec_test.go index 25fea3c..323af2b 100644 --- a/ably/realtime_conn_spec_test.go +++ b/ably/realtime_conn_spec_test.go @@ -1,18 +1,12 @@ package ably_test import ( - "bytes" "context" - "crypto/tls" "errors" "fmt" "io" - "log" - "net" "net/...
[ "TestRealtimeChannel_RTL6c4_PublishFail", "TestRealtimeChannel_RTL6c4_PublishFail/when_connection_is_SUSPENDED,_channel_is_INITIALIZED" ]
[ "TestQueuedEmitter", "TestErrorResponseWithInvalidKey", "TestIssue127ErrorResponse", "TestErrorInfo", "TestErrorInfo/without_an_error_code", "TestErrorInfo/with_an_error_code", "TestErrorInfo/with_an_error_code_and_an_href_attribute", "TestErrorInfo/with_an_error_code_and_a_message_with_the_same_error...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/ably/ably-go/pull/312" ], "...
a966def98e77e412e7067aefae9799445e9b87f1
2020-06-04 22:11:57
docker.io/swerebenchv2/google-exposure-notifications-server:550-a966def
google__exposure-notifications-server-550
Method: Transformer.TransformPublish(ctx context.Context, inData *verifyapi.Publish, batchTime time.Time) ([]*Exposure, error) Location: internal/publish/model/exposure_model.go (method of type *Transformer) Inputs: - ctx: context.Context – request‑scoped context, used for logging and cancellation. - inData: *verifyapi...
go
Apache-2.0
diff --git a/internal/generate/handler.go b/internal/generate/handler.go index 210afe5..123fe1e 100644 --- a/internal/generate/handler.go +++ b/internal/generate/handler.go @@ -87,7 +87,7 @@ func (h *generateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { AppPackageName: "generated.data", } - exp...
Accept, but embargo currently valid keys Instead of rejecting keys that have started before the instant now, but aren't yet expired, accept those keys and emabargo them until they can no longer be used. This is done by setting the createdAt time on that key. There is an invariant here that there can only be one key...
Evaluate holding current day's key Currently, a key that is still valid (rolling period + rolling period count covers the current time) causes a whole publish API request to fail. As this has come up a couple of times, perhaps it is better to hold the still valid key until the end of the UTC day, but allow others to...
google/exposure-notifications-server
diff --git a/internal/publish/model/exposure_model_test.go b/internal/publish/model/exposure_model_test.go index 06284ed..dc44c71 100644 --- a/internal/publish/model/exposure_model_test.go +++ b/internal/publish/model/exposure_model_test.go @@ -15,6 +15,7 @@ package model import ( + "context" "crypto/rand" "enc...
[ "TestIntervalNumber", "TestInvalidNew", "TestInvalidBase64", "TestDifferentEncodings", "TestPublishValidation", "TestPublishValidation/no_keys", "TestPublishValidation/too_many_exposure_keys", "TestPublishValidation/transmission_risk_too_low", "TestPublishValidation/tranismission_risk_too_high", "...
[ "TestRenderAuthorizedApps", "TestRenderSignatureInfo", "TestAuthorizedApp_IsAllowedRegion", "TestDecodeString", "TestCutoffDate", "TestDBValues", "TestDBValues/empty_configs", "TestDBValues/some_config", "TestMakeBatchRanges", "TestMakeBatchRanges/no_room_for_new_batch", "TestMakeBatchRanges/no_...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
3cd4a4f40a62aa28e19d3fdcd58bdc2bf7def373
2020-11-05 00:33:17
docker.io/swerebenchv2/niconoe-pyinaturalist:72-3cd4a4f
niconoe__pyinaturalist-72
Function: get_access_token(username: str = None, password: str = None, app_id: str = None, app_secret: str = None, user_agent: str = None) → str Location: pyinaturalist.rest_api Inputs: Optional credential strings; if any are omitted the function falls back to environment variables `INAT_USERNAME`, `INAT_PASSWORD`,...
python
MIT
diff --git a/README.md b/README.md index e821c43..80a9c2c 100644 --- a/README.md +++ b/README.md @@ -80,12 +80,14 @@ This requires creating an [iNaturalist app](https://www.inaturalist.org/oauth/ap ```python from pyinaturalist.rest_api import get_access_token token = get_access_token( - username='<your_inaturalis...
Add support for providing credentials via environment variables Closes #68 * Added tests * Added examples of setting environment variables in python, bash, Windows cmd, and PowerShell
Add support for providing credentials via environment variables As an alternative to passing user credentials as arguments to `rest_api.get_access_token()`, it would be useful to also have the option of providing these via shell environment variables, for example: ``` export INAT_USERNAME="" export INAT_PASSWORD="" ...
niconoe/pyinaturalist
diff --git a/test/conftest.py b/test/conftest.py index b3e156e..34703c7 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -11,6 +11,14 @@ from unittest.mock import MagicMock HTTP_FUNC_PATTERN = re.compile(r"(get|put|post|delete)_.+") SAMPLE_DATA_DIR = abspath(join(dirname(__file__), "sample_data")) + +MOCK_CR...
[ "test/test_rest_api.py::test_get_access_token__envars", "test/test_rest_api.py::test_get_access_token__mixed_args_and_envars", "test/test_rest_api.py::test_get_access_token__missing_creds" ]
[ "test/test_request_params.py::test_convert_bool_params", "test/test_request_params.py::test_convert_datetime_params[created_d1-19951231T235959-1995-12-31T23:59:59-08:00]", "test/test_request_params.py::test_convert_datetime_params[created_d2-2008-08-08", "test/test_request_params.py::test_convert_datetime_par...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://docs.aws.amazon.com/cli/latest/userguide/cli-c...
60cbd2416a593b101c50819fca5dc9505670b5cb
2021-05-17 03:56:02
docker.io/swerebenchv2/metal3-io-baremetal-operator:880-60cbd24
metal3-io__baremetal-operator-880
No new interfaces are introduced.
go
Apache-2.0
diff --git a/Makefile b/Makefile index 4c8a4675..f61fbaa8 100644 --- a/Makefile +++ b/Makefile @@ -64,14 +64,11 @@ test: generate lint manifests unit ## Run common developer tests .PHONY: unit unit: ## Run unit tests go test ./... $(GO_TEST_FLAGS) -coverprofile $(COVER_PROFILE) - cd apis/ && go test ./... $(GO_TEST...
Fix error: missing the following IPMI credentials in node's driver_info: ['ipmi_address'] Signed-off-by: Zou Yu <zouy.fnst@cn.fujitsu.com> Fixes #879
baremetal IPI power_interface for irmc miss IPMI credentials When we deployed bare metal using IPI, we encountered the following errors: ``` | last_error | Failed to validate power driver interface for node e88070b5-afe2-4132-b697-93ee2bf10c1b. Error: Missing the following IPMI credentials in node's driv...
metal3-io/baremetal-operator
diff --git a/pkg/bmc/access_test.go b/pkg/bmc/access_test.go index c80b7874..3c15e667 100644 --- a/pkg/bmc/access_test.go +++ b/pkg/bmc/access_test.go @@ -763,6 +763,9 @@ func TestDriverInfo(t *testing.T) { "irmc_address": "192.168.122.1", "irmc_password": "", "irmc_username": "", + "ipmi_address"...
[ "TestDriverInfo", "TestDriverInfo/irmc", "TestDriverInfo/irmc_port", "TestDriverInfo/irmc_ipv6", "TestDriverInfo/irmc_ipv6_port" ]
[ "TestWithHardwareProfile", "TestWithoutHardwareProfile", "TestWithConsumer", "TestBackoffIncrements", "TestMaxBackoffDuration", "TestHardwareDetails_EmptyStatus", "TestHardwareDetails_StatusPresent", "TestHardwareDetails_StatusPresentInspectDisabled", "TestHardwareDetails_Invalid", "TestStatusAnno...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.7", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/metal3-io/baremetal-operator/pull/848...
111896420e7952cad99f0561aa3725d555f47382
2025-01-14 05:53:49
docker.io/swerebenchv2/notaryproject-notation:1145-1118964
notaryproject__notation-1145
Function: LoadConfigOnce() Location: pkg/configutil/once.go Inputs: none (relies on default configuration file location defined by `dir.UserConfigDir` and `dir.PathConfigFile`). Outputs: (*config.Config, error) – returns the loaded configuration on first successful call and caches it; on subsequent calls returns the sa...
go
Apache-2.0
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 980c79f..43530df 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -49,8 +49,8 @@ jobs: go-version: ${{ matrix.go-version }} check-latest: true - name: Initialize CodeQL - use...
fix: load config error Fix: - the `LoadConfigOnce` function forgets the error and return a nil config and nil error next time. Updated to use `sync.OnceValues` to keep the returned values. Resolves #1144
Load config issue ### What is not working as expected? ``` ➜ chmod 0000 ~/.config/notation ➜ notation panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x850078] goroutine 1 [running]: github.com/notaryproject/notation/intern...
notaryproject/notation
diff --git a/pkg/configutil/once_test.go b/pkg/configutil/once_test.go index d218669..bd40691 100644 --- a/pkg/configutil/once_test.go +++ b/pkg/configutil/once_test.go @@ -14,10 +14,19 @@ package configutil import ( + "os" + "path/filepath" + "strings" + "sync" "testing" + + "github.com/notaryproject/notation-go...
[ "TestLoadConfigOnce", "TestLoadConfigOnceError", "TestIsRegistryInsecure", "TestIsRegistryInsecure/hit_registry", "TestIsRegistryInsecure/miss_registry", "TestIsRegistryInsecureMissingConfig", "TestIsRegistryInsecureMissingConfig/missing_config", "TestResolveKey/valid_e2e_key", "TestResolveKey/key_n...
[ "TestSecureFlagOpts_Credential", "TestSecureFlagOpts_Credential/Username_and_password", "TestSecureFlagOpts_Credential/Username_only", "TestSecureFlagOpts_Credential/Password_only", "TestSecureFlagOpts_Credential/Empty_username_and_password", "TestInspectCommand_SecretsFromArgs", "TestInspectCommand_Sec...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2920a2653ca6d30269d16562ba55848bce70bacb
2025-02-14 15:20:39
docker.io/swerebenchv2/galileo-galilei-kedro-mlflow:633-2920a26
galileo-galilei__kedro-mlflow-633
Method: MlflowArtifactDataset.__init__(self, dataset: dict, run_id: str | None = None, artifact_path: str | None = None, credentials: dict | None = None, metadata: dict | None = None) Location: kedro_mlflow/io/artifacts/mlflow_artifact_dataset.py Inputs: - dataset – definition dict for the underlying Kedro dataset (typ...
python
Apache-2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d9ec86..e3e8b55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Added + +- :sparkles: All datasets can now take a metadata parameter ([#625](https://github.com/Galileo-Galilei/kedro-mlflow/issues/625), [#633](https://github.com/Ga...
Enable all datasets to take a `metadata` parameter ## Description Fixes #625. Make all kedro-mlflow datasets take a `metadata` parameter, thus aligning with kedro datasets. ## Development notes Added a `metadata` parameters to all datasets and tested that it is properly set and it does not appear when `datase...
Add `metadata` parameters to kedro-mlflow datasets <!-- **_If you like the repo, please give it a :star:_** --> Hi, First of all, thanks a lot for this amazing plugin! ## Description <!-- A clear and concise description of what you want to achieve. An image or a code example is worth thousand words! --> It seems tha...
Galileo-Galilei/kedro-mlflow
diff --git a/tests/io/artifacts/test_mlflow_artifact_dataset.py b/tests/io/artifacts/test_mlflow_artifact_dataset.py index 8d67ee6..1590731 100644 --- a/tests/io/artifacts/test_mlflow_artifact_dataset.py +++ b/tests/io/artifacts/test_mlflow_artifact_dataset.py @@ -376,3 +376,23 @@ def test_artifact_dataset_legacy_datas...
[ "tests/io/artifacts/test_mlflow_artifact_dataset.py::test_artifact_dataset_with_metadata[None]", "tests/io/artifacts/test_mlflow_artifact_dataset.py::test_artifact_dataset_with_metadata[metadata1]", "tests/io/artifacts/test_mlflow_artifact_dataset.py::test_artifact_dataset_with_metadata[metadata2]", "tests/io...
[ "tests/io/artifacts/test_mlflow_artifact_dataset.py::test_mlflow_csv_pkl_dataset_save_reload[CSVDataset-.csv-df1-None]", "tests/io/artifacts/test_mlflow_artifact_dataset.py::test_mlflow_csv_pkl_dataset_save_reload[pandas.CSVDataset-.csv-df1-None]", "tests/io/artifacts/test_mlflow_artifact_dataset.py::test_mlflo...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://docs.kedro.org/en/stable/hooks/common_use_case...
2d7262b4edafd825a80ca86fe990b2d919d21db9
2022-10-07 22:33:05
docker.io/swerebenchv2/xlate-staedi:303-2d7262b
xlate__staedi-303
Method: ElementType.ElementType(String id, Base base, int scale, String code, int number, long minLength, long maxLength, Map<String, String> values, List<ElementType.Version> versions, String title, String description) Location: src/main/java/io/xlate/edi/internal/schema/ElementType.java Inputs: - id – element identi...
java
Apache-2.0
diff --git a/src/main/java/io/xlate/edi/internal/schema/ElementType.java b/src/main/java/io/xlate/edi/internal/schema/ElementType.java index 22ae394..0e1a415 100644 --- a/src/main/java/io/xlate/edi/internal/schema/ElementType.java +++ b/src/main/java/io/xlate/edi/internal/schema/ElementType.java @@ -17,9 +17,9 @@ packa...
Store and provide access to the titles of enumerated element values Closes #302
Add support for obtaining enumeration title values from schema for the element_data Add a way to obtain title value from schema while reading(for the) ELEMENT_DATA. So that we don't need to put every possible definition programmatically in code and map it, but just read it from schema instead. For e.g. If we have val...
xlate/staedi
diff --git a/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java b/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java index 9436ea0..6f2f381 100644 --- a/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java +++ b/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java @@ -6,1...
[ "io.xlate.edi.internal.wiki.ReadFuncAcknowledgementTest", "io.xlate.edi.internal.wiki.WriteEdifactExampleTest", "io.xlate.edi.internal.wiki.ReadInterchangeAcknowledgementTest", "io.xlate.edi.internal.wiki.WriteInterchangeAcknowledgementTest", "io.xlate.edi.internal.stream.validation.DecimalValidatorTest", ...
[]
{ "base_image_name": "java_21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
ee540f16d8fe878857dac5d741032eb49b290461
2023-05-08 18:56:49
docker.io/swerebenchv2/alteryx-evalml:4179-ee540f1
alteryx__evalml-4179
Method: PipelineBase.load(file_path: Union[str, io.BytesIO]) → PipelineBase Location: evalml/pipelines/pipeline_base.py Inputs: - **file_path** (Union[str, io.BytesIO]): Either a filesystem path to a pickled pipeline file or a BytesIO object containing the pickled bytes. Outputs: - Returns a **PipelineBase** instance...
python
BSD-3-Clause
diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 3b532b4a..681dad25 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -2,6 +2,7 @@ Release Notes ------------- **Future Releases** * Enhancements + * Added BytesIO support to PipelinBase.load() ...
Added BytesIO support to PipelineBase.load() ### Pull Request Description Added support for BytesIO input to PipelineBase.load(), primarily to support VFS Fixes #4178
Update PipelineBase.load() to accept both a path and a file-like object Currently, PipelineBase.load() accepts just a file path. I have some scenarios in which I have a BytesIO object that I would like to pass into the function. Proposed update: 1. Allow str or BytesIO as the argument 2. If BytesIO, pass directl...
alteryx/evalml
diff --git a/evalml/tests/pipeline_tests/test_pipelines.py b/evalml/tests/pipeline_tests/test_pipelines.py index fb519c16..2477acab 100644 --- a/evalml/tests/pipeline_tests/test_pipelines.py +++ b/evalml/tests/pipeline_tests/test_pipelines.py @@ -1,6 +1,8 @@ +import io import os import pickle import re +from typing ...
[ "evalml/tests/pipeline_tests/test_pipelines.py::test_serialization[BytesIO]" ]
[ "evalml/tests/pipeline_tests/test_pipelines.py::test_init_with_invalid_type_raises_error[BinaryClassificationPipeline]", "evalml/tests/pipeline_tests/test_pipelines.py::test_init_with_invalid_type_raises_error[MulticlassClassificationPipeline]", "evalml/tests/pipeline_tests/test_pipelines.py::test_init_with_inv...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
9cfee7564efa3f58d730ae43f70886d2f0c0e670
2025-04-04 15:23:17
docker.io/swerebenchv2/microsoft-kiota:6414-9cfee75
microsoft__kiota-6414
Method: OpenApiResponsesExtensions.WhereValidForMediaTypeSelection(this OpenApiResponses responses) Location: src/Kiota.Builder/Extensions/OpenApiResponsesExtensions.cs Inputs: <strong>responses</strong> – an <code>OpenApiResponses</code> dictionary mapping status‑code strings to <code>IOpenApiResponse</code> objects; ...
csharp
MIT
diff --git a/CHANGELOG.md b/CHANGELOG.md index e2e24fc728..2b4c8b1238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Fixed a bug where Dart properties casing would change for serialization. +- Fixed a bug ...
fixes #6413
KiotaBuilder is incorrectly finding and using Default media types for contentless responses ### What are you generating using Kiota, clients or plugins? API Client/SDK ### In what context or format are you using Kiota? Nuget tool ### Client library/SDK language Csharp ### Describe the bug As mentioned and exampl...
microsoft/kiota
diff --git a/tests/Kiota.Builder.Tests/Extensions/OpenApiResponsesExtensionsTests.cs b/tests/Kiota.Builder.Tests/Extensions/OpenApiResponsesExtensionsTests.cs new file mode 100644 index 0000000000..82971aacba --- /dev/null +++ b/tests/Kiota.Builder.Tests/Extensions/OpenApiResponsesExtensionsTests.cs @@ -0,0 +1,54 @@ +...
[ "Kiota.Builder.Tests.Extensions.OpenApiSchemaExtensionsTests.IsOdataPrimitiveBackwardCompatible", "Kiota.Builder.Tests.Refiners.CodeUsingDeclarationNameComparerTests.Defensive", "Kiota.Builder.Tests.CodeDOM.CodeClassTests.GetsParentAndGrandParent", "Kiota.Builder.Tests.Writers.Ruby.CodeEnumWriterTests.DoesntW...
[ "Kiota.Builder.IntegrationTests.GenerateSample.GeneratesErrorsInliningParentsAsync(language: Ruby)", "Kiota.Builder.IntegrationTests.GenerateSample.GeneratesErrorsInliningParentsAsync(language: Java)", "Kiota.Builder.IntegrationTests.GenerateSample.GeneratesErrorsInliningParentsAsync(language: PHP)", "Kiota.B...
{ "base_image_name": "csharp_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.86, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/microsoft/kiota/discussions/6411" ...
6f9b87ecda5025259c69a1eb0ae6f8ee80d05d33
2025-06-25 15:16:31
docker.io/swerebenchv2/huggingface-huggingface_hub:3180-6f9b87e
huggingface__huggingface_hub-3180
Function: parse_xet_file_data_from_response(response: requests.Response, endpoint: Optional[str] = None) -> Optional[XetFileData] Location: src/huggingface_hub/utils/_xet.py Inputs: - **response** – an HTTP response object from the `requests` library. - **endpoint** – optional base URL string to replace hard‑coded `htt...
python
Apache-2.0
diff --git a/src/huggingface_hub/file_download.py b/src/huggingface_hub/file_download.py index 98748fd4..ebadc875 100644 --- a/src/huggingface_hub/file_download.py +++ b/src/huggingface_hub/file_download.py @@ -1407,6 +1407,7 @@ def get_hf_file_metadata( library_version: Optional[str] = None, user_agent: Unio...
Override xet refresh route's base URL with HF Endpoint fixes #3168. as mentioned by @coyotte508 in this (private) [comment](https://github.com/huggingface-internal/moon-landing/pull/14209#issuecomment-3000994756) , client-side handling is much simpler and future-proof, introducing a new server header would be overkill...
[BUG] HF_ENDPOINT not correctly handled in get_hf_file_metadata ### Describe the bug ### Describe the bug When testing [NanoVLM](https://github.com/huggingface/nanoVLM), I noticed that when xet_file_data is None, `HF_ENDPOINT` works correctly (e.g., for datasets). However, for some models, the metadata response still...
huggingface/huggingface_hub
diff --git a/tests/test_xet_utils.py b/tests/test_xet_utils.py index 893ad1e5..dffd6e0c 100644 --- a/tests/test_xet_utils.py +++ b/tests/test_xet_utils.py @@ -51,6 +51,34 @@ def test_parse_invalid_headers_file_info() -> None: assert parse_xet_file_data_from_response(mock_response) is None +@pytest.mark.paramet...
[ "tests/test_xet_utils.py::test_parse_header_file_info_with_endpoint[/api/refresh-/api/refresh]", "tests/test_xet_utils.py::test_parse_header_file_info_with_endpoint[https://huggingface.co/api/refresh-https://xet.example.com/api/refresh]" ]
[ "tests/test_xet_utils.py::test_parse_valid_headers_file_info", "tests/test_xet_utils.py::test_parse_valid_headers_file_info_with_link", "tests/test_xet_utils.py::test_parse_invalid_headers_file_info", "tests/test_xet_utils.py::test_parse_valid_headers_connection_info", "tests/test_xet_utils.py::test_parse_v...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/huggingface/nanoVLM" ], "in...
b05bf55097060ec20f49ccec0cf2f8e5aaa468b3
2023-04-06 14:42:13
docker.io/swerebenchv2/seldaek-monolog:1801-b05bf55
seldaek__monolog-1801
Method: FingersCrossedHandler.__construct(handler, activationStrategy, bufferSize, bubble = true, stopBuffering = false, passthruLevel = null) Location: src/Monolog/Handler/FingersCrossedHandler.php Inputs: - **handler** – a `Handler` instance that will receive the buffered records once activated. - **activationStra...
php
MIT
diff --git a/src/Monolog/Handler/FingersCrossedHandler.php b/src/Monolog/Handler/FingersCrossedHandler.php index ce2a3a8e..888ec998 100644 --- a/src/Monolog/Handler/FingersCrossedHandler.php +++ b/src/Monolog/Handler/FingersCrossedHandler.php @@ -181,9 +181,8 @@ class FingersCrossedHandler extends Handler implements Pr...
FingersCrossedHandler fix passthruLevel checking (Fixes #1800) Fixes https://github.com/Seldaek/monolog/issues/1800
FingersCrossedHandler Does not check passthruLevel properly Monolog version 3.2.1 FingersCrossedHandler have an option to passthrough log line above certain level without writing out every other lines in the request. The filtering logic check each buffered log line if it is above or equals to the passthrough level ...
Seldaek/monolog
diff --git a/tests/Monolog/Handler/FingersCrossedHandlerTest.php b/tests/Monolog/Handler/FingersCrossedHandlerTest.php index 702a5f08..ba01b9f6 100644 --- a/tests/Monolog/Handler/FingersCrossedHandlerTest.php +++ b/tests/Monolog/Handler/FingersCrossedHandlerTest.php @@ -259,9 +259,11 @@ class FingersCrossedHandlerTest ...
[ "Fingers Crossed Handler > Passthru on close", "Fingers Crossed Handler > Psr level passthru on close" ]
[ "As Monolog Processor > ", "Error Handler > Register", "Error Handler > Handle error", "Error Handler > Fatal handler with data set #0", "Error Handler > Fatal handler with data set #1", "Error Handler > Handle exception", "Error Handler > Code to string", "Chrome PHPFormatter > Default format", "Ch...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=/tmp/composer", "mkdir -p $COMPOSER_HOME", "composer install --prefer-dist --no-progress --no-interaction --ignore-platform-reqs" ], "log_parser": "parse_log_phpunit", "test_cmd": "./vendor/bin/phpunit --...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/Seldaek/monolog/blob/b05bf55097060ec2...
39c2f8e901f9211f4ab57eadd656c6bad24b6a8a
2017-12-29 04:05:36
docker.io/swerebenchv2/apollographql-apollo-codegen:345-39c2f8e
apollographql__apollo-codegen-345
Method: sortEnumValues(values: GraphQLEnumValue[]) → GraphQLEnumValue[] Location: src/utilities/graphql.ts Inputs: An array of GraphQLEnumValue objects representing enum values from a GraphQL schema. Outputs: A new array where the enum values are sorted alphabetically by their `value` property (ascending). This ensures...
ts
MIT
diff --git a/src/flow/codeGeneration.js b/src/flow/codeGeneration.js index 2c11f6fd..c5f0d8b2 100644 --- a/src/flow/codeGeneration.js +++ b/src/flow/codeGeneration.js @@ -23,6 +23,10 @@ import { wrap, } from '../utilities/printing'; +import { + sortEnumValues +} from '../utilities/graphql'; + import CodeGenerat...
Fix Flow-Modern incorrectly-flattened array generation Fixes #325 (_Flow Modern flattens Arrays in output_) This is an alternative implementation versus #342 which: * Provides full support of arbitrary nullable/nested lists without special casing top-level lists/nulls. (The `typeAnnotationFromGraphQLType` functio...
Flow Modern flattens Arrays in output The code generation for a standard Relay connection is generated like the following. Notice that the `edges` field is not generated as an array, but instead a single object type: > ```ts > edges: ?GetFoosById_foos_edges, // A list of edges. > ``` Schema: ```graphql t...
apollographql/apollo-codegen
diff --git a/src/javascript/flow/__tests__/__snapshots__/codeGeneration.ts.snap b/src/javascript/flow/__tests__/__snapshots__/codeGeneration.ts.snap index 894753a2..6bdcae98 100644 --- a/src/javascript/flow/__tests__/__snapshots__/codeGeneration.ts.snap +++ b/src/javascript/flow/__tests__/__snapshots__/codeGeneration.t...
[ "should generate correct typedefs with a single custom fragment", "should generate correct typedefs with a multiple custom fragments", "multiple files", "simple hero query", "simple mutation", "fragment with fragment spreads with inline fragment", "query with fragment spreads", "inline fragment", "i...
[ "should generate simple query operations", "should generate simple query operations including input variables", "should generate simple nested query operations including input variables", "should generate array query operations", "should generate simple nested with required elements in lists", "should gen...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci", "npm run compile" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --runInBand" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
1e60264548fd3bde5222c027de21c482b009ccb1
2021-12-21 12:23:23
docker.io/swerebenchv2/zeek-zeek:1909-1e60264
zeek__zeek-1909
No new interfaces are introduced.
cpp
custom-check-github
diff --git a/NEWS b/NEWS index 06c03755c..c986b21e4 100644 --- a/NEWS +++ b/NEWS @@ -147,6 +147,10 @@ Changed Functionality --enable-cpp-tests configure flag. Unit tests now also work in (static and dynamic) Zeek plugins. +- Entries in ``http.log`` now record the original ``HOST`` headers. + Previously, they w...
Fix HTTP host header handling - Switch to recording unmodified HTTP header. - Fix host header normalization in intel framework. Closes #1844.
HTTP HOST Value Bug for IPv6 https://github.com/zeek/zeek/blob/52b3e159a415fb3acd584f95aa64e2d2a9c0b282/scripts/base/protocols/http/main.zeek#L267 If an HTTP request is made directly to an IPv6 address, vs using a domain, the HOST header will look something like this ``` GET / HTTP/1.1 Host: [::1]:8080 ``` ...
zeek/zeek
diff --git a/testing/btest/Baseline/plugins.hooks/output b/testing/btest/Baseline/plugins.hooks/output index 45ee2b9c0..6ce199cb8 100644 --- a/testing/btest/Baseline/plugins.hooks/output +++ b/testing/btest/Baseline/plugins.hooks/output @@ -4460,7 +4460,6 @@ XXXXXXXXXX.XXXXXX MetaHookPost CallFunction(http_request, ...
[ "[#5] bifs.unique_id-pools", "[#15] coverage.zeekygen", "[#29] coverage.find-bro-logs", "[#13] coverage.test-all-policy", "[#25] scripts.base.frameworks.packet-filter.bad-filter" ]
[]
{ "base_image_name": "c", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "apt-get update -qq", "apt-get install -y -qq libpcap-dev libssl-dev zlib1g-dev swig", "git submodule update --init --recursive", "sed -i '1i#include <cstdint>' /zeek/auxil/broker/caf/libcaf_c...
{ "llm_metadata": { "code": "A", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/zeek/zeek/blob/52b3e159a415fb3acd58...
62622e214a939c07402fdc0efda41fd5e89959ca
2023-02-18 09:48:45
docker.io/swerebenchv2/cfug-dio:1671-62622e2
cfug__dio-1671
Method: Interceptors.removeImplyContentTypeInterceptor() Location: dio/lib/src/interceptor.dart (class Interceptors) Inputs: *none* – operates on the interceptor list held by the instance. Outputs: void – removes all instances of ImplyContentTypeInterceptor from the internal list, shrinking the interceptor queue ...
dart
MIT
diff --git a/dio/CHANGELOG.md b/dio/CHANGELOG.md index d96173e9c..7113e60bd 100644 --- a/dio/CHANGELOG.md +++ b/dio/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Add `ImplyContentTypeInterceptor` as a default interceptor. - Add `Headers.multipartFormDataContentType` for headers usage. ## 5.0.0 @@ -18,8 +19,6 @...
Reverts the functionality of cfug/diox#69. Resolves #1667 #1661 #1653 #1650 #1648 #1646 ### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dev/documentation/dio/latest/) - [x] I have searched for a similar pull request in the [project](https://github.com/cfug/dio/pulls) and found...
v5.0.0 manually setting the content-type ### Request Statement I was just wondering why did you remove the default content-type? I think this would be a problem for people like me who had a huge set of apis that bunch of them is sending a multi-part form data. the problem is I was only specifying the content typ...
cfug/dio
diff --git a/dio/test/interceptor_test.dart b/dio/test/interceptor_test.dart index 2f18826ff..549db784f 100644 --- a/dio/test/interceptor_test.dart +++ b/dio/test/interceptor_test.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'package:dio/dio.dart'; +import 'package:dio/src/interceptors/imply_content_type.dart';...
[ "Request Interceptor interceptor chain", "Request Interceptor unexpected error", "Request Interceptor request interceptor", "Request Interceptor ImplyContentTypeInterceptor", "default content-type", "response interceptor Response Interceptor", "response interceptor multi response interceptor", "Queued...
[ "Ensure DioError is an Exception", "assureResponse", "options", "FormData", "application/json", "catch DioError", "options content-type", "default ", "text/json", "csv", "application/vnd.example.com+json", "ssv", "tsv", "pipe", "multi", "multi2", "catch DioError as Exception", "cus...
{ "base_image_name": "dart_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4dbd5f38c700260f4130d364347331e155fcba0c
2021-12-14 14:42:52
docker.io/swerebenchv2/dell-csi-baremetal:655-4dbd5f3
dell__csi-baremetal-655
Method: CSINodeService.SetWbtConfig(self, cfg *wbtcommon.WbtConfig) Location: pkg/node/node.go (CSINodeService struct) Inputs: cfg – pointer to wbtcommon.WbtConfig containing Enable flag, Value and VolumeOptions; may be nil. Outputs: none (updates internal VolumeManager configuration). Description: Updates the node ser...
go
Apache-2.0
diff --git a/cmd/node/main.go b/cmd/node/main.go index 72b29e1..f80017c 100644 --- a/cmd/node/main.go +++ b/cmd/node/main.go @@ -28,6 +28,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/health/grpc_health_v1" + corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" clientgoscheme "k8s.io...
[ISSUE-635] Support WBT disabling (release) ### Resolves #635 Changes from https://github.com/dell/csi-baremetal/pull/638 ## PR checklist - [x] Add link to the issue - [x] Choose Project - [x] Choose PR label - [x] New unit tests added - [x] Modified code has meaningful comments - [x] All TODOs are linked w...
Support custom WBT settings pass **Is your feature request related to a problem? Please describe.** CSI should have an opportunity to set custom WBT value for device. **Describe the solution you'd like** Options: - disable/enable for kernel versions range - restore default value **Describe alternatives you've...
dell/csi-baremetal
diff --git a/pkg/node/common_test_data.go b/pkg/node/common_test_data.go index 6bbd435..6608fa3 100644 --- a/pkg/node/common_test_data.go +++ b/pkg/node/common_test_data.go @@ -54,8 +54,8 @@ var ( testLogger = getTestLogger() testCtx = context.Background() - disk1 = api.Drive{UUID: uuid.New().String(),...
[ "TestNodeLivenessCheck", "TestNodeLivenessCheck/OK_by_default", "TestNodeLivenessCheck/Marked_as_failed,_ttl_not_expired", "TestNodeLivenessCheck/Marked_as_failed,_ttl_expired", "TestNodeLivenessCheck/Marked_OK,_no_updates_for_a_long_time", "TestNodeLivenessCheck/Marked_OK,_no_updates_for_a_long_time,_tim...
[ "TestInitLoggerStdOut", "TestInitLoggerCorrectPath", "TestInitLoggerWrongPath", "TestNewMemCache", "TestMemCache_Set", "TestMemCache_Get", "TestMemCache_Delete", "TestSubtractLVMMetadataSize", "TestSubtractLVMMetadataSize/500MiB", "TestSubtractLVMMetadataSize/501MiB", "TestSubtractLVMMetadataSiz...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "B4", "confidence": 0.94, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
31007079704dd9eb099bb97fe6637395c0d139d8
2022-09-12 10:40:35
docker.io/swerebenchv2/influxdata-telegraf-operator:108-3100707
influxdata__telegraf-operator-108
No new interfaces are introduced.
go
Apache-2.0
diff --git a/README.md b/README.md index 26a2093..36b6442 100644 --- a/README.md +++ b/README.md @@ -279,6 +279,10 @@ Additional pod annotations that can be used to configure the Telegraf sidecar: - `telegraf.influxdata.com/requests-memory` : allows specifying resource requests for memory - `telegraf.influxdata.com/l...
feat: support custom cpu request limit istio sidecar Closes #107 Adds resource requests/limits to istio sidecar via pod annotations or input argument flags the same as the telegraf sidecar - [x] Signed the [InfluxData CLA](https://www.influxdata.com/legal/cla/) ([if necessary](https://github.com/influxdata/tel...
Telegraf-istio sidecar is killed with OOM We use `--enable-istio-injection=true` to inject sidecar for Envoy instances. The default memory limit is 200Mi. OOM killer kills the sidecar approximately every 10 minutes. With the sidecar instance fails. For workloads we can tune limits with metadata annotations. It should ...
influxdata/telegraf-operator
diff --git a/handler_test.go b/handler_test.go index d1989e0..7d2f534 100644 --- a/handler_test.go +++ b/handler_test.go @@ -627,6 +627,10 @@ func Test_podInjector_Handle(t *testing.T) { RequestsMemory: defaultRequestsMemory, LimitsCPU: defaultLimitsCPU, LimitsMemory: defaultLimi...
[ "Test_classDataHandler_getData", "Test_classDataHandler_getData/data_does_not_contain_class_name", "Test_classDataHandler_getData/returns_secret_data", "Test_classDataHandler_validateClassData", "Test_classDataHandler_validateClassData/returns_error_when_no_classes_found", "Test_classDataHandler_validateC...
[]
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.87, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
ed2f9f5d49b277e14737aeef6c07af00118c43c3
2023-09-24 02:39:15
docker.io/swerebenchv2/camshaft-bolero:182-ed2f9f5
camshaft__bolero-182
Method: Engine::Random Location: bin/cargo-bolero/src/engine.rs (enum Engine) Inputs: none (enum variant) Outputs: Engine::Random (variant value) Description: Adds a new engine variant that runs tests using pure randomness instead of coverage‑guided fuzzing. Function: Engine::from_str(value: &str) -> Result<Engine> Lo...
c
MIT
diff --git a/bin/cargo-bolero/src/engine.rs b/bin/cargo-bolero/src/engine.rs index c841614..0618e11 100644 --- a/bin/cargo-bolero/src/engine.rs +++ b/bin/cargo-bolero/src/engine.rs @@ -14,6 +14,8 @@ pub enum Engine { #[cfg(feature = "kani")] Kani, + + Random, } impl Engine { @@ -29,6 +31,8 @@ impl En...
feat: add random engine resolves #179
new "random" engine Bolero's standard engines, like AFL and libfuzzer, use coverage-guided fuzzing under the hood for input generation. I'd like a new engine that has the same interface as these others, but just uses normal randomness under the hood for input generation. I realize that `cargo test` works this way no...
camshaft/bolero
diff --git a/bin/cargo-bolero/src/test.rs b/bin/cargo-bolero/src/test.rs index 6087ba2..60f347e 100644 --- a/bin/cargo-bolero/src/test.rs +++ b/bin/cargo-bolero/src/test.rs @@ -21,7 +21,7 @@ pub struct Test { #[derive(Debug, StructOpt)] pub struct Args { /// Run the engine with an initial seed - #[structopt(s...
[ "test tests::slice_generator_test - should panic", "test tests::type_generator_test - should panic", "test tests::type_generator_cloned_test - should panic", "test tests::nested_test", "test tests::range_generator_cloned_test", "test tests::range_generator_test", "test target_location::tests::format_sym...
[]
{ "base_image_name": "c", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "java_vers...
{ "llm_metadata": { "code": "A", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a1af42da9521d115a583c06482b0bbde08ec0286
2022-11-12 16:11:35
docker.io/swerebenchv2/neurodatawithoutborders-pynwb:1596-a1af42d
neurodatawithoutborders__pynwb-1596
Method: PatchClampSeries.__init__(self, name: str, data: array-like, unit: str, electrode: IntracellularElectrode, gain: float, stimulus_description: str = "N/A", resolution=None, conversion=None, timestamps=None, starting_time=None, rate=None, comments=None, description=None, control=None, control_description=None, of...
python
custom-check-github
diff --git a/CHANGELOG.md b/CHANGELOG.md index 220a24f4..0bc9d4e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,9 +15,12 @@ [#1586](https://github.com/NeurodataWithoutBorders/pynwb/pull/1586) - More informative error message for common installation error. @bendichter, @rly [#1591](https://github.com/Neurod...
Patch clamp series data shape ## Motivation fix #1300 ## Checklist - [x] Did you update CHANGELOG.md with your changes? - [x] Have you checked our [Contributing](https://github.com/NeurodataWithoutBorders/pynwb/blob/dev/docs/CONTRIBUTING.rst) document? - [x] Have you ensured the PR clearly describes the prob...
`PatchClampSeries.data` should be 1-dimensional ## Description The PatchClampSeries schema says: ```yaml - name: data dtype: numeric dims: - num_times shape: - null ``` The `PatchClampSeries` constructor should validate the shape of the `data` argument and enforce that it is 1-dimensional. #...
NeurodataWithoutBorders/pynwb
diff --git a/tests/unit/test_icephys.py b/tests/unit/test_icephys.py index 7791fe07..389ee449 100644 --- a/tests/unit/test_icephys.py +++ b/tests/unit/test_icephys.py @@ -200,6 +200,19 @@ class PatchClampSeriesConstructor(TestCase): PatchClampSeries('test_pCS', list(), 'unit', ...
[ "tests/unit/test_icephys.py::PatchClampSeriesConstructor::test_data_shape" ]
[ "tests/unit/test_icephys.py::NWBFileICEphys::test_add_ic_electrode_deprecation", "tests/unit/test_icephys.py::NWBFileICEphys::test_create_ic_electrode_deprecation", "tests/unit/test_icephys.py::NWBFileICEphys::test_ic_electrodes_attribute_deprecation", "tests/unit/test_icephys.py::NWBFileICEphys::test_ic_elec...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/NeurodataWithoutBorders/pynwb/issues"...
23adb4fac4d8f5a84ecd13cb2cb10727da9e8cf3
2017-03-31 11:21:15
docker.io/swerebenchv2/python-babel-babel:488-23adb4f
python-babel__babel-488
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/babel/messages/extract.py b/babel/messages/extract.py index efddbf5..ffcfac8 100644 --- a/babel/messages/extract.py +++ b/babel/messages/extract.py @@ -445,7 +445,8 @@ def extract_python(fileobj, keywords, comment_tags, options): translator_comments.append((lineno, value)) ...
Extract Python messages in nested gettext calls This patch fixes #487. There're only one small change and complex test cases.
Extract Python messages in nested gettext calls When Babel extracts messages from Python code, it ignores `_(...)` in another `_(...)`. My `_` is slightly customized to accept `**kwargs` for formatting. I guess it is one of common patterns. So I can write like this code: ```python #: TRANSLATOR: Users can have...
python-babel/babel
diff --git a/tests/messages/test_extract.py b/tests/messages/test_extract.py index 22ea1cd..873439d 100644 --- a/tests/messages/test_extract.py +++ b/tests/messages/test_extract.py @@ -424,6 +424,37 @@ _('Babatschi')""") self.assertEqual([u'This is a multiline comment with', u'a pref...
[ "tests/messages/test_extract.py::ExtractPythonTestCase::test_nested_messages" ]
[ "tests/messages/test_extract.py::ExtractPythonTestCase::test_comment_tag", "tests/messages/test_extract.py::ExtractPythonTestCase::test_comment_tag_multiline", "tests/messages/test_extract.py::ExtractPythonTestCase::test_comment_tag_with_leading_space", "tests/messages/test_extract.py::ExtractPythonTestCase::...
{ "base_image_name": "python_base_37", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4abf51ead3af6ad18ad51bdec884d54449f98282
2024-07-02 02:04:30
docker.io/swerebenchv2/ant-design-ant-design-mobile:6657-4abf51e
ant-design__ant-design-mobile-6657
Function: NavBar(props: { back?: ReactNode, backIcon?: ReactNode | true, backArrow?: ReactNode | true, children?: ReactNode, // …other NavBarProps fields (e.g., className, style, native props) }) → JSX.Element Location: src/components/nav-bar/nav-bar.tsx Inputs: - **back** – optional content displayed next to...
ts
MIT
diff --git a/src/components/nav-bar/nav-bar.tsx b/src/components/nav-bar/nav-bar.tsx index 79baa5abf..15ad98b94 100644 --- a/src/components/nav-bar/nav-bar.tsx +++ b/src/components/nav-bar/nav-bar.tsx @@ -3,7 +3,7 @@ import classNames from 'classnames' import type { FC, ReactNode } from 'react' import React from 'rea...
fix: nav_bar backIcon attribute is compatible with backArrow attribute fix #6656
NavBar组件新增backIcon属性后导致backArrow失效 ### Version of antd-mobile 5.37.0 ### Operating system and its version iOS, Android, Others ### Browser and its version chrome ### Sandbox to reproduce _No response_ ### What happened? ![image](https://github.com/ant-design/ant-design-mobile/assets/58965729/30eecf7a-a439-44a9...
ant-design/ant-design-mobile
diff --git a/src/components/nav-bar/tests/nav-bar.test.tsx b/src/components/nav-bar/tests/nav-bar.test.tsx index dc2791733..31f2549e6 100644 --- a/src/components/nav-bar/tests/nav-bar.test.tsx +++ b/src/components/nav-bar/tests/nav-bar.test.tsx @@ -16,8 +16,10 @@ describe('NavBar', () => { }) it('legacy', (...
[ "close automatically when timeout", "manual clear", "global config", "close should be work when the toast is not mounted" ]
[ "a11y", "basic usage", "auto play", "auto play reverse", "loop", "auto play and loop", "`swipePrev` & `swipeNext`", "`onIndexChange` should be called when use `swipeTo`", "`onIndexChange` should not be called when use `swipeTo` equal value", "dont't allow touch move", "custom indicator", "dire...
{ "base_image_name": "node_20", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.94, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
1baceda12d49103b814acded9259657fd8e0730e
2021-07-25 04:58:48
docker.io/swerebenchv2/adhocore-gronx:7-1baceda
adhocore__gronx-7
No new interfaces are introduced.
go
MIT
diff --git a/validator.go b/validator.go index 3437f42..074415b 100644 --- a/validator.go +++ b/validator.go @@ -53,16 +53,12 @@ func inRange(val int, s string) (bool, error) { } func inStepRange(val, start, end, step int) bool { - for { - if start == val { + for i := start; i <= end && i <= val; i += step { + if...
Fix range-with-step check for boundary condition (#6) Fixes #6
Range-with-step showing time outside the range as due First of all, thanks for the awesome library. For the following example, IsDue() is returning `true` incorrectly. ``` expr = 0-10/2 * * * * ref = 2011-06-20 12:12:00 ``` I think it is because of this function: ``` func inStepRange(val, start, end, step ...
adhocore/gronx
diff --git a/gronx_test.go b/gronx_test.go index 8948172..c6a55c3 100644 --- a/gronx_test.go +++ b/gronx_test.go @@ -129,6 +129,7 @@ func testcases() []Case { {"0 0 * * 2-7", "2011-06-18 23:09:00", false}, {"0 0 * * 4-7", "2011-07-19 00:00:00", false}, {"0-12/4 * * * *", "2011-06-20 12:04:00", true}, + {"0-10...
[ "TestIsDue", "TestIsDue/is_due_0-10/2_*_*_*_*" ]
[ "TestNormalize", "TestNormalize/normalize_*___*__*_*_*", "TestNormalize/normalize_*_*_*_*_*_2021", "TestNormalize/normalize_@hourly", "TestNormalize/normalize_0_0_JAN,feb_*_sun,MON", "TestIsValid", "TestIsValid/is_valid", "TestIsValid/is_not_valid", "TestIsDue/is_due_@always", "TestIsDue/is_due_*_...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
4d394438d7f423f86c1bc45db262d85690135586
2020-09-18 07:12:26
docker.io/swerebenchv2/vuejs-composition-api:532-4d39443
vuejs__composition-api-532
Method: reactive<T>(obj: T) Location: src/reactivity/reactive.ts Inputs: **obj** – a plain object **or** an `Array` (must be extensible and not marked as raw). Outputs: a reactive proxy of the supplied value (`UnwrapRef<T>`). When an array is passed, the returned proxy tracks array mutations (push, pop, splice, et...
ts
MIT
diff --git a/README.md b/README.md index 719efad..2ebd041 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,33 @@ b.list[0].count.value === 0 // true </details> +<details> +<summary> +✅ <b>Should</b> always use <code>ref</code> in a <code>reactive</code> when working with <code>Array</code> +</summary> + +```j...
fix(reactive): fix issue when using reactive `array` in the template fix #524 Readded the recommendation of using `ref([])` instead of `reactive([])`, because `reactive([])` doesn't work well with `computed` atm
Bug in composition-api beta 14 **composition-api beta 12** ``` <template> <div> <p v-for="item in items"> {{ item }} </p> </div> </template> export default { setup(props, { root }) { const items = reactive([]); setTimeout(() => { items.push(...
vuejs/composition-api
diff --git a/test/setup.spec.js b/test/setup.spec.js index b3bd34e..9bd1c7f 100644 --- a/test/setup.spec.js +++ b/test/setup.spec.js @@ -896,6 +896,110 @@ describe('setup', () => { expect(vm.$el.textContent).toBe('2') }) + // #524 + it('should work with reactive arrays.', async () => { + const opts = { +...
[ "should work with reactive arrays.", "should work with reactive array nested", "should not unwrap reactive array nested" ]
[ "should in SSR context", "should render", "reactive + isReactive", "shallowRef + isRef", "should allow install in multiple vue", "should warn install in multiple vue", "should warn installing multiple times", "should work", "should work with rootProps", "should work with components", "should wor...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "npm config set registry https://registry.npmjs.org/", "npm install --prefer-offline --no-audit --quiet", "npm run build --if-present" ], "log_parser": "parse_log_js_4", "test_cmd": "n...
{ "llm_metadata": { "code": "A", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
fa4352a9aab6e6e518f22975a8cccce1fff4a0e2
2024-10-17 22:07:19
docker.io/swerebenchv2/getmoto-moto:8237-fa4352a
getmoto__moto-8237
Method: RDSBackend.describe_db_proxy_targets(self, proxy_name: str) → List[ProxyTarget] Location: moto/rds/models.py → class RDSBackend Inputs: - **proxy_name** – the name of the DB proxy whose target list is requested. Outputs: Returns a list of ProxyTarget objects representing each registered target (cluster ...
python
Apache-2.0
diff --git a/IMPLEMENTATION_COVERAGE.md b/IMPLEMENTATION_COVERAGE.md index ffdc5862e..f80ef52af 100644 --- a/IMPLEMENTATION_COVERAGE.md +++ b/IMPLEMENTATION_COVERAGE.md @@ -6460,7 +6460,7 @@ ## rds <details> -<summary>38% implemented</summary> +<summary>42% implemented</summary> - [ ] add_role_to_db_cluster - [...
RDS: Proxy Target Groups Fixes #8159
Enhancement: Request: Add support for RDS Proxy Target Groups # Request It would be great if Moto added support for db proxy target groups. According to the [RDS feature list](https://docs.getmoto.org/en/latest/docs/services/rds.html) it is missing both the describe and modify action: `[ ] describe_db_proxy_target_gro...
getmoto/moto
diff --git a/.github/workflows/tests_terraform_examples.yml b/.github/workflows/tests_terraform_examples.yml index d83ef22cc..26d59d99b 100644 --- a/.github/workflows/tests_terraform_examples.yml +++ b/.github/workflows/tests_terraform_examples.yml @@ -45,6 +45,7 @@ jobs: docker run --rm -t --name motoserver -...
[ "tests/test_rds/test_rds_proxy_target_groups.py::test_default_proxy_targets", "tests/test_rds/test_rds_proxy_target_groups.py::test_register_db_proxy", "tests/test_rds/test_rds_proxy_target_groups.py::test_modify_group" ]
[ "tests/test_rds/test_rds_proxy.py::test_describe_db_proxies_not_found" ]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://docs.getmoto.org/en/latest/docs/services/rds.h...
372dae95d6f3d72057af19a10c6dd17e8f6a93bd
2021-09-02 11:18:35
docker.io/swerebenchv2/mitsuhiko-redis-rs:538-372dae9
mitsuhiko__redis-rs-538
No new interfaces are introduced.
rust
custom-check-github
diff --git a/Cargo.lock b/Cargo.lock index 2c2eabe..0beb2f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "arc-swap" -version = "1.3.0" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e906254e445520903e7fc9da4f709886c...
fix: Compile with tokio-comp and up-to-date dependencies Some other crate changed their feature flags in a breaking manner which seems to have removed the `futures-util/alloc` feature we implicitly relied on. Fixes #531
Redis 0.20.1 with tokio-comp feature failed to build on CentOS7 OS: CentOS7 Rust: 1.54.0 Cargo: 1.54.0 Cargo deps: redis = { version = "0.20.1", features = ["tokio-comp"] } ``` error[E0412]: cannot find type `BoxFuture` in module `futures_util::future` --> /root/.cargo/registry/src/github.com-1ecc6299db9ec82...
mitsuhiko/redis-rs
diff --git a/tests/test_cluster.rs b/tests/test_cluster.rs index 97ee037..81c91d8 100644 --- a/tests/test_cluster.rs +++ b/tests/test_cluster.rs @@ -190,6 +190,7 @@ fn test_cluster_pipeline_command_ordering() { } #[test] +#[ignore] // Flaky fn test_cluster_pipeline_ordering_with_improper_command() { let clust...
[ "acl::tests::test_from_redis_value", "acl::tests::test_rule_to_arg", "client::test::regression_293_parse_ipv6_with_interface", "cluster_client::tests::give_different_password_by_initial_nodes", "cluster_client::tests::give_no_password", "cluster_client::tests::give_password_by_initial_nodes", "cluster_c...
[]
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
5721354a30c013649bf3a32bd5e65b8eba05d7ca
2025-05-27 19:43:35
docker.io/swerebenchv2/gleam-lang-gleam:4629-5721354
gleam-lang__gleam-4629
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a5ed9c5e..6008906f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,11 @@ in the current module, leading to invalid code. ([Surya Rose](https://github.com/GearsDatapacks)) +- Fixed a bug where the language server would offer completions for local + vari...
Fix local variable completions This PR fixes #4625. I've modified the code for local variable completions to take into account several more cases which weren't before. I wonder if there's a better way to approach this code, as it feels a little hacky at the moment using lexical position for everything. For now though...
Variable completion goes out of case arm bounds <!-- Please include the following: - Steps and code to reproduce the problem - Versions for Gleam, OS, the runtime and any other software used - Logs from running Gleam with the `GLEAM_LOG` environment variable set to `trace` --> Given this code, with the cursor inside th...
gleam-lang/gleam
diff --git a/compiler-core/src/language_server/tests/completion.rs b/compiler-core/src/language_server/tests/completion.rs index 3475fd013..9d6dcc824 100644 --- a/compiler-core/src/language_server/tests/completion.rs +++ b/compiler-core/src/language_server/tests/completion.rs @@ -2131,3 +2131,110 @@ pub fn main() { ...
[ "language_server::tests::completion::no_variable_completions_after_block_scope", "language_server::tests::completion::no_variable_completions_after_anonymous_function_scope", "language_server::tests::completion::no_variable_completions_after_case_clause_scope", "language_server::tests::completion::no_variable...
[ "build_lock::locking_dev_erlang", "build_lock::locking_dev_javascript", "build_lock::locking_lsp_javascript", "build_lock::locking_prod_javascript", "build_lock::locking_global", "build_lock::locking_prod_erlang", "config::tests::package_root_git", "config::tests::package_root_local", "build_lock::l...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/gleam-lang/gleam/issues/4625" ]...
56fc5c27d430a054a603317c097f2f46a6199048
2022-02-16 15:25:07
docker.io/swerebenchv2/evcc-io-evcc:2613-56fc5c2
evcc-io__evcc-2613
Method: LoadPoint.activePhases(self) Location: core/loadpoint_phases.go Inputs: none (reads LoadPoint.Phases, vehicle Phases() and internally‑tracked measuredPhases) Outputs: int – the number of phases that are considered active for power calculations (minimum of configured, vehicle‑supported and measured phases, de...
go
MIT
diff --git a/api/api.go b/api/api.go index a4d89be8..08bf3264 100644 --- a/api/api.go +++ b/api/api.go @@ -11,7 +11,7 @@ import ( "github.com/gorilla/mux" ) -//go:generate mockgen -package mock -destination ../mock/mock_api.go github.com/evcc-io/evcc/api Charger,ChargeState,ChargePhases,Identifier,Meter,MeterEnerg...
Redesign phase handling Fix #2519, #2525, #2638 Dieser PR implementiert vieles neu was mit Phasennutzung, -messung und -umschaltung zu tun hat: - konfigurierte, gemessene und erwartete Phasenwerte sind nun klar logisch voneinander getrennt - unbekannte Phasenkonfigurationen und Schaltzustände werden wenn nötig kon...
Easee wallbox stoppt Ladung nach Phasenumschaltung **Describe the bug** Das Laden startet bei "Min+PV" 3-phasig, da genug Überschuss vorhanden. Dann sinkt der PV Output und es erfolgt ein Wechsel auf 1P. Es erscheint die Warnung ```ignoring inconsistent phases: 1p < 3p observed active``` und die Ladung wird nicht wi...
evcc-io/evcc
diff --git a/core/loadpoint_phases_test.go b/core/loadpoint_phases_test.go new file mode 100644 index 00000000..fb1e3226 --- /dev/null +++ b/core/loadpoint_phases_test.go @@ -0,0 +1,296 @@ +package core + +import ( + "strings" + "testing" + "time" + + evbus "github.com/asaskevich/EventBus" + "github.com/benbjohnson/clo...
[ "TestVehicleDetectByStatus", "TestPvScalePhases", "TestPvScalePhasesTimer", "TestNew", "TestUpdatePowerZero", "TestPVHysteresis", "TestPVHysteresisForStatusOtherThanC", "TestDisableAndEnableAtTargetSoC", "TestSetModeAndSocAtDisconnect", "TestChargedEnergyAtDisconnect", "TestTargetSoC", "TestSo...
[ "TestLocalV1", "TestLocalV2", "TestUnmarshalTPLinkSystemResponses", "TestTimer", "TestRemainingChargeDuration", "TestSoCEstimation", "TestSoCFromChargerAndVehicleWithErrors", "TestProxyChargeMeter", "TestNoMeter", "TestWrappedMeter", "TestMeterTemplates/tasmota", "TestMeterTemplates/cfos", "...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.24.0", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [ "https://pastes.io/f54w84upoa" ], "intent_complet...
4ad6c7a287009f727a8b627b091ba19ba06d9342
2024-10-04 11:57:17
docker.io/swerebenchv2/pandas-dev-pandas:59966-4ad6c7a
pandas-dev__pandas-59966
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index a5b4560a47..52debcc49e 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -544,7 +544,7 @@ Bug fixes Categorical ^^^^^^^^^^^ -- +- Bug in :func:`Series.apply` where ``nan`` was ignored for :class:`Cat...
BUG: fix treatment of NaNs when .apply() function is used on categorical columns. - [x] closes #59938 - [x] [Tests added and passed] (modified existing test function to accommodate change for `NaN` in cat columns) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codeba...
BUG: Inconsistent treatment of NaNs when `.apply()` function is used on categorical columns ### 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]...
pandas-dev/pandas
diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py index dee0efcd8f..f0ab01e9e9 100644 --- a/pandas/tests/apply/test_frame_apply.py +++ b/pandas/tests/apply/test_frame_apply.py @@ -741,8 +741,9 @@ def test_apply_category_equalness(val): result = df.a.apply(lambda x: x ==...
[ "pandas/tests/apply/test_frame_apply.py::test_apply_category_equalness[asd]", "pandas/tests/apply/test_frame_apply.py::test_apply_category_equalness[12]", "pandas/tests/apply/test_frame_apply.py::test_apply_category_equalness[None]", "pandas/tests/apply/test_frame_apply.py::test_apply_category_equalness[nan]"...
[ "pandas/tests/apply/test_frame_apply.py::test_apply[python]", "pandas/tests/apply/test_frame_apply.py::test_apply_args[python-True-True-0]", "pandas/tests/apply/test_frame_apply.py::test_apply_args[python-True-True-1]", "pandas/tests/apply/test_frame_apply.py::test_apply_args[python-True-False-0]", "pandas/...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.94, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://pandas.pydata.org/docs/whatsnew/index.html", ...
27e4fae3e79d179bcf79c32cf3bb404770ac0491
2017-06-29 05:40:42
docker.io/swerebenchv2/sindresorhus-query-string:99-27e4fae
sindresorhus__query-string-99
No new interfaces are introduced.
js
MIT
diff --git a/index.js b/index.js index 2d22df2..37c4853 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ 'use strict'; var strictUriEncode = require('strict-uri-encode'); var objectAssign = require('object-assign'); +var decodeComponent = require('decode-uri-component'); function encoderForArrayFormat(opts) {...
Add better component decoder - fixes #98 This is another approach in order to solve #98 and PR #97. It uses [`decode-uri-component`](https://github.com/SamVerschueren/decode-uri-component) which doesn't throw an error when it fails to decode. It tries to decode as much from the input as possible. Most of the time, it u...
URIError: malformed URI sequence When you reload a page with a URL having the form '?q=%' an error occurs **URIError: malformed URI sequence** Solution: ` try { val = val === undefined ? null : decodeURIComponent(val); } catch (e) { val = null; }` Is it cor...
sindresorhus/query-string
diff --git a/test/parse.js b/test/parse.js index d1561ef..c2af489 100644 --- a/test/parse.js +++ b/test/parse.js @@ -169,3 +169,8 @@ test('circuit original -> parse - > stringify -> sorted original', t => { t.deepEqual(fn.stringify(fn.parse(original, options), options), sortedOriginal); }); + +test('decode keys an...
[ "parse › decode keys and values" ]
[ "extract › should extract query string from url", "extract › should handle strings not containing query string", "extract › should throw for invalid values", "stringify › stringify", "stringify › different types", "stringify › URI encode", "stringify › no encoding", "stringify › handle array value", ...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/SamVerschueren/decode-uri-component" ...
9736f3204a2599d6a152d9bd3d800f5a6124d175
2024-09-11 13:36:03
docker.io/swerebenchv2/rust-lang-cargo:14530-9736f32
rust-lang__cargo-14530
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/src/cargo/ops/vendor.rs b/src/cargo/ops/vendor.rs index f3d0883bd..35d0e0c94 100644 --- a/src/cargo/ops/vendor.rs +++ b/src/cargo/ops/vendor.rs @@ -207,8 +207,10 @@ fn sync( let dst = canonical_destination.join(&dst_name); to_remove.remove(&dst); let cksum = dst.join(".cargo-chec...
fix(vendor): trust crate version only when coming from registries ### What does this PR try to resolve? Fixes #8181 Relates to #11897 and #14525 ### How should we test and review this PR? As mentioned in the contribution guide, I made a first commit adding a test that passes with the actual behaviour. Then, I...
cargo vendor doesn't re-vendor if the version number hasn't changed <!-- Thanks for filing a 🐛 bug report 😄! --> **Problem** <!-- A clear and concise description of what the bug is. --> <!-- including what currently happens and what you expected to happen. --> `cargo vendor` fails to re-vendor a package if: ...
rust-lang/cargo
diff --git a/tests/testsuite/vendor.rs b/tests/testsuite/vendor.rs index 7f7ef2b24..39651268b 100644 --- a/tests/testsuite/vendor.rs +++ b/tests/testsuite/vendor.rs @@ -1568,6 +1568,67 @@ path = [..] ); } +#[cargo_test] +fn git_update_rev() { + let (git_project, git_repo) = git::new_repo("git", |p| { + ...
[ "sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash", "sources::git::utils::tests::test_absolute_submodule_url", "util::dependency_queue::test::deep_first_equal_cost", "util::graph::path_to_self", "registry::lockfile_locks_transitively_git", "tree::workspace_features_are_...
[ "core::gc::tests::time_span_errors", "core::features::test::ensure_sorted", "core::gc::tests::time_spans", "core::package_id::tests::display", "core::package_id::tests::invalid_version_handled_nicely", "core::resolver::version_prefs::test::test_empty_summaries", "core::package_id::tests::unequal_build_m...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": "1.89.0", "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2af4cccaf6ea69b11efe2af73c498d1369e77e72
2023-04-10 23:19:12
docker.io/swerebenchv2/aws-cloudformation-rain:118-2af4ccc
aws-cloudformation__rain-118
No new interfaces are introduced.
go
Apache-2.0
diff --git a/cft/format/json.go b/cft/format/json.go index 75debf1b..cc5b17c9 100644 --- a/cft/format/json.go +++ b/cft/format/json.go @@ -5,6 +5,7 @@ import ( "strings" "github.com/ake-persson/mapslice-json" + "github.com/aws-cloudformation/rain/cft/parse" "gopkg.in/yaml.v3" ) @@ -67,11 +68,17 @@ func jsoni...
Fix fmt error with FindInMap for JSON Fixes #116
"semantic difference after formatting" for FindInMap `rain` seems to be throwing "semantic difference after formatting" error for valid YAML template. Example template: ``` --- AWSTemplateFormatVersion: '2010-09-09' Description: Reproduce "semantic difference after formatting" error Parameters: Environme...
aws-cloudformation/rain
diff --git a/cft/format/format_test.go b/cft/format/format_test.go index be667592..0815edb9 100644 --- a/cft/format/format_test.go +++ b/cft/format/format_test.go @@ -157,12 +157,18 @@ const expectedJson = `{ "Outputs": { "Bucket1": { "Value": { - "Fn::GetAtt": "Bucket1.Arn" + ...
[ "TestFormatDefault" ]
[ "TestComments", "TestAllResourceTypes", "TestCompareScalar", "TestCompareSlices", "TestCompareMaps", "TestCompare", "TestDiff", "ExampleValue", "ExampleSlice", "ExampleMap", "ExampleNew", "Example_nodes", "Example_get", "Example_getReverse", "TestPreserveComments", "TestRead", "TestR...
{ "base_image_name": "go_1.22.12", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.22.1", "helm_version": null, ...
{ "llm_metadata": { "code": "B1", "confidence": 0.78, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
e78a3a49858de688cad6996a8c2c28540316fd89
2024-10-07 21:08:14
docker.io/swerebenchv2/jump-dev-jump.jl:3840-e78a3a4
jump-dev__jump.jl-3840
Method: get_attribute(model::GenericModel, name::String) Location: src/optimizer_interface.jl Inputs: - **model**: a `GenericModel` instance representing the JuMP model. - **name**: a `String` (or any `AbstractString` such as `SubString`) that specifies the name of the MOI attribute to retrieve. Outputs: Returns the va...
julia
custom-check-github
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e8e1145d4b1..d6599e4ccdf 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest ...
Closes #3839 <s>I want to do an extension test. Anyone expecting some subtype of `AbstractString` will now get a `String`. But it seems that this is a bug fix that addresses the most common use-cases...</s> This is now safe. https://github.com/jump-dev/JuMP.jl/actions/runs/11223971621
String valued MOI attributes: Improved error messages or `AbstractString` instead of `String`? The following code produces an error that I thought could be worth pointing out, since I assume it could be either - caught somewhere in a "fallback" to produce a hint towards the actual mistake, or - be solved by moving ...
jump-dev/JuMP.jl
diff --git a/test/test_model.jl b/test/test_model.jl index 3f568250743..c0786f9e13c 100644 --- a/test/test_model.jl +++ b/test/test_model.jl @@ -1313,4 +1313,29 @@ function test_is_solved_and_feasible() return end +function test_set_abstract_string() + abstract_string = split("foo.bar", ".")[1] + model = ...
[ "test_set_abstract_string" ]
[ "Containers/test_DenseAxisArray.jl:test_", "Containers/test_SparseAxisArray.jl:test_", "Containers/test_macro.jl:test_", "Containers/test_nested_iterator.jl:test_", "Containers/test_no_duplicate_dict.jl:test_", "Containers/test_tables.jl:test_", "Containers/test_vectorized_product_iterator.jl:test_", ...
{ "base_image_name": "julia_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
719111385bfeee44b380beadc0763ad680b1a214
2023-10-10 16:50:17
docker.io/swerebenchv2/opentripplanner-opentripplanner:5415-7191113
opentripplanner__opentripplanner-5415
Method: StopModel.getStopLocation(FeedScopedId id) Location: org.opentripplanner.transit.service.StopModel Inputs: id – a FeedScopedId identifying a stop location; may be null (previously required non‑null). Outputs: StopLocation (or subclass) if the id exists, otherwise null. If id is null the method now returns null ...
java
custom-check-github
diff --git a/src/main/java/org/opentripplanner/transit/service/StopModel.java b/src/main/java/org/opentripplanner/transit/service/StopModel.java index 110260c1cd..9dc0c792c5 100644 --- a/src/main/java/org/opentripplanner/transit/service/StopModel.java +++ b/src/main/java/org/opentripplanner/transit/service/StopModel.ja...
Fix Transmodel GraphQL query with empty quay id ### Summary As detailed in #5399, requesting a quay with an empty id or an id consisting only of spaces leads to an exception. This PR ensures that a valid empty result is returned in this case. ### Issue Closes #5399 ### Unit tests Added unit test ### ...
Empty value handling in Transmodel Quay query When querying for a quay and specifying for the id an empty string or a string with only spaces: ``` { quay( id: "" ) { id name latitude longitude description publicCode } } ``` the query fails with a NullPointerException...
opentripplanner/OpenTripPlanner
diff --git a/src/test/java/org/opentripplanner/transit/service/StopModelTest.java b/src/test/java/org/opentripplanner/transit/service/StopModelTest.java index 94625a4a22..228ff55b70 100644 --- a/src/test/java/org/opentripplanner/transit/service/StopModelTest.java +++ b/src/test/java/org/opentripplanner/transit/service/...
[ "---NO TEST NAME FOUND YET---" ]
[]
{ "base_image_name": "java_21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "B4", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://api.dev.entur.io/graphql-explorer/journey-planne...
19bcd9735d2e909b8c4bb96aa874bbbe37a1bd87
2024-10-17 09:01:38
docker.io/swerebenchv2/qmuntal-gltf:92-19bcd97
qmuntal__gltf-92
Function: ReadInverseBindMatrices(doc *gltf.Document, acr *gltf.Accessor, buffer [][4][4]float32) ([][4][4]float32, error) Location: modeler/read.go Inputs: - **doc**: pointer to a `gltf.Document` that contains the binary buffers referenced by the accessor. - **acr**: pointer to a `gltf.Accessor` whose `ComponentType`...
go
BSD-2-Clause
diff --git a/modeler/read.go b/modeler/read.go index f085cab..acba2fb 100644 --- a/modeler/read.go +++ b/modeler/read.go @@ -453,6 +453,27 @@ func ReadColor64(doc *gltf.Document, acr *gltf.Accessor, buffer [][4]uint16) ([] return buffer, nil } +// ReadInverseBindMatrices returns the data referenced by acr. +// +//...
Implement inverse bind matrices reader and writer Fixes #91.
Can I write `inverseBindMatrices` with `modeler`? It is `[][16]float32`.
qmuntal/gltf
diff --git a/modeler/read_test.go b/modeler/read_test.go index 13229bb..b602cd0 100644 --- a/modeler/read_test.go +++ b/modeler/read_test.go @@ -694,3 +694,53 @@ func TestReadColor64(t *testing.T) { }) } } + +func TestReadInverseBindMatrices(t *testing.T) { + type args struct { + data []byte + acr *gltf.Ac...
[ "TestReadColor64_ReuseBuffer", "TestReadBufferView", "TestReadBufferView/base", "TestReadBufferView/errbuffer", "TestReadBufferView/shortbuffer", "TestReadAccessor_Buffered", "TestReadAccessor", "TestReadAccessor/nodata", "TestReadAccessor/base", "TestReadAccessor/shortbuffer", "TestReadAccessor...
[ "TestOpen", "TestOpen/openError", "TestOpen/testdata/Cube/glTF/Cube.gltf", "TestOpen/testdata/Cameras/glTF/Cameras.gltf", "TestOpen/testdata/BoxVertexColors/glTF-Binary/BoxVertexColors.glb", "TestOpen/testdata/Box_With_Spaces/glTF/Box_With_Spaces.gltf", "TestDecoder_decodeBuffer", "TestDecoder_decodeB...
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.21.0", "helm_version": null, ...
{ "llm_metadata": { "code": "B2|B4", "confidence": 0.87, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "insufficient", "pr_catego...
7de5efa8837e0cb22afd78ec909b2c2933c46e49
2022-11-30 12:56:36
docker.io/swerebenchv2/scala-steward-org-scala-steward:2805-7de5efa
scala-steward-org__scala-steward-2805
Method: implicit val ForArtifactIdEncoder: Encoder[Update.ForArtifactId] = { … } Location: org.scalasteward.core.data.Update (object Update) Inputs: a `Update.ForArtifactId` instance (represents a single cross‑dependency update) Outputs: a `io.circe.Json` value whose top‑level object is `{"ForArtifactId": <derived‑json...
scala
Apache-2.0
diff --git a/modules/core/src/main/scala/org/scalasteward/core/data/Update.scala b/modules/core/src/main/scala/org/scalasteward/core/data/Update.scala index c589a4ca77..295b8cb468 100644 --- a/modules/core/src/main/scala/org/scalasteward/core/data/Update.scala +++ b/modules/core/src/main/scala/org/scalasteward/core/dat...
> ❗ This must be released as a patch version ASAP. ## 🐛 The bug `Update` decoders are expecting JSON objects to be wrapped in a field named as the class: ```json "ForArtifactId": { ... } ``` While individual encoders are not creating this field. This only happens when decoding `Grouped` updates, ...
JSON parsing error when decoding pull_requests.json Hi, I've decided to give a try to the new features available on the 0.16.0, especially the grouping one. The problem is that I see some errors, when deserializing the `pull_requests.json` which is an internal file to the Steward workspace. Below is the JSON th...
scala-steward-org/scala-steward
diff --git a/modules/core/src/test/scala/org/scalasteward/core/data/UpdateTest.scala b/modules/core/src/test/scala/org/scalasteward/core/data/UpdateTest.scala index 901a073c0d..52b162a2ed 100644 --- a/modules/core/src/test/scala/org/scalasteward/core/data/UpdateTest.scala +++ b/modules/core/src/test/scala/org/scalastew...
[ "ForArtifactId Encoder/Decoder", "ForGroupId Encoder/Decoder", "Grouped Encoder/Decoder" ]
[ "getMessage", "Monoid[PullRequestsConfig]: monoid.associative", "Monoid[PullRequestsConfig]: monoid.collect0", "Monoid[PullRequestsConfig]: monoid.combine all", "Monoid[PullRequestsConfig]: monoid.combineAllOption", "Monoid[PullRequestsConfig]: monoid.intercalateCombineAllOption", "Monoid[PullRequestsCo...
{ "base_image_name": "scala_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7a5c7df195edaad3e514be481e75ce1233c958a4
2024-03-04 01:29:05
docker.io/swerebenchv2/swc-project-swc:8686-7a5c7df
swc-project__swc-8686
Function: transform(code: string, options?: TransformOptions) → Promise&lt;{ code: string, map?: string, ... }&gt; Location: node‑swc (JavaScript API, exported from the `@swc/core` package) Inputs: - **code** – The source code to be transformed (required). - **options** – Optional configuration object. When provided, t...
rust
Apache-2.0
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1047aea7d5..b08ed4d14b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,6 +19,10 @@ env: # https://github.com/actions/setup-node/issues/899#issuecomment-1819151595 SKIP_YARN_COREPACK_CHECK: 1 +concurrency: + group...
fix(es/module): Allow `FileName::Anon` from node resolver **Description:** **Related issue:** - Closes #8674
`jsc.baseUrl` is not resolving the require/import path ### Discussed in https://github.com/swc-project/swc/discussions/8665 x-ref: #8660 <div type='discussions-op-text'> <sup>Originally posted by **devjiwonchoi** February 26, 2024</sup> Hello, fellow engineers and appreciatable SWC maintainers, I wish to u...
swc-project/swc
diff --git a/crates/swc/tests/fixture/issues-8xxx/8674/input/.swcrc b/crates/swc/tests/fixture/issues-8xxx/8674/input/.swcrc new file mode 100644 index 0000000000..0620ec21b5 --- /dev/null +++ b/crates/swc/tests/fixture/issues-8xxx/8674/input/.swcrc @@ -0,0 +1,6 @@ +{ + "$schema": "http://json.schemastore.org/swcrc"...
[ "config::tests::issue_6996", "modules::sort::tests::deno_jszip_02", "modules::sort::tests::sort_003", "expr::tests::array_spread", "decl::tests::issue_1764", "decl::tests::class_static_block", "expr::tests::call_expression", "expr::tests::member_expression", "expr::tests::values", "expr::tests::ob...
[ "tests::valid", "tests::access_tag", "tests::abstract_tag", "tests::issue_1058", "tests::one_of_1", "tests::line_1", "tests::skip_1", "tests::trim_1", "tests::word_1", "tests::yield_tag_1", "version::tests::should_enable_android_falls_back_to_chrome", "query::tests::test_empty", "config::tes...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/swc-project/swc/discussions/8665" ...
77666bf96f9a13b0c0c849f00272ccbf8b9f6441
2024-03-25 19:11:01
docker.io/swerebenchv2/googleapis-google-api-python-client:2368-77666bf
googleapis__google-api-python-client-2368
Function: UniverseMismatchError(message: str = "") Location: googleapiclient.universe.UniverseMismatchError (inherits from Exception) Inputs: Optional error message string; no other parameters. Outputs: Raises the exception when the universe domain configured on the client does not match the universe domain adver...
python
Apache-2.0
diff --git a/googleapiclient/discovery.py b/googleapiclient/discovery.py index eb01be65a..f7b3f0041 100644 --- a/googleapiclient/discovery.py +++ b/googleapiclient/discovery.py @@ -551,6 +551,13 @@ def build_from_document( # If an API Endpoint is provided on client options, use that as the base URL base = u...
feat: Allow users to configure client option `universe_domain` Fixes #2365 🦕 Towards b/324211188 🦕
Add tests for validating credentials for the configured universe once leveraged. ```python3 def test_validate_credentials_with_no_universe(self): # Add test case for no configured universe and fake credentials' universe. http = google_auth_httplib2.AuthorizedHttp(credentials=None, http=build...
googleapis/google-api-python-client
diff --git a/tests/test_discovery.py b/tests/test_discovery.py index 635d2acd5..2b888bce0 100644 --- a/tests/test_discovery.py +++ b/tests/test_discovery.py @@ -2343,6 +2343,25 @@ class MediaGet(unittest.TestCase): if HAS_UNIVERSE: class Universe(unittest.TestCase): + def test_validate_credentials_with_n...
[ "tests/test_discovery.py::Universe::test_client_options_with_empty_universe", "tests/test_discovery.py::Universe::test_validate_credentials_before_api_request_success", "tests/test_discovery.py::Universe::test_validate_credentials_with_a_different_universe", "tests/test_discovery.py::Universe::test_validate_c...
[ "tests/test_discovery.py::SetupHttplib2::test_retries", "tests/test_discovery.py::Utilities::test_ResourceMethodParameters_zoo_animals_patch", "tests/test_discovery.py::Utilities::test_ResourceMethodParameters_zoo_get", "tests/test_discovery.py::Utilities::test_fix_up_media_path_base_url_different_netloc", ...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "B4", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
ba34a49989bb21fa15b067ebc7cf3fd4b0b14ee6
2024-05-27 22:59:05
docker.io/swerebenchv2/jump-dev-jump.jl:3759-ba34a49
jump-dev__jump.jl-3759
No new interfaces are introduced.
julia
custom-check-github
diff --git a/docs/src/manual/complex.md b/docs/src/manual/complex.md index a99d29577d4..2ec5066acba 100644 --- a/docs/src/manual/complex.md +++ b/docs/src/manual/complex.md @@ -336,7 +336,7 @@ julia> H = LinearAlgebra.Hermitian([x[1] 1im; -1im -x[2]]) -im -x[2] julia> @constraint(model, H in HermitianPSDCone()) ...
Closes #3757 TODO - [x] matrices
Printing of large vectorized constraints should probably cause output eliding? This issue is quite similar to the issue of printing a model with large number of constraints (#3651), it may produce too much output causing just the same issue described in #3651. Example: ``` using JuMP import HiGHS function main(...
jump-dev/JuMP.jl
diff --git a/test/test_complex.jl b/test/test_complex.jl index 7fcab52dfe1..c1eb04b2e77 100644 --- a/test/test_complex.jl +++ b/test/test_complex.jl @@ -253,7 +253,7 @@ function test_complex_hermitian_constraint() @constraint(model, c, H in HermitianPSDCone()) @test constraint_object(c).func == [x[1, 1], x[1,...
[ "test_complex.jl:test_", "test_constraint.jl:test_", "test_expr.jl:test_", "test_feasibility_checker.jl:test_", "test_file_formats.jl:test_", "test_generate_and_solve.jl:test_", "test_linear_algebra.jl:test_", "test_lp_matrix_data.jl:test_", "test_lp_sensitivity2.jl:test_", "test_macros.jl:test_",...
[ "Containers/test_DenseAxisArray.jl:test_", "Containers/test_SparseAxisArray.jl:test_", "Containers/test_macro.jl:test_", "Containers/test_nested_iterator.jl:test_", "Containers/test_no_duplicate_dict.jl:test_", "Containers/test_tables.jl:test_", "Containers/test_vectorized_product_iterator.jl:test_", ...
{ "base_image_name": "julia_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
c9536b117e39fef41b9ccb5e07463eecda15ba2a
2024-11-14 20:56:44
docker.io/swerebenchv2/getmoto-moto:8315-c9536b1
getmoto__moto-8315
Method: IoTClient.get_indexing_configuration(self) Location: moto/iot/responses.py → def get_indexing_configuration(self) → json.dumps(self.iot_backend.get_index_configuration()) Inputs: No required parameters. The call is made on a boto3 IoT client (e.g., boto3.client("iot")). Outputs: Returns a JSON‑encoded dict (co...
python
Apache-2.0
diff --git a/IMPLEMENTATION_COVERAGE.md b/IMPLEMENTATION_COVERAGE.md index e5ee66fff..2349a0b5f 100644 --- a/IMPLEMENTATION_COVERAGE.md +++ b/IMPLEMENTATION_COVERAGE.md @@ -4628,7 +4628,7 @@ - [ ] get_buckets_aggregation - [ ] get_cardinality - [ ] get_effective_policies -- [ ] get_indexing_configuration +- [X] get_...
S3: get_object_attributes() now also works for Glacier objects Fixes #8307
S3 get_object_attributes fails for GLACIER objects Environment: Python 3.11 Windows 11 Pro moto==5.0.20 pytest==8.3.3 My failing test ``` def test_get_glacier_object_attributes(self) -> None: s3 = client( "s3", region_name="eu-west-1" ) s3.create_buc...
getmoto/moto
diff --git a/tests/test_iot/test_iot_indexing_configuration.py b/tests/test_iot/test_iot_indexing_configuration.py new file mode 100644 index 000000000..d2ec29a58 --- /dev/null +++ b/tests/test_iot/test_iot_indexing_configuration.py @@ -0,0 +1,63 @@ +import boto3 + +from moto import mock_aws + + +@mock_aws +def test_va...
[ "tests/test_iot/test_iot_indexing_configuration.py::test_validate_default_indexing_configuration", "tests/test_iot/test_iot_indexing_configuration.py::test_update_indexing_mode", "tests/test_s3/test_s3_storageclass.py::test_s3_get_object_from_glacier" ]
[ "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_standard", "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_infrequent_access", "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_intelligent_tiering", "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_copy", ...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
6cf3ca2968c5788f0d8d85b7bf3b0e376fa779d0
2024-09-19 11:59:04
docker.io/swerebenchv2/modin-project-modin:7399-6cf3ca2
modin-project__modin-7399
No new interfaces are introduced.
python
Apache-2.0
diff --git a/modin/core/dataframe/pandas/partitioning/partition_manager.py b/modin/core/dataframe/pandas/partitioning/partition_manager.py index cb207f64..6cf22b5f 100644 --- a/modin/core/dataframe/pandas/partitioning/partition_manager.py +++ b/modin/core/dataframe/pandas/partitioning/partition_manager.py @@ -915,18 +9...
FIX-#7383: Avoid broadcast issue in partition manager with custom `NPartitions` <!-- Thank you for your contribution! Please review the contributing docs: https://modin.readthedocs.io/en/latest/development/contributing.html if you have questions about contributing. --> ## What do these changes do? <!-- Please...
BUG: operations with NPartitions not a power of 2 fails in some cases. BUG IN PARTITON_MANAGER?. possible solution in here! ### Modin version checks - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest released version of Modin. - [ ] I have c...
modin-project/modin
diff --git a/modin/tests/core/storage_formats/pandas/test_internals.py b/modin/tests/core/storage_formats/pandas/test_internals.py index b030fe7b..5d3e99c0 100644 --- a/modin/tests/core/storage_formats/pandas/test_internals.py +++ b/modin/tests/core/storage_formats/pandas/test_internals.py @@ -2677,8 +2677,9 @@ def tes...
[ "modin/tests/core/storage_formats/pandas/test_internals.py::test_map_partitions_joined_by_column[7]" ]
[ "modin/tests/core/storage_formats/pandas/test_internals.py::test_aligning_blocks", "modin/tests/core/storage_formats/pandas/test_internals.py::test_aligning_blocks_with_duplicated_index", "modin/tests/core/storage_formats/pandas/test_internals.py::test_aligning_partitions", "modin/tests/core/storage_formats/p...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://modin.readthedocs.io/en/stable/getting_started...
89c72d9590e376a3e300ae8158f8f58d4327d68b
2023-01-30 20:49:15
docker.io/swerebenchv2/xd009642-tarpaulin:1206-89c72d9
xd009642__tarpaulin-1206
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index a3ec5c2..3da2295 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ operating systems - Set `LLVM_PROFILE_FILE` for building tests and delete the generated profraws to ignore build script coverage - Remove dependency on memmap +- Filter out expressions or i...
Fixes #1160 Look at cfg_attr in more detail <!--- When contributing to tarpaulin all contributions should branch off the --> <!--- develop branch as master is only used for releases. --> <!--- Check CONTRIBUTING.md for more information--> <!--- Please describe the changes in the PR and them motivation below...
`#[no_coverage]` is working but `#[cfg_attr(tarpaulin, no_coverage)]` not **Describe the bug** I am conditionally add `no_coverage` attribute only if `--cfg tarpaulin` is set. ```rust #[cfg_attr(tarpaulin, no_coverage)] mod info; ``` It's not working but putting just `#[no_coverage]` works as expected. *...
xd009642/tarpaulin
diff --git a/src/source_analysis/tests.rs b/src/source_analysis/tests.rs index 07ad7c9..dd89cb1 100644 --- a/src/source_analysis/tests.rs +++ b/src/source_analysis/tests.rs @@ -816,6 +816,11 @@ fn tarpaulin_skip_attr() { fn uncovered3() { println!(\"zombie lincoln\"); } + + #[cfg_a...
[ "source_analysis::tests::tarpaulin_skip_attr", "failures::error_if_build_script_fails", "failures::error_if_compilation_fails", "incorrect_manifest_path", "struct_exprs", "tests::it_works", "workspaces::config_relative_pathing" ]
[ "branching::tests::for_branches", "branching::tests::while_branches", "cargo::tests::llvm_cov_compatible_version", "branching::tests::if_branches", "cargo::tests::llvm_cov_incompatible_version", "cargo::tests::parse_rustflags_from_toml", "branching::tests::branch_analysis_context", "branching::tests::...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/ferric-bytes/chksum-build", "...
3c9d62f0472bd5f8630ea9a58fa319e6eea110c0
2019-11-12 22:15:56
docker.io/swerebenchv2/keikoproj-instance-manager:65-3c9d62f
keikoproj__instance-manager-65
Function: getExistingIAM(role string, profile string) (string, string) Location: controllers/provisioners/ekscloudformation/ekscloudformation.go Inputs: - **role**: IAM role identifier; can be empty, a plain role name, or a full ARN containing “:role/”. - **profile**: IAM instance‑profile identifier; can be empty, a p...
go
Apache-2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 49187c5..f866f20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](htt...
0.4.2 - fix existing IAM support fixes #64 This adds support for `.spec.instanceProfileName` to handle cases where the instance profile name is different than the `.spec.roleName` provided. This PR also release 0.4.2
Scenarios where we have an existing Role does not work when instance-profile is using a different name It seems when the instance-profile name is different than the role name, and we use `.spec.roleName`, the IG stack will get stack as CREATE_IN_PROGRESS forever (or until it times out). This happens because the inst...
keikoproj/instance-manager
diff --git a/controllers/provisioners/ekscloudformation/ekscloudformation_test.go b/controllers/provisioners/ekscloudformation/ekscloudformation_test.go index 3fedcd8..42b364e 100644 --- a/controllers/provisioners/ekscloudformation/ekscloudformation_test.go +++ b/controllers/provisioners/ekscloudformation/ekscloudforma...
[ "TestStateDiscoveryInitUpdate", "TestStateDiscoveryReconcileModifying", "TestStateDiscoveryReconcileInitCreate", "TestStateDiscoveryInitDeleting", "TestStateDiscoveryReconcileDelete", "TestStateDiscoveryDeleted", "TestStateDiscoveryDeletedExist", "TestStateDiscoveryUpdateRecoverableError", "TestStat...
[]
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.24.1", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
ff431afe5c77a4d7e8203e6dcf8e78e2a9f44b55
2023-03-13 15:31:52
docker.io/swerebenchv2/pycqa-bandit:999-ff431af
pycqa__bandit-999
No new interfaces are introduced.
python
Apache-2.0
diff --git a/bandit/blacklists/calls.py b/bandit/blacklists/calls.py index 86e71f4..002cadd 100644 --- a/bandit/blacklists/calls.py +++ b/bandit/blacklists/calls.py @@ -493,16 +493,10 @@ def gen_blacklist(): "B310", issue.Cwe.PATH_TRAVERSAL, [ - "urllib.urlopen", ...
Remove checks for Python2 urllib Removal of checks for Python2 version of urllib and urllib2. Fixes #998
urllib.urlopen does not exist in Python 3 ### Describe the bug The blacklist calls plugin checks for urllib usage. Specifically it checks for functions that don't exist in Python 3. Namely these: - urllib.urlopen - urllib.urlretrieve - urllib.URLopener - urllib.FancyURLopener These also don't exist in Python 3:...
PyCQA/bandit
diff --git a/tests/functional/test_functional.py b/tests/functional/test_functional.py index 3939906..65596d8 100644 --- a/tests/functional/test_functional.py +++ b/tests/functional/test_functional.py @@ -513,8 +513,8 @@ class FunctionalTests(testtools.TestCase): def test_urlopen(self): """Test for danger...
[ "tests/functional/test_functional.py::FunctionalTests::test_urlopen" ]
[ "tests/functional/test_functional.py::FunctionalTests::test_asserts", "tests/functional/test_functional.py::FunctionalTests::test_baseline_filter", "tests/functional/test_functional.py::FunctionalTests::test_binding", "tests/functional/test_functional.py::FunctionalTests::test_blacklist_pycrypto", "tests/fu...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://docs.python.org/3/library/urllib.html", "h...
3b80e0123b4fce7f76ce8d806f91ad059843c826
2019-07-14 21:30:58
docker.io/swerebenchv2/katex-katex:2040-3b80e01
katex__katex-2040
Function: toBuild(settings?) Location: defined in the test helper module that provides the `expect` tagged template literal (e.g., `test/helpers.js`). Inputs: - `settings` (optional) – an object containing KaTeX rendering options such as `strict`, `displayMode`, etc. If omitted, default strict settings are used. Outpu...
js
MIT
diff --git a/docs/supported.md b/docs/supported.md index 49526229..74c745d5 100644 --- a/docs/supported.md +++ b/docs/supported.md @@ -180,9 +180,14 @@ Direct Input: $∂ ∇ ℑ Ⅎ ℵ ℶ ℷ ℸ ⅁ ℏ ð$ **Unicode** -The letters listed above will render in any KaTeX rendering mode. +The letters listed above will render properly...
Unicode characters in math render in text mode Improve #2031 by rendering all supported Unicode text characters (via `supportedCodepoints`) in text mode, roughly mimicking wrapping them in `\text`, thereby using metrics of letter M as usual. I confirmed that the tests only work with the new (one-line) change. Her...
Warning: No character metrics for '中' in style 'Main-Regular' When I write Chinese characters in a math code block: ```latex $$ f(x) = 测试中文 $$ ``` They will be rendered properly but I still got a warning like this in the console: ```node katex.js:5308 No character metrics for '中' in style 'Main-Regular' ...
KaTeX/KaTeX
diff --git a/test/unicode-spec.js b/test/unicode-spec.js index e6fea9b8..eabc457d 100644 --- a/test/unicode-spec.js +++ b/test/unicode-spec.js @@ -9,7 +9,7 @@ import {strictSettings, nonstrictSettings} from "./helpers"; describe("unicode", function() { it("should parse Latin-1 inside \\text{}", function() { ...
[ "should parse CJK outside \\text{}", "should parse Devangari outside \\text{}", "should parse Georgian outside \\text{}" ]
[ "should generate the right types of nodes", "should concatenate digits into single <mn>", "should make prime operators into <mo> nodes", "should generate <mphantom> nodes for \\phantom", "should use <munderover> for large operators", "should use <msupsub> for regular operators", "should output \\limsup_...
{ "base_image_name": "node_20", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/KaTeX/KaTeX/blob/8346294bf30b438379...