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
f52f0bf3d18ca418d1eec4afd1370751fdd914ce
2021-06-22 22:21:33
docker.io/swerebenchv2/elastic-synthetics:316-f52f0bf
elastic__synthetics-316
No new interfaces are introduced.
ts
MIT
diff --git a/src/core/runner.ts b/src/core/runner.ts index 2872cf5..649a22a 100644 --- a/src/core/runner.ts +++ b/src/core/runner.ts @@ -131,6 +131,7 @@ export default class Runner extends EventEmitter { journeys: Journey[] = []; hooks: SuiteHooks = { beforeAll: [], afterAll: [] }; screenshotPath = join(CACHE_...
fix: capture beforeAll hook errors + fix #280 + We capture the beforeAll hook errors and any error that happens in any one of the hooks would be captured and all journeys that run on the current invocation will report that error event with `failed` status to be able to captured as part of the Uptime UI. + `afterAll...
propagate errors from `beforeAll` and `afterAll` hooks + Now error in the `beforeAll` and `afterAll` hooks would be captured and reported as error, but they will not be associated with the reporters in the correct way. + Without associating these errors, the Uptime UI will have no information about what happened duri...
elastic/synthetics
diff --git a/__tests__/core/runner.test.ts b/__tests__/core/runner.test.ts index a60b6ed..d4ba7d9 100644 --- a/__tests__/core/runner.test.ts +++ b/__tests__/core/runner.test.ts @@ -147,6 +147,23 @@ describe('runner', () => { }); }); + it('run journey - failed on beforeAll', async () => { + const error = n...
[ "run journey - failed on beforeAll" ]
[ "log to specified fd", "computes trace of the tab", "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 found", "computes filmstrips", "add s...
{ "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": "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":...
848d28d67e45cda7a06c4c8ed2768e6a8cb1c016
2020-05-31 15:27:12
docker.io/swerebenchv2/wtforms-wtforms:614-848d28d
wtforms__wtforms-614
Method: Flags.__getattr__(self, name) Location: wtforms/fields/core.py → class Flags Inputs: *name* – attribute name requested on a Flags instance. Outputs: Returns the attribute’s value if it exists; otherwise returns **None** (previously returned False). Description: Provides a unified flags object where miss...
python
BSD-3-Clause
diff --git a/CHANGES.rst b/CHANGES.rst index 50f43a2..a199f46 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -34,7 +34,7 @@ Unreleased - Render attribute names like ``for_`` and ``class_`` are normalized consistently so later values override those specified earlier. :issue:`449`, :pr:`596` - +- Flags can ...
HTML5 widgets by default This patch is based upon #467, the changes are in the last commit 44a1cec. It fixes #594
Use HTML 5 widgets The HTML 5 widgets are kept in their own section and not used by default, but this distinction doesn't make sense today. "HTML 5" is just "HTML" now. No supported browser doesn't understand those input types, and ones that aren't supported fall back to text anyway. I already sort of started this b...
wtforms/wtforms
diff --git a/tests/test_fields.py b/tests/test_fields.py index f36ce71..0986534 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -119,7 +119,7 @@ class TestFlags: def test_existing_values(self, flags): assert flags.required is True assert "required" in flags - assert flags.o...
[ "tests/test_fields.py::TestDefaults::test", "tests/test_fields.py::TestLabel::test", "tests/test_fields.py::TestLabel::test_auto_label", "tests/test_fields.py::TestLabel::test_override_for", "tests/test_fields.py::TestLabel::test_escaped_label_text", "tests/test_fields.py::TestFlags::test_existing_values"...
[]
{ "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": [], "intent_completeness": "complete", "pr_categories":...
a9b06a635a7d3458c8e2ed2b10cc3fd1e02b5f37
2021-03-03 15:16:02
docker.io/swerebenchv2/webpack-contrib-copy-webpack-plugin:590-a9b06a6
webpack-contrib__copy-webpack-plugin-590
Function: pattern.priority Location: src/options.json (pattern object schema) and documentation README.md Inputs: number priority – optional numeric value; defaults to 0 if omitted. Must be a finite number. Outputs: The value is stored on the pattern and used by CopyPlugin to order asset emission; higher numbers are em...
js
MIT
diff --git a/README.md b/README.md index af0b3ea..b20837a 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ module.exports = { | [`filter`](#filter) | `{Function}` | `undefined` | Allows to filter copied assets. ...
Feat: added `priority` option <!-- HOLY CRAP a Pull Request. We ❤️ those! If you remove or skip this template, you'll make the 🐼 sad and the mighty god of Github will appear and pile-drive the close button from a great height while making animal noises. Please place an x (no spaces!) in all [ ] that...
[Feature] Add order option Hello, In a project I am developing, I have an issue with copying files with the same name from multiple sources. Configuration of copy webpack plugin is as follows: ``` new CopyWebpackPlugin([ { from: 'node_modules/engine/static', test: /\.(css|html|png)$/, force: true }...
webpack-contrib/copy-webpack-plugin
diff --git a/test/__snapshots__/validate-options.test.js.snap b/test/__snapshots__/validate-options.test.js.snap index a08f0ef..fd384cb 100644 --- a/test/__snapshots__/validate-options.test.js.snap +++ b/test/__snapshots__/validate-options.test.js.snap @@ -14,7 +14,7 @@ exports[`validate options should throw an error o...
[ "should successfully validate the \"patterns\" option with \"[{\"from\":\"test.txt\",\"to\":\"dir\",\"priority\":5}]\" value", "should throw an error on the \"patterns\" option with \"undefined\" value", "should throw an error on the \"patterns\" option with \"true\" value", "should throw an error on the \"pa...
[ "should exported", "should successfully validate the \"patterns\" option with \"[\"test.txt\"]\" value", "should successfully validate the \"patterns\" option with \"[\"test.txt\",\"test-other.txt\"]\" value", "should successfully validate the \"patterns\" option with \"[\"test.txt\",{\"from\":\"test.txt\",\"...
{ "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":...
ab9e33a5f9fdb02c57141412867a4ec985135aa7
2018-12-13 14:02:33
docker.io/swerebenchv2/crawler-commons-crawler-commons:227-ab9e33a
crawler-commons__crawler-commons-227
No new interfaces are introduced.
java
Apache-2.0
diff --git a/CHANGES.txt b/CHANGES.txt index 3baa9bc..848fb68 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,7 @@ Crawler-Commons Change Log Current Development 0.11-SNAPSHOT (yyyy-mm-dd) +- [Sitemaps] Sitemap index: stop URL at closing </loc> (sebastian-nagel, kkrugler) #213 - [Sitemaps] Allow empty price ...
Sitemap index: stop URL at closing </loc> (fixes #213) At start of a `<loc>` element auto-close any "unclosed" `<sitemap>` element and add the sitemap if there is a valid URL from the previous `<loc>` element.
[Sitemaps] Sitemap index: stop URL at closing </loc> (cf. [Nutch mailing list](https://lists.apache.org/thread.html/8ebcffbe2bd8edafb6030e4f28fceee07aee08a1ce06a94755ee8d74@%3Cuser.nutch.apache.org%3E) With #153 the sitemaps SAX parser handles sitemaps with missing or not properly closed <url> elements. This should ...
crawler-commons/crawler-commons
diff --git a/src/test/java/crawlercommons/sitemaps/SiteMapParserTest.java b/src/test/java/crawlercommons/sitemaps/SiteMapParserTest.java index 10fc53c..270ea0a 100644 --- a/src/test/java/crawlercommons/sitemaps/SiteMapParserTest.java +++ b/src/test/java/crawlercommons/sitemaps/SiteMapParserTest.java @@ -274,6 +274,53 @...
[ "crawlercommons.sitemaps.SiteMapParserTest", "---NO TEST NAME FOUND YET---" ]
[ "crawlercommons.domains.EffectiveTldFinderPSLTest", "crawlercommons.domains.EffectiveTldFinderTest", "crawlercommons.domains.PaidLevelDomainTest", "crawlercommons.domains.SuffixTrieTest", "crawlercommons.filters.basic.BasicURLNormalizerTest", "crawlercommons.mimetypes.MimeTypeDetectorTest", "crawlercomm...
{ "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.87, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://lists.apache.org/thread.html/8ebcffbe2bd8edafb...
c5f472ef62f6307521cb1fe8a76a204438a6eee0
2021-04-16 22:30:50
docker.io/swerebenchv2/dtolnay-cxx:839-c5f472e
dtolnay__cxx-839
Method: CxxVector<T>.push(self: Pin<&mut Self>, value: T) Location: src/cxx_vector.rs (impl block for CxxVector) Inputs: a pinned mutable reference to a CxxVector holding a trivial extern type `T` (e.g., `f64`, `Shared`), and an owned `value` of type `T`. `T` must satisfy `ExternType<Kind = Trivial>`. Outputs: `(...
rust
Apache-2.0
diff --git a/gen/src/builtin.rs b/gen/src/builtin.rs index eaaa08d1..7ac9209c 100644 --- a/gen/src/builtin.rs +++ b/gen/src/builtin.rs @@ -30,6 +30,7 @@ pub struct Builtins<'a> { pub relocatable: bool, pub friend_impl: bool, pub is_complete: bool, + pub destroy: bool, pub deleter_if: bool, p...
Add CxxVector::push in Rust Closes #778.
CxxVector::push_back Adding push_back/pop functionality (and other mutation functionality) to `CxxVector` would be helpful for `CxxVector`s containing types that rust can obtain (e.g. `CxxVector<CxxString>` or `CxxVector<SharedPtr<T>>`). Similarly, `CxxVector::new()` or `CxxVector::default()` would be helpful to create...
dtolnay/cxx
diff --git a/tests/ffi/tests.cc b/tests/ffi/tests.cc index 214bfcd6..98069b28 100644 --- a/tests/ffi/tests.cc +++ b/tests/ffi/tests.cc @@ -342,7 +342,7 @@ void c_take_unique_ptr_vector_u8(std::unique_ptr<std::vector<uint8_t>> v) { } void c_take_unique_ptr_vector_f64(std::unique_ptr<std::vector<double>> v) { - if (...
[ "test_extern_c_function", "test_impl_annotation", "test_async_cxx_string", "test_c_call_r", "test_c_method_calls", "test_c_callback", "test_c_return", "test_c_ns_method_calls", "test_c_take", "test_c_try_return", "test_enum_representations", "test_debug", "test_extern_trivial", "test_exter...
[]
{ "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": "12.2.0", "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": ...
b829b78e37d1f0befe314f1683abfdb7bb2944f0
2025-05-28 07:56:39
docker.io/swerebenchv2/gradleup-shadow:1448-b829b78
gradleup__shadow-1448
No new interfaces are introduced.
kotlin
Apache-2.0
diff --git a/build.gradle.kts b/build.gradle.kts index 896dc162c..e35e2c90e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,8 +36,8 @@ kotlin { explicitApi() compilerOptions { // https://docs.gradle.org/current/userguide/compatibility.html#kotlin - @Suppress("DEPRECATION") // TODO: bump apiVer...
- Closes #1436. - Closes #1446. --- - [x] [CHANGELOG](https://github.com/GradleUp/shadow/blob/main/docs/changes/README.md)'s "Unreleased" section has been updated, if applicable.
Trouble compiling against older kotlin versions ### Expected and Results We'd expect at least support for kotlin versions in the Gradle 8 family, but we're seeing ``` Class 'com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin' was compiled with an incompatible version of Kotlin. The actual metadata version is...
GradleUp/shadow
diff --git a/src/documentTest/kotlin/com/github/jengelman/gradle/plugins/shadow/DocCodeSnippetTest.kt b/src/documentTest/kotlin/com/github/jengelman/gradle/plugins/shadow/DocCodeSnippetTest.kt index 1af8dc917..d5e06ffc9 100644 --- a/src/documentTest/kotlin/com/github/jengelman/gradle/plugins/shadow/DocCodeSnippetTest.k...
[ "[1] foo.properties, com.github.jengelman.gradle.plugins.shadow.transformers.PropertiesFileTransformerTest$Companion$$Lambda/0x00007f3ed0533748@14292d71, {foo=bar}, {FOO=baz}, {foo=bar, FOO=baz} (com.github.jengelman.gradle.plugins.shadow.transformers.PropertiesFileTransformerTest)", "[2] foo.properties, com.gith...
[ "relocatePath() (com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocatorTest)", "relocateMavenFiles() (com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocatorTest)", "canRelocateIncludedSourceFile() (com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocatorTest)", "canR...
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
aca99bc3c73eb6b2ae1eccd7ef76bbe1df96e3f5
2024-09-06 19:48:25
docker.io/swerebenchv2/aio-libs-aiohttp:9047-aca99bc
aio-libs__aiohttp-9047
Method: TCPConnector._get_ssl_context(self, req: ClientRequest) -> Optional[ssl.SSLContext> Location: aiohttp/connector.py, class TCPConnector Inputs: - **req** – a `ClientRequest` instance. The method inspects `req.is_ssl()` and `req.ssl` to decide which SSL context to return. Outputs: - Returns an `ssl.SSLContext` ...
python
custom-check-github
diff --git a/CHANGES/9032.bugfix.rst b/CHANGES/9032.bugfix.rst new file mode 100644 index 000000000..8c8d81f63 --- /dev/null +++ b/CHANGES/9032.bugfix.rst @@ -0,0 +1,3 @@ +Fixed the incorrect use of flags for ``getnameinfo()`` in the Resolver --by :user:`GitNMLee` + +Link-Local IPv6 addresses can now be handled by the ...
[PR #9032/c693a816 backport][3.11] Fix Link-Local IPv6 Flags in the Resolver **This is a backport of PR #9032 as merged into master (c693a816ce84d46c445841c707f23e31f174cf28).** Based on commit https://github.com/aio-libs/aiohttp/commit/c48f2d1c93e6f166f73ad0100d646952031d664f, the original use of the NI_NUMERICSERV a...
ClientSession.get() doesn't support hostname. ### Describe the bug When using a URI with a hostname for an GET call, an error stating 'Bad value for ai_flags' occurs. When replacing the hostname with an IPv4 address, the error no longer occurs. I would like to be able to use the hostname instead because I'm trying t...
aio-libs/aiohttp
diff --git a/tests/test_connector.py b/tests/test_connector.py index 0129f0cc3..bbe77f2a7 100644 --- a/tests/test_connector.py +++ b/tests/test_connector.py @@ -1,5 +1,4 @@ # Tests of http client with custom Connector - import asyncio import gc import hashlib @@ -9,8 +8,9 @@ import ssl import sys import uuid fro...
[ "tests/test_connector.py::test_connection_del[pyloop]", "tests/test_connector.py::test_connection_del_loop_debug[pyloop]", "tests/test_connector.py::test_connection_del_loop_closed[pyloop]", "tests/test_connector.py::test_del[pyloop]", "tests/test_connector.py::test_del_with_closed_loop[pyloop]", "tests/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": "medium", "external_urls": [ "https://github.com/aio-libs/aiohttp/commit/38dd9b8557f...
2ad5f638789af3e37a3a07ed3f4d4938a8209ed4
2024-08-15 19:30:10
docker.io/swerebenchv2/bvanelli-actualpy:56-2ad5f63
bvanelli__actualpy-56
Method: ActionType.SET_SPLIT_AMOUNT Location: actual.rules (enum ActionType) Inputs: None (enum member) Outputs: Enum value representing the “set‑split‑amount” operation (string value `"set-split-amount"`). Used by Action.op to trigger split‑amount handling. Method: Condition.get_value(self) → Any Location: actual.rul...
python
MIT
diff --git a/actual/__init__.py b/actual/__init__.py index 3ae112c..564c3a7 100644 --- a/actual/__init__.py +++ b/actual/__init__.py @@ -402,7 +402,7 @@ class Actual(ActualServer): def run_rules(self): ruleset = get_ruleset(self.session) - transactions = get_transactions(self.session) + tr...
feat: Implement custom set split amount rules. Closes #53
Operation ActionType.SET_SPLIT_AMOUNT not supported ### Description I've a rule that given a certain payee, it creates a split transaction of 50% each. it seems that the code here is not supporting it. is there a way to support this or a hint on how i can create a pr?
bvanelli/actualpy
diff --git a/tests/test_rules.py b/tests/test_rules.py index bc28ec9..71d22c4 100644 --- a/tests/test_rules.py +++ b/tests/test_rules.py @@ -5,6 +5,7 @@ from unittest.mock import MagicMock import pytest from actual import ActualError +from actual.exceptions import ActualSplitTransactionError from actual.queries im...
[ "tests/test_rules.py::test_category_rule", "tests/test_rules.py::test_datetime_rule", "tests/test_rules.py::test_string_condition", "tests/test_rules.py::test_numeric_condition", "tests/test_rules.py::test_complex_rule", "tests/test_rules.py::test_invalid_inputs", "tests/test_rules.py::test_value_type_c...
[]
{ "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": [], "intent_completeness": "complete", "pr_categories":...
a41f20979a19741f9de8b436ad46b6daa71e53e5
2022-02-26 13:26:47
docker.io/swerebenchv2/box-project-box:644-a41f209
box-project__box-644
No new interfaces are introduced.
php
MIT
diff --git a/src/DockerFileGenerator.php b/src/DockerFileGenerator.php index e4a82edb..863ad7af 100644 --- a/src/DockerFileGenerator.php +++ b/src/DockerFileGenerator.php @@ -41,6 +41,8 @@ final class DockerFileGenerator Dockerfile; private const PHP_DOCKER_IMAGES = [ + '8.1.0' => '8.1-cli-alpine...
Add PHP 8.0 and 8.1 to DockerFileGenerator Closes #630
Docker support with PHP 8 As latest version 3.16.0, Box is supposed to support both PHP 7.x and 8.x But when you look inside [DockerFileGenerator](https://github.com/box-project/box/blob/3.16.0/src/DockerFileGenerator.php#L43-L49) no images are defined for PHP 8.0 and 8.1 Is it just forgotten ? `8.0-cli-alpine` a...
box-project/box
diff --git a/tests/DockerFileGeneratorTest.php b/tests/DockerFileGeneratorTest.php index a7211a4c..fadd6213 100644 --- a/tests/DockerFileGeneratorTest.php +++ b/tests/DockerFileGeneratorTest.php @@ -66,7 +66,7 @@ class DockerFileGeneratorTest extends TestCase ; } catch (UnexpectedValueException $e...
[ "Docblock Annotation Parser > It can parse php docblocks with data set #1 [0.12 ms]", "Base Compactor > It returns the contents unchanged if does not support the file [0.06 ms]", "Base Compactor > It returns the compacted contents if it supports the file [0.03 ms]", "Compactors > It applies all compactors in ...
[ "Docblock Annotation Parser > It can parse php docblocks with data set #0 [0.02 ms]", "Docblock Annotation Parser > It can parse php docblocks with data set #2 [0.09 ms]", "Compactors > It provides the first scoper compactor symbols registry when there is one with data set #1 [0.05 ms]", "Compactors > It can ...
{ "base_image_name": "php:8.3.16", "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": "easy", "external_urls": [ "https://github.com/box-project/box/blob/3.16.0/src/Docke...
db37bd27a105006980e5a4788acc23c6de9225df
2023-12-06 22:00:23
docker.io/swerebenchv2/rust-bitcoin-rust-bitcoin:2255-db37bd2
rust-bitcoin__rust-bitcoin-2255
Method: Script.minimal_non_dust(&self) Location: impl Script in bitcoin::blockdata::script::borrowed.rs Inputs: self – a reference to the Script whose dust threshold is being queried. Outputs: crate::Amount – the minimum value an output with this script must have to be non‑dust, calculated using the default dust‑relay‑...
rust
CC0-1.0
diff --git a/bitcoin/src/blockdata/script/borrowed.rs b/bitcoin/src/blockdata/script/borrowed.rs index 117e34d0..828a23b9 100644 --- a/bitcoin/src/blockdata/script/borrowed.rs +++ b/bitcoin/src/blockdata/script/borrowed.rs @@ -10,6 +10,7 @@ use secp256k1::{Secp256k1, Verification}; use super::PushBytes; +use crate:...
Fix: TxOut::minimal_non_dust and Script::dust_value Fixes #2192 TxOut::minimal_non_dust has 3 problems. 1. There is an invisible dependency on Bitcoin Core's default minrelaytxfee value. It has been made explicit. 2. There is an off by one error. The dust limit comparison uses < and therefore `+ 1` was not need...
`Script::dust_value` method name disagrees with the documentation Dust is a value that is not economically spendable and can not be broadcasted. The method is called `dust_value` which suggest it returns a value that is too small (and always returning 0 would be a valid implementation) but the documentation says "Retur...
rust-bitcoin/rust-bitcoin
diff --git a/bitcoin/src/blockdata/script/tests.rs b/bitcoin/src/blockdata/script/tests.rs index c0a4c10b..e0a60f4e 100644 --- a/bitcoin/src/blockdata/script/tests.rs +++ b/bitcoin/src/blockdata/script/tests.rs @@ -6,6 +6,7 @@ use hex_lit::hex; use super::*; +use crate::FeeRate; use crate::blockdata::opcodes; use...
[ "address::tests::invalid_address_parses_error", "address::tests::test_fail_address_from_script", "address::tests::test_address_debug", "address::tests::test_address_type", "address::tests::test_is_related_to_pubkey_p2pkh_uncompressed_key", "address::tests::test_is_related_to_pubkey_p2pkh", "address::tes...
[]
{ "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":...
3be2f32896d62949285b74ebe1bdd8f53f525837
2024-05-25 20:31:57
docker.io/swerebenchv2/ash-project-ash_graphql:166-3be2f32
ash-project__ash_graphql-166
Method: AshGraphql.Graphql.Resolver.resolve_assoc_one(self, {domain, relationship}) Location: lib/graphql/resolver.ex Inputs: - domain (module) – the GraphQL domain module where the resource is defined. - relationship (Ash.Resource.RelationshipInfo) – the relationship metadata for a singular association. Outputs: ...
elixir
null
diff --git a/.formatter.exs b/.formatter.exs index bf791fe..f497cb2 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -42,6 +42,7 @@ spark_locals_without_parens = [ metadata_names: 1, metadata_types: 1, modify_resolution: 1, + paginate_relationship_with: 1, paginate_with: 1, primary_key_delimiter: 1, ...
feat: relationship pagination Resources can now define how their relationships are paginated. This is a property of the Graphql type of the resource and it allows arbitrarily nested paginated relationships. The PR also contains a fix to the existing pagination, which was not working correctly when a keyset strategy ...
Allow paginating nested relationships **Is your feature request related to a problem? Please describe.** Currently, passing `relay? true` to a list query enables Connection pagination on the query result. Sometimes though the requirement is having a _field_ paginated with a Connection. See for example the `versions` ...
ash-project/ash_graphql
diff --git a/test/paginate_test.exs b/test/paginate_test.exs index 36cebf5..447ffae 100644 --- a/test/paginate_test.exs +++ b/test/paginate_test.exs @@ -67,6 +67,44 @@ defmodule AshGraphql.PaginateTest do assert is_binary(start_keyset) assert is_binary(end_keyset) end + + test "works if action has...
[ "relay errors invalid before cursor", "relay errors last without before cursor", "relay neither first nor last passed", "relay errors wrong first/last with after/before combinations", "relay last with starting cursor", "relay first with middle cursor", "relay last with final cursor", "relay first with...
[]
{ "base_image_name": "elixir_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": "hard", "external_urls": [ "https://docs.github.com/en/graphql/reference/objects#pac...
ca9519bf182650cd464d6825de451471b3243627
2024-07-04 12:57:24
docker.io/swerebenchv2/keras-team-keras:19955-ca9519b
keras-team__keras-19955
Method: KerasVariable.__int__(self) Location: keras/src/backend/common/variables.py (class KerasVariable) Inputs: self – a KerasVariable instance; must be scalar (ndim == 0) to succeed. Outputs: Returns Python ``int`` representing the variable’s scalar value. Raises ``TypeError`` with message *“Only scalar arrays...
python
Apache-2.0
diff --git a/keras/src/backend/common/keras_tensor.py b/keras/src/backend/common/keras_tensor.py index d0ff42516..1314a266d 100644 --- a/keras/src/backend/common/keras_tensor.py +++ b/keras/src/backend/common/keras_tensor.py @@ -90,6 +90,20 @@ class KerasTensor: return ops.Squeeze(axis)(self) + def __in...
Improve `keras.Variable`'s dtype consistency and add `__int__`, `__float__` and `__round__` This should fix #19952 and #19846 I have found that the built-in ops of `keras.Variable` behave differently compared to `keras.ops.*`. This PR resolves it, and the corresponding tests have been included. An example of the...
Can't get learning rate as a value instead of a keras.Variable (and docs are incorrect) I need to capture the learning rate from a compiled keras model (tensorflow backend but it shouldn't matter). Previously I did this with tf.keras.backend.get_value(...), but keras 3.0 doesn't seem to have an equivalent. I want to ...
keras-team/keras
diff --git a/keras/src/backend/common/variables_test.py b/keras/src/backend/common/variables_test.py index 7ece491e8..ab40c905c 100644 --- a/keras/src/backend/common/variables_test.py +++ b/keras/src/backend/common/variables_test.py @@ -1,3 +1,5 @@ +import itertools + import numpy as np import pytest from absl.testi...
[ "keras/src/backend/common/variables_test.py::VariableOpsCorrentnessTest::test_float", "keras/src/backend/common/variables_test.py::VariableOpsCorrentnessTest::test_int", "keras/src/backend/common/variables_test.py::VariableOpsCorrentnessTest::test_round", "keras/src/backend/common/variables_test.py::VariableO...
[ "keras/src/backend/common/variables_test.py::VariableInitializationTest::test_deferred_initialization", "keras/src/backend/common/variables_test.py::VariableInitializationTest::test_deferred_initialize_already_initialized", "keras/src/backend/common/variables_test.py::VariableInitializationTest::test_variable_i...
{ "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://keras.io/api/callbacks/learning_rate_scheduler...
db0bbaa5c604fd8efdd4618de47d4c1205097ce5
2020-07-03 10:55:29
docker.io/swerebenchv2/filecoin-project-specs-actors:592-db0bbaa
filecoin-project__specs-actors-592
Method: Actor.AddBalance(rt Runtime, providerOrClientAddress *addr.Address) *adt.EmptyValue Location: actors/builtin/market/market_actor.go Inputs: - rt: Runtime providing execution context, including the message value received. - providerOrClientAddress: *addr.Address of the provider or client whose escrow balance is...
go
custom-check-github
diff --git a/actors/builtin/market/market_actor.go b/actors/builtin/market/market_actor.go index 48ceeb2e..dc06f931 100644 --- a/actors/builtin/market/market_actor.go +++ b/actors/builtin/market/market_actor.go @@ -118,11 +118,15 @@ func (a Actor) WithdrawBalance(rt Runtime, params *WithdrawBalanceParams) *adt.E // ...
Add balance should not be called with negative value Closes #591
Market: AddBalance should fail on being passed a negative amount Currently, this would work.
filecoin-project/specs-actors
diff --git a/actors/builtin/market/market_test.go b/actors/builtin/market/market_test.go index d94fa03c..ec8bd074 100644 --- a/actors/builtin/market/market_test.go +++ b/actors/builtin/market/market_test.go @@ -126,6 +126,19 @@ func TestMarketActor(t *testing.T) { } }) + t.Run("fails when called with negative...
[ "TestMarketActor", "TestMarketActor/AddBalance", "TestMarketActor/AddBalance/fails_when_called_with_negative_value" ]
[ "TestPieceSize", "TestBitFieldUnset", "TestBitFieldContains", "TestSectorSizeString", "TestSectorSizeShortString", "TestBigIntSerializationRoundTrip", "TestNewInt", "TestInt_MarshalUnmarshalJSON", "TestOperations", "TestOperations/Sum", "TestOperations/Sub", "TestOperations/Mul", "TestOperat...
{ "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.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
4e3b12e7fd262a118c6e967814fcf8a402917a09
2020-02-20 16:57:51
docker.io/swerebenchv2/awslabs-aws-embedded-metrics-node:19-4e3b12e
awslabs__aws-embedded-metrics-node-19
Method: EnvironmentDetector.cleanResolveEnvironment() Location: src/environment/EnvironmentDetector.ts Inputs: none Outputs: Promise&lt;IEnvironment&gt; – resolves to the detected environment instance (e.g., LambdaEnvironment, EC2Environment, LocalEnvironment, or DefaultEnvironment). The function forces a fresh disc...
ts
Apache-2.0
diff --git a/README.md b/README.md index ce7876c..6e9ea7d 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Generate CloudWatch Metrics embedded within structured log events. The embedded * [Installation](#installation) * [Usage](#usage) * [API](#api) +* [Configuration](#configuration) * [Examples](#examples) ...
Allow overriding environment and provide LocalEnvironment Closes #18 *Description of changes:* - adds LocalEnvironment - renames LambdaSink to ConsoleSink - short-circuits environment discovery if override is specified - adds environment override - fixes environment detection so that it only runs once after ...
Add option to disable agent communication during unit tests I'd like to block the SDK from trying to communicate with a CloudWatch Agent during certain unit tests. I don't see a documented way to do this right now. Ideally, I'd also be able to run assertions against the information that the SDK would have logged. (...
awslabs/aws-embedded-metrics-node
diff --git a/src/config/__tests__/EnvironmentConfigurationProvider.test.ts b/src/config/__tests__/EnvironmentConfigurationProvider.test.ts index 461c24d..8882abc 100644 --- a/src/config/__tests__/EnvironmentConfigurationProvider.test.ts +++ b/src/config/__tests__/EnvironmentConfigurationProvider.test.ts @@ -1,4 +1,5 @@...
[ "accept serializes and writes result to stdout", "createSink() creates a ConsoleSink", "probe() always returns false", "getSink() creates a ConsoleSink", "can set LogGroup name from environment", "can set LogStream name from environment", "can enable debug logging from environment", "can set ServiceNa...
[ "async scope executes handler function", "sync scope executes handler function", "async scope passes arguments", "async scope returns child function return value", "sync scope passes arguments", "sync scope returns child function return value", "createMetricsLogger() creates a logger", "probe() return...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --config jestconfig.json --verbose --no-color" }
{ "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":...
4c81b3f3b532c867cc55930df553e425951df4f6
2021-04-28 08:52:15
docker.io/swerebenchv2/analysis-dev-diktat:857-4c81b3f
analysis-dev__diktat-857
No new interfaces are introduced.
kotlin
MIT
diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/constants/Warnings.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/constants/Warnings.kt index 2c8f4a8cd5..44bbc518fb 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/constants/Warnings.kt +++ b/diktat-rules/src/main/kotlin/org...
### What's done: - [x] Fixed bug - [x] Created tests - [x] Closes #818
Incorrect fix of null-safety rule ## Describe the bug Consider the following code: ```kotlin while (someCondition) { result = someFunction() if (result != null) { doSomething() } else { break } } ``` ## Expected behavior TBD **After the `mvn diktat:fix@diktat` this bloc...
analysis-dev/diktat
diff --git a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter4/NullChecksRuleFixTest.kt b/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter4/NullChecksRuleFixTest.kt index 5962baa5f9..088b705ff8 100644 --- a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter4/NullChecksRuleFixTest.kt ++...
[ "org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskTest check system property with multiproject build with custom config()", "org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskTest check command line in debug mode()", "org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskTest check command line has reporter type without...
[]
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
b4d790dd57b324c20ea9031b4769ba4d75ecd691
2025-02-24 20:09:20
docker.io/swerebenchv2/aws-cloudformation-cfn-lint:3965-b4d790d
aws-cloudformation__cfn-lint-3965
No new interfaces are introduced.
python
MIT-0
diff --git a/src/cfnlint/rules/functions/RefFormat.py b/src/cfnlint/rules/functions/RefFormat.py index c734e6403..64a9b651b 100644 --- a/src/cfnlint/rules/functions/RefFormat.py +++ b/src/cfnlint/rules/functions/RefFormat.py @@ -8,6 +8,7 @@ from __future__ import annotations from copy import deepcopy from typing impo...
Ignore custom resource Ref *Issue #, if available:* fix #3964 *Description of changes:* - Update E1041 to ignore custom resources when using a Ref By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
aws::ec2::networkinterface E1041 bug ### CloudFormation Lint Version 1.25.1 ### What operating system are you using? windows ### Describe the bug [cfn-lint] E1041: {'Ref': 'EniSg'} does not match destination format of 'AWS::EC2::SecurityGroup.Id' the custom function finds the SG Id and returns it for a !Ref in o...
aws-cloudformation/cfn-lint
diff --git a/test/unit/rules/functions/test_ref_format.py b/test/unit/rules/functions/test_ref_format.py index 9e13087c0..5c7b26013 100644 --- a/test/unit/rules/functions/test_ref_format.py +++ b/test/unit/rules/functions/test_ref_format.py @@ -21,6 +21,7 @@ def template(): "Resources": { "MyBucke...
[ "test/unit/rules/functions/test_ref_format.py::test_validate[Valid" ]
[ "test/unit/rules/functions/test_ref_format.py::test_validate[Invalid" ]
{ "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.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
14583a2522eeeedf8207c817bddcd2b2212e23a0
2019-07-18 09:33:23
docker.io/swerebenchv2/bbc-psammead:1362-14583a2
bbc__psammead-1362
No new interfaces are introduced.
js
custom-check-github
diff --git a/package-lock.json b/package-lock.json index 4ee1c06fd..ec31f2eed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10061,7 +10061,8 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ij...
SitewideLinks should not use same styling as InlineLink Resolves #742 **Overall change:** _ Changes the psammead-sitewide-link component to use `text-decoration` to style links._ **Code changes:** - _Use test-decoration instead of border-bottom for styling._ - _Update snapshots._ --- - [x] I have assig...
SiteWideLinks should not use inline link styling **Is your feature request related to a problem? Please describe.** UX have confirmed that the SiteWideLinks component should not use the same styling as the inline link component. This is because the inline link is designed to be used in the body of the article and ther...
bbc/psammead
diff --git a/packages/components/psammead-sitewide-links/src/Link/__snapshots__/index.test.jsx.snap b/packages/components/psammead-sitewide-links/src/Link/__snapshots__/index.test.jsx.snap index 7a287dc3e..bfc9a8806 100644 --- a/packages/components/psammead-sitewide-links/src/Link/__snapshots__/index.test.jsx.snap +++ ...
[ "should render correctly with 7 items", "should render correctly with 8 items", "should render a standard block link", "should render an inline link after passing an inline prop" ]
[ "should render correctly", "parse", "format", "format ordinal", "format month", "format week", "from", "suffix", "now from now", "fromNow", "calendar day", "calendar next week", "calendar last week", "calendar all else", "weeks year starting sunday formatted", "should test all the util...
{ "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/bbc/psammead/blob/latest/packages/com...
d7bcb2fb9542c3b67f3e444d8085fdb2b6453ef0
2021-05-14 22:53:36
docker.io/swerebenchv2/palantir-policy-bot:302-d7bcb2f
palantir__policy-bot-302
Method: ComparisonExpr.IsEmpty(self) Location: policy/predicate/file.go Inputs: none (operates on the receiver) Outputs: bool – true when the expression has Op = OpNone and Value = 0, i.e. represents an empty comparison. Description: Reports whether a ComparisonExpr is unset/empty. Used in predicate evaluation and ...
go
Apache-2.0
diff --git a/policy/predicate/file.go b/policy/predicate/file.go index 918ab6d..e832692 100644 --- a/policy/predicate/file.go +++ b/policy/predicate/file.go @@ -15,9 +15,9 @@ package predicate import ( + "bytes" "context" "fmt" - "regexp" "strconv" "github.com/palantir/policy-bot/policy/common" @@ -96,35 ...
Fix re-request loop for user reviewers If a user was requested for review, but their review didn't change the status of the policy for some reason, policy-bot could immediately re-request them as a reviewer. This was most likely to happen if a user left a "request changes" review on a repository that does not have a...
Stop re-requesting reviews when all-users mode is used We've encountered the following issues on a GitHub repository today: - We have a PR that modifies a single file. - That file is configured to require approval from a GitHub team, and the requesting mode is set to `all-users`. - policy-bot requests the review fro...
palantir/policy-bot
diff --git a/policy/predicate/file_test.go b/policy/predicate/file_test.go index 73fd0ab..6a8477e 100644 --- a/policy/predicate/file_test.go +++ b/policy/predicate/file_test.go @@ -176,8 +176,8 @@ func TestOnlyChangedFiles(t *testing.T) { func TestModifiedLines(t *testing.T) { p := &ModifiedLines{ - Additions: ">...
[ "TestHasAuthorIn", "TestHasAuthorIn/noMatch", "TestHasAuthorIn/authorInUsers", "TestHasAuthorIn/authorInTeams", "TestHasAuthorIn/authorInOrgs", "TestHasContributorIn", "TestHasContributorIn/commitAuthorInUsers", "TestHasContributorIn/commitCommitterInUsers", "TestHasContributorIn/commitAuthorInTeam"...
[ "TestEvaluator", "TestEvaluator/disapprovalWins", "TestEvaluator/approvalWinsByDefault", "TestEvaluator/propagateError", "TestEvaluator/setsProperties", "TestIsApproved", "TestIsApproved/noApprovalRequired", "TestIsApproved/singleApprovalRequired", "TestIsApproved/authorCannotApprove", "TestIsAppr...
{ "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.7", "helm_version": null, ...
{ "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":...
9c680e604be8d516960eecbbc3718ace91643cea
2019-12-10 21:51:58
docker.io/swerebenchv2/helm-helm:7201-9c680e6
helm__helm-7201
No new interfaces are introduced.
go
Apache-2.0
diff --git a/cmd/helm/package.go b/cmd/helm/package.go index 20cde6e4c..00fe0ef11 100644 --- a/cmd/helm/package.go +++ b/cmd/helm/package.go @@ -118,7 +118,6 @@ func newPackageCmd(out io.Writer) *cobra.Command { f.StringVar(&client.AppVersion, "app-version", "", "set the appVersion on the chart to this version") f....
fix(package): remove --set, --values, etc. flags These flags snuck in through a feature that was reverted and removed in Helm 2, but snuck into Helm 3. See https://github.com/helm/helm/issues/6951#issuecomment-564261923 for more information. Luckily, they were never hooked into the action package, so they were effec...
`helm package` is stripping comments from `values.yaml` In Helm 3.0.0 final, `helm package` appears to be stripping the comments out of the values file. This happens when the values file is parsed and then re-marshaled (since the Go YAML parser does not keep comments). To reproduce: ``` $ helm create foo $ helm...
helm/helm
diff --git a/cmd/helm/package_test.go b/cmd/helm/package_test.go index 38938b4af..e0a5fabd6 100644 --- a/cmd/helm/package_test.go +++ b/cmd/helm/package_test.go @@ -17,13 +17,9 @@ package main import ( "bytes" - "fmt" - "io/ioutil" "os" "path/filepath" "regexp" - "runtime" - "strings" "testing" "github...
[ "TestSave/outDir=/tmp/helm-1803939275", "TestSave/outDir=/tmp/helm-1803939275/newdir", "TestInvalidYaml" ]
[ "TestCreateCmd", "TestCreateStarterCmd", "TestCreateStarterAbsoluteCmd", "TestDependencyBuildCmd", "TestDependencyListCmd", "TestDependencyListCmd/No_such_chart", "TestDependencyListCmd/No_dependencies", "TestDependencyListCmd/Dependencies_in_chart_dir", "TestDependencyListCmd/Dependencies_in_chart_...
{ "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": "B1", "confidence": 0.92, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
de4629e58089c5a3cec2f9455c9fce6c44c7c877
2024-08-21 11:10:00
docker.io/swerebenchv2/cpisciotta-xcbeautify:311-de4629e
cpisciotta__xcbeautify-311
Method: OutputRendering.formatNote(group: NoteCaptureGroup) -> String Location: Sources/XcbeautifyLib/Renderers/OutputRendering.swift (protocol definition) and its default implementation in the same file. Inputs: - group: an instance of NoteCaptureGroup containing the captured note text. Outputs: - String – the forma...
swift
MIT
diff --git a/Sources/XcbeautifyLib/CaptureGroups.swift b/Sources/XcbeautifyLib/CaptureGroups.swift index 5d99d34e..45b21505 100644 --- a/Sources/XcbeautifyLib/CaptureGroups.swift +++ b/Sources/XcbeautifyLib/CaptureGroups.swift @@ -2399,3 +2399,21 @@ struct EmitSwiftModuleCaptureGroup: CaptureGroup { self.proje...
Adresses #208. ### Changes Add a capture group for the Note output. ### Testing - Added new unit tests
[New Output] Support Note Output ### What's the uncaptured output? ``` note: Building targets in dependency order ``` ``` note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'Target' from project 'Project') ``` ``` note: Run script build phase 'SomeRunScriptBuildPhase' will b...
cpisciotta/xcbeautify
diff --git a/Tests/XcbeautifyLibTests/ParserTests.swift b/Tests/XcbeautifyLibTests/ParserTests.swift index d90e44d0..b222c298 100644 --- a/Tests/XcbeautifyLibTests/ParserTests.swift +++ b/Tests/XcbeautifyLibTests/ParserTests.swift @@ -327,4 +327,39 @@ final class ParserTests: XCTestCase { XCTAssertEqual(captur...
[ "AzureDevOpsPipelinesRendererTests.testAggregateTarget", "AzureDevOpsPipelinesRendererTests.testAnalyze", "AzureDevOpsPipelinesRendererTests.testAnalyzeTarget", "AzureDevOpsPipelinesRendererTests.testBuildTarget", "AzureDevOpsPipelinesRendererTests.testCPResource", "AzureDevOpsPipelinesRendererTests.testC...
[]
{ "base_image_name": "swift_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": ...
6116ec6685b33652e9e25def9b8897ed4b015c7d
2024-08-15 16:07:43
docker.io/swerebenchv2/editorconfig-checker-editorconfig-checker:360-6116ec6
editorconfig-checker__editorconfig-checker-360
Method: ValidationError.Equal(self, error2 ValidationError) bool Location: pkg/error/error.go Inputs: - receiver ValidationError (the error to compare) - error2 ValidationError – the other error to compare against Outputs: bool – true if both errors have identical message text, line number, and AdditionalIdenticalErro...
go
MIT
diff --git a/.gitignore b/.gitignore index 48ec4f0..adf17e0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ editorconfig-checker.test coverage.txt result-bin path +node_modules diff --git a/README.md b/README.md index 10115c2..b4b687b 100644 --- a/README.md +++ b/README.md @@ -138,9 +138,15 @@ If you run th...
feat: consolidate adjacent error messages This changes the human output format to collect multiple identical error messages on consecutive lines into one error message that list both the starting and ending line. This is still missing a properly written testcase, I so far only tested with make (cd tes...
it would be nice if editorconfig-checker could collect instances of the same issues found in adjacent lines into a single report line I've just put a bunch of generated json documents into one of our repositories, but forgot to either ignore them or adjust their indentation to fit our editorconfig. However this lead...
editorconfig-checker/editorconfig-checker
diff --git a/pkg/error/__snapshots__/pathseparator-backslash/error_test.snap b/pkg/error/__snapshots__/pathseparator-backslash/error_test.snap new file mode 100644 index 0000000..3f3bc0f --- /dev/null +++ b/pkg/error/__snapshots__/pathseparator-backslash/error_test.snap @@ -0,0 +1,47 @@ + +[TestFormatErrors - 1] +[]log...
[ "TestGetErrorCount", "TestValidationErrorEqual", "TestConsolidateErrors", "TestFormatErrors", "TestLoggerDebug", "TestLoggerVerbose", "TestLoggerWarning", "TestWarning", "TestLoggerOutput", "TestOutput", "TestLoggerError", "TestError", "TestPrintLogMessage" ]
[ "TestNewConfig", "TestGetExcludesAsRegularExpression", "TestMerge", "TestParse", "TestSave", "TestGetAsString", "TestDecodeBytesText", "TestIsBinaryFile", "TestGetContentType", "TestIsAllowedContentType", "TestPathExists", "TestGetRelativePath", "TestAddToFiles", "TestGetFiles", "TestGet...
{ "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.7", "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":...
2e74690f5ec73e6707606fd92bca02f7f17c452f
2019-08-05 15:26:56
docker.io/swerebenchv2/d5-tengo:221-2e74690
d5__tengo-221
Function: encode(src []byte) string Location: stdlib/base64.go Inputs: src – a byte slice (`[]byte`) containing the data to be encoded. Outputs: a Base64 encoded string (`string`). No error is returned; encoding cannot fail. Description: Encodes the given byte slice using standard Base64 encoding with padding and retur...
go
MIT
diff --git a/docs/stdlib-base64.md b/docs/stdlib-base64.md new file mode 100644 index 0000000..864cfa7 --- /dev/null +++ b/docs/stdlib-base64.md @@ -0,0 +1,16 @@ +# Module - "base64" + +```golang +fmt := import("base64") +``` + +## Functions + +- `encode(src)`: returns the base64 encoding of src. +- `decode(s)`: return...
Stdlib encodings: hex, base64 (#216) Fixes #216
add hex and base64 encoding I'm currently working on a [crypto module](https://github.com/Ma124/tengo/tree/stdlib-crypto) #135 and often you want your encrypted data base64 encoded or your hashes as hex. Which is why I suggest adding these features to the text module or an encoding module with support for base64 enc...
d5/tengo
diff --git a/stdlib/base64_test.go b/stdlib/base64_test.go new file mode 100644 index 0000000..b1157d6 --- /dev/null +++ b/stdlib/base64_test.go @@ -0,0 +1,20 @@ +package stdlib_test + +import "testing" + +var base64Bytes1 = []byte{0x06, 0xAC, 0x76, 0x1B, 0x1D, 0x6A, 0xFA, 0x9D, 0xB1, 0xA0} +const base64Std = "Bqx2Gx1q...
[ "TestBase64", "TestHex" ]
[ "TestCLICompileAndRun", "TestBytecode", "TestBytecode_RemoveDuplicates", "TestBytecode_CountObjects", "TestCompilerErrorReport", "TestCompilerDeadCode", "TestCompilerScopes", "TestCompiler_Compile", "TestInstructions_String", "TestMakeInstruction", "TestReadOperands", "TestSymbolTable", "Tes...
{ "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": [ "https://github.com/Ma124/tengo/tree/stdlib-crypto" ...
e4b929547ade335b0dd9d7afe1a35989e19fbc8a
2022-02-04 14:35:24
docker.io/swerebenchv2/sindresorhus-execa:490-e4b9295
sindresorhus__execa-490
Function: execa(file: string, args?: ReadonlyArray<string>, options?: { cwd?: string | URL; // Current working directory; now accepts a URL (Node ≥ 14.18.0 / ≥ 16.4.0) localDir?: string | URL; // Path for locally‑installed binaries; now accepts a URL (same Node versions) s...
js
MIT
diff --git a/index.d.ts b/index.d.ts index fdf9de1..f9cf418 100644 --- a/index.d.ts +++ b/index.d.ts @@ -33,9 +33,11 @@ export interface CommonOptions<EncodingType> { /** Preferred path to find locally installed binaries in (use with `preferLocal`). + Using a `URL` is only supported in Node.js `14.18.0`, `16.14.0...
Support `AbortController` Fixes #449. I'd appreciate it if you could let me know if I need to write more tests or documents. Thanks for all your efforts for this awesome library :)
Support `AbortController` Node.js is adopting it for everything, so I think we should support it too. https://developer.mozilla.org/en-US/docs/Web/API/AbortController Node.js just added support for it in `.spawn()`: https://nodejs.org/en/blog/release/v15.5.0/ This would not replace the current `.cancel()` func...
sindresorhus/execa
diff --git a/index.test-d.ts b/index.test-d.ts index 5e06366..b73cfa0 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -90,6 +90,7 @@ try { execa('unicorns', {cleanup: false}); execa('unicorns', {preferLocal: false}); execa('unicorns', {localDir: '.'}); +execa('unicorns', {localDir: new URL('file:///test')}); ...
[ "kill › calling abort twice should show the same behaviour as calling it once", "kill › calling abort throws an error with message \"Command was canceled\"" ]
[ "stdio › execa() undefined", "stdio › execa() null", "stdio › execa() { stdio: 'inherit' }", "stdio › execa() { stdio: 'pipe' }", "stdio › execa() { stdio: 'ignore' }", "stdio › execa() { stdio: [ 0, 1, 2 ] }", "stdio › execa() {}", "stdio › execa() { stdio: [] }", "stdio › execa() { stdin: 'pipe' }...
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://developer.mozilla.org/en-US/docs/Web/API/Abort...
0ceff863d16612e232b3bcd0dd230cbeee6b02a7
2019-12-04 18:35:13
docker.io/swerebenchv2/projectfluent-fluent-rs:143-0ceff86
projectfluent__fluent-rs-143
Method: FluentBundle::add_resource_overriding(&mut self, r: R) where R: Borrow<FluentResource> Location: impl&lt;R&gt; FluentBundle&lt;R&gt; Inputs: - self: &mut FluentBundle – the bundle to be modified. - r: R – a value that can be borrowed as a FluentResource (e.g., FluentResource, &FluentResource, Rc&lt;FluentResour...
rust
Apache-2.0
diff --git a/fluent-bundle/src/bundle.rs b/fluent-bundle/src/bundle.rs index 8555d7e..f4fb03e 100644 --- a/fluent-bundle/src/bundle.rs +++ b/fluent-bundle/src/bundle.rs @@ -181,6 +181,10 @@ impl<R> FluentBundle<R> { /// Adds a resource to the bundle, returning an empty [`Result<T>`] on success. /// + ///...
Add support for adding resources with overrides Fixes #142. Stas, I'd like to get your r? mostly for the API decisions, in an effort to bring fluent-rs more into Fluent core realm. The JS API relies heavily on default argument values for API ergonomics and in Rust we don't have the same luxury. There are three...
Add support for `FluentBundle::add_resource` allowOverrides JS implementation allows to set `allowOverrides` to true and allow for new resources to override messages in bundle, see https://github.com/projectfluent/fluent.js/pull/332
projectfluent/fluent-rs
diff --git a/fluent-bundle/tests/bundle.rs b/fluent-bundle/tests/bundle.rs new file mode 100644 index 0000000..eb0cee1 --- /dev/null +++ b/fluent-bundle/tests/bundle.rs @@ -0,0 +1,37 @@ +use fluent_bundle::{FluentBundle, FluentResource}; +use unic_langid::LanguageIdentifier; + +#[test] +fn add_resource_override() { + ...
[ "types::tests::value_from_copy_ref", "add_resource_override", "resolve_fixtures", "fluent_value_from", "fluent_value_matches", "fluent_value_number", "tests::it_works", "test_main" ]
[ "parse_fixtures", "parse_fixtures_compare", "unescape_unicode_test" ]
{ "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/projectfluent/fluent.js/pull/332" ...
3e3bb94efef9174af42ddc9bee2f944c4c48b7c2
2019-02-11 23:04:10
docker.io/swerebenchv2/plataformatec-broadway:31-3e3bb94
plataformatec__broadway-31
Method: Broadway.handle_message(processor :: atom, message :: Broadway.Message.t(), context :: any) Location: lib/broadway.ex (callback definition) Inputs: processor – identifier of the processor (atom); message – %Broadway.Message{} containing the data to process; context – user‑defined immutable data passed to start_...
elixir
Apache-2.0
diff --git a/README.md b/README.md index 03471b5..c10b445 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Documentation can be found at [https://hexdocs.pm/broadway](https://hexdocs.pm/b * Back-pressure * Batching * Fault tolerance through restarts - * Clean shutdown (TODO) + * Clean shutdown * R...
Revise configuration API Closes #27. The documentation should probably show examples of using the new process key. However we can do this later after implementing multiple processors. The current implementation is similar to the producers which allows only one key, so the first arg of `handle_message/3` is there just t...
Revise configuration API The configuration API will be: ``` producers: [ name: ... ], processors: [ default: ... ], batchers: [ one_or_many: [ batch_size: ..., ] ] ``` For now processors can only have one entry (like producers). `handle_message` will receive the name of the processor. `han...
plataformatec/broadway
diff --git a/test/broadway/batcher_test.exs b/test/broadway/batcher_test.exs index 40a565b..ddf7ef3 100644 --- a/test/broadway/batcher_test.exs +++ b/test/broadway/batcher_test.exs @@ -9,7 +9,7 @@ defmodule Broadway.BatcherTest do type: :producer_consumer, terminator: __MODULE__, resubscribe:...
[ "use Broadway generates child_spec/1", "batcher pass all messages to the acknowledger", "broadway configuration invalid configuration options", "processor forward messages to the specified batcher", "handle processor crash processor crashes cascade down (but not up)", "processor - failed messages handling...
[]
{ "base_image_name": "elixir_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.85, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
259bb1e52e68cde4205c08c6fdb362ba2fe6c196
2020-05-28 09:04:34
docker.io/swerebenchv2/roave-betterreflection:618-259bb1e
roave__betterreflection-618
No new interfaces are introduced.
php
MIT
diff --git a/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php b/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php index ed6f178d..d124df6c 100644 --- a/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php +++ b/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php @@ -18,6 ...
PhpStormStubsSourceStubber fixes for case-insensitive classes/functions/constants Fixes #611
PhpStormStubsSourceStubber should be case-insensitive for classes and functions Asking for `SOAPFault` and `SoapFault` should yield the same results. PoC fix: https://github.com/ondrejmirtes/BetterReflection/commit/3105728871436e1c34c86db23f6dfe711fd9c12d
Roave/BetterReflection
diff --git a/test/unit/SourceLocator/SourceStubber/PhpStormStubsSourceStubberTest.php b/test/unit/SourceLocator/SourceStubber/PhpStormStubsSourceStubberTest.php index acd380a0..f1f60d04 100644 --- a/test/unit/SourceLocator/SourceStubber/PhpStormStubsSourceStubberTest.php +++ b/test/unit/SourceLocator/SourceStubber/PhpS...
[ "Better Reflection > Accessors return types [2.44 ms]", "Better Reflection > Produced instances are memoized [1.23 ms]", "Better Reflection > Produced instances are not memoized across instances [2.40 ms]", "Invalid Identifier Name > From invalid name [0.08 ms]", "Identifier > Get name [0.03 ms]", "Identi...
[ "Identifier > Get type [0.02 ms]", "Identifier > Is types for class [0.07 ms]", "Identifier > Is types for function [0.02 ms]", "Identifier > Is types for constant [0.02 ms]", "Identifier > Get name for closure [0.02 ms]", "Identifier > Get name for anonymous class [0.07 ms]", "Identifier > Get name for...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export HOME=/tmp", "composer update --no-interaction --prefer-dist --ignore-platform-reqs" ], "log_parser": "parse_log_phpunit", "test_cmd": "./vendor/bin/phpunit --testdox --verbose --colors=never" }
{ "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/ondrejmirtes/BetterReflection/commi...
6f22bba37347183623b457f2d181af564ee29de1
2024-10-05 10:42:34
docker.io/swerebenchv2/kestra-io-kestra:5316-6f22bba
kestra-io__kestra-5316
No new interfaces are introduced.
java
Apache-2.0
diff --git a/Docker.md b/Docker.md new file mode 100644 index 000000000..45ab6732e --- /dev/null +++ b/Docker.md @@ -0,0 +1,53 @@ +# Kestra Docker Image Documentation + +Welcome to the official Docker image documentation for [Kestra](https://kestra.io). This document explains how to use Kestra's Docker images, along wi...
Fix flow metadata is not persisted upon Save from low-code editor - This PR solves the issue #5071 - Added the appropriate condition for detecting changes. https://github.com/user-attachments/assets/f35592de-5b71-43ab-8ac9-ae8257cf0f1b closes #5071
Flow metadata is not persisted upon `Save` from low-code editor ### Describe the issue If I edit flow metadata from the UI low-code editor, even changes if changes are reflected in-source, they are not 'captured' as an actual source change, and the flow's _Save_ button is therefore inoperative. Upon page reload, or ...
kestra-io/kestra
diff --git a/core/src/test/java/io/kestra/core/serializers/YamlFlowParserTest.java b/core/src/test/java/io/kestra/core/serializers/YamlFlowParserTest.java index c290a5516..c422ee11b 100644 --- a/core/src/test/java/io/kestra/core/serializers/YamlFlowParserTest.java +++ b/core/src/test/java/io/kestra/core/serializers/Yam...
[ "Test invalidParallel()", "Test pluginDoc()", "Test replayParallel()", "Test [1] date=2026-02-16T18:05:37.224256584Z[Etc/UTC], before=null, after=2013-09-08T16:19:12+02:00, result=true", "Test [2] date=2013-09-08T16:19:12+02:00, before=null, after=2026-02-16T18:05:37.224397934Z[Etc/UTC], result=false", "T...
[ "Test shouldReadServiceFileFromMetaInf()", "Test lastModifiedTimeNoTenant()", "Test createDirectoryShouldBeRecursive()", "Test sizeNoTenant()", "Test getNoCrossTenant()", "Test listNotFound()", "Test getAttributesNotFound()", "Test getNoTenant()", "Test lastModifiedTime()", "Test sizeWithScheme()"...
{ "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": "B5", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/user-attachments/assets/605a92fa-cb...
e030e684b0fd27f7c38e7932f81c4db51e4b58c7
2025-01-28 23:34:28
docker.io/swerebenchv2/tanstack-router:3269-e030e68
tanstack__router-3269
Method: interpolatePath({ path, params, leaveWildcards?, leaveParams?, decodeCharMap? }) Location: packages/router-core/src/path.ts Inputs: - **path**: `string` – the route pattern (e.g. "/users/$userId"). - **params**: `Record<string, unknown>` – key/value pairs to substitute into the path. - **leaveWildcards?**: `boo...
ts
MIT
diff --git a/docs/eslint/create-route-property-order.md b/docs/eslint/create-route-property-order.md index 56f27821f..b0a664eb2 100644 --- a/docs/eslint/create-route-property-order.md +++ b/docs/eslint/create-route-property-order.md @@ -17,7 +17,7 @@ The correct property order is as follows - `context` - `beforeLoad`...
feat(react-router): add `remountDeps` closes #2990
No builtin mechanism for remounting on path param changes ### Which project does this relate to? Router ### Describe the bug This issue is a result from a discussion I had with @schiller-manuel in https://discord.com/channels/719702312431386674/1316448877670563931. Currently local state is preserved when navigating...
TanStack/router
diff --git a/packages/react-router/tests/link.bench.tsx b/packages/react-router/tests/link.bench.tsx index 4854c908c..a04149ed6 100644 --- a/packages/react-router/tests/link.bench.tsx +++ b/packages/react-router/tests/link.bench.tsx @@ -38,7 +38,7 @@ const InterpolatePathLink = ({ params, children, }: React.Prop...
[ "|@tanstack/router-core| tests/path.test.ts > interpolatePath > should interpolate the path", "|@tanstack/router-core| tests/path.test.ts > interpolatePath > should interpolate the path with multiple params", "|@tanstack/router-core| tests/path.test.ts > interpolatePath > should interpolate the path with extra ...
[ "|@tanstack/history| tests/createMemoryHistory.test.ts > createMemoryHistory > back", "|@tanstack/history| tests/createMemoryHistory.test.ts > createMemoryHistory > forward", "|@tanstack/history| tests/createMemoryHistory.test.ts > createMemoryHistory > push and back #1916", "|@tanstack/history| tests/createM...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "pnpm install --frozen-lockfile" ], "log_parser": "parse_log_js_4", "test_cmd": "npx nx run-many --target=test:unit --all --run --reporter=verbose --no-color" }
{ "llm_metadata": { "code": "B4", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [ "https://discord.com/channels/719702312431386674/13164488...
b1e88ffac63c5beddf8755312ffdb53e4f5b9328
2017-05-04 09:56:07
docker.io/swerebenchv2/go-ldap-ldap:111-b1e88ff
go-ldap__ldap-111
Method: (*Entry).GetEqualFoldAttributeValue(attribute string) string Location: search.go – added alongside existing attribute getters. Inputs: - attribute (string): the name of the LDAP attribute to look up; matching is performed case‑insensitively via strings.EqualFold. Outputs: - string: the first value associated ...
go
custom-check-github
diff --git a/search.go b/search.go index 9a5c2c8..a265ae4 100644 --- a/search.go +++ b/search.go @@ -77,6 +77,17 @@ func (e *Entry) GetAttributeValues(attribute string) []string { return []string{} } +// GetEqualFoldAttributeValues returns the values for the named attribute, or an +// empty list. Attribute matchin...
make Get(Raw)AttributeValues compare case insensitive This is the same way an LDAP server compares during a search request. Fixes #109
Get(Raw)AttributeValues should compare attributes case insensitive Currently it matches exactly, but with user input in mixed cases, the attributes are not found, e.g. when called with "objectclass" while "objectClass" is present, an empty list is returned.
go-ldap/ldap
diff --git a/search_test.go b/search_test.go index 4a4b7da..42c95c3 100644 --- a/search_test.go +++ b/search_test.go @@ -29,3 +29,22 @@ func TestNewEntry(t *testing.T) { iteration = iteration + 1 } } + +func TestGetAttributeValue(t *testing.T) { + dn := "testDN" + attributes := map[string][]string{ + "Alpha": ...
[ "TestSuccessfulDNParsing", "TestErrorDNParsing", "TestDNEqual", "TestDNAncestor" ]
[]
{ "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.88, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
3accb1bbbd11d3af1e92893f68493fc9fb3c5717
2021-01-21 04:10:55
docker.io/swerebenchv2/qiskit-qiskit-terra:5662-3accb1b
qiskit__qiskit-terra-5662
No new interfaces are introduced.
python
Apache-2.0
diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index 1f48ba579..d04854325 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -2473,7 +2473,8 @@ class QuantumCircuit: # circuit has only delays, this is kind of scheduled for ...
Fix handling of classical bits in timeline drawer and non-treament of delay as idle time Fixes a bug when visualizing timeline of scheduled circuits, when classical bits existed. Fixes a bug where `idle_wires=False` still showed wires that only had delay (they are idle and should be muted). Fixes #5361
timeline_drawer measurement bugs There are some bugs drawing measurements in the circuit timeline drawer. Taking a simple circuit and a backend to schedule on: ```py from qiskit import QuantumCircuit, transpile from qiskit.test.mock import FakeParis from qiskit.visualization import timeline_drawer qc = Quantum...
Qiskit/qiskit-terra
diff --git a/test/python/visualization/test_circuit_text_drawer.py b/test/python/visualization/test_circuit_text_drawer.py index fb5b08a71..ee14b4423 100644 --- a/test/python/visualization/test_circuit_text_drawer.py +++ b/test/python/visualization/test_circuit_text_drawer.py @@ -1901,6 +1901,18 @@ class TestTextIdleWi...
[ "test/python/visualization/test_circuit_text_drawer.py::TestTextIdleWires::test_text_barrier_delay", "test/python/visualization/timeline/test_core.py::TestCanvas::test_gate_link_overlap", "test/python/visualization/timeline/test_core.py::TestCanvas::test_multi_measurement_with_clbit_not_shown" ]
[ "test/python/visualization/test_circuit_text_drawer.py::TestTextDrawerElement::test_measure_from", "test/python/visualization/test_circuit_text_drawer.py::TestTextDrawerElement::test_measure_to", "test/python/visualization/test_circuit_text_drawer.py::TestTextDrawerElement::test_measure_to_label", "test/pytho...
{ "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": [], "intent_completeness": "complete", "pr_categories":...
6e55aef2358e40de84503c0231b763865890911e
2019-04-07 18:22:54
docker.io/swerebenchv2/vaskoz-dailycodingproblem-go:471-6e55aef
vaskoz__dailycodingproblem-go-471
Function: LargestPossibleInteger(nums []int) int Location: day228/problem.go Inputs: nums – slice of non‑negative integers; the order of elements is irrelevant, they will be rearranged to maximize the resulting integer. Outputs: int – the maximum integer that can be formed by concatenating the given numbers; if convers...
go
MIT
diff --git a/README.md b/README.md index 8cb2218..c1adf43 100644 --- a/README.md +++ b/README.md @@ -237,3 +237,4 @@ problems from * [Day 224](https://github.com/vaskoz/dailycodingproblem-go/issues/462) * [Day 225](https://github.com/vaskoz/dailycodingproblem-go/issues/465) * [Day 226](https://github.com/vaskoz/dail...
Day228 Resolves #470.
Day 228 Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. Given a list of numbers, create an algorithm that arranges them in order to form the largest possible integer. For example, given `[10, 7, 76, 415]`, you should return `77641510`.
vaskoz/dailycodingproblem-go
diff --git a/day228/problem_test.go b/day228/problem_test.go new file mode 100644 index 0000000..9f0bc6f --- /dev/null +++ b/day228/problem_test.go @@ -0,0 +1,31 @@ +package day228 + +import "testing" + +var testcases = []struct { + nums []int + expected int +}{ + {[]int{10, 7, 76, 415}, 77641510}, + {[]int{7, 76, ...
[ "TestLargestPossibleInteger" ]
[ "TestCountNodes", "TestTwoSumsSmall", "TestTwoSumsSmall/Brute", "TestTwoSumsSmall/Best", "TestTwoSumsSmall/Better", "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.92, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
64feb9c15c2a0b6487a9c0b7a9b5fdd113db72e4
2021-02-28 16:50:37
docker.io/swerebenchv2/khan-flow-to-ts:216-64feb9c
khan__flow-to-ts-216
No new interfaces are introduced.
ts
null
diff --git a/src/compute-newlines.js b/src/compute-newlines.js deleted file mode 100644 index 73dc8d2..0000000 --- a/src/compute-newlines.js +++ /dev/null @@ -1,122 +0,0 @@ -const getChildren = node => { - switch (node.type) { - case "Program": - case "BlockStatement": - case "ClassBody": - return node.b...
Improve comment handling after unvendoring @babel/generator Fixes #214. There are still some minor issues with comment positioning and newlines but they're probably not worth the cost of maintaining a fork of `@babel/generator`.
Improve comment position In #212 I decided to use the vanilla (unpatched) version of `@babel/generator`. This has resulted in poor comment location. In particular `@babel/parser` like to make a lot of comments into trailing comments when then should probably be leading comments. The only comments that should truly b...
Khan/flow-to-ts
diff --git a/test/fixtures/convert/formatting/comment_block01/ts.js b/test/fixtures/convert/formatting/comment_block01/ts.js index 657b36d..385f11b 100644 --- a/test/fixtures/convert/formatting/comment_block01/ts.js +++ b/test/fixtures/convert/formatting/comment_block01/ts.js @@ -2,10 +2,10 @@ * foo */ const a = 5...
[ "comment block01", "comment block02", "comment line01", "comment line02" ]
[ "should exit with code one when no files have been provided", "should console.log output", "should not write a file", "should error any files with errors", "should write a file", "should write many files with a glob", "should delete the original file", "should delete many original files", "should co...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install --silent" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --no-color" }
{ "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": "partial", "pr_categories": ...
41a48da66062b4e948ef1f6ce5183d2752304ecf
2015-04-08 12:07:19
docker.io/swerebenchv2/mozilla-services-cliquet:203-41a48da
mozilla-services__cliquet-203
Function: initialize(config, version=None, project_name=None, default_settings=None) Location: cliquet/__init__.py Inputs: - **config**: a `Configurator` instance whose `add_settings` and `get_settings` methods are used. - **version** *(optional)*: string specifying the application version. - **project_name** *(option...
python
custom-check-github
diff --git a/cliquet/__init__.py b/cliquet/__init__.py index 2392479f..4ed489ed 100644 --- a/cliquet/__init__.py +++ b/cliquet/__init__.py @@ -301,7 +301,7 @@ def initialize_cliquet(*args, **kwargs): initialize(*args, **kwargs) -def initialize(config, version=None, project_name=None): +def initialize(config, v...
Provide default settings in initialize (fixes #136)
Provide extra default settings in initialize_cliquet In order to extend and override cliquet default settings in applications.
mozilla-services/cliquet
diff --git a/cliquet/tests/test_initialization.py b/cliquet/tests/test_initialization.py index 6b4b1496..22a7c4b4 100644 --- a/cliquet/tests/test_initialization.py +++ b/cliquet/tests/test_initialization.py @@ -59,6 +59,12 @@ class InitializationTest(unittest.TestCase): self.assertEqual(config.registry.setting...
[ "cliquet/tests/test_initialization.py::InitializationTest::test_overriden_default_settings" ]
[ "cliquet/tests/test_initialization.py::InitializationTest::test_environment_values_override_configuration", "cliquet/tests/test_initialization.py::InitializationTest::test_fails_if_no_version_is_specified", "cliquet/tests/test_initialization.py::InitializationTest::test_fails_if_specified_version_is_not_string"...
{ "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": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
83d03a4f760188053450bab9ac565547fe913465
2020-08-28 14:54:01
docker.io/swerebenchv2/vue-gl-vue-gl:989-83d03a4
vue-gl__vue-gl-989
No new interfaces are introduced.
js
MIT
diff --git a/src/mixins.js b/src/mixins.js index 093c828..d01af95 100644 --- a/src/mixins.js +++ b/src/mixins.js @@ -37,7 +37,9 @@ export const VglObject3dWithMatarial = { }, beforeDestroy() { const { vglNamespace: { materials }, material, setMaterial } = this; - parseNames(material).forEach((name) => mat...
Fix an error on beforeDestroy hook when the material prop is not defined Resolves #977
VueGL + Nuxt: Cannot read property 'trim' of undefined I created a project with Nuxt (2.14.0), VueGL (0.22.0) and Three (0.117.1) packages. Then I created 3 pages, each one with a different VueGL example. Each page have only one section with `vgl-` components inside, all of they imported and exposed to the template. Th...
vue-gl/vue-gl
diff --git a/test/objects/vgl-mesh.spec.js b/test/objects/vgl-mesh.spec.js index 59308b6..0160f39 100644 --- a/test/objects/vgl-mesh.spec.js +++ b/test/objects/vgl-mesh.spec.js @@ -1,6 +1,8 @@ import Vue from 'vue/dist/vue'; import { Mesh } from 'three'; -import { VglMesh, VglObject3d, VglNamespace } from '../../src'...
[ "the parsing names should not be called when the material prop is not defined" ]
[ "the inst property should be an instance of the Mesh", "the component should have common props with VglObject3d", "the material prop can accept multiple material names", "the inst property should be an instance of the Texture", "the properties of the instance should be specified by props", "the instance s...
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/ErickPetru/tdcsp2020-vuegl", "h...
fc2451fbaed5d5cbd5f965814c5443b99a703614
2017-12-13 06:32:25
docker.io/swerebenchv2/azure-walinuxagent:970-fc2451f
azure__walinuxagent-970
Method: ErrorState.__init__(self, min_timedelta: datetime.timedelta = ERROR_STATE_DELTA) Location: azurelinuxagent.common.errorstate.ErrorState.__init__ Inputs: min_timedelta – optional datetime.timedelta specifying the minimum elapsed time before the error state becomes “triggered”. If omitted, defaults to ERROR_STATE...
python
Apache-2.0
diff --git a/azurelinuxagent/common/errorstate.py b/azurelinuxagent/common/errorstate.py new file mode 100644 index 00000000..750aa77b --- /dev/null +++ b/azurelinuxagent/common/errorstate.py @@ -0,0 +1,31 @@ +from datetime import datetime, timedelta + +ERROR_STATE_DELTA = timedelta(minutes=15) + + +class ErrorState(ob...
more debug for download failures Closes #945
Download operation failure ```Exception retrieving agent manifests: [ProtocolError] /var/lib/waagent/GoalState.1.xml is missing.```
Azure/WALinuxAgent
diff --git a/tests/common/test_errorstate.py b/tests/common/test_errorstate.py new file mode 100644 index 00000000..7513fe59 --- /dev/null +++ b/tests/common/test_errorstate.py @@ -0,0 +1,69 @@ +from datetime import timedelta + +from azurelinuxagent.common.errorstate import * +from tests.tools import * + + +class TestE...
[ "tests/common/test_errorstate.py::TestErrorState::test_errorstate00", "tests/common/test_errorstate.py::TestErrorState::test_errorstate01", "tests/common/test_errorstate.py::TestErrorState::test_errorstate02", "tests/common/test_errorstate.py::TestErrorState::test_errorstate03", "tests/common/test_errorstat...
[]
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
4305c850761bc5586f14b184c53403cfcfc17ea7
2023-06-13 20:19:10
docker.io/swerebenchv2/tomwhite-cubed:211-4305c85
tomwhite__cubed-211
Function: cubed.runtime.executors.lithops.map_unordered(map_function, map_iterdata, include_modules=[], timeout=None, retries=2, use_backups=False, return_stats=False, **kwargs) Location: cubed/runtime/executors/lithops.py Inputs: - **map_function** (callable): user‑provided function to apply to each element of *map_it...
python
Apache-2.0
diff --git a/cubed/runtime/executors/lithops.py b/cubed/runtime/executors/lithops.py index 0d6cde5d..6f1510f1 100644 --- a/cubed/runtime/executors/lithops.py +++ b/cubed/runtime/executors/lithops.py @@ -60,7 +60,8 @@ def map_unordered( map_function, map_iterdata, include_modules=[], - max_failures=3, ...
Make Lithops retries apply per-task Fixes #210
Lithops executor's maximum retries setting should be per-task not per-array Currently `LithopsDagExecutor` has a `max_failures` setting that raises an exception if there are more than this number of failures when computing an array (it defaults to 3). This works but for very large arrays you are more likely to get e...
tomwhite/cubed
diff --git a/cubed/tests/runtime/test_lithops.py b/cubed/tests/runtime/test_lithops.py index 800f5c42..0f0b0f61 100644 --- a/cubed/tests/runtime/test_lithops.py +++ b/cubed/tests/runtime/test_lithops.py @@ -1,14 +1,9 @@ +import platform from functools import partial import pytest -from cubed.tests.runtime.utils i...
[ "cubed/tests/runtime/test_lithops.py::test_success[timing_map0-3-2]", "cubed/tests/runtime/test_lithops.py::test_success[timing_map1-3-2]", "cubed/tests/runtime/test_lithops.py::test_success[timing_map2-3-2]", "cubed/tests/runtime/test_lithops.py::test_success[timing_map3-3-2]", "cubed/tests/runtime/test_li...
[ "cubed/tests/runtime/test_python_async.py::test_success[timing_map0-3-2]", "cubed/tests/runtime/test_python_async.py::test_success[timing_map1-3-2]", "cubed/tests/runtime/test_python_async.py::test_success[timing_map2-3-2]" ]
{ "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": [], "intent_completeness": "complete", "pr_categories":...
054df849e19fb686d9c4c42366bc8baa99f41d48
2022-04-08 18:05:18
docker.io/swerebenchv2/peternator7-strum:220-054df84
peternator7__strum-220
No new interfaces are introduced.
rust
MIT
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6215afc..050bf40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## Unreleased + +* [#220](https://github.com/Peternator7/strum/pull/220). Add support for PHF in `EnumString` (opt-in runtime + performance improvements for large enums as `#[st...
Add support for PHF in EnumString Resolves #218 Via an additional `use_phf` attribute at the enum metadata level.
EnumString would be faster by using phf When using EnumString to implement FromStr on large enums, since the generated code uses a match whose complexity is O(n), the performance is pretty low. It looks like this could be much improved by using the phf crate (https://lib.rs/crates/phf) instead of a simple match.
Peternator7/strum
diff --git a/strum_tests/Cargo.toml b/strum_tests/Cargo.toml index 796a069..872a3b0 100644 --- a/strum_tests/Cargo.toml +++ b/strum_tests/Cargo.toml @@ -4,6 +4,10 @@ version = "0.24.0" edition = "2018" authors = ["Peter Glotfelty <peglotfe@microsoft.com>"] +[features] +default = ["test_phf"] +test_phf = ["strum/phf...
[ "helpers::case_style::test_convert_case", "tests::from_str_no_std", "tests::try_from_str_no_std", "as_blue_str", "as_green_str", "as_red_str", "as_yellow_str", "brightness_serialize_all", "test_into_static_str", "brightness_to_string", "test_formatters", "to_blue_string", "to_red_string", ...
[]
{ "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": "medium", "external_urls": [ "https://lib.rs/crates/phf" ], "intent_complete...
d9a09925d7ecfb46fb6a218dbf5479b51acc67c6
2023-07-05 19:09:02
docker.io/swerebenchv2/rust-lang-rustfmt:5817-d9a0992
rust-lang__rustfmt-5817
Method: MacroSelector.deserialize<D>(de: D) Location: src/config/macro_names.rs Inputs: `de` – an instance implementing `serde::Deserializer<'de>` (e.g., TOML deserializer). Outputs: `Result<MacroSelector, D::Error>` – on success returns `MacroSelector::All` for `"*"`, or `MacroSelector::Name(MacroName)` for a co...
rust
Apache-2.0
diff --git a/src/config/macro_names.rs b/src/config/macro_names.rs index 26ad78d6..61658f0a 100644 --- a/src/config/macro_names.rs +++ b/src/config/macro_names.rs @@ -3,7 +3,7 @@ use itertools::Itertools; use std::{fmt, str}; -use serde::{Deserialize, Serialize}; +use serde::{Deserialize, Deserializer, Serialize}; ...
handle skip_macro_invocations from config file fixes #5816 We need to keep the `FromStr` impl for `MacroSelector` (e.g. to support command line config args), so seems reasonable to just have the serde deserializer use that impl too. I'm not sure whether there's a better/simpler approach to achieve that (e.g. an i...
skip_macro_invocations: Cannot configure from `rustfmt.toml` `skip_macro_invocations` option doesn't parse as [documented](https://rust-lang.github.io/rustfmt/?version=master&search=macro#skip_macro_invocations). Writing `skip_macro_invocations=["*", "println"]` in `rustfmt.toml` leads to this error: ``` Error:...
rust-lang/rustfmt
diff --git a/tests/config/issue-5816.toml b/tests/config/issue-5816.toml new file mode 100644 index 00000000..00375746 --- /dev/null +++ b/tests/config/issue-5816.toml @@ -0,0 +1,1 @@ +skip_macro_invocations=["*", "println"] diff --git a/tests/source/skip_macro_invocations/config_file.rs b/tests/source/skip_macro_invoc...
[ "test::system_tests", "test::idempotence_tests", "cargo_fmt_tests::default_options", "cargo_fmt_tests::empty_packages_1", "cargo_fmt_tests::empty_packages_2", "cargo_fmt_tests::empty_packages_3", "cargo_fmt_tests::message_format::human_message_format", "cargo_fmt_tests::message_format::invalid_message...
[ "attr::doc_comment::tests::literal_controls_leading_spaces", "attr::doc_comment::tests::multi_line_doc_comment_is_formatted_correctly", "attr::doc_comment::tests::single_line_doc_comment_is_formatted_correctly", "attr::doc_comment::tests::whitespace_within_lines_is_preserved", "comment::test::char_classes",...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": "1.88.0-nightly", "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": ...
{ "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://rust-lang.github.io/rustfmt/?version=master&se...
d8a547ea0a40a8cc543b7a54bbb5e4465f7e7d15
2022-10-05 20:20:57
docker.io/swerebenchv2/elastic-synthetics:622-d8a547e
elastic__synthetics-622
Method: Runner.buildMonitors(this, options: { match?: string; tags?: string[]; schedule?: number }) Location: src/core/runner.ts → class Runner Inputs: • options.match – optional string to filter monitors by name pattern. • options.tags – optional array of tag strings to filter monitors. • options.schedule – opt...
ts
MIT
diff --git a/src/core/runner.ts b/src/core/runner.ts index 66aa6eb..770ced0 100644 --- a/src/core/runner.ts +++ b/src/core/runner.ts @@ -412,6 +412,7 @@ export default class Runner { */ journey.callback({ params: options.params } as any); journey.monitor.update(this.monitor?.config); + journe...
feat: improve validation for monitor schedules + fix #620 + PR Adds couple of things to make the schedule validation intact for lightweight and browser monitors. + When users scafolds the project using `init` command, we default to showing the available schedule choices based on the browser schedule instead of defa...
add validation for monitor schedule for project monitors + Goes in sync with https://github.com/elastic/kibana/issues/142655 + Couple of things we need to do on the agent side to prevent the unsupported scheduling - Improve the typings for browser monitors `schedule` in `monitor.use` DSL and synthetics config fil...
elastic/synthetics
diff --git a/__tests__/core/runner.test.ts b/__tests__/core/runner.test.ts index 41fc56f..c069e5a 100644 --- a/__tests__/core/runner.test.ts +++ b/__tests__/core/runner.test.ts @@ -712,10 +712,10 @@ describe('runner', () => { const j2 = new Journey({ name: 'j2' }, noop); j1.updateMonitor({ id: 'test-j1...
[ "parse @every schedule format" ]
[ "format api error", "format 404 error", "format failed monitors", "format failed stale monitors", "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 n...
{ "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": "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/elastic/kibana/issues/142655" ]...
89f6c1deb9e2daa4370e70bae11ba76b9ca19e98
2025-05-17 11:10:55
docker.io/swerebenchv2/ocaml-ppx-ppx_deriving_yojson:164-89f6c1d
ocaml-ppx__ppx_deriving_yojson-164
Function: recursive2_to_yojson(recursive2) → Yojson.Safe.t Location: Top‑level (generated by @@deriving yojson for type `recursive2`) Inputs: a value of type `recursive2` (constructors `Nil2` or `Rec3 of recursive2'`) Outputs: JSON representation of the value as `Yojson.Safe.t`. The generated code now correctly handle...
ocaml
MIT
diff --git a/src/ppx_deriving_yojson.ml b/src/ppx_deriving_yojson.ml index 15df80e..c933ca2 100644 --- a/src/ppx_deriving_yojson.ml +++ b/src/ppx_deriving_yojson.ml @@ -609,9 +609,18 @@ let desu_str_of_type ~options ~path ({ ptype_loc = loc } as type_decl) = Exp.case [%pat? `List ((`String [...
Add granular type constraints on cases in `of_yojson` - fix #163 Closes https://github.com/ocaml-ppx/ppx_deriving_yojson/issues/163 We might find this solution to be way too ad-hoc. I am fine trying to find a better approach.
Fails on recursive variant types with the same constructor name Consider: ```ocaml type t1 = | Foo of int | Bar of t2 and t2 = | Foo of string | Baz of t1 ``` Add: ```ocaml [@@deriving yojson] ``` and you will get: ``` File "_none_", line 1: Error: This expression has type string but an expression was exp...
ocaml-ppx/ppx_deriving_yojson
diff --git a/src_test/test_ppx_yojson.ml b/src_test/test_ppx_yojson.ml index ca4d95b..a5162b7 100644 --- a/src_test/test_ppx_yojson.ml +++ b/src_test/test_ppx_yojson.ml @@ -502,6 +502,44 @@ let test_recursive _ctxt = assert_roundtrip pp_bar bar_to_yojson bar_of_yojson {lhs="x"; rhs=42} "{\"lhs\":...
[ "test_ppx_yojson.exe" ]
[]
{ "base_image_name": "ocaml_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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/ocaml-ppx/ppx_deriving_yojson/issue...
6b9a01d7240744e9503b45317a5a2fc033b8c9d5
2024-05-13 20:02:24
docker.io/swerebenchv2/andrewdavidmackenzie-pigg:16-6b9a01d
andrewdavidmackenzie__pigg-16
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/Cargo.toml b/Cargo.toml index dab9d4d7..159999a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,12 +14,18 @@ readme = "README.md" [[bin]] name = "piggui" path = "src/piggui.rs" -required-features = ["iced"] +required-features = ["gui"] [[bin]] name = "piglet" path = "src/piglet.rs" -required-featu...
virtual gpio on all HW Fixes #15
Make GPIOConfig and GPIOState independant of rrpal Make GPIOConfig and GPIOState will need to be independant of rrpal, not just for UI development, but in order to have them on pi pico also.
andrewdavidmackenzie/pigg
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 78050c9e..042687f5 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -71,7 +71,9 @@ jobs: - name: test run: make test - - name: Upload code coverage - ...
[ "gpio::test::create_a_config" ]
[]
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
9931c2d07a23c799139096d76feb1162a1fcc122
2020-10-08 11:38:07
docker.io/swerebenchv2/knative-client:1054-9931c2d
knative__client-1054
Function: WithLabel(labelKey string, labelValue string) ListConfig Location: pkg/serving/v1/client.go Inputs: - **labelKey** (string): the key of the label to filter by; must be non‑empty. - **labelValue** (string): the value of the label to match; must be non‑empty. Outputs: - Returns a **ListConfig** (a function) t...
go
Apache-2.0
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 9ab182ed..3fb0c91b 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -19,6 +19,10 @@ | 🎁 | Add Aliases to Help Command and Remove Aliases in Short | https://github.com/knative/client/pull/1055[#1055] + +| 🎁 +| Add WithLabel list filter to serving client lib +| h...
Add WithLabel list filter to serving client lib Signed-off-by: Zbynek Roubalik <zroubali@redhat.com> ## Description Adding `WithLabel` list filter to serving client lib, which is missing currently. This allows to filter lists by labels. ## Reference <!-- Please add the corresponding issue number which t...
Add WithLabel list filter to serving client lib <!-- If you need to report a security issue with Knative, send an email to knative-security@googlegroups.com. --> ### Feature request The list filters in serving client lib are missing an option to filter by specified label, eg. something similar that could be achie...
knative/client
diff --git a/pkg/serving/v1/client_mock_test.go b/pkg/serving/v1/client_mock_test.go index ec85dd76..10f20b70 100644 --- a/pkg/serving/v1/client_mock_test.go +++ b/pkg/serving/v1/client_mock_test.go @@ -34,6 +34,7 @@ func TestMockKnClient(t *testing.T) { // Record all services recorder.GetService("hello", nil, nil)...
[ "TestHasLabelSelector", "TestHasFieldSelector", "TestHasSelector", "TestGetService", "TestGetService/get_known_service_by_name_returns_service", "TestGetService/get_unknown_service_name_returns_error", "TestListService", "TestListService/list_service_returns_a_list_of_services", "TestCreateService",...
[ "TestValidatePlugin", "TestArgsWithoutCommands", "TestUnknownCommands", "TestStripFlags", "TestRunWithError", "TestRunWithPluginError", "TestRun", "TestMockKnDynamicClient", "TestNamespace", "TestListCRDs", "TestListCRDs/List_CRDs_with_match", "TestListCRDs/List_CRDs_without_match", "TestLis...
{ "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": "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/knative/client/blob/b13cd70490587f22e...
360597c349f4309364af0d5ac3bab158fd83d9fa
2024-08-26 10:13:13
docker.io/swerebenchv2/pandas-dev-pandas:59608-360597c
pandas-dev__pandas-59608
Method: pandas.DataFrame.join(self, other, how='left', on=None, left_index=False, right_index=False, lsuffix='', rsuffix='', sort=False, validate=None) Location: pandas/core/frame.py Inputs: - other (DataFrame): DataFrame to join with the caller. - how (str, default 'left'): Type of join – 'left', 'right', 'outer', 'i...
python
BSD-3-Clause
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 2d260c78a8..76cc02652e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -142,8 +142,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.sparse.sp_values SA01" \ -i "pandas.Series.sparse.to_coo PR07,RT03,SA01" \...
PERF: Performance Improvement on `DataFrame.to_csv()` when `index=False` - [x] closes #59312 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [cod...
PERF: Significant Performance Difference in DataFrame.to_csv() with and without Index Reset ### Pandas version checks - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this issue exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [...
pandas-dev/pandas
diff --git a/pandas/tests/reshape/merge/test_join.py b/pandas/tests/reshape/merge/test_join.py index f090ded061..0f743332ac 100644 --- a/pandas/tests/reshape/merge/test_join.py +++ b/pandas/tests/reshape/merge/test_join.py @@ -1098,3 +1098,29 @@ def test_join_multiindex_categorical_output_index_dtype(how, values): ...
[ "pandas/tests/reshape/merge/test_join.py::test_join_multiindex_with_none_as_label", "pandas/tests/series/test_arrow_interface.py::test_series_arrow_interface" ]
[ "pandas/tests/reshape/merge/test_join.py::TestJoin::test_left_outer_join", "pandas/tests/reshape/merge/test_join.py::TestJoin::test_right_outer_join", "pandas/tests/reshape/merge/test_join.py::TestJoin::test_full_outer_join", "pandas/tests/reshape/merge/test_join.py::TestJoin::test_inner_join", "pandas/test...
{ "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": "B5", "confidence": 0.85, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "medium", "external_urls": [ "https://pandas.pydata.org/docs/whatsnew/index.html" ...
77ddc33a2773bab5d7169f5f29199182713d463d
2022-08-24 14:57:17
docker.io/swerebenchv2/paritytech-parity-common:667-77ddc33
paritytech__parity-common-667
Function: quickcheck::quickcheck!(property) Location: Re-exported from the `quickcheck` crate and used directly in `uint/tests/uint_tests.rs`. Inputs: a closure or function (`property`) that takes arbitrary arguments implementing `Arbitrary` and returns either `bool` or `quickcheck::TestResult`. The closure is invoked ...
rust
Apache-2.0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bbe6e0c..961bb36 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,9 +4,7 @@ parity-common welcomes contribution from everyone in the form of suggestions, bu reports, pull requests, and feedback. This document gives some guidance if you are thinking of helpi...
kvdb-rocksdb: do not attempt to repair Closes #666. Apparently, it never worked. :/
Drop support for databases repair attempt. This comes from https://github.com/openethereum/openethereum/issues/264. Currently, if the database is corrupted, kvdb-Rocksdb will attempt to repair it using the code from leveldb. As the code only works on single column databases, it’s no longer effective and just lur us...
paritytech/parity-common
diff --git a/uint/tests/uint_tests.rs b/uint/tests/uint_tests.rs index f378423..9ef7f2e 100644 --- a/uint/tests/uint_tests.rs +++ b/uint/tests/uint_tests.rs @@ -1157,7 +1157,7 @@ pub mod laws { macro_rules! uint_laws { ($mod_name:ident, $uint_ty:ident) => { mod $mod_name { - use qc::{TestResult, quickcheck}...
[ "serialize::tests::should_deserialize_from_borrowed_bytes", "serialize::tests::should_deserialize_from_u8_sequence", "serialize::tests::should_deserialize_from_owned_bytes" ]
[ "tests::it_works", "tests::as_bytes", "tests::assign_from_slice::zeros_to_ones", "tests::covers::ones_covers_ones", "tests::from_h160_to_h256", "tests::covers::complex_uncovers", "tests::covers::zero_covers_zero", "tests::covers::simple", "tests::covers::complex_covers", "tests::display_and_debug"...
{ "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": "B1", "confidence": 0.93, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/openethereum/openethereum/issues/26...
e260dd98e3b901f040b80cd0bc48b1259be8a5f5
2023-05-23 10:12:50
docker.io/swerebenchv2/apollographql-apollo-rs:565-e260dd9
apollographql__apollo-rs-565
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/crates/apollo-compiler/src/validation/value.rs b/crates/apollo-compiler/src/validation/value.rs index 6706cc3..16a77be 100644 --- a/crates/apollo-compiler/src/validation/value.rs +++ b/crates/apollo-compiler/src/validation/value.rs @@ -142,13 +142,17 @@ pub fn value_of_correct_type( ...
fix(compiler): non-nullable variables should be accepted for nullable args fixes #558 also noticed a glitch for `null` being provided for a non-nullable input values - those should also error.
Mandatory variable cannot be used for optional argument since apollo-compiler 0.9.0 ## Description Since the update to apollo-compiler 0.9.0, we have new validation errors that do not seem valid. ### Steps to reproduce Considering the schema like: ``` type Query { category( "Queries with specified ID...
apollographql/apollo-rs
diff --git a/crates/apollo-compiler/test_data/diagnostics/0102_invalid_string_values.txt b/crates/apollo-compiler/test_data/diagnostics/0102_invalid_string_values.txt index a4116c1..8b8eddf 100644 --- a/crates/apollo-compiler/test_data/diagnostics/0102_invalid_string_values.txt +++ b/crates/apollo-compiler/test_data/di...
[ "tests::compiler_tests", "argument::tests::it_encodes_argument", "argument::tests::it_encodes_arguments_definitions", "directive_def::tests::it_encodes_directives_for_a_single_location", "directive_def::tests::it_encodes_directives_with_arguments", "directive_def::tests::it_encodes_directives_with_argumen...
[ "database::ast::tests::it_errors_when_selection_set_recursion_limit_exceeded", "database::ast::tests::it_errors_when_selection_set_token_limit_is_exceeded", "database::ast::tests::it_passes_when_selection_set_recursion_limit_is_not_exceeded", "database::ast::tests::it_errors_with_multiple_limits", "database...
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
b39d65fa19d10f233dce47d791b3cb45a3d5bc77
2024-12-21 18:56:47
docker.io/swerebenchv2/joshuakgoldberg-create-typescript-app:1793-b39d65f
joshuakgoldberg__create-typescript-app-1793
Method: readOptions(args: string[], mode: "create" | "migrate") Location: src/shared/options/readOptions.ts Inputs: - **args**: `string[]` – the raw CLI arguments (e.g., `["--base", "minimal"]`). - **mode**: `"create"` | `"migrate"` – determines the operational mode; `"create"` is the original mode, `"migrate"` is...
ts
MIT
diff --git a/src/shared/options/readOptions.ts b/src/shared/options/readOptions.ts index 7e08efd..5389c1e 100644 --- a/src/shared/options/readOptions.ts +++ b/src/shared/options/readOptions.ts @@ -99,7 +99,7 @@ export async function readOptions( skipGitHubApi: values["skip-github-api"] ?? values.offline, skipInst...
fix: default skipRestore to true when mode is create ## PR Checklist - [x] Addresses an existing open issue: fixes #1085 - [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...
🐛 Bug: Don't offer to restore repository with --mode create ### Bug Report Checklist - [X] I have tried restarting my IDE and the issue persists. - [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/issu...
JoshuaKGoldberg/create-typescript-app
diff --git a/src/shared/options/readOptions.test.ts b/src/shared/options/readOptions.test.ts index f219eaa..306d6cb 100644 --- a/src/shared/options/readOptions.test.ts +++ b/src/shared/options/readOptions.test.ts @@ -46,7 +46,7 @@ const emptyOptions = { skipGitHubApi: undefined, skipInstall: undefined, skipRemova...
[ "src/shared/options/readOptions.test.ts > readOptions > returns a cancellation when an arg is invalid", "src/shared/options/readOptions.test.ts > readOptions > returns a cancellation when an email redundancy is detected", "src/shared/options/readOptions.test.ts > readOptions > returns a cancellation when the ow...
[ "src/steps/writeReadme/generateTopContent.test.ts > findExistingBadges > generates full contents when there are no existing badges", "src/steps/writeReadme/generateTopContent.test.ts > findExistingBadges > replaces existing contents when there is an existing known badge", "src/steps/writeReadme/generateTopConte...
{ "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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/JoshuaKGoldberg/create-typescript-app...
45d03318e8ceff2175c2a4a9bb1c47f4c28c2344
2020-09-01 17:25:23
docker.io/swerebenchv2/square-anvil:92-45d0331
square__anvil-92
No new interfaces are introduced.
kotlin
Apache-2.0
diff --git a/compiler/src/main/java/com/squareup/anvil/compiler/codegen/PsiUtils.kt b/compiler/src/main/java/com/squareup/anvil/compiler/codegen/PsiUtils.kt index 390de7fbd..60dfc32c6 100644 --- a/compiler/src/main/java/com/squareup/anvil/compiler/codegen/PsiUtils.kt +++ b/compiler/src/main/java/com/squareup/anvil/comp...
Fixes #91.
Incorrect factory generated for class with type parameters Given I have a class with a type parameter: ``` abstract class MyFragment<T> : Fragment() { @Inject lateinit var something: Something ``` Anvil will generated a factory as: ``` class MyFragment_MembersInjector( private val param0: P...
square/anvil
diff --git a/compiler/src/test/java/com/squareup/anvil/compiler/dagger/MembersInjectorGeneratorTest.kt b/compiler/src/test/java/com/squareup/anvil/compiler/dagger/MembersInjectorGeneratorTest.kt index f9633d697..584a29dcf 100644 --- a/compiler/src/test/java/com/squareup/anvil/compiler/dagger/MembersInjectorGeneratorTes...
[ "the contributed binding class must extend the bound type[class com.squareup.anvil.annotations.MergeComponent] (com.squareup.anvil.compiler.codegen.BindingModuleGeneratorTest)", "Anvil modules for inner classes are generated[class com.squareup.anvil.annotations.MergeComponent] (com.squareup.anvil.compiler.codegen...
[]
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://dagger.dev" ], "intent_completeness": ...
b1ad001108cdad3b8d90ff5002352bbcd4cb9458
2021-06-06 16:04:43
docker.io/swerebenchv2/decorators-squad-eo-yaml:467-b1ad001
decorators-squad__eo-yaml-467
Function: PlainStringScalar(String value, String inline) Location: src/main/java/com/amihaiemil/eoyaml/PlainStringScalar.java Inputs: - value – the plain scalar text (non‑null String). - inline – comment that appears on the same line as the scalar (may be empty). Outputs: A new PlainStringScalar instance whose comme...
java
BSD-3-Clause
diff --git a/src/main/java/com/amihaiemil/eoyaml/PlainStringScalar.java b/src/main/java/com/amihaiemil/eoyaml/PlainStringScalar.java index 5332a71..684d2d8 100644 --- a/src/main/java/com/amihaiemil/eoyaml/PlainStringScalar.java +++ b/src/main/java/com/amihaiemil/eoyaml/PlainStringScalar.java @@ -61,13 +61,30 @@ final c...
#464 Build scalar with above and inline comments Fixes #464 The user can now build a scalar with above *and* inline comments.
Allow building of plain scalar with above and inline comment Let's add an overloaded method for building plain scalars with comments above and inline.
decorators-squad/eo-yaml
diff --git a/src/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java b/src/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java index 5d673d3..f24147b 100644 --- a/src/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java +++ b/src/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java @@ -56,10 +...
[ "com.amihaiemil.eoyaml.extensions.MergedYamlSequenceTest", "com.amihaiemil.eoyaml.extensions.MergedYamlMappingTest", "com.amihaiemil.eoyaml.JsonYamlDumpTest", "com.amihaiemil.eoyaml.YamlSequenceCommentsPrintTest", "com.amihaiemil.eoyaml.PlainStringScalarTest", "com.amihaiemil.eoyaml.JsonYamlSequenceTest",...
[]
{ "base_image_name": "java_17", "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
bbcfa7f7ae8f22197cc7b20759997e58f884aa5b
2025-05-22 21:07:35
docker.io/swerebenchv2/mgechev-revive:1370-bbcfa7f
mgechev__revive-1370
No new interfaces are introduced.
go
MIT
diff --git a/RULES_DESCRIPTIONS.md b/RULES_DESCRIPTIONS.md index b26d94f..943dc68 100644 --- a/RULES_DESCRIPTIONS.md +++ b/RULES_DESCRIPTIONS.md @@ -1065,9 +1065,25 @@ _Description_: Reports bad usage of `time.Date`. _Configuration_: N/A -_Example_: +_Examples_: -Here the leading zeros are defining integers with...
feature: detect time/date out of bounds in time-date rule <!-- ### IMPORTANT ### --> <!-- Please do not create a Pull Request without creating an issue first.** --> <!-- If you're fixing a typo or improving the documentation, you may not have to open an issue. --> <!-- ### CHECKLIST ### --> <!-- Please, describe ...
time-date: add out of bound detection **Is your feature request related to a problem? Please describe.** Right now, some people are inverting month and day in the time.Date argument. It's because the ISO 8601 format (YYYY-MM-DD) is not obvious for people using MM/DD/YYYY format Here are some examples https://github...
mgechev/revive
diff --git a/test/time_date_test.go b/test/time_date_test.go index c379a9d..eb4ba6d 100644 --- a/test/time_date_test.go +++ b/test/time_date_test.go @@ -9,4 +9,5 @@ import ( func TestTimeDate(t *testing.T) { testRule(t, "time_date_decimal_literal", &rule.TimeDateRule{}) testRule(t, "time_date_nil_timezone", &rule....
[ "TestTimeDate" ]
[ "TestGetDevelopmentVersion", "TestXDGConfigDirIsPreferredFirst", "TestHomeConfigDir", "TestXDGConfigDir", "TestXDGConfigDirNoFile", "TestGetReleaseVersion", "TestGetConfig", "TestGetConfig/unknown_file", "TestGetConfig/malformed_file", "TestGetConfig/config_from_file_issue_#585", "TestGetConfig/...
{ "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": "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/search?q=language%3Ago+%2Ftime%5C.D...
c5a300a4357d40d202f92dd08894ea520f2ade3f
2025-02-08 09:28:44
docker.io/swerebenchv2/sissbruecker-linkding:984-c5a300a
sissbruecker__linkding-984
No new interfaces are introduced.
python
MIT
diff --git a/bookmarks/templates/bookmarks/head.html b/bookmarks/templates/bookmarks/head.html index b28a1ca..c83d16e 100644 --- a/bookmarks/templates/bookmarks/head.html +++ b/bookmarks/templates/bookmarks/head.html @@ -36,5 +36,8 @@ {% if not request.global_settings.enable_link_prefetch %} <meta name="turbo-p...
Add RSS link to shared bookmarks page Closes #879
[New feature] Add a link to public RSS from public bookmarks page Hello! This is my first issue. I recently set up a public page with shared bookmarks and invited friends to follow my public RSS, but then I realized that the public RSS URL is only available in settings. I think it should be possible for a user looki...
sissbruecker/linkding
diff --git a/bookmarks/tests/test_bookmark_archived_view.py b/bookmarks/tests/test_bookmark_archived_view.py index 040a5f8..e6d92fb 100644 --- a/bookmarks/tests/test_bookmark_archived_view.py +++ b/bookmarks/tests/test_bookmark_archived_view.py @@ -503,3 +503,10 @@ class BookmarkArchivedViewTestCase( self.asse...
[ "bookmarks/tests/test_bookmark_shared_view.py::BookmarkSharedViewTestCase::test_includes_public_shared_rss_feed" ]
[ "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase::test_allowed_bulk_actions", "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase::test_allowed_bulk_actions_with_sharing_enabled", "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase...
{ "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": [...
7c98ecb48b57eb8a7bb12ccd79f3b5cca24d5953
2023-03-21 13:04:13
docker.io/swerebenchv2/fuellabs-fuel-vm:404-7c98ecb
fuellabs__fuel-vm-404
Method: Executor::message_output(self, recipient_mem_address: Word, msg_data_ptr: Word, msg_data_len: Word, amount_coins_to_send: Word) → Result<(), RuntimeError> Location: fuel‑vm/src/interpreter/executors/instruction.rs (invoked via `Instruction::SMO` handling) Inputs: - **recipient_mem_address** – memory address whe...
rust
custom-check-github
diff --git a/fuel-asm/src/panic_reason.rs b/fuel-asm/src/panic_reason.rs index 72f7e4700..b5e3e84d0 100644 --- a/fuel-asm/src/panic_reason.rs +++ b/fuel-asm/src/panic_reason.rs @@ -75,6 +75,8 @@ pub enum PanicReason { ContractIdAlreadyDeployed = 0x20, /// The loaded contract mismatch expectations. Contra...
Make SMO instruction take data ptr as an argument Closes #396
Make smo use rb for msg data ptr and rc for data len _Originally posted by @xgreenx in https://github.com/FuelLabs/fuel-vm/pull/373#discussion_r1139692913_
FuelLabs/fuel-vm
diff --git a/fuel-vm/src/interpreter/blockchain/smo_tests.rs b/fuel-vm/src/interpreter/blockchain/smo_tests.rs index 8a6176472..4b0f9064f 100644 --- a/fuel-vm/src/interpreter/blockchain/smo_tests.rs +++ b/fuel-vm/src/interpreter/blockchain/smo_tests.rs @@ -9,9 +9,9 @@ struct Input { /// A recipient_mem_addres...
[ "args::encode_gm_args", "args::encode_gtf_args", "check_predicate_allowed", "panic_reason::tests::test_u8_panic_reason_round_trip", "encoding_tests::panic_reason_description", "test_opcode_size", "test_opcode_u8_conv", "encoding_tests::opcode", "test_instruction_size", "tests::hasher::digest", "...
[]
{ "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": [], "intent_completeness": "complete", "pr_categories":...
99c6d7c083d9817eb77670651434e08d14300c4a
2022-08-30 19:12:55
docker.io/swerebenchv2/bytecodealliance-wasmtime:4825-99c6d7c
bytecodealliance__wasmtime-4825
Function: ComponentTypesBuilder::defined_type(&mut self, ty: &wasmparser::ComponentDefinedType<'_>) -> Result<InterfaceType> Location: crates/environ/src/component/types.rs Inputs: • self – mutable reference to the builder that is collecting component types. • ty – a reference to a `wasmparser::ComponentDefinedTyp...
rust
Apache-2.0
diff --git a/crates/environ/src/component/types.rs b/crates/environ/src/component/types.rs index eab476d94..e6ec9f7c0 100644 --- a/crates/environ/src/component/types.rs +++ b/crates/environ/src/component/types.rs @@ -14,6 +14,15 @@ use wasmparser::{ }; use wasmtime_component_util::{DiscriminantSize, FlagsSize}; +//...
components: Limit the recursive size of types in Wasmtime This commit is aimed at fixing #4814 by placing a hard limit on the maximal recursive depth a type may have in the component model. The component model theoretically allows for infinite recursion but many various types of operations within the component model...
Limit type-based recursion in the component model Currently the component model has no limit to type-bsaed recursion other than the "width" of a type and the number of types the type section is allowed to have. The fuzzers have subsequently studiously been finding all the issues with that in the implementation of the c...
bytecodealliance/wasmtime
diff --git a/tests/misc_testsuite/component-model/types.wast b/tests/misc_testsuite/component-model/types.wast index eef65f7aa..010fee3ec 100644 --- a/tests/misc_testsuite/component-model/types.wast +++ b/tests/misc_testsuite/component-model/types.wast @@ -140,3 +140,109 @@ (assert_return (invoke "i-to-s16" (u32.const...
[ "wast::Cranelift::misc::component_model::types", "wast::Cranelift::misc::component_model::types_pooling" ]
[ "async_functions::async_host_func_with_pooling_stacks", "async_functions::async_with_pooling_stacks", "async_functions::cancel_during_run", "async_functions::fuel_eventually_finishes", "async_functions::iloop_with_fuel", "async_functions::linker_module_command", "async_functions::linker_module_reactor",...
{ "base_image_name": "rust_1.77", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": "1.62.0-nightly", "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": ...
{ "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://github.com/bytecodealliance/wasmtime/pull/4657",...
353a1d8899c281bb152c71274f3e33213211016e
2020-08-13 13:12:58
docker.io/swerebenchv2/google-go-safeweb:67-353a1d8
google__go-safeweb-67
Function: NewCookie(name string, value string) *Cookie Location: safehttp package Inputs: name – cookie name (string, must be a valid token); value – cookie value (string). Returns a pointer to a Cookie with safe defaults (Secure, HttpOnly, SameSite=Lax). Errors are indicated by returning nil only when the name is inva...
go
Apache-2.0
diff --git a/safehttp/cookie.go b/safehttp/cookie.go new file mode 100644 index 0000000..fefd8a5 --- /dev/null +++ b/safehttp/cookie.go @@ -0,0 +1,120 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the Lice...
Implemented a safehttp.Cookie type, made it readable from IncomingRequest and settable from ResponseWriter. Fixes #56 This PR implements a cookie type with safe default values. It also implements cookie reading methods on `IncomingRequest` and cookie setting methods on `ResponseWriter`. This mimics the setters a...
Come up with a better way of setting cookies. Currently, to set cookies on a response you have to use the `safehttp.Header.SetCookie` method which takes a `http.Cookie`. All other ways to modify header values block the modification of the `Set-Cookie` header. I suggest that we remove the `safehttp.Header.SetCookie`...
google/go-safeweb
diff --git a/safehttp/cookie_test.go b/safehttp/cookie_test.go new file mode 100644 index 0000000..3f0165e --- /dev/null +++ b/safehttp/cookie_test.go @@ -0,0 +1,135 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in complianc...
[ "TestCookie", "TestCookie/Default", "TestCookie/SameSite_Lax", "TestCookie/SameSite_strict", "TestCookie/SameSite_none", "TestCookie/Maxage_positive", "TestCookie/Maxage_negative", "TestCookie/Path", "TestCookie/Domain", "TestCookie/Not_Secure", "TestCookie/Not_HttpOnly", "TestCookieName", "...
[ "TestHSTS", "TestHSTS/HTTPS", "TestHSTS/HTTP", "TestHSTS/HTTP_behind_proxy", "TestHSTS/Preload", "TestHSTS/Preload_and_IncludeSubDomains", "TestHSTS/No_preload_and_no_includeSubDomains", "TestHSTS/Custom_maxage", "TestHSTS/Negative_maxage", "TestStrictTransportSecurityAlreadyImmutable", "TestTra...
{ "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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
4b1d2d99b027ec3d88e8ef6ab5e89ba7a83fb15b
2025-02-06 20:57:12
docker.io/swerebenchv2/databricks-dbt-databricks:935-4b1d2d9
databricks__dbt-databricks-935
Function: liquid_clustered_cols() Location: dbt/include/databricks/macros/relations/liquid_clustering.sql Inputs: reads the model’s configuration – `liquid_clustered_by` (list or string) and the newly added boolean `auto_liquid_cluster`. No positional arguments. Outputs: returns a SQL fragment: - If `liquid_clustered_b...
python
Apache-2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 74ec15a6..c1c2d60b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,15 @@ ## dbt-databricks 1.9.5 (TBD) +### Features + +- Add `auto_liquid_cluster` config to enable Auto Liquid Clustering for Delta-based dbt models ([935](https://github.com/databricks/dbt-datab...
Allow auto liquid clustering <!-- Please review our pull request review process in CONTRIBUTING.md before your proceed. --> <!--- Include the number of the issue addressed by this PR above if applicable. Example: resolves #1234 Please review our pull request review process in CONTRIBUTING.md before...
Allow liquid clustering `CLUSTER BY AUTO` option ### Describe the feature Currently the dbt-databricks liquid clustering feature relies on providing columns and then generating an alter statement that looks like below Ideally if users don't define columns to cluster by, and a config `auto_liquid_cluster` is true then ...
databricks/dbt-databricks
diff --git a/tests/functional/adapter/liquid_clustering/fixtures.py b/tests/functional/adapter/liquid_clustering/fixtures.py index 951210ea..6c730222 100644 --- a/tests/functional/adapter/liquid_clustering/fixtures.py +++ b/tests/functional/adapter/liquid_clustering/fixtures.py @@ -2,3 +2,8 @@ liquid_cluster_sql = """ ...
[ "tests/unit/macros/relations/test_table_macros.py::TestCreateTableAs::test_macros_create_table_as_liquid_cluster_auto" ]
[ "tests/unit/macros/relations/test_table_macros.py::TestCreateTableAs::test_macros_create_table_as", "tests/unit/macros/relations/test_table_macros.py::TestCreateTableAs::test_macros_create_table_as_with_iceberg", "tests/unit/macros/relations/test_table_macros.py::TestCreateTableAs::test_macros_create_table_as_f...
{ "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": "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":...
1b5990c8ff7b4ee854fb0c5958416088a6348035
2021-11-18 00:52:26
docker.io/swerebenchv2/immerjs-immer:872-1b5990c
immerjs__immer-872
Method: applyPatches(base, patches) Location: src/core/immerClass.ts (exposed as the top‑level `applyPatches` export) Inputs: - **base** – any draftable value (plain object, array, Map, Set, etc.) representing the state to patch. - **patches** – an array of JSON‑Patch‑like objects `{ op: string, path: (string|n...
js
MIT
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9930e08..ebdefc4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + ...
Append to array when key is "-" Closes #871 It's actually amazing '-' was doing anything at all! Definitely a JS quirk that the first argument to `splice` is coerced to a number, effectively becoming 0 if the parameter can't be parsed. I also dropped an unnecessary `any` cast, and added a check for avoiding an un...
Appending to array using patch inserts element at beginning of array instead of the end ## 🐛 Bug Report When using the `applyPatches` feature of immer with a patch that should append an element to the end of an array, the element is instead inserted at the beginning of the array. ## Link to repro Using the [e...
immerjs/immer
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b63e5ec..d9c8f70 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [16.x] ...
[ "appends to array when last part of path is '-'" ]
[ "types are ok", "#381 produce immutable state", "castImmutable preserves a value", "#470 works with Redux combine reducers", "#470 works with Redux combine readonly reducers", "works with inferred curried reducer", "works with inferred curried reducer - readonly", "suppress jest warning", "NOTHING",...
{ "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://datatracker.ietf.org/doc/html/rfc6902/#appendi...
fe8e451c4fc511c0c8a652262fde999bc31588ab
2024-10-23 08:24:50
docker.io/swerebenchv2/asterinas-asterinas:1486-fe8e451
asterinas__asterinas-1486
No new interfaces are introduced.
rust
custom-check-github
diff --git a/.github/workflows/benchmark_asterinas.yml b/.github/workflows/benchmark_asterinas.yml index 1e3e06f5..1fbe7718 100644 --- a/.github/workflows/benchmark_asterinas.yml +++ b/.github/workflows/benchmark_asterinas.yml @@ -68,7 +68,7 @@ jobs: fail-fast: false timeout-minutes: 60 container: - ...
Fix flock lost-wakeup bugs Fixes #1474 It is a similar fix as the one for the range lock (https://github.com/asterinas/asterinas/pull/1466#issuecomment-2431163542).
Infinite waiting in `flock` due to waiting on a `None` condition ### Describe the bug When there is a conflict lock, the process waits to be woken up. However, the wake-up condition always returns None, meaning it is never satisfied, causing the process to wait indefinitely. https://github.com/asterinas/asterinas...
asterinas/asterinas
diff --git a/.github/workflows/test_asterinas.yml b/.github/workflows/test_asterinas.yml index b30268ad..1e27bf9a 100644 --- a/.github/workflows/test_asterinas.yml +++ b/.github/workflows/test_asterinas.yml @@ -14,9 +14,9 @@ jobs: if: github.event_name == 'push' || github.event_name == 'pull_request' runs-on:...
[ "test::test_align_down", "test::test_align_up", "tests::test_boot_params_offsets", "tests::test_screen_info_offsets", "test::test_invalid_buffer", "test::test_short_buffer", "test::test_decoder", "conversion", "invalid_value", "tests::as_trait_object", "tests::debug_format", "tests::downgrade_...
[]
{ "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": "B1", "confidence": 0.92, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/asterinas/asterinas/blob/2f511069ee...
159f11b46be90bf319e9a5a62f85b62ad9d79d4c
2024-09-08 19:44:47
docker.io/swerebenchv2/jhipster-jhipster-lite:10797-159f11b
jhipster__jhipster-lite-10797
Method: JHipsterModulePackageJsonBuilder.type(NodeModuleFormat format) Location: Called inside tech.jhipster.lite.generator.client.react.core.domain.ReactCoreModulesFactory.reactCoreModules() when building the module’s package.json configuration. Inputs: - format – an enum value of tech.jhipster.lite.module.domain.pac...
java
Apache-2.0
diff --git a/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactory.java index 35a21ed56..36f73fab9 100644 --- a/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/Rea...
fix(react): use type module Fixes #10795
react core build && dev error On main, when running `npm run build` on a `react-core` application got: ```sh npm run build > jhipster-sample-application@0.0.0 build > tsc && vite build --emptyOutDir ✘ [ERROR] "vite-tsconfig-paths" resolved to an ESM file. ESM file cannot be loaded by `require`. See https://v...
jhipster/jhipster-lite
diff --git a/src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactoryTest.java index d200f9851..5b77b0300 100644 --- a/src/test/java/tech/jhipster/lite/generator/client/react/core/do...
[ "tech.jhipster.lite.generator.client.react.core.domain.ReactCoreModulesFactoryTest" ]
[ "tech.jhipster.lite.AnnotationArchTest", "tech.jhipster.lite.EqualsHashcodeArchTest", "tech.jhipster.lite.HexagonalArchTest$Wire", "tech.jhipster.lite.HexagonalArchTest$SharedKernels", "tech.jhipster.lite.HexagonalArchTest$Secondary", "tech.jhipster.lite.HexagonalArchTest$Primary", "tech.jhipster.lite.H...
{ "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.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://vitejs.dev/guide/troubleshooting.html#this-packa...
c8be42f9036fd87219fbd56d00689cd372f2465a
2024-08-28 09:40:29
docker.io/swerebenchv2/tox-dev-sphinx-autodoc-typehints:474-c8be42f
tox-dev__sphinx-autodoc-typehints-474
No new interfaces are introduced.
python
MIT
diff --git a/src/sphinx_autodoc_typehints/__init__.py b/src/sphinx_autodoc_typehints/__init__.py index 824f458..fbd57ce 100644 --- a/src/sphinx_autodoc_typehints/__init__.py +++ b/src/sphinx_autodoc_typehints/__init__.py @@ -169,6 +169,18 @@ def format_internal_tuple(t: tuple[Any, ...], config: Config) -> str: ret...
Add module name rewrite configuration option This adds a configuration option that allows the user to rewrite module names if needed. Resolves #473. Note that we also rewrite the names of `_io` and `typing_extensions` internally. One benefit of this hook is that if other similar rewrites are needed, users will be able ...
Intersphinx Mapping link not working with Plotly objects in signature > The issue was originally posted on https://github.com/sphinx-doc/sphinx/issues/12360#issue-2283669001, and they suggested that I post my issue here. Hello, For some (unknown) reasons, it appears that Sphinx does not correctly link to the obje...
tox-dev/sphinx-autodoc-typehints
diff --git a/tests/roots/test-dummy/export_module.py b/tests/roots/test-dummy/export_module.py new file mode 100644 index 0000000..0fa35a8 --- /dev/null +++ b/tests/roots/test-dummy/export_module.py @@ -0,0 +1,5 @@ +from __future__ import annotations + +from wrong_module_path import A, f + +__all__ = ["A", "f"] diff --...
[ "tests/test_sphinx_autodoc_typehints.py::test_wrong_module_path" ]
[ "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[str]", "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[None]", "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[ModuleType]", "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[FunctionType]", "tests/test...
{ "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/sphinx-doc/sphinx/issues/12360#issu...
1bdfde2f06e0c4ac4c5d819e200c925662acb7c4
2019-10-19 09:17:46
docker.io/swerebenchv2/godaddy-kubernetes-external-secrets:179-1bdfde2
godaddy__kubernetes-external-secrets-179
Method: PollerFactory.constructor(options) Location: lib/poller-factory.js Inputs: - options.backends (Object) – collection of backend factories (unchanged) - options.kubeClient (Object) – Kubernetes client (unchanged) - options.metrics (Object) – Metrics client (unchanged) - options.pollerIntervalMilliseconds (number...
js
MIT
diff --git a/README.md b/README.md index a376997..d6dfb0b 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ The following table lists the configurable parameters of the `kubernetes-externa | `env.AWS_REGION` | Set AWS_REGION in Deployment Pod | `us-west-2` ...
fix: iam role This PR fixes #174: * (bug) sync should work when namespace annotation is present, and no roleArn is provided * (feature) make the role-permission annotation key configurable These issues are addressed in two separate commits.
Use of "iam.amazonaws.com/permitted" annotation causes conflicts with existing KIAM setups ## I'm submitting a... * [X] bug report - related to `roleArn` functionality described in issue https://github.com/godaddy/kubernetes-external-secrets/issues/143 and implemented in PR https://github.com/godaddy/kubernetes-e...
godaddy/kubernetes-external-secrets
diff --git a/lib/poller.test.js b/lib/poller.test.js index e6f37ad..4c30a2a 100644 --- a/lib/poller.test.js +++ b/lib/poller.test.js @@ -25,6 +25,8 @@ describe('Poller', () => { uid: fakeExternalSecret.metadata.uid }) + const rolePermittedAnnotation = 'iam.amazonaws.com/permitted' + beforeEach(() => { ...
[ "should restrict access to certain roles per namespace" ]
[ "throws an error", "throws an error if missing a property", "handles secrets values that are objects", "handles invalid JSON objects", "fetches secret property values", "fetches secret property values using the specified role", "returns secret manifest data", "returns secret property value", "return...
{ "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/godaddy/kubernetes-external-secrets...
4fd243b5b2b774c7ed3ae6f0462fd7e7e4c2257f
2018-08-24 16:59:12
docker.io/swerebenchv2/pinojs-pino:503-4fd243b
pinojs__pino-503
Function: pino(opts?, stream?) Location: lib/pino.js (exported factory) Inputs: - **opts** – optional configuration object. In addition to the existing keys (`name`, `level`, `customLevels`, `useLevelLabels`, …) it now accepts **`changeLevelName`** (String, default **`'level'`**) which specifies the property name...
js
MIT
diff --git a/docs/api.md b/docs/api.md index f15e39d..0eee870 100644 --- a/docs/api.md +++ b/docs/api.md @@ -179,6 +179,20 @@ Default: `false` Enables printing of level labels instead of level values in the printed logs. Warning: this option may not be supported by downstream transports. +<a id="changeLevelName"></...
Add ability to change level name when creating the instance Solution for issue: Custom label for level fix #495
Custom label for level At first glance it looks like https://github.com/pinojs/pino/blob/master/lib/levels.js#L29-L42 is where the labels are set. Some of my destinations use the label `severity` instead of `level`. Is there any way at the moment to configure this? Is a PR to add this feature welcome?
pinojs/pino
diff --git a/test/custom-levels.test.js b/test/custom-levels.test.js index 1a41f59..c15f390 100644 --- a/test/custom-levels.test.js +++ b/test/custom-levels.test.js @@ -232,3 +232,18 @@ test('does not share custom level state across siblings', async ({doesNotThrow}) }) }) }) + +test('custom level does not affe...
[ "should be equal", "custom level does not affect changeLevelName", "test/custom-levels.test.js", "changes label naming when told to", "setting changeLevelName does not affect labels when told to", "test/levels.test.js" ]
[ "pino version is exposed on export", "pino version is exposed on instance", "child instance exposes pino version", "time is greater than Date.now()", "fatal logs as 60", "passing objects at level fatal", "passing an object and a string at level fatal", "formatting logs as fatal", "passing error with...
{ "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/pinojs/pino/blob/master/lib/levels....
c3a8f90ac4d79eb5c655740d0fd88f393af7f306
2023-07-27 18:34:37
docker.io/swerebenchv2/meltano-sdk:1881-c3a8f90
meltano__sdk-1881
No new interfaces are introduced.
python
Apache-2.0
diff --git a/singer_sdk/helpers/capabilities.py b/singer_sdk/helpers/capabilities.py index 55aff8ce..f5b5fa30 100644 --- a/singer_sdk/helpers/capabilities.py +++ b/singer_sdk/helpers/capabilities.py @@ -99,6 +99,13 @@ TARGET_SCHEMA_CONFIG = PropertiesList( description="The default target database schema name t...
fix: Expose `add_record_metadata` as a builtin target setting Closes #1199 <!-- readthedocs-preview meltano-sdk start --> ---- :books: Documentation preview :books:: https://meltano-sdk--1881.org.readthedocs.build/en/1881/ <!-- readthedocs-preview meltano-sdk end -->
[Bug]: Setting `add_record_metadata` should be surfaced as builtin target configuration ### Singer SDK Version 0.14.0 ### Python Version NA ### Bug scope Targets (data type handling, batching, SQL object generation, etc.) ### Operating System NA ### Description The flag is retrieved from config in https://gith...
meltano/sdk
diff --git a/tests/core/test_target_base.py b/tests/core/test_target_base.py index f9b342d3..de344c7e 100644 --- a/tests/core/test_target_base.py +++ b/tests/core/test_target_base.py @@ -75,6 +75,7 @@ def test_target_about_info(): assert "flattening_enabled" in about.settings["properties"] assert "flattening_...
[ "tests/core/test_target_base.py::test_target_about_info" ]
[ "tests/core/test_target_base.py::test_get_sink", "tests/core/test_target_base.py::test_validate_record", "tests/core/test_target_base.py::test_sql_get_sink", "tests/core/test_target_base.py::test_add_sqlsink_and_get_sink" ]
{ "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": "easy", "external_urls": [ "https://github.com/meltano/sdk/blob/253851e005a925496849...
5b8aacf4d8caf3dc35063c28c269d8a09645cb1a
2016-11-01 23:58:08
docker.io/swerebenchv2/serverless-serverless:2588-5b8aacf
serverless__serverless-2588
No new interfaces are introduced.
js
custom-check-github
diff --git a/lib/plugins/aws/deploy/compile/events/apiGateway/lib/validate.js b/lib/plugins/aws/deploy/compile/events/apiGateway/lib/validate.js index 9dc087e83..99a99502c 100644 --- a/lib/plugins/aws/deploy/compile/events/apiGateway/lib/validate.js +++ b/lib/plugins/aws/deploy/compile/events/apiGateway/lib/validate.js...
fixed the bug resultTtlInSeconds defaults to 300 when set to 0 <!-- 1. Please check out and follow our Contributing Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md 2. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the PR 3. Pl...
resultTtlInSeconds defaults to 300 when set to 0 # This is a Bug Report ## Description * What went wrong? `resultTtlInSeconds` defaults to 300 when set to 0. This is oviously due to [this line](https://github.com/serverless/serverless/blob/f817933909cb524dcde729348bf229ae355e15ac/lib/plugins/aws/deploy/comp...
serverless/serverless
diff --git a/lib/plugins/aws/deploy/compile/events/apiGateway/tests/validate.js b/lib/plugins/aws/deploy/compile/events/apiGateway/tests/validate.js index 39a7b479a..f7fa28606 100644 --- a/lib/plugins/aws/deploy/compile/events/apiGateway/tests/validate.js +++ b/lib/plugins/aws/deploy/compile/events/apiGateway/tests/val...
[ "prints general --help to stdout", "prints command --help to stdout", "Plugin/CLI integration" ]
[ "should set the serverless instance", "should set an empty loadedPlugins array", "should set a null inputArray when none is provided", "should set the inputObject when provided", "should set the loadedPlugins array with the given plugin instances", "should return true when no command is given", "should ...
{ "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": [ "https://github.com/serverless/serverless/blob/f817933909...
260872d5d90c0591ba4fac6625124b2376ca2f3d
2025-01-28 19:48:07
docker.io/swerebenchv2/sigstore-fulcio:1931-260872d
sigstore__fulcio-1931
Function: CreateCertificates(config KMSConfig, rootTemplatePath string, leafTemplatePath string, rootCertPath string, leafCertPath string, intermediateKeyID string, intermediateTemplatePath string, intermediateCertPath string, leafKeyID string, rootLifetime time.Duration, intermediateLifetime time.Duration, leafLifetim...
go
Apache-2.0
diff --git a/.github/workflows/container-build.yml b/.github/workflows/container-build.yml index 3f87eed..0c700cd 100644 --- a/.github/workflows/container-build.yml +++ b/.github/workflows/container-build.yml @@ -53,7 +53,7 @@ jobs: - uses: ko-build/setup-ko@d982fec422852203cfb2053a8ec6ad302280d04d # v0.8 ...
feat: makes leaf optional and other changes. <!-- Thanks for opening a pull request! Please do not just delete this text. The three fields below are mandatory. Please remember to: - This PR requires an issue. If it is a new feature, the issue should proceed the PR and will have allowed sufficient time for discus...
make leaf optional in certificate-maker relates to https://github.com/sigstore/fulcio/pull/1870 / https://github.com/sigstore/timestamp-authority/pull/889 **Description** <!--What needs to be improved? What should be done? Has there been any related work before? Any relevant links or material? --> it's been recommen...
sigstore/fulcio
diff --git a/pkg/certmaker/certmaker_test.go b/pkg/certmaker/certmaker_test.go index a0f587c..738dbf4 100644 --- a/pkg/certmaker/certmaker_test.go +++ b/pkg/certmaker/certmaker_test.go @@ -152,12 +152,11 @@ func TestCreateCertificates(t *testing.T) { return mockSigner, nil } - err := CreateCertificates(mockSigne...
[ "TestCreateCertificates", "TestValidateKMSConfig", "TestValidateKMSConfig/valid_AWS_config", "TestValidateKMSConfig/valid_GCP_config", "TestValidateKMSConfig/valid_Azure_config", "TestValidateKMSConfig/valid_HashiVault_config", "TestValidateKMSConfig/missing_AWS_region", "TestValidateKMSConfig/missing...
[ "TestCachedTLSCert", "TestCachedTLSCert/invalid_path", "TestCachedTLSCert/invalid_key_and_cert", "TestCachedTLSCert/invalid_key,_valid_cert", "TestCachedTLSCert/valid_key,_invalid_cert", "TestCachedTLSCert/valid_key,_valid_cert", "TestHTTPCORSSupport", "TestHTTPDoesntLeakGRPCHeaders", "TestIssue1267...
{ "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": "B4", "confidence": 0.86, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/sigstore/fulcio/pull/1870", "...
9fe75ed7f1cf54f52c0b00763039f15712f4f398
2021-05-03 17:49:33
docker.io/swerebenchv2/gfx-rs-naga:823-9fe75ed
gfx-rs__naga-823
No new interfaces are introduced.
rust
custom-check-github
diff --git a/src/back/msl/writer.rs b/src/back/msl/writer.rs index d72cd5c6..e08f0d61 100644 --- a/src/back/msl/writer.rs +++ b/src/back/msl/writer.rs @@ -2027,6 +2027,7 @@ impl<W: Write> Writer<W> { result.binding.as_ref(), )); } + ...
[spv-in] default output builtins Fixes #820
Initialize output built-ins coming from SPIR-V See downstream https://github.com/gfx-rs/wgpu/issues/1360 What happens here is that incoming SPIR-V has `gl_PerVertex` struct with stuff like `gl_ClipDistance` and `gl_Position` that doesn't get written ever. Thus, it's assumed to keep the defaults. Our spv-in, however...
gfx-rs/naga
diff --git a/tests/out/quad-vert.msl b/tests/out/quad-vert.msl index d7363aad..4c99ca96 100644 --- a/tests/out/quad-vert.msl +++ b/tests/out/quad-vert.msl @@ -16,6 +16,9 @@ struct type10 { float gl_PointSize1; type6 gl_ClipDistance1; }; +constant metal::float4 const_type4_ = {0.0, 0.0, 0.0, 1.0}; +constant t...
[ "front::glsl::constants::tests::cast", "front::glsl::constants::tests::access", "front::glsl::lex::tests::lex_tokens", "front::wgsl::lexer::test_tokens", "front::wgsl::lexer::test_variable_decl", "front::glsl::parser_tests::constants", "front::spv::test::parse", "front::glsl::parser_tests::version", ...
[ "arena::tests::append_non_unique", "arena::tests::append_unique", "arena::tests::fetch_or_append_non_unique", "arena::tests::fetch_or_append_unique", "back::msl::test_error_size", "back::spv::layout::test_physical_layout_in_words", "back::spv::layout::test_logical_layout_in_words", "front::glsl::const...
{ "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/gfx-rs/wgpu/issues/1360" ], ...
3ebf94d936308e33c4427e0509dbc44715b1d2d7
2021-09-22 22:20:48
docker.io/swerebenchv2/jump-dev-jump.jl:2699-3ebf94d
jump-dev__jump.jl-2699
Method: Base.getproperty(x::Union{NonlinearExpression,NonlinearParameter,NLPEvaluator}, key::Symbol) Location: src/deprecate.jl Inputs: - x – an instance of NonlinearExpression, NonlinearParameter or NLPEvaluator. - key – a Symbol; the method looks for the key `:m`. Outputs: - If key == :m → issues a deprecation @w...
julia
custom-check-github
diff --git a/src/JuMP.jl b/src/JuMP.jl index 3c58d97fe5c..51cb4d7a879 100644 --- a/src/JuMP.jl +++ b/src/JuMP.jl @@ -1367,7 +1367,6 @@ function operator_warn(model::Model) end end -# TODO: rename "m" field to "model" for style compliance """ NonlinearExpression <: AbstractJuMPScalar @@ -1376,7 +1375,7 @...
Closes #2636
Rename `.m` field of some structs Just spotted this TODO: https://github.com/jump-dev/JuMP.jl/blob/5bdec266ea2dc435d1ff3237930410faf2cf0411/src/JuMP.jl#L1365
jump-dev/JuMP.jl
diff --git a/test/deprecate.jl b/test/deprecate.jl new file mode 100644 index 00000000000..78ece6e237b --- /dev/null +++ b/test/deprecate.jl @@ -0,0 +1,44 @@ +module TestDeprecate + +using Test +using JuMP + +function runtests() + for name in names(@__MODULE__; all = true) + if startswith("$(name)", "test_") ...
[ "derivatives.jl", "derivatives_coloring.jl", "expr.jl", "feasibility_checker.jl", "file_formats.jl", "generate_and_solve.jl", "lp_sensitivity2.jl", "Check Julia generator expression parsing", "Check Julia condition expression parsing", "Test _add_positional_args", "MutableArithmetics.Zero (Issue...
[ "Containers", "callbacks.jl", "complement.jl", "constraint.jl", "deprecate.jl" ]
{ "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": "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/jump-dev/JuMP.jl/blob/5bdec266ea2dc...
6337f96558c0157515d97c6fe98df3011afee43e
2023-07-07 06:30:58
docker.io/swerebenchv2/ant-design-ant-design-mobile:6239-6337f96
ant-design__ant-design-mobile-6239
No new interfaces are introduced.
ts
MIT
diff --git a/src/components/text-area/text-area.less b/src/components/text-area/text-area.less index c2c10679f..048f80f54 100644 --- a/src/components/text-area/text-area.less +++ b/src/components/text-area/text-area.less @@ -5,7 +5,7 @@ --disabled-color: var(--adm-color-weak); --text-align: left; --count-text-...
fix(TextArea): hidden textarea element is not positioned relative to its parent fix #6238 这个 absolute 没比较的父级定位,换行计算错误了 ![image](https://github.com/ant-design/ant-design-mobile/assets/77056991/2a7d2449-8240-41e3-aeb4-19a50848858c)
TextArea的最外层容器.adm-text-area未加position: relative;会导致auoSize异常。 ### Version of antd-mobile 5.31.1 ### Operating system and its version iOS, Android ### Browser and its version _No response_ ### Sandbox to reproduce _No response_ ### What happened? 如题,你们简单修复下吧,我就不蹭PR了 ### Relevant log output...
ant-design/ant-design-mobile
diff --git a/src/components/virtual-input/tests/virtual-input.test.tsx b/src/components/virtual-input/tests/virtual-input.test.tsx index 5e12b3567..0cd11daab 100644 --- a/src/components/virtual-input/tests/virtual-input.test.tsx +++ b/src/components/virtual-input/tests/virtual-input.test.tsx @@ -108,4 +108,9 @@ describ...
[ "placeholder should not be shown when value is `0`" ]
[ "onClick should be called", "automatic magnetic attraction to the left", "automatic magnetic attraction to the right", "automatic magnetic attraction to the top", "controlled mode", "a11y", "renders with disabled", "`beforeChange` should not work with loading", "`beforeChange` in async mode", "`on...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "echo \"y\" | pnpm install" ], "log_parser": "parse_log_js_4", "test_cmd": "pnpm run test --verbose --no-color" }
{ "llm_metadata": { "code": "B1", "confidence": 0.87, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
3dc16b299daa27b1027a0619ff17e6e205f5a916
2021-06-17 11:27:21
docker.io/swerebenchv2/cqfn-diktat:932-3dc16b2
cqfn__diktat-932
No new interfaces are introduced.
kotlin
MIT
diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt index 5ea3e4402c..0981c113bf 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt +++ b/diktat-rule...
### What's done: * Fix bug with NPE: we didn't consider, that offset changes in course of fixes, so it's break the logic sometimes * Add additional check for long comments: if there is only one white space, which is located after `//` - we shouldn't fix split it * Add tests
NPE in LONG_LINE rule on Binary Expressions The file: RxKotlin/src/main/kotlin/io/reactivex/rxjava3/kotlin/Observables.kt from https://github.com/ReactiveX/RxKotlin fails due to Binary Expression (String Concatenation) with ``` [ERROR] 2021-06-10 16:34:37 Internal error has occurred in rule [line-length]. Ple...
cqfn/diKTat
diff --git a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/LineLengthFixTest.kt b/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/LineLengthFixTest.kt index e0f317ae40..6325ed139d 100644 --- a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/LineLengthFixTest.kt +++ b/diktat-r...
[ "org.cqfn.diktat.ruleset.chapter3.LineLengthFixTest" ]
[ "org.cqfn.diktat.test.ConfigReaderTest", "org.cqfn.diktat.ruleset.utils.AstNodeUtilsTest", "org.cqfn.diktat.ruleset.utils.AvailableRulesDocTest", "org.cqfn.diktat.ruleset.utils.FunctionAstNodeUtilsTest", "org.cqfn.diktat.ruleset.utils.KotlinParserTest", "org.cqfn.diktat.ruleset.utils.StringCaseUtilsTest",...
{ "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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/ReactiveX/RxKotlin", "https:/...
2a29aa410b8fd438a544062dfacb07cb8635b929
2023-09-23 20:41:34
docker.io/swerebenchv2/fsspec-universal_pathlib:148-2a29aa4
fsspec__universal_pathlib-148
No new interfaces are introduced.
python
MIT
diff --git a/README.md b/README.md index 160588e..0ab6c5f 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,15 @@ universal_pathlib.implementations = myproto = my_module.submodule:MyPath ``` +### Known issues solvable by installing newer upstream dependencies + +Some issues in UPath's behavior with specific...
require fsspec>=2022.1.0 This PR closes #141 by introducing a minimum version requirement for `fsspec>=2022.1.0`. I went as far back as reasonable before larger parts of the test suite started failing. Some notes: - I'm xfailing the few tests that require slightly newer versions of fsspec for specific implementatio...
Dependencies: introduce minimum version requirement for fsspec We should introduce a minimum version requirement for fsspec and run tests against the smallest supported version to avoid issues like #138
fsspec/universal_pathlib
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41e6eba..dff0f69 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,6 +22,12 @@ jobs: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] pyv: ['3.8', '3.9', '3.10', '3.11'] + ...
[ "upath/tests/implementations/test_webdav.py::TestUPathWebdav::test_iterdir_trailing_slash" ]
[ "upath/tests/implementations/test_webdav.py::TestUPathWebdav::test_cwd", "upath/tests/implementations/test_webdav.py::TestUPathWebdav::test_home", "upath/tests/implementations/test_webdav.py::TestUPathWebdav::test_stat", "upath/tests/implementations/test_webdav.py::TestUPathWebdav::test_chmod", "upath/tests...
{ "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": ...
8ab66b1054c6cb511a99a27b43bb2f6f5852ff1a
2024-05-08 21:17:59
docker.io/swerebenchv2/fleather-editor-fleather:345-8ab66b1
fleather-editor__fleather-345
No new interfaces are introduced.
dart
custom-check-github
diff --git a/packages/parchment/lib/src/codecs/markdown.dart b/packages/parchment/lib/src/codecs/markdown.dart index b3eca6aa..4e286101 100644 --- a/packages/parchment/lib/src/codecs/markdown.dart +++ b/packages/parchment/lib/src/codecs/markdown.dart @@ -40,6 +40,7 @@ class _ParchmentMarkdownDecoder extends Converter<S...
Fixes #344 - [X] Encoder - [x] Decoder
Markown conversion should support checkboxes <!-- Thank you for using Fleather! --> ## Steps to Reproduce 1. Add checkboxes 2. Convert to markdown (with `ParchmentMarkdownCodec().encode(document)`) ## Environment - OS: Android - Flutter version: 3.19.6 - Fleather version: 1.14.5+1 Export to Markdown doe...
fleather-editor/fleather
diff --git a/packages/parchment/test/codecs/markdown_test.dart b/packages/parchment/test/codecs/markdown_test.dart index 97c09f82..1883662e 100644 --- a/packages/parchment/test/codecs/markdown_test.dart +++ b/packages/parchment/test/codecs/markdown_test.dart @@ -337,6 +337,19 @@ void main() { expect(act, exp); ...
[ "/fleather/packages/fleather/test/fast_diff_test.dart: fastDiff insert", "/fleather/packages/fleather/test/fast_diff_test.dart: fastDiff delete", "/fleather/packages/fleather/test/fast_diff_test.dart: fastDiff replace", "/fleather/packages/fleather/test/rendering/editable_text_line_test.dart: (setUpAll)", "...
[]
{ "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":...
d51af3883a0087aede9949e9ac46c095b480f8da
2019-11-18 18:45:44
docker.io/swerebenchv2/rooseveltframework-roosevelt:824-d51af38
rooseveltframework__roosevelt-824
No new interfaces are introduced.
js
custom-check-github
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5768669..6148eb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Next version +- Introduced views bundler: An API that allows you to expose view code to frontend JS for client-side templating. - Added a button to the validation error page to display t...
feat: views bundler This is a successor to #539. It adds a module that will take in various templates found in the `views` directory specified by configurable options and create JS bundles that are available to be packaged into the client-side. So say you have a Teddy template as follows at `views/test.html` `...
API for scooping up views and exposing them to frontend JS as packaged templates - Off by default - When enabled: - Defaults to whitelisting - Should have a whitelist param like: ```javascript { "bundles": { "path/to/generated/js/file.js": [ /* list of template files */ ], "pat...
rooseveltframework/roosevelt
diff --git a/test/unit/viewsBundler.js b/test/unit/viewsBundler.js new file mode 100644 index 0000000..64b5e68 --- /dev/null +++ b/test/unit/viewsBundler.js @@ -0,0 +1,760 @@ +/* eslint-env mocha */ + +const assert = require('assert') +const generateTestApp = require('../util/generateTestApp') +const cleanupTestApp = r...
[ "should be able to post files to the server, move them, and read their content", "should set correct default for param \"clientViews\"" ]
[ "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.86, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
07d5e88f96d4edadf70ad91c8ebcf2d285924a47
2022-08-22 12:26:15
docker.io/swerebenchv2/google-yamlfmt:4-07d5e88
google__yamlfmt-4
Method: BasicFormatter.Format(self, yamlContent []byte) ([]byte, error) Location: formatters/basic/formatter.go Inputs: yamlContent – raw YAML bytes to format; the formatter’s Config (specifically Config.Indent) influences indentation of the output. Outputs: formatted YAML bytes; an error if unmarshalling or encoding f...
go
Apache-2.0
diff --git a/README.md b/README.md index 89c1a6a..482b62a 100644 --- a/README.md +++ b/README.md @@ -18,26 +18,44 @@ go install github.com/google/yamlfmt/cmd/yamlfmt@latest ## Usage By default, the tool will recursively find all files that match the glob path `**/*.{yaml,yml}` extension and attempt to format them w...
Update to yaml.v3 and use yaml.Node Closes #3 Using yaml.v2 was naive; unmarshalling into a map mangles the key order and removes comments. Unmarshalling using yaml.v3's far more robust yaml.Node type means we can preserve key order and comments. Added the first unit tests for these specific cases, but more test...
Preserve comments with basic formatter I didn't realize that the `gopkg.in/yaml.v2` package stripped comments. I'll probably swap libraries for the `basic` formatter to `github.com/goccy/go-yaml` which provides a way to preserve comments.
google/yamlfmt
diff --git a/formatters/basic/formatter_test.go b/formatters/basic/formatter_test.go new file mode 100644 index 0000000..a3dd934 --- /dev/null +++ b/formatters/basic/formatter_test.go @@ -0,0 +1,55 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not u...
[ "TestFormatterRetainsComments", "TestFormatterPreservesKeyOrder" ]
[]
{ "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": "A", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://gopkg.in/yaml.v3", "https://github.com/g...
5ef33f140626be85c0756c08be6d7e429d887d2f
2023-06-12 18:16:11
docker.io/swerebenchv2/mgechev-revive:840-5ef33f1
mgechev__revive-840
No new interfaces are introduced.
go
MIT
diff --git a/README.md b/README.md index d402717..e164826 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ Here's how `revive` is different from `golint`: - [`ggz`](https://github.com/go-ggz/ggz) - An URL shortener service written in Golang - [`Codeac.io`](https://www.codeac.io?ref=revive) - Automated code re...
fix: support method call from structures for string-format This MR fix issue #839. Here the called object method is inside a structure (common pattern for dependency injection). Before the rule was not running for this rules. The only thing is the function scope is tied to the structure name of the object, not to th...
string-format rule not working on method called when obj is inside an struct. **Describe the bug** The string-format rule search only for function calls and methods, but if the object is inside a structure, the method call is not found by the rule. This is a typical pattern when we want a generic Logger interface an...
mgechev/revive
diff --git a/revivelib/core_test.go b/revivelib/core_test.go index 44ab627..9dd1505 100644 --- a/revivelib/core_test.go +++ b/revivelib/core_test.go @@ -7,6 +7,7 @@ import ( "github.com/mgechev/revive/config" "github.com/mgechev/revive/lint" "github.com/mgechev/revive/revivelib" + "github.com/mgechev/revive/rule"...
[ "TestStringFormat" ]
[ "TestGetConfig", "TestGetConfig/unknown_file", "TestGetConfig/malformed_file", "TestGetConfig/config_from_file_issue_#585", "TestGetConfig/config_from_file_default_confidence_issue_#585", "TestGetConfig/default_config", "TestGetConfig/non-reg_issue_#470", "TestGetLintingRules", "TestGetLintingRules/...
{ "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": "B5", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/go-ggz/ggz", "https://www.codea...
d7bbd2528dd2bec3614d9414590cd8e4c012a3fd
2023-06-06 17:13:58
docker.io/swerebenchv2/scalameta-scalameta:3163-d7bbd25
scalameta__scalameta-3163
No new interfaces are introduced.
scala
BSD-3-Clause
diff --git a/scalameta/parsers/shared/src/main/scala/scala/meta/internal/parsers/NestedContext.scala b/scalameta/parsers/shared/src/main/scala/scala/meta/internal/parsers/NestedContext.scala index 0e490ea9f2..0812087770 100644 --- a/scalameta/parsers/shared/src/main/scala/scala/meta/internal/parsers/NestedContext.scala...
Fixes #3162.
scalafmt replaces `Resource[F,_]` with `Resource[F,?]` which does not compile This template is mostly a guideline, not a strict requirement, except the sections marked `(required)`. Please make sure that the issue is observable using the latest version of `scalafmt` and within the `scalafmt` **CLI**: `https://scal...
scalameta/scalameta
diff --git a/tests/shared/src/test/scala/scala/meta/tests/parsers/dotty/TypeSuite.scala b/tests/shared/src/test/scala/scala/meta/tests/parsers/dotty/TypeSuite.scala index 37a1c6fdd0..42948eae16 100644 --- a/tests/shared/src/test/scala/scala/meta/tests/parsers/dotty/TypeSuite.scala +++ b/tests/shared/src/test/scala/scal...
[ "#3162 [scala30] higher-kinded is not wildcard 1", "#3162 [scala30] higher-kinded is not wildcard 2" ]
[ "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": "B1", "confidence": 0.78, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://scalameta.org/scalafmt/docs/installation.html#...
ce88e71ea7d7a939d952cfd1771f974d91b78879
2020-11-04 20:51:11
docker.io/swerebenchv2/tefra-xsdata:310-ce88e71
tefra__xsdata-310
Method: AnyTypeNode.child(self, qname: str, attrs: Dict, ns_map: Dict, position: int) -> XmlNode Location: xsdata/formats/dataclass/parsers/nodes.py Inputs: qname – child element name; attrs – attributes of the child element; ns_map – namespace prefix map in scope; position – integer position of the child in the docume...
python
MIT
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 725224f8..71807971 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.3.5 + rev: v...
Resolve #306 Lookup xsi type for xs:anyType derived elements ### Description Currently fields derived from elements with type `xs:anyType` and fields derived from `xs:any` wildcards are using the same flow for parsing/serializing. This prevents any xsi:type lookups. ### What I did - Introduced `AnyTypeNode` ...
xsi:type not working on xsd:anyType elements I have a use case were we wrap lists of 'items' in an xml where the elements are in the xsd marked as 'xs:anyType'. The xml though specifies the type with something like: ` xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="api:searchResultItem" ` so, the a...
tefra/xsdata
diff --git a/tests/formats/dataclass/parsers/test_nodes.py b/tests/formats/dataclass/parsers/test_nodes.py index e74f0c7a..4eaedee6 100644 --- a/tests/formats/dataclass/parsers/test_nodes.py +++ b/tests/formats/dataclass/parsers/test_nodes.py @@ -23,6 +23,7 @@ from xsdata.formats.dataclass.models.generics import AnyEle...
[ "tests/formats/dataclass/parsers/test_nodes.py::ElementNodeTests::test_bind", "tests/formats/dataclass/parsers/test_nodes.py::ElementNodeTests::test_bind_with_derived_element", "tests/formats/dataclass/parsers/test_nodes.py::ElementNodeTests::test_bind_with_mixed_content_var", "tests/formats/dataclass/parsers...
[]
{ "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": [], "intent_completeness": "complete", "pr_categories": [...
26a139007e712ebc2b24b8abc48ff132d4818a6b
2020-09-29 16:10:19
docker.io/swerebenchv2/newrelic-node-newrelic:486-26a1390
newrelic__node-newrelic-486
Method: ServerlessCollector.constructor(agent) Location: lib/collector/serverless.js Inputs: <agent> – an instance of the New Relic Agent required for the collector to access configuration, metadata, and logging. Outputs: Returns a new ServerlessCollector instance with `this._agent` set to the supplied agent, `enabled`...
js
Apache-2.0
diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml deleted file mode 100644 index acb921f30..000000000 --- a/.github/workflows/repolinter.yml +++ /dev/null @@ -1,31 +0,0 @@ -# NOTE: This file should always be named `repolinter.yml` to allow -# workflow_dispatch to work properly -name: Repo...
Shim documentation update <!-- Thank you for submitting a Pull Request. This code is leveraged to monitor critical services. Please consider the following: * Tests are required. * Performance matters. * Features that are specific to just your app are unlikely to make it in. Please fill out the relevant sectio...
Confusing documentation example - WebFramework ## Where in the file [examples/shim/Webframework-Simple.md](https://raw.githubusercontent.com/newrelic/node-newrelic/main/examples/shim/Webframework-Simple.md) I am experiencing some confusion with the first code sample: ```js var myWebFramework = require('my-web-fr...
newrelic/node-newrelic
diff --git a/test/unit/attributes.test.js b/test/unit/attributes.test.js index 1e22f0318..fee46e228 100644 --- a/test/unit/attributes.test.js +++ b/test/unit/attributes.test.js @@ -208,65 +208,6 @@ tap.test('#get', (t) => { }) }) -tap.test('#hasValidDestination', (t) => { - t.autoend() - - let agent = null - - ...
[ "end should have a parentSpanId of 8b0b721c089ab5ab on event", "middle should have a parentSpanId of c9051fdc45c2b221 on event" ]
[ "Collector API should connect to staging-collector.newrelic.com", "test/integration/agent/agent-restart-listener.tap.js", "LASP-enabled agent", "test/integration/agent/lasp-send-trace.tap.js", "Multiple require(\"newrelic\")", "test/integration/agent/multiple.tap.js", "Serverless mode harvest", "test/...
{ "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.88, "detected_issues": { "B1": true, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://raw.githubusercontent.com/newrelic/node-newrel...
4d5472ca2c6fb1794c57a47217e2751183acd901
2022-06-27 15:21:34
docker.io/swerebenchv2/friendsofphp-php-cs-fixer:6447-4d5472c
friendsofphp__php-cs-fixer-6447
Method: NoUselessConcatOperatorFixer.configure(array $options) Location: src/Fixer/Operator/NoUselessConcatOperatorFixer.php Inputs: associative array of configuration options; currently only 'juggle_simple_strings' (bool) is supported. Outputs: void (stores the provided options for later use). Description: Sets the fi...
php
MIT
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 34381e093..4d932edac 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -46,6 +46,7 @@ 'header_comment' => ['header' => $header], 'heredoc_indentation' => false, // TODO switch on when # of PR's is lower 'mode...
feature: NoUselessConcatOperatorFixer - Introduction Closes #4491.
Redundant concatenation fixer Is there a fixer for removing redundant string concatenation, as in the following example? ```diff -echo 'foo' . 'bar'; +echo 'foobar'; ```
FriendsOfPHP/PHP-CS-Fixer
diff --git a/tests/AutoReview/FixerFactoryTest.php b/tests/AutoReview/FixerFactoryTest.php index 312ad918a..4691cdf03 100644 --- a/tests/AutoReview/FixerFactoryTest.php +++ b/tests/AutoReview/FixerFactoryTest.php @@ -517,6 +517,7 @@ private static function getFixersPriorityGraph(): array 'switch_contin...
[ "Abstract Fixer > Defaults [0.27 ms]", "Abstract Fixer > Configure unconfigurable [0.24 ms]", "Abstract Fixer > Create configuration definition unconfigurable [0.02 ms]", "Abstract Function Reference Fixer > Abstract function reference fixer with data set \"simple case I\" [0.29 ms]", "Abstract Function Ref...
[ "Abstract Fixer > Get configuration definition unconfigurable [0.03 ms]", "Abstract Fixer > Set whitespaces config unconfigurable [0.03 ms]", "Abstract Fixer > Get whitespaces fixer config [0.09 ms]", "Abstract Function Reference Fixer > Abstract function reference fixer with data set \"simple case II\" [0.11...
{ "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": "hard", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
0bae5bc0354f97bb94e6b326ce727bf80e496a0d
2021-04-17 18:04:01
docker.io/swerebenchv2/projectevergreen-greenwood:565-0bae5bc
projectevergreen__greenwood-565
Function: tagsMatch(tagName, html, expected = null) Location: test/utils.js Inputs: - **tagName** (string): name of the HTML tag to check (e.g., `'html'`, `'head>'`, `'body'`). May include trailing characters as used in the tests. - **html** (string): the full HTML document (or fragment) to be inspected. - **expected**...
js
MIT
diff --git a/packages/cli/src/plugins/resource/plugin-node-modules.js b/packages/cli/src/plugins/resource/plugin-node-modules.js index b030b1a6..70d5b3fb 100644 --- a/packages/cli/src/plugins/resource/plugin-node-modules.js +++ b/packages/cli/src/plugins/resource/plugin-node-modules.js @@ -211,11 +211,7 @@ class NodeMo...
fix duplicate head tags and harden smoke tests <!-- ## Submitting a Pull Request We love contributions and appreciate any help you can offer! --> ## Related Issue resolves #564 ## Summary of Changes 1. Found instances where `<head>` tags were being duplicated back into templates 1. Hardened tests to better...
default template merging is generating two `<head>` tags ## Type of Change - [ ] New Feature Request - [ ] Documentation / Website - [ ] Improvement / Suggestion - [x] Bug - [ ] Other (please clarify below) ## Summary If you follow the Quick Start or are having templates being merged together, it looks like du...
ProjectEvergreen/greenwood
diff --git a/test/smoke-test.js b/test/smoke-test.js index 5005afad..e3d3f44e 100644 --- a/test/smoke-test.js +++ b/test/smoke-test.js @@ -57,8 +57,8 @@ function defaultIndex(label) { expect(htmlTag[0].getAttribute('prefix')).to.be.equal('og:http://ogp.me/ns#'); }); - it('should have matchi...
[ "should have matching opening and closing <head> tags in the <head>", "should output a single index.html file using our custom app template", "should have the specific element we added as part of our custom app template", "should have five default <meta> tags in the <head>", "should have default mobile-web-...
[ "should create a public directory", "should output a single index.html file (home page)", "should output one graph.json file", "should have an <html> tag with the DOCTYPE attribute", "should have a <head> tag with the lang attribute on it", "should have matching opening and closing <html> tags", "should...
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/ProjectEvergreen/greenwood/tree/v0.10...
52eaa75e185e1763c96e587ddd0ef45a2349e2a9
2021-12-21 16:58:46
docker.io/swerebenchv2/cloudflare-cloudflare-go:760-52eaa75
cloudflare__cloudflare-go-760
Function: ListFallbackDomains(ctx context.Context, accountID string) ([]FallbackDomain, error) Location: Inputs: ctx – context.Context for request cancellation and deadlines; accountID – string identifying the Cloudflare account whose fallback domains are requested. Outputs: slice of FallbackDomain structs representing...
go
Apache-2.0
diff --git a/fallback_domain.go b/fallback_domain.go new file mode 100644 index 000000000..e15df9d06 --- /dev/null +++ b/fallback_domain.go @@ -0,0 +1,64 @@ +package cloudflare + +import ( + "context" + "encoding/json" + "fmt" + "net/http" + + "github.com/pkg/errors" +) + +// FallbackDomainResponse represents the respo...
Adding support for fallback domains Adds support for fallback domains: https://api.cloudflare.com/#devices-get-local-domain-fallback-list closes #759 ## Has your change been tested? Unit tests included. Will do manual testing with cloudflare-terraform ## Types of changes What sort of change does your cod...
support teams Local Domain Fallback endpoints ### Current cloudflare-go version 0.28.0 ### Description We'd like to manage the Teams Local Domain Fallback settings via the terraform provider, but need support here first. * https://api.cloudflare.com/#devices-set-local-domain-fallback-list ### Use cases ...
cloudflare/cloudflare-go
diff --git a/fallback_domain_test.go b/fallback_domain_test.go new file mode 100644 index 000000000..7817a2dfa --- /dev/null +++ b/fallback_domain_test.go @@ -0,0 +1,140 @@ +package cloudflare + +import ( + "context" + "fmt" + "net/http" + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestListFallbackDo...
[ "TestAccessApplications", "TestAccessApplication", "TestCreateAccessApplications", "TestUpdateAccessApplication", "TestUpdateAccessApplicationWithMissingID", "TestDeleteAccessApplication", "TestRevokeAccessApplicationTokens", "TestAccessApplicationWithCORS", "TestAccessAuditLogs", "TestAccessAudit...
[]
{ "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": [ "https://api.cloudflare.com/#devices-set-local-domain-f...
81457178fa7e055775867ca659b37798b5ae9584
2020-06-17 00:49:50
docker.io/swerebenchv2/clap-rs-clap:1975-8145717
clap-rs__clap-1975
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/clap_derive/examples/basic.rs b/clap_derive/examples/basic.rs index d8df8ebe..7c463895 100644 --- a/clap_derive/examples/basic.rs +++ b/clap_derive/examples/basic.rs @@ -30,7 +30,7 @@ struct Opt { // the long option will be translated by default to kebab case, // i.e. `--nb-cars`. /// Number...
fix: Use character instead of string for Arg::Short This PR switches the Arg::Short macro to take a character instead of a string. It removes the hacky code in the Method to_token method and implements the logic for Short when parsing the clap derive arguments. Closes #1815
clap_derive: Arg::short does not accept "..." anymore, it needs char `Arg::short` in clap 2.x is defined as `.short("...")` while in clap 3.0 it's going to take `char`. All the examples/tests for the derive use the obsoleted `"..."` form, which is supported by [this hack](https://github.com/clap-rs/clap/blob/8145717...
clap-rs/clap
diff --git a/clap_derive/tests/argument_naming.rs b/clap_derive/tests/argument_naming.rs index 479eae29..7b977f7a 100644 --- a/clap_derive/tests/argument_naming.rs +++ b/clap_derive/tests/argument_naming.rs @@ -99,7 +99,7 @@ fn test_standalone_short_generates_kebab_case() { fn test_custom_short_overwrites_default_name...
[ "build::app::settings::test::app_settings_fromstr", "build::app::tests::global_settings", "build::arg::settings::test::arg_settings_fromstr", "build::app::tests::global_setting", "build::app::tests::global_version", "build::arg::test::flag_display", "build::arg::test::flag_display_multiple_aliases", "...
[]
{ "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": "easy", "external_urls": [ "https://github.com/clap-rs/clap/blob/81457178fa7e0557758...
ba517aba0e3dbddb925fcb47f9a0359432fd4a10
2021-06-19 11:35:55
docker.io/swerebenchv2/pyqtgraph-pyqtgraph:1845-ba517ab
pyqtgraph__pyqtgraph-1845
Method: ColorMap.getStops(self, mode=BYTE) Location: pyqtgraph/colormap.py → class ColorMap Inputs: - **mode** (optional): can be one of the class constants `ColorMap.BYTE`, `ColorMap.FLOAT`, `ColorMap.QCOLOR` or a case‑insensitive string `'byte'`, `'float'`, `'qcolor'`. If omitted, defaults to `BYTE`. Outputs:...
python
custom-check-github
diff --git a/pyqtgraph/colormap.py b/pyqtgraph/colormap.py index 5f58da67..2a153954 100644 --- a/pyqtgraph/colormap.py +++ b/pyqtgraph/colormap.py @@ -5,6 +5,8 @@ from os import path, listdir from collections.abc import Callable, Sequence import warnings +__all__ = ['ColorMap'] + _mapCache = {} def listMaps(sou...
Separate out mouse events stolen by AxisItem While it graphically makes sense to draw the AxisItem on top of what is plotted, particularly for images, this has unintended side-effects: If AxisItem is placed above the ViewBox, which places itself at z order -100, then it will grab mouse events inside its bounding box. ...
Regression: modified zoom behavior with showGrid <!-- In the following, please describe your issue in detail! --> <!-- If some of the sections do not apply, just remove them. --> ### Short description Enabling the grid on a `PlotItem`causes zoom on the `ViewBox` to affect only the y axis when it should affect bo...
pyqtgraph/pyqtgraph
diff --git a/tests/test_colormap.py b/tests/test_colormap.py new file mode 100644 index 00000000..35e62d34 --- /dev/null +++ b/tests/test_colormap.py @@ -0,0 +1,75 @@ +import pytest +import pyqtgraph as pg +from pyqtgraph.Qt import QtGui + +pos = [0.0, 0.5, 1.0] +qcols = [ + QtGui.QColor('#FF0000'), + QtGui.QColo...
[ "tests/test_colormap.py::test_ColorMap_getStops[color_list0]", "tests/test_colormap.py::test_ColorMap_getStops[color_list1]", "tests/test_colormap.py::test_ColorMap_getColors[color_list0]", "tests/test_colormap.py::test_ColorMap_getColors[color_list1]" ]
[]
{ "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": "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":...
1ce57f64c9fecb655856dd1f3098c7bf7a1d37fa
2023-02-05 19:53:49
docker.io/swerebenchv2/pallets-werkzeug:2583-1ce57f6
pallets__werkzeug-2583
Method: BaseConverter.__init_subclass__(cls, **kwargs) Location: src/werkzeug/routing/converters.py → class BaseConverter Inputs: - **cls** – the subclass being created (a subclass of ``BaseConverter``). - **kwargs** – any keyword arguments passed to ``type.__init_subclass__`` (normally unused). Outputs: None (retur...
python
BSD-3-Clause
diff --git a/CHANGES.rst b/CHANGES.rst index 1ca61776..13a1f4be 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,8 @@ Unreleased - ``Request.get_json()`` will raise a ``415 Unsupported Media Type`` error if the ``Content-Type`` header is not ``application/json``, instead of a generic 400. :issue:`25...
default `part_isolating=False` if regex has `/` fixes #2582 The default is only set if the new converter class sets `regex` and doesn't set `part_isolating`. This way, a converter can override `part_isolating` if it knows better, and can inherit `regex` and not change `part_isolating` if it was set manually in the ...
default `part_isolating=False` if the converter regex contains a `/` Users didn't know about the `Converter.part_isolating` change as part of the router speedup, so custom converters that matched slashes stopped working. It should be possible to detect whether it should be disabled in most cases, so users won't need to...
pallets/werkzeug
diff --git a/tests/test_routing.py b/tests/test_routing.py index 15d25a7c..a77d89f7 100644 --- a/tests/test_routing.py +++ b/tests/test_routing.py @@ -800,6 +800,20 @@ def test_any_converter_build_validates_value() -> None: assert str(exc.value) == "'invalid' is not one of 'patient', 'provider'" +def test_part...
[ "tests/test_routing.py::test_part_isolating_default" ]
[ "tests/test_routing.py::test_basic_routing", "tests/test_routing.py::test_merge_slashes_match", "tests/test_routing.py::test_merge_slash_encoding[/merge/%//path-/merge/%25/path]", "tests/test_routing.py::test_merge_slash_encoding[/merge//st/path-/merge/st/path]", "tests/test_routing.py::test_merge_slashes_b...
{ "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": [ "https://github.com/pallets/werkzeug/issues/2506#issuecom...
6ccc93e376905a82412f09d7bb62f29bb5ea57fb
2021-05-04 06:36:24
docker.io/swerebenchv2/typedorm-typedorm:111-6ccc93e
typedorm__typedorm-111
Method: EntityManager.findOne<Entity, PrimaryKey>(entityClass: ClassType<Entity>, primaryKey: PrimaryKey) Location: packages/core/src/classes/manager/entity-manager.ts Inputs: - **entityClass** – constructor of the entity type to be instantiated. - **primaryKey** – object containing the primary‑key attributes ...
ts
MIT
diff --git a/packages/core/src/classes/manager/entity-manager.ts b/packages/core/src/classes/manager/entity-manager.ts index 704d359..d662241 100644 --- a/packages/core/src/classes/manager/entity-manager.ts +++ b/packages/core/src/classes/manager/entity-manager.ts @@ -150,10 +150,16 @@ export class EntityManager { ...
fix(core): return undefined instead of empty object # Changes - `EntityManage.findOne` will now return `undefined` when the item with a given primary key does not eixst. closes #110
bug: findOne returns an object when it should not Howdy! I've been using TypeDORM in one of my projects recently, and it has been good so far! Except for one problem: even when there is no item with a primary key in a table, EntityManager will always return an object (although empty). This breaks some other things, ...
typedorm/typedorm
diff --git a/packages/core/src/classes/manager/__test__/entity-manager.spec.ts b/packages/core/src/classes/manager/__test__/entity-manager.spec.ts index b348888..f1c528d 100644 --- a/packages/core/src/classes/manager/__test__/entity-manager.spec.ts +++ b/packages/core/src/classes/manager/__test__/entity-manager.spec.ts...
[ "returns undefined when no item was found with given primary key", "returns correct value when trying check existence of item that does not exist", "transforms get item requests", "transforms get item requests with projection expression", "transforms get item requests for inherited class", "transforms put...
[ "creates entity", "creates entity with possible overwrite", "creates entity with possible overwrite and given condition", "creates entity and returns all attributes, including auto generated ones", "finds one entity by given primary key", "throws an error when trying to do a get request with non primary k...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npm test -- --verbose --no-colors" }
{ "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": [ "https://github.com/typedorm/typedorm/blob/6ccc93e376905a...
76bf5e7ddae7e9bc05c1763eb750d237104beccd
2023-06-21 16:49:54
docker.io/swerebenchv2/kiegroup-github-action-build-chain:446-76bf5e7
kiegroup__github-action-build-chain-446
Function: executeCommand(node: NodeExecution, command: string, opts?: ExecOptions) → Promise<ExecuteCommandResult> Location: src/service/command/execute-command-service.ts (method of class ExecuteCommandService) Inputs: - **node** – the NodeExecution being processed (provides project, depth, etc.). - **command** – the ...
ts
null
diff --git a/package-lock.json b/package-lock.json index 4df6100..72ae3af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kie/build-chain-action", - "version": "3.3.0", + "version": "3.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name...
fix: fail fast should stop execution if any phase fails Fixes #445
fail fast does not stop command execution once the `BEFORE` command fails ``` [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z 'quarkus-3' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh quarkus-3 rewrite push_changes; fi" [INFO] NOT OK [Executed in 1235095.288113 ms] [ERROR] The pr...
kiegroup/github-action-build-chain
diff --git a/test/unitary/service/command/execute-command-service.test.ts b/test/unitary/service/command/execute-command-service.test.ts index 83f58c1..33ef8e1 100644 --- a/test/unitary/service/command/execute-command-service.test.ts +++ b/test/unitary/service/command/execute-command-service.test.ts @@ -2,7 +2,7 @@ imp...
[ "phase: \"before: sequential: fail fast\"", "phase: \"current: parallel: fail fast\"" ]
[ "treatCommand", "start no end", "start and end", "\"cross_pr\"", "\"full_downstream\"", "\"single_pr\"", "\"branch\"", "\"invalid\"", "\"info\"", "\"trace\"", "\"debug\"", "undefined input should return undefined instead of \"empty string\"", "undefined input should return undefined instead ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest unitary/ --no-color --verbose" }
{ "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":...
c73590301ae74aa1fdc44fc1cdd2e48adf71f959
2019-06-02 16:16:33
docker.io/swerebenchv2/vaskoz-dailycodingproblem-go:579-c735903
vaskoz__dailycodingproblem-go-579
Function: RegularNumbersFaster(n int) []int Location: day283/problem.go Inputs: n int – the count of regular numbers to generate (must be ≥ 0; a negative value triggers a panic). Outputs: []int – a slice containing the first n regular numbers in increasing order; returns an empty slice when n == 0. Panics if n is negat...
go
MIT
diff --git a/README.md b/README.md index b8df42c..e689b52 100644 --- a/README.md +++ b/README.md @@ -289,3 +289,4 @@ problems from * [Day 280](https://github.com/vaskoz/dailycodingproblem-go/issues/568) * [Day 281](https://github.com/vaskoz/dailycodingproblem-go/issues/572) * [Day 282](https://github.com/vaskoz/dail...
Day283 Resolves #577.
Day 283 Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some power of 60. Equivalently, we can say that a regular number is one whose only prime divisors are 2, 3, and 5. These numbers have ha...
vaskoz/dailycodingproblem-go
diff --git a/day283/problem_test.go b/day283/problem_test.go new file mode 100644 index 0000000..2ec7ede --- /dev/null +++ b/day283/problem_test.go @@ -0,0 +1,70 @@ +package day283 + +import ( + "reflect" + "testing" +) + +// nolint +var testcases = []struct { + n int + expected []int +}{ + {0, []int{}}, + {1, [...
[ "TestRegularNumbersFasterBadInput", "TestRegularNumbersBruteBadInput", "TestRegularNumbersFaster", "TestRegularNumbersBrute" ]
[ "TestCountNodes", "TestTwoSumsSmall", "TestTwoSumsSmall/Brute", "TestTwoSumsSmall/Best", "TestTwoSumsSmall/Better", "TestTwoSumsLarge", "TestTwoSumsLarge/Better", "TestTwoSumsLarge/Best", "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": "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":...
a289431bad1431444118d197440cfa7c9211818b
2018-06-13 14:53:12
docker.io/swerebenchv2/ember-cli-ember-cli:7874-a289431
ember-cli__ember-cli-7874
Method: BuildTask.run(options) Location: lib/tasks/build.js Inputs: <code>options</code> – an object that must include <code>outputPath: string</code> and <code>environment: string</code> (e.g., “development”); other optional builder settings may be present. Outputs: Returns a <code>Promise</code> that resolves when th...
js
MIT
diff --git a/lib/tasks/build-watch.js b/lib/tasks/build-watch.js index 0e34f9545..235cc3a46 100644 --- a/lib/tasks/build-watch.js +++ b/lib/tasks/build-watch.js @@ -15,21 +15,25 @@ class BuildWatchTask extends Task { } run(options) { - this.ui.startProgress( + let { ui } = this; + + ui.startProgress( ...
Prints environment in console during build Fixes #7480
Add environment output when building Hi, I would love to see what environment I'm building for when I run `ember b` or in general any script that will trigger run for me. Something like this ```bash user@bash>ember b Building Environment: development ..... ```
ember-cli/ember-cli
diff --git a/tests/integration/tasks/build-test.js b/tests/integration/tasks/build-test.js index c9ff31f24..e40e0dfbc 100644 --- a/tests/integration/tasks/build-test.js +++ b/tests/integration/tasks/build-test.js @@ -96,4 +96,22 @@ describe('build task test', function() { expect(Array.isArray(output.nodes)).to...
[ "it displays environment", "fulfills the run promise and cleans up the builder" ]
[ "should have no errors in tests/acceptance", "should have no errors in tests/chai.js", "should have no errors in tests/factories", "should have no errors in tests/fixtures", "should have no errors in tests/helpers", "should have no errors in tests/integration", "should have no errors in tests/runner.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": "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": [...
4d9ecf757c7fa76e0f95fbc86083aaf439bde5f2
2024-08-04 14:44:59
docker.io/swerebenchv2/epiforecasts-scoringutils:882-4d9ecf7
epiforecasts__scoringutils-882
Function: quantile_score(observed, predicted, quantile_level, separate_results = FALSE, output = c("matrix", "data.frame", "vector")) Location: R/metrics-quantile.R Inputs: - **observed**: numeric vector of length *n* (or matrix with *n* rows) containing observed values. - **predicted**: numeric matrix of size *n × N* ...
r
custom-check-github
diff --git a/NAMESPACE b/NAMESPACE index 364bc6522..23c7325aa 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -104,6 +104,7 @@ importFrom(checkmate,check_number) importFrom(checkmate,check_numeric) importFrom(checkmate,check_set_equal) importFrom(checkmate,check_vector) +importFrom(checkmate,test_atomic_vector) importFro...
<!-- Thanks for opening this pull request! Below we have provided a suggested template for PRs to this repository and a checklist to complete before opening a PR --> ## Description This PR closes #878. As discussed in #878, the quantile score didn't actually work for a vector input for `predicted`. This PR fi...
Fix `quantile_score()` The current `quantile_score()` doesn't work with a single vector as an input. The following line ``` tau_diff <- sweep(obs_smaller_pred, 2, quantile_level) ``` needs to be changed to ``` if (is.atomic(observed)) { tau_diff <- ifelse(obs_smaller_pred, 1 - quantile_level, quantile_...
epiforecasts/scoringutils
diff --git a/tests/testthat/test-metrics-quantile.R b/tests/testthat/test-metrics-quantile.R index b02637993..6b1a12fba 100644 --- a/tests/testthat/test-metrics-quantile.R +++ b/tests/testthat/test-metrics-quantile.R @@ -950,3 +950,22 @@ test_that("ae_median_quantile() works as_expected", { dim(1:10) }) + + + +# ...
[ "metrics-quantile" ]
[ "Context", "convenience-functions", "default-scoring-rules", "forecast", "get_-functions", "get_correlations", "input-check-helpers", "inputs-scoring-functions", "metrics-binary", "metrics-point", "metrics-sample", "metrics-validate", "pairwise_comparison", "pit" ]
{ "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.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7e6187a81247ef04e032901dbfa33ebdb108bdd5
2022-05-06 13:25:19
docker.io/swerebenchv2/owncloud-ocis:3725-7e6187a
owncloud__ocis-3725
Method: Index.Move(ri *sprovider.ResourceInfo, fullPath string) error Location: extensions/search/pkg/search/index/index.go (receiver *Index) Inputs: - ri: *sprovider.ResourceInfo – the resource info of the document to move (must contain a valid Id). - fullPath: string – the new absolute path of the resource within the...
go
Apache-2.0
diff --git a/extensions/search/pkg/search/index/index.go b/extensions/search/pkg/search/index/index.go index 0c2ffecfd9f..bc06ba4665c 100644 --- a/extensions/search/pkg/search/index/index.go +++ b/extensions/search/pkg/search/index/index.go @@ -26,7 +26,10 @@ import ( "time" "github.com/blevesearch/bleve/v2" + "g...
More fixes to searching in shares This PR fixes a problem when searching in sharey by making the search results relative to the mountpoint space instead of the grant space. It also adds more debug logs and changes the search to still continue and return whatever it can find in case there's a problem searching within o...
Search works incorrect after MOVE request ocis local: branch: v2.0.0-alpha1 Preparation: - rm -rf /.ocis - run ocis - admin creates New folder - inside the "New folder" folder create: folder "test" and file "test.txt" Steps: - in the home page try to search by "test" - work correct ![Screenshot 2022-0...
owncloud/ocis
diff --git a/extensions/search/pkg/search/index/index_test.go b/extensions/search/pkg/search/index/index_test.go index 69f1a17e7f7..7c46c64b227 100644 --- a/extensions/search/pkg/search/index/index_test.go +++ b/extensions/search/pkg/search/index/index_test.go @@ -37,7 +37,7 @@ var _ = Describe("Index", func() { S...
[ "TestIndex", "TestProvider" ]
[ "TestPermissionsListAccounts", "TestPermissionsListAccounts/ListAccounts_succeeds_when_no_roleIDs_in_context", "TestPermissionsListAccounts/ListAccounts_fails_when_no_admin_roleID_in_context", "TestPermissionsListAccounts/ListAccounts_succeeds_when_admin_roleID_in_context", "TestPermissionsGetAccount", "T...
{ "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": "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":...
95b2de37ae7ea2cde50b23dfd657938a4cf60d25
2023-11-27 19:02:52
docker.io/swerebenchv2/pytest-dev-pyfakefs:916-95b2de3
pytest-dev__pyfakefs-916
Method: FakeOsModule.walk(self, top, topdown=True, onerror=None, followlinks=False) Location: pyfakefs/fake_os.py (exposed through the FakeOsModule instance as ``os``) Inputs: - **top** – a path‑like object (str or ``pathlib.Path``) designating the directory to walk. - **topdown** (bool, default True) – traversal orde...
python
Apache-2.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9ae289..de4595e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: - flake8-bugbear args: ["--extend-ignore=E203", "--max-line-length=88"] - repo: https://github.com/pre-commit/mirrors-m...
Fix result of os.walk with a path-like top directory - used to return a Path object for the top dir instead of a string - fixes #915 #### Tasks - [x] Unit tests added that reproduce the issue or prove feature is working - [x] Fix or feature added - [x] Entry to release notes added - [x] Pre-commit CI shows no e...
FakeOsModule.walk return a (Path, list, list) generator instead of a (str, list, list) when a pathlib object is used as input **Describe the bug** method FakeOsModule.walk of <pyfakefs.fake_os.FakeOsModule> is returning a Path object as first element instead of a string as the os.walk method do. **How To Reproduce*...
pytest-dev/pyfakefs
diff --git a/pyfakefs/tests/fake_pathlib_test.py b/pyfakefs/tests/fake_pathlib_test.py index 81ebdfd..15bb7a0 100644 --- a/pyfakefs/tests/fake_pathlib_test.py +++ b/pyfakefs/tests/fake_pathlib_test.py @@ -1139,6 +1139,18 @@ class FakePathlibUsageInOsFunctionsTest(RealPathlibTestCase): with self.assertRaises(No...
[ "pyfakefs/tests/fake_pathlib_test.py::FakePathlibUsageInOsFunctionsTest::test_walk" ]
[ "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_init_collapse", "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_init_with_segments", "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_initialization_type", "pyfakefs/tests/fake_pathlib_...
{ "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": [...
fec965f791a74dbf658e0833e1507b7ac950d09d
2021-04-12 16:05:31
docker.io/swerebenchv2/cs-si-eodag:228-fec965f
cs-si__eodag-228
Method: EndToEndBase.execute_download(self, product, expected_filename, wait_sec=10) Location: tests/end_to_end_base.py (EndToEndBase class) Inputs: - **product** – an instance of :class:`eodag.api.product.EOProduct` representing the product to be downloaded. - **expected_filename** – ``str`` filename (without path) th...
python
Apache-2.0
diff --git a/eodag/plugins/download/aws.py b/eodag/plugins/download/aws.py index 84fc9ea9..2f0b132d 100644 --- a/eodag/plugins/download/aws.py +++ b/eodag/plugins/download/aws.py @@ -163,6 +163,12 @@ class AwsDownload(Download): def download(self, product, auth=None, progress_callback=None, **kwargs): """...
feat: sentinel non-safe product types Add new Sentinel non-SAFE product types, fixes #216 And updates AWS download SAFE formatting, please note that : - to keep the ability to search by id on AWS STAC providers (_astraea_eod_ and _earth_search_), product id will not be SAFE formatted but will use the formatting use...
Sentinel SAFE / non-SAFE product types distinction All providers do not provide Sentinel products in SAFE format, which means for example that searching `S2_MSI_L1C` products on `peps` or `astraea_eod` can return products packaged differently, and differently formatted ids. We should add more product types to be abl...
CS-SI/eodag
diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index 294d0d5e..be2dee90 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -78,6 +78,13 @@ EARTH_SEARCH_SEARCH_ARGS = [ "2020-01-15", [0.2563590566012408, 43.19555008715042, 2.379835675499976, 43.907759172380565], ] +EARTH...
[ "tests/units/test_core.py::TestCore::test_list_product_types_for_provider_ok", "tests/units/test_core.py::TestCoreSearch::test_guess_product_type_with_kwargs" ]
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_sobloo_noresult", "tests/test_end_to_end.py::TestEODagEndToEndWrongCredentials::test_end_to_end_wrong_apikey_search_aws_eos", "tests/test...
{ "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/CS-SI/eodag/issues/136#issuecomment...
bbb47c21741eaf09cf4f15eb97d9483261d14bbd
2018-05-24 04:05:31
docker.io/swerebenchv2/w3c-webidl2.js:171-bbb47c2
w3c__webidl2.js-171
Method: FooEventTarget.addEventListener(self, callback) Location: test/syntax/idl/identifier-qualified-names.widl (interface FooEventTarget) Inputs: callback – nullable EventListener (may be null) Outputs: void (no return value) Description: Registers an event listener on a FooEventTarget; the argument name “callba...
js
MIT
diff --git a/lib/webidl2.js b/lib/webidl2.js index 080f629..641f012 100644 --- a/lib/webidl2.js +++ b/lib/webidl2.js @@ -15,49 +15,52 @@ "other": /[^\t\n\r 0-9A-Za-z]/y }; - const nonRegexTerminals = [ - "Infinity", - "NaN", + const argumentNameKeywords = [ "attribute", - "boolean", - "byte...
fix: allow selected keywords in argument name https://heycam.github.io/webidl/#index-prod-ArgumentNameKeyword >Operation arguments can take a slightly wider set of identifiers. In an operation declaration, the identifier of an argument is specified immediately after its type and is given by either an identifier toke...
Trailing comma in arguments list with valid IDL Parsing https://github.com/w3c/web-platform-tests/blob/master/interfaces/dom.idl is broken in the latest version, not sure when it broke. ``` Got an error during or right after parsing `interface EventTarget`: Trailing comma in arguments list, line 54 (tokens: "? call...
w3c/webidl2.js
diff --git a/test/syntax/idl/identifier-qualified-names.widl b/test/syntax/idl/identifier-qualified-names.widl index 18137c4..c39f84b 100644 --- a/test/syntax/idl/identifier-qualified-names.widl +++ b/test/syntax/idl/identifier-qualified-names.widl @@ -26,3 +26,8 @@ // Attribute identifier: "value" attrib...
[ "Parses all of the invalid IDLs to check that they blow up correctly should produce the right error for /webidl2.js/test/invalid/idl/array.widl:", "Parses all of the invalid IDLs to check that they blow up correctly should produce the right error for /webidl2.js/test/invalid/idl/caller.widl:", "Parses all of th...
[]
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/w3c/web-platform-tests/blob/master/...
9c640eecf0dcdf0ba089e34ceddbcf1aa0a72ea6
2021-03-05 01:30:57
docker.io/swerebenchv2/istio-istio:31254-9c640ee
istio__istio-31254
No new interfaces are introduced.
go
Apache-2.0
diff --git a/go.mod b/go.mod index 7cddb7c71d..1424367d0b 100644 --- a/go.mod +++ b/go.mod @@ -99,7 +99,7 @@ require ( gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b helm.sh/helm/v3 v3.4.2 honnef.co/go/tools v0.0.1-2020.1.5 // indirect - istio.io/api v0.0.0-20210302211031-2e1e4d7e6f4b + istio.io/api v0.0.0-2...
fix race cluster vip mutex in service (#31204)" Fix #31247
concurrent map read and map write in GetServiceAddressForProxy https://storage.googleapis.com/istio-prow/logs/integ-pilot-multicluster-tests_istio_postsubmit/1367553922817855488/artifacts/pilot-26c62a9f7f924718bb0375036/_suite_context/istio-state-831956234/primary/istiod-85d7db58dc-gtbxr_discovery.previous.log Broke...
istio/istio
diff --git a/pilot/pkg/serviceregistry/kube/controller/controller_test.go b/pilot/pkg/serviceregistry/kube/controller/controller_test.go index cb95cb976b..d0d1d44bd4 100644 --- a/pilot/pkg/serviceregistry/kube/controller/controller_test.go +++ b/pilot/pkg/serviceregistry/kube/controller/controller_test.go @@ -24,7 +24,...
[ "TestProfileDiff/case_3_\"profile_diff_default_unknown-profile_--manifests_/tmp/data-snapshot-3903775907/manifests\"", "TestProfileDiff/case_4_\"profile_diff_default_default_--manifests_/tmp/data-snapshot-3903775907/manifests\"", "TestProfileDiff/case_5_\"profile_diff_demo_demo_--manifests_/tmp/data-snapshot-39...
[ "TestManifestGenerateComponentHubTag", "TestManifestGenerateGateways", "TestManifestGenerateIstiodRemote", "TestManifestGenerateAllOff", "TestManifestGenerateFlagsMinimalProfile", "TestManifestGenerateFlagsSetHubTag", "TestManifestGenerateFlagsSetValues", "TestManifestGenerateFlags", "TestManifestGe...
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/istio/istio/commit/a0b66178103fd0fd...
b6b43f60bc5b36c01048a2b8d38af951e093279b
2020-03-02 20:59:24
docker.io/swerebenchv2/grafana-grafana-plugin-sdk-go:66-b6b43f6
grafana__grafana-plugin-sdk-go-66
Method: sdkAdapter.CheckHealth(self, ctx context.Context, req *pluginv2.CheckHealth_Request) (*pluginv2.CheckHealth_Response, error) Location: backend/adapter.go Inputs: - ctx: execution context for cancellation/timeout. - req: protobuf CheckHealth_Request which now includes an optional PluginConfig (may be empty) a...
go
Apache-2.0
diff --git a/backend/adapter.go b/backend/adapter.go index 4d1ef17..be5666b 100644 --- a/backend/adapter.go +++ b/backend/adapter.go @@ -43,7 +43,7 @@ func (a *sdkAdapter) CollectMetrics(ctx context.Context, protoReq *pluginv2.Coll func (a *sdkAdapter) CheckHealth(ctx context.Context, protoReq *pluginv2.CheckHealth_...
add plugin config to healthcheck closes #38
Add support for checking plugin config health Given a Grafana app/datasource plugin before saving it it will call a test function provided by the client side app/datasource. It would be nice if you could call the backend plugin to verify the health of a configured app/datasource instance. Later we could possibly sho...
grafana/grafana-plugin-sdk-go
diff --git a/backend/adapter_diagnostics_test.go b/backend/adapter_diagnostics_test.go index 4e78981..22636ec 100644 --- a/backend/adapter_diagnostics_test.go +++ b/backend/adapter_diagnostics_test.go @@ -34,35 +34,44 @@ func TestCheckHealth(t *testing.T) { require.NoError(t, err) require.NotNil(t, res) requir...
[ "TestCollectMetrcis", "TestCheckHealth", "TestCheckHealth/When_check_health_handler_not_set_should_use_default_implementation", "TestCheckHealth/When_check_health_handler_set_should_call_that", "TestCallResource", "TestCallResource/When_call_resource_handler_not_set_should_return_http_status_not_implement...
[ "TestHttpResourceHandler", "TestHttpResourceHandler/Given_http_resource_handler_and_calling_CallResource", "TestHttpResourceHandler/Given_http_resource_handler_and_calling_CallResource/Should_provide_expected_request_to_http_handler", "TestHttpResourceHandler/Given_http_resource_handler_and_calling_CallResour...
{ "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": "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": ...
1437921d2a0f75aa4134cf35c9719cffbde5a1b0
2023-11-30 05:24:16
docker.io/swerebenchv2/vuejs-eslint-plugin-vue:2334-1437921
vuejs__eslint-plugin-vue-2334
Method: ESLint.constructor(options) Location: lib/eslint-compat.js (or re-exported from ESLint package) Inputs: - **options** (object): may include the following keys: - `overrideConfig` (object) – configuration to merge, e.g., `{ extends: [configName] }`. - `useEslintrc` (boolean) – when false disables loading of...
js
MIT
diff --git a/lib/configs/vue3-strongly-recommended.js b/lib/configs/vue3-strongly-recommended.js index 564e386b..a3f854fc 100644 --- a/lib/configs/vue3-strongly-recommended.js +++ b/lib/configs/vue3-strongly-recommended.js @@ -30,6 +30,7 @@ module.exports = { 'vue/v-bind-style': 'warn', 'vue/v-on-event-hyphen...
Fixed broken config of `plugin:vue/vue3-strongly-recommended` fixed #2332
9.19.0 bug with vue/v-on-event-hyphenation <!-- ❗Please don't ignore this template.❗ If you ignore it, we're just going to respond asking you to fill it out, which wastes everyone's time. The more relevant information you can include, the faster we can find the issue and fix it without asking you for more in...
vuejs/eslint-plugin-vue
diff --git a/tests/lib/configs/configs.js b/tests/lib/configs/configs.js new file mode 100644 index 00000000..e21d2e45 --- /dev/null +++ b/tests/lib/configs/configs.js @@ -0,0 +1,25 @@ +'use strict' + +const { ESLint } = require('../../eslint-compat') +const plugin = require('../../../lib/index') + +describe('configs',...
[ "without error" ]
[ "Even if set comma-dangle:always, the output should be as expected.", "Even if include comments, the output should be as expected.", "Even if set kebab-case, the output should be as expected.", "Even if set PascalCase, the output should be as expected.", "Even if element have an attributes, the output shoul...
{ "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://eslint.vuejs.org/user-guide/#faq", "https:...
92503efc2a886c5dc62f701fd2946216a99b5dcf
2020-08-05 08:10:47
docker.io/swerebenchv2/salsita-node-pg-migrate:671-92503ef
salsita__node-pg-migrate-671
Method: CreateIndex(tableName: Name, columns: string | (string | IndexColumn)[], options?: CreateIndexOptions & DropIndexOptions) → string | string[] Location: src/operations/indexesTypes.ts (exposed via Indexes.createIndex) Inputs: - **tableName** – name of the table (string or `{ schema, name }` object). - **columns*...
ts
MIT
diff --git a/docs/indexes.md b/docs/indexes.md index 55e0622..9fb8645 100644 --- a/docs/indexes.md +++ b/docs/indexes.md @@ -7,14 +7,21 @@ **Arguments:** - `tablename` _[[Name](migrations.md#type)]_ - name of the table to alter -- `columns` _[string or array of strings]_ - columns to add to the index +- `columns` _...
Allow opclass and sort per column in indexes Fixes #632
Support ASC/DESC on index creation How would one go about creating an index with `(x ASC, y DESC)`? I'd like to create an index over two columns with the latter having a descending definition. I tried: ``` pgm.createIndex('my_table', ['someField', 'createdAt desc']); ``` However, because field names are quoted...
salsita/node-pg-migrate
diff --git a/test/indexes-test.ts b/test/indexes-test.ts index 6a7e909..17ccce5 100644 --- a/test/indexes-test.ts +++ b/test/indexes-test.ts @@ -14,7 +14,7 @@ describe('lib/operations/indexes', () => { expect(sql2).to.equal('CREATE INDEX "my_table_col_a_col_b_index" ON "my_schema"."my_table" ("col_a", "col_b");'...
[ "add opclass option (deprecated)", "add opclass option", "add sort option" ]
[ "pg.Client should be called with connection string", "should use external client", "should call client.connect if this is the first query", "should not call client.connect on subsequent queries", "should call client.query with query", "should not call client.query if client.connect fails", "should resol...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx mocha --require ./mocha.bootstrap.js \"test/*.ts\" --no-colors" }
{ "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://www.postgresql.org/docs/8.3/indexes-ordering.h...
d89ad1ef9f01f2c6b69268adc3ddcee5d8972b6b
2021-06-04 12:29:14
docker.io/swerebenchv2/weaveworks-eksctl:3810-d89ad1e
weaveworks__eksctl-3810
Function: New(cfg *api.ClusterConfig, ctl *eks.ClusterProvider, clientSet kubernetes.Interface) *Manager Location: pkg/actions/nodegroup/nodegroup.go Inputs: cfg – cluster configuration; ctl – provider wrapper; clientSet – any implementation of kubernetes.Interface (e.g., real clientset or a fake for testing) Outputs: ...
go
custom-check-github
diff --git a/pkg/actions/nodegroup/get.go b/pkg/actions/nodegroup/get.go index a67e94b5c..4be30899a 100644 --- a/pkg/actions/nodegroup/get.go +++ b/pkg/actions/nodegroup/get.go @@ -10,6 +10,7 @@ import ( "github.com/kris-nova/logger" "github.com/pkg/errors" "github.com/weaveworks/eksctl/pkg/cfn/manager" + kubewra...
Return k8s version when listing nodegroup(s) ### Description <!-- Please explain the changes you made here. Help your reviewers my guiding them through your key changes, implementation decisions etc. You can even include snippets of output or screenshots. A good, clear description == a faster review :) -->...
Return k8s version when listing nodegroup(s) Currently, the k8s version of a nodegroup is not returned when doing `get nodegroup`. The nodegroup's version can only be retrieved by checking through the AWS console.
weaveworks/eksctl
diff --git a/integration/tests/crud/creategetdelete_test.go b/integration/tests/crud/creategetdelete_test.go index 9eb5d576a..252bfd040 100644 --- a/integration/tests/crud/creategetdelete_test.go +++ b/integration/tests/crud/creategetdelete_test.go @@ -285,6 +285,7 @@ var _ = Describe("(Integration) Create, Get, Scale ...
[ "TestNodegroup", "TestKubernetes", "TestConcatManifests" ]
[ "TestAddon", "TestCluster", "TestFargate", "TestGitops", "TestEKS", "TestIRSA", "TestLabel", "TestAddonsDefault", "TestAMI", "TestUseAMI", "TestUseAMI/0:_Root_device_mapping_not_at_index_0_(Windows_AMIs_in_some_regions)", "TestUseAMI/1:_Only_one_device_mapping_(AL2_AMIs)", "TestUseAMI/2:_Dif...
{ "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": "complete", "pr_categories":...
ee2a21b2e4fe1b2367326eebd3e205cbae365f1e
2021-02-02 09:29:19
docker.io/swerebenchv2/blitz-js-superjson:112-ee2a21b
blitz-js__superjson-112
Method: SuperJSON.registerClass(classConstructor) Location: src/index.ts (exported on the SuperJSON namespace) Inputs: - **classConstructor**: `Function` – the class (constructor) that should be recognised by SuperJSON for custom serialization/deserialization. The class must be a valid JavaScript/TypeScript class. Out...
ts
MIT
diff --git a/src/plainer.ts b/src/plainer.ts index 9454df7..d818cb5 100644 --- a/src/plainer.ts +++ b/src/plainer.ts @@ -1,4 +1,5 @@ import { isArray, isMap, isPlainObject, isPrimitive, isSet } from './is'; +import { isInstanceOfRegisteredClass } from './transformer'; import { includes, mapValues } from './util'; ...
Fix 109 Closes #109
Nested resources? Hey there. I've been trying to use this library to serialise some classes in `getServerSideProps` in a Next.js app, but either I'm misunderstanding the aims of this library or I can't see it deserialising nested classes? I've created a [simple recreation here](https://codesandbox.io/s/superjson-nes...
blitz-js/superjson
diff --git a/src/index.test.ts b/src/index.test.ts index 79758e8..e840bd7 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -543,6 +543,46 @@ describe('stringify & parse', () => { output: null, outputAnnotations: { values: ['undefined'] }, }, + + 'regression #109: nested classes': { + ...
[ "walks through the whole tree", "regression #109: nested classes" ]
[ "correctly sets values in maps", "correctly sets values in sets", "pathtree", "parsePath(\"test.a.b\") === [\"test\", \"a\", \"b\"]", "parsePath(\"test\\\\.a.b\") === [\"test.a\", \"b\"]", "parsePath(\"test\\\\\\\\.a.b\") === [\"test\\\\.a\", \"b\"]", "parsePath(\"test\\\\a.b\") === [\"test\\\\a\", \"b\...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "corepack disable yarn", "npm install -g yarn", "yarn install --frozen-lockfile" ], "log_parser": "parse_log_js_4", "test_cmd": "npx tsdx test --verbose --no-color" }
{ "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://codesandbox.io/s/superjson-nested-recreation-t...
97ca0114bcab211308bf285c06557a3f6fb47929
2022-06-04 11:45:16
docker.io/swerebenchv2/qossmic-deptrac:899-97ca011
qossmic__deptrac-899
Method: GlobCollector::__construct(string $basePath) Location: src/Layer/Collector/GlobCollector.php Inputs: $basePath – absolute or project‑relative directory path used as the base for calculating relative file paths; must be a string representing an existing directory. Outputs: None (object is created). No return val...
php
MIT
diff --git a/config/services.php b/config/services.php index aa01ba03..5be939d8 100644 --- a/config/services.php +++ b/config/services.php @@ -59,6 +59,7 @@ use Qossmic\Deptrac\Layer\Collector\CollectorTypes; use Qossmic\Deptrac\Layer\Collector\DirectoryCollector; use Qossmic\Deptrac\Layer\Collector\ExtendsCollector;...
New collector for glob patterns Fixes #684
Add glob collector The directory collector is based on a regex (which also is flagged as case insensitive). I would really like to be able to use a glob pattern (maybe allow the non-php glob pattern dir/**/somethingDeeper). As I understood it is possible to create custom collectors, but would you be interested in a PR...
qossmic/deptrac
diff --git a/tests/Layer/Collector/GlobCollectorTest.php b/tests/Layer/Collector/GlobCollectorTest.php new file mode 100644 index 00000000..9bfcdebd --- /dev/null +++ b/tests/Layer/Collector/GlobCollectorTest.php @@ -0,0 +1,49 @@ +<?php + +declare(strict_types=1); + +namespace Tests\Qossmic\Deptrac\Layer\Collector; + +...
[ "Skipped Violation Helper > Is violation skipped [0.09 ms]", "Skipped Violation Helper > Unmatched skipped violations [0.02 ms]", "Ast Map Flatten Generator > Basic inheritance [0.46 ms]", "Ast Map Flatten Generator > Basic inheritance interfaces [0.43 ms]", "Ast Map Flatten Generator > Basic multiple inher...
[ "File Token > Path normalization [0.03 ms]", "Annotation Reference Extractor > Property dependency resolving [2.97 ms]", "Type Resolver > Resolve p h p stan doc parser type with data set #1 [0.08 ms]", "Type Resolver > Resolve p h p stan doc parser type with data set #6 [0.06 ms]", "Type Resolver > Resolve ...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=\"/tmp/composer\" && mkdir -p $COMPOSER_HOME", "export COMPOSER_HOME=\"/tmp/composer\" && composer install --no-interaction --no-progress --optimize-autoloader" ], "log_parser": "parse_log_phpunit", "test_cmd...
{ "llm_metadata": { "code": "B4", "confidence": 0.87, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
02812464183cae841778e98ea4e130de5a8bd590
2020-10-06 00:47:18
docker.io/swerebenchv2/xlate-staedi:130-0281246
xlate__staedi-130
Method: Lexer(InputStream stream, Charset charset, EventHandler handler, StaEDIStreamLocation location, boolean extraneousIgnored) Location: io.xlate.edi.internal.stream.tokenization.Lexer Inputs: - stream – InputStream containing EDI data (must be non‑null). - charset – Charset used to decode the byte stream (e.g...
java
Apache-2.0
diff --git a/pom.xml b/pom.xml index 9ce976d..59b6034 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ <groupId>io.xlate</groupId> <artifactId>staedi</artifactId> - <version>1.12.1-SNAPSHOT</version> + <version>1.13.0-SNAPSHOT</version> <name>StAEDI : Streaming API for EDI for Java</name> <descripti...
Option to ignore extraneous input characters Fixes #128
Exception caused by 80 character delimited X12 **Describe the bug** Attempting to parse the included X12 EDI 210 which is 80 character delimited is causing the following exception: ``` io.xlate.edi.internal.stream.tokenization.EDIException: EDIE003 - Invalid processing stateInvalid header segment at offset 105 a...
xlate/staedi
diff --git a/src/test/java/io/xlate/edi/internal/stream/StaEDIStreamReaderExtraneousCharsTest.java b/src/test/java/io/xlate/edi/internal/stream/StaEDIStreamReaderExtraneousCharsTest.java new file mode 100644 index 0000000..9672fdd --- /dev/null +++ b/src/test/java/io/xlate/edi/internal/stream/StaEDIStreamReaderExtraneo...
[ "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": [ "https://github.com/xlate/staedi/files/5311925/80char-e...
ff1ebcd54b4374e111212c31a4197cab1eceeb24
2020-10-22 16:42:29
docker.io/swerebenchv2/mgechev-revive:477-ff1ebcd
mgechev__revive-477
Function: GetConfig(confPath string) (*lint.Config, error) Location: package config Inputs: - confPath: path to a TOML configuration file. An empty string selects the built‑in default configuration. Outputs: - *lint.Config: the loaded configuration (or the defaults if confPath is empty). - error: non‑nil if the file...
go
MIT
diff --git a/Makefile b/Makefile index 277bd3c..4d86a33 100644 --- a/Makefile +++ b/Makefile @@ -9,5 +9,5 @@ build: @go build test: - @go test -v ./test/... + @go test -v ./... diff --git a/config.go b/config/config.go similarity index 58% rename from config.go rename to config/config.go index c94ebec..1357bc7 1...
fix issue 470 Closes #470
Fails to parse valid toml configuration **Describe the bug** `revive` fails with an error when executed with certain configurations, for example: ```toml [rule.add-constant] arguments = [{maxLitCount = "3"}] ``` The output error message is from the toml parsing library: ``` cannot parse the config file: (...
mgechev/revive
diff --git a/config/config_test.go b/config/config_test.go new file mode 100644 index 0000000..d10b0df --- /dev/null +++ b/config/config_test.go @@ -0,0 +1,48 @@ +package config + +import ( + "reflect" + "strings" + "testing" + + "github.com/mgechev/revive/lint" +) + +func TestGetConfig(t *testing.T) { + tt := map[stri...
[ "TestGetConfig", "TestGetConfig/default_config", "TestGetConfig/non-reg_issue_#470", "TestGetConfig/unknown_file", "TestGetConfig/malformed_file" ]
[ "TestAddConstant", "TestArgumentLimit", "TestAtomic", "TestBareReturn", "TestBoolLiteral", "TestCallToGC", "TestCognitiveComplexity", "TestConfusingNaming", "TestConfusingResults", "TestConstantLogicalExpr", "TestCyclomatic", "TestDeepExit", "TestDefer", "TestDeferLoopDisabled", "TestDef...
{ "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": "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":...
a311a31fbc3c72ee15904a4ef6b49fcf207206c9
2020-09-18 06:32:32
docker.io/swerebenchv2/kubernetes-kops:9967-a311a31
kubernetes__kops-9967
No new interfaces are introduced.
go
Apache-2.0
diff --git a/channels/alpha b/channels/alpha index 9b458b544f..ae93f4946c 100644 --- a/channels/alpha +++ b/channels/alpha @@ -44,7 +44,7 @@ spec: - name: kope.io/k8s-1.17-debian-stretch-amd64-hvm-ebs-2020-07-20 providerID: aws kubernetesVersion: ">=1.17.0 <1.18.0" - - name: 099720109477/ubuntu/im...
Cilium hubble pointer Fixes #9966 /cc @hakman @rifelpet
Inaccurate instructions for enabling Cilium **1. What `kops` version are you running? The command `kops version`, will display this information.** master **2. What Kubernetes version are you running? `kubectl version` will print the version if a cluster is running or provide the Kubernetes version specified as ...
kubernetes/kops
diff --git a/pkg/apis/kops/validation/validation_test.go b/pkg/apis/kops/validation/validation_test.go index 1df10af153..fa73bca92e 100644 --- a/pkg/apis/kops/validation/validation_test.go +++ b/pkg/apis/kops/validation/validation_test.go @@ -630,7 +630,7 @@ func Test_Validate_Cilium(t *testing.T) { { Cilium: ko...
[ "TestValidateInstanceGroupSpec", "TestValidEtcdChanges", "TestValidateInstanceProfile", "TestValidMasterInstanceGroup", "TestValidBootDevice", "TestValidNodeLabels", "TestIGCloudLabelIsIGName", "Test_ValidateTopology", "Test_Validate_DNS", "TestValidateCIDR", "TestValidateSubnets", "TestValida...
[ "Test_UnparseableVersion", "Test_Filtering", "Test_Replacement", "TestBuildProxyRequest", "TestBuildProxyRequest/http://127.0.0.1:3990/readyz", "TestBuildProxyRequest/http://127.0.0.1:3990/livez", "TestBuildProxyRequest/http://127.0.0.1:3990/healthz", "TestBuildProxyRequest/http://127.0.0.1:3990/ready...
{ "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.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://kops.sigs.k8s.io/networking/cilium/#installing...